Skip to main content

Inquire Payment Transaction

The merchant can check the status of an already processed transaction using this function.

Resource Informations​

NameValue
Requires authentication?Yes
Rate limited?No

Request​

Request headers​

NameValue
AuthorizationBearer token
Content-Typeapplication/json

HTTP request URL for SSMS​

POST https://{tenantId}.{hostname}/digitanium/v3/mpower/payment/transaction/status

HTTP request URL for SHIFT​

POST https://{hostname}/auth/realms/{tenantId}/mpower/v1/payment/transaction/status
note

API requests must be made over https. Calls made over plain http will fail.

Request body​

Field NameTypeDescription
merchantIdStringThe ID of the Merchant.
transactionIdStringUnique ID corresponding to the transaction.
merchantCallbackStringCallback URL to notify the Merchant about the status of the transaction. This URL also contains the OrderID generated by the Merchant for correspondence.

Sample Request​

{
"merchantId": "0eb0e0f1-e51b-4a43-9133-93bc2c73b2a0",
"transactionId": "37d1adfa-f5fc-48f5-87b8-68c12c86e0fc",
"merchantCallback": "<CallbackURL>"
}

Response​

Field NameTypeDescription
transactionIdStringUnique ID corresponding to the transaction.
transactionStatusStringStatus of the transaction.
transactionMessageStringBriefing on the transaction status.

Sample Response​

{
"transactionId": "37d1adfa-f5fc-48f5-87b8-68c12c86e0fc",
"transactionStatus": "inquiring status",
"transactionMessage": "Inquire status in progress"
}