Skip to main content

Check Request Status

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

HTTP Request

POST
https://tezanetwork.com/api/transaction-status

Arguments

Param Description
apikey Tezanetwork account Public Key. This is generated for you when you create a business account.
transaction_id Tezanetwork internal reference returned on request initiation.

Sample check request


curl "https://tezanetwork.com/api/transaction-status" \
-X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <--Your API Secret Key-->" \ -d '{ "apikey": "Pubkey-7d9f2a-4c8e1b-6f0d3e-9a4b7c", "transaction_id": "52750b30ffbc7de3b36", }'

Sample response.


{
    "status": "Approved",
    "message": "Request payment completed successfully.",
    "type": "deposit",
    "transaction_id": "xxxxxxxxxxxxxxxxx",
    "reference_id": "xxxxxxxxxxxxxxxxx",
    "description": "Deposit #123456",
    "phone": "256701234567",
    "amount": "500.0",
    "payment_method": "airtel",
    "charge_amount": "46.1"
}