Features
Refunds
Tokenization
Recurring Payments
GET/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
string
required
El ID del pago que se quiere consultar. Debe tener el formato 'pay-' seguido de exactamente 20 caracteres.
example
Responses
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"
}
}
]
}