Transaction Status
Check status of a transaction
This API is used to check the transaction status. It requires 1 paramter
key
, which is included by
merchant_api_key
and
transaction_code
.
Form Data
-
- Name
-
key
- Type
- string required
- Description
-
Key generated from parameters with API key and API secret encryption.
curl --request POST \--url https://staging.s88pay.net/api/v1/{merchant_code}/transactions/status \--header 'Content-Type: application/x-www-form-urlencoded' \--data key=string
Processing request...
Parameters
-
- Name
-
merchant_api_key
- Type
- string required
- Description
- Provide by Provider.
-
- Name
-
transaction_code
- Type
- number required
- Description
- Generated by the operator. This is the transaction code that was already sent to the payment request api before.
Return
Returns a transaction status object. This call returns an error if an error occurs.
{ "data": [ { "amount": 500, "currency_code": "INR", "currency_name": "Indian Rupee", "datetime": "2023-11-07T05:31:56Z", "method_name": "UPI 3", "note": "null", "status": "pending", "transaction_code": "TEST-DP-1678780607", "transaction_fee": 15, "transaction_no": "DP1678780607892", "transaction_ref": "null", "transaction_ref2": "null", "type": "deposit" } ], "message": "Request transaction list successful", "success": true}