Skip to main content

Check Request Status

This end point checks the status of the request (Transaction).

HTTP Request

GET
https://payments.munopay.com/api/v1/transaction-status?transaction_id=xxxxxxxx&account_no=xxxxxxx

Arguments

Param Description
account_number Munopay business account. This is generated for you when you create a business account.
transaction_id Munopay transaction id (or customer reference id) returned on request initiation.

Sample check request


curl "https://payments.munopay.com/api/v1/transaction-status?transaction_id=xxxxx&account_no=xxxxxx" \
   -H "Authorization: Bearer <--Your API Secret Key-->"

Sample response.


{
    "status": "success",
    "request_status": "Approved",
    "message": "Send payment completed successfully.",
    "type": "withdraw",
    "transaction_id": "MPY9ABCD1234XYZTX",
    "reference_id": "tx_7f9d3a2b1c45",
    "description": "Withdraw #987654",
    "phone": "256771234567",
    "amount": "500000.00",
    "payment_method": "Airtel Money",
    "charge_amount": "17500.00",
    "ip_address": "197.239.14.37"
}

Request Status Values

Request Status Description
Approved The transaction has been successfully completed and funds have been sent or received.
Pending The transaction is still being processed and has not yet been completed.
Failed The transaction could not be completed due to an error or rejection.