Get payment
Returns a payment by id.
Authorizations
Organization API key using Authorization: Bearer sk_....
Path Parameters
Identifier of the payment.
Response
Payment details
Payment details response. Returns null if the payment does not exist.
Unique identifier of the payment.
"p_1234567890abcdefghij"
When the payment record was created.
"2025-01-15T18:30:00.000Z"
When the payment was last updated.
"2025-01-15T18:30:00.000Z"
Payment amount in minor currency units.
150000
ISO 4217 currency code.
"MXN"
Human-readable description of the payment.
"Colegiatura Enero 2025"
Payment type.
TRANSFER, CARD, OXXO, OTHER, CASH, DIRECT_DEBIT, null "CARD"
Current payment status.
INCOMPLETE, COMPLETE, CANCELED, INITIATED, REFUNDED, DISPUTED, REVERTED, null "COMPLETE"
Whether the payment has been fully settled.
true
Date and time when the payment was completed.
"2025-01-15T18:30:00.000Z"
Identifier of the customer who made the payment.
"cus_1234567890abcdefghij"
Identifier of the owning organization.
"org_1234567890abcdefghij"
Whether tax invoice generation is skipped for this payment.
false
Identifier of the payment method used, if any.
"pm_1234567890abcdefghij"
Structured metadata entries.
null
Flattened metadata key-value map.
null