api_gateway_payments_retrieve
GET /api/gateway/payments/:reference/
Retrieve payment intent
Path Parameters
- reference string required
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- id string required
- status object
- token string required
- currency object
- created_at date-time required
- updated_at date-time required
- expires_at date-time required
- pay_address string required
- amount_fiat decimal required
Possible values: Value must match regular expression
^\d{0,17}(?:\.\d{0,2})?$
- amount_crypto string required
- amount_captured_fiat string required
- amount_captured_crypto string required
metadata object required
transactions object[] required
Array [received_amount decimal requiredPossible values: Value must match regular expression
^\d{0,35}(?:\.\d{0,15})?$
chain_transaction_id string requiredPossible values:
<= 255 characters
created_at date-time required]payment_log object required
{
"id": "string",
"status": "pending",
"token": "string",
"currency": "EUR",
"created_at": "2023-04-20T10:03:58.153Z",
"updated_at": "2023-04-20T10:03:58.153Z",
"expires_at": "2023-04-20T10:03:58.153Z",
"pay_address": "string",
"amount_fiat": "string",
"amount_crypto": "string",
"amount_captured_fiat": "string",
"amount_captured_crypto": "string",
"metadata": {},
"transactions": [
{
"received_amount": "string",
"chain_transaction_id": "string",
"created_at": "2023-04-20T10:03:58.153Z"
}
],
"payment_log": {}
}
Loading...