⏺️Get Payment Status (server-to-server)
Last updated
Last updated
An essential aspect of managing your payments is having the ability to retrieve and analyze their statuses.
CoinbarPay payment gateway automatically send a callback response to configured webhook callback url previously configured.
For more informations please refer to Post payments actions
Otherwise you can just call the following API to retrieve a payment status by client request payment id.
The API will return a JSON object containing the status details of the requested payment.
GET
https://sandbox.coinbar.io/coinbar/api/v2/pay/gateway/payment/{{payment_request_id}}/status
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
payment_request_id
String
Payment Request Id used to request the payment
CBPAY-API-KEY*
String
{{SERVICE_CLIENT_ID
}}
Content-Type
String
application/json
SIGNATURE
String
{{SIGNATURE_TOKEN
}}
HMAC SHA-256 body validation