Country:
/v1/pos/payments/{id}
Obtener pago por ID
Este endpoint permite obtener la información completa de un pago específico mediante su identificador único.
URL Parameters
id
El ID del pago que se quiere consultar. Debe tener el formato 'pay-' seguido de exactamente 20 caracteres.
example
Response Examples
200
Información del pago obtenida exitosamente
{
"id": "example_string",
"external_client_trace_id": "example_string",
"client_id": "example_string",
"capture": {
"mode": "AUTOMATIC"
},
"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": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"transactions": [
{
"id": "example_string",
"type": "example_string",
"status": "example_string",
"status_detail": "example_string",
"amount": 123,
"timestamp": "2024-01-15T10:30:00Z",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"network_data": {
"approval_code": "example_string",
"system_trace_audit_number": "example_string",
"transmission_date_time": "example_string"
}
}
]
}400
Solicitud inválida
{
"error_type": "example_string",
"message": "example_string"
}401
No autorizado - Token inválido o ausente
{
"error_type": "example_string",
"message": "example_string"
}404
Pago no encontrado
{
"error_type": "example_string",
"message": "example_string"
}500
Error interno del servidor
{
"error_type": "example_string",
"message": "example_string"
}Language
Login required to test API
Code Examples
cURL
curl -X GET "https://api.akua.la/v1/pos/payments/example_value" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"