cURL
curl --request GET \ --url https://api.stablepay.ai/tx/payment-status/{reference} \ --header 'Authorization: Bearer <token>'
{ "status": "processed", "timestamp": "2023-11-07T05:31:56Z", "amount": 1 }
Fetches the status of a transaction from the reference.
API key authentication using Bearer scheme. Format: Bearer {STA_xxxx}
Reference of the transaction to confirm.
1
Transaction status fetched successfully
The status of the transaction can either be processed or not processed.
processed
not_processed
"processed"
Timestamp when the status was last updated.
Transaction amount if processed.
x >= 0