Report the terminal result
Sets the customer query to successful or failed and stores the mobile money provider’s externalId. Send the query id, your referenceId, or both when they refer to the same query. Sending the same status and provider id again returns the current record.
/api/v1/partners/customer-queries/statusx-api-keyAPI key · headerrequiredAPI key issued by Just-tap. It identifies your organization. Do not send a partner id in the body.
application/jsonidstring<uuid>The customer query id.
referenceIdstringYour reference for the query.
externalIdstringrequiredThe mobile money provider's id for this transaction.
statusstringrequiredHow the terminal transaction ended.
successfulfailedThe customer query, with the terminal status applied.
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 body did not include a query id or a referenceId.
errorstringrequiredmessagestringrequiredThe API key is missing, invalid, revoked, or expired.
errorstringrequiredmessagestringrequiredThis API key cannot run customer queries.
errorstringrequiredmessagestringrequiredNo customer query with those identifiers belongs to this API key.
errorstringrequiredmessagestringrequiredThe request failed validation.
errorstringrequiredVALIDATION_ERRORmessagestringrequirederrorsobject[]requiredShow propertiesHide properties
objectfieldstringrequiredrulestringrequiredmessagestringrequiredSomething went wrong on our side.
errorstringrequiredmessagestringrequired