Hosted Checkout
Get a Payment Transaction
Retrieves the details of a specific payment transaction by its payment_id. This provides more granular information about individual payment attempts.
get/checkout/v1/payments/{payment_id}
Path parameters
payment_idstring required
Example:pay_x1y2z3a4b5
The Payment ID (e.g., pay_x1y2z3a4b5)
Response
Payment transaction retrieved successfully
Example response
{
"payment_id": "pay_x1y2z3a4b5",
"session_id": "sess_a1b2c3d4e5f6",
"status": "Success",
"amount": 35000,
"currency": "MXN",
"payment_method_type": "card",
"created_at": "2025-10-20T14:30:00Z",
"card_details": {
"brand": "visa",
"last4": "4242"
},
"customer": {
"name": "John Doe",
"email": "john.doe@example.com"
}
}