Transaction Status

Use this endpoint to check the current status of a wallet to mobile transaction

Transaction Status

POST https://sandbox.temboplus.com/tembo/v1/payment/status

Checks the current status of a wallet to mobile transaction

Headers

NameTypeDescription

x-account-id*

string

Partner account id

x-secret-key*

string

Partner secret key

x-request-id*

string

A unique id identifying this request

Request Body

NameTypeDescription

transactionId*

string

The ID of the transaction returned by the wallet-to-mobile endpoint

transactionRef*

string

The reference that was provided in the wallet-to-mobile endpoint

{
  "statusCode": "PAYMENT_ACCEPTED",
  "transactionId": "X50jcLD-U",
  "transactionRef": "20f807fe-3ee8-4525-8aff-ccb95de38250"
}
curl --request POST \
  --url https://sandbox.temboplus.com/tembo/v1/payment/status \
  --header 'content-type: application/json' \
  --header 'x-account-id: ff6IfxxVceIMM6oFAc9Zig' \
  --header 'x-secret-key: HYX5X4is3a4bnJJo4lXM936bFD6B8iMeAtXijNvHXMI==' \
  --header 'x-request-id: 546d7a200cd8cb45d8ac'
  --data '{
	"transactionRef": "20f807fe-3ee8-4525-8aff-ccb95de38250",
	"transactionId": "X50jcLD-U"
  }'

Last updated