Country:
/v1/payments/{id}
Obtener pago por ID
Esta api permite buscar un pago a partir de su id.
URL Parameters
id
Indica el id del pago que se quiere buscar
example
Response Examples
200
200
{
"id": "example_string",
"external_client_trace_id": "example_string",
"client_id": "example_string",
"capture": {
"mode": "example_string"
},
"status": "example_string",
"initial_amount": 123,
"current_amount": 123,
"currency": "example_string",
"country": "example_string",
"organization_id": "example_string",
"payment_instrument": {
"type": "example_string",
"id": "example_string",
"rail": {
"id": "example_string",
"product": "example_string"
}
},
"merchant_id": "example_string",
"created_at": "example_string",
"updated_at": "example_string",
"transactions": [
{
"id": "example_string",
"type": "example_string",
"status": "example_string",
"status_detail": "example_string",
"amount": 123,
"authorization_code": "example_string",
"timestamp": "example_string",
"created_at": "example_string",
"updated_at": "example_string",
"network_audit": {
"approval_code": "example_string",
"system_trace_audit_number": "example_string",
"transmission_date_time": "example_string"
}
}
]
}400
400
{
"error_type": "example_string",
"message": "example_string"
}500
500
{}Language
Login required to test API
Code Examples
cURL
curl -X GET "https://api.akua.la/v1/payments/example_value" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"