Get Status Payin by REF

Queries on Transactions

Get Status Payin by REF


4. payin_status_by_ref

Description:
Fetches the status of a pay-in using the Merchant's reference ID. This endpoint provides detailed information about the transaction status, ensuring accuracy and transparency for merchants.
URL:
 

Request Parameters:

Parameter
Type
Description
service_code
String
Service code, e.g., BT_ARS.
reference
String
Merchant-provided reference ID.

Expected Response:

Field
Type
Description
status
String
Status of the request (success, error).
data.transaction_id
String
Unique transaction identifier.
data.status
String
Current transaction status, e.g., COMPLETED.
data.amount
Float
Amount associated with the transaction.

Example Request:

{ "service_code": "BT_ARS", "reference": "ECOM-T00000156" }
 

Example Response:

{ "status": "success", "data": { "transaction_id": "e819fd13-b4cb-46cf-b068-d1598601038a", "reference": "ECOM-T00000156", "status": "COMPLETED", "amount": 212.12 } }