Submit a customer query
Returns the customer’s name and every mobile-money number on the tag. Your API key identifies your organization.
/api/v1/partners/customer-queriesx-api-keyAPI key · headerrequiredAPI key issued by Just-tap. It identifies your organization. Do not send a partner id in the body.
application/jsontagIdstringrequiredThe tag the customer tapped.
merchantIdstringrequiredYour id for the shop.
merchantNamestringrequiredYour name for the shop. The first name we store for this merchant id is the one we keep.
terminalIdstringrequiredThe terminal that read the tag.
referenceIdstringrequiredYour unique id for this query.
externalIdstringThe mobile money provider's id, if you already have it. Otherwise send it with the terminal result.
currencystringDefaults to ZMW.
amountnumberrequiredThe transaction amount.
The customer query was created.
dataCustomerQueryResultrequiredShow propertiesHide properties
idstring<uuid>requiredpartnerobjectrequiredShow propertiesHide properties
partnerIdstring<uuid>requiredpartnerNamestringrequiredcustomerobjectrequiredShow propertiesHide properties
firstNamestringrequiredlastNamestringrequiredtagobjectrequiredShow propertiesHide properties
tagIdstringrequiredtagNumberstringrequiredmobileNumbersobject[]requiredShow propertiesHide properties
objectoperatorstringrequiredairtel_moneymtn_mobile_moneyzamtel_kwachamobileNumberstringrequiredstatusstringrequiredstatusstringrequiredtransactionobjectrequiredShow propertiesHide properties
merchantIdstringrequiredmerchantNamestringrequiredterminalIdstringrequiredreferenceIdstringrequiredexternalIdstring | nullrequiredcurrencystringrequiredamountnumberrequiredserviceChargenumberrequiredService charge of 1 kwacha.
totalAmountnumberrequiredAmount plus the service charge.
statusstringrequiredpending until you report the terminal result.
pendingsuccessfulfailedcreatedAtstring<date-time>requiredupdatedAtstring<date-time>requiredThe tag exists, but it is not active.
errorstringrequiredmessagestringrequiredThe API key is missing, invalid, revoked, or expired.
errorstringrequiredmessagestringrequiredThis API key cannot run customer queries.
errorstringrequiredmessagestringrequiredThe tag, its customer, or its mobile numbers could not be found.
errorstringrequiredmessagestringrequiredA customer query with this reference already exists.
errorstringrequiredmessagestringrequiredThe request failed validation.
errorstringrequiredVALIDATION_ERRORmessagestringrequirederrorsobject[]requiredShow propertiesHide properties
objectfieldstringrequiredrulestringrequiredmessagestringrequiredSomething went wrong on our side.
errorstringrequiredmessagestringrequired