Check transaction status
This endpoint is used to check the status of a payment transaction for refund and payout by its unique identifier. It allows users to retrieve detailed information about a specific transaction.
GET: /v1/payment/transactions/:reference/check
Params
Name
Type
Description
reference
String
The unique identifier of the transaction you want to check.
Headers
Name
Type
Description
public-key
String
Your Redstone public key
secret-key
String
Your Redstone secret key
Response
The response will be in JSON format and will have the following schema:
{
"status": "success",
"code": 200,
"message": "Transaction check completed successfully.",
"data": {
"amount": 26,
"charge": 25,
"environment": "live",
"type": "payout",
"method": "mobilemoney",
"status": "successful",
"currency": "ZMW",
"reference": "PY_6c6632****************"
}
}Last updated