Skip to main content
GET
Get payment

Authorizations

Authorization
string
header
required

Organization API key using Authorization: Bearer sk_....

Path Parameters

id
string
required

Identifier of the payment.

Response

object | null

Payment details

Payment details response. Returns null if the payment does not exist.

id
string
required

Unique identifier of the payment.

Example:

"p_1234567890abcdefghij"

createdAt
string<date-time>
required

When the payment record was created.

Example:

"2025-01-15T18:30:00.000Z"

updatedAt
string<date-time>
required

When the payment was last updated.

Example:

"2025-01-15T18:30:00.000Z"

amount
number
required

Payment amount in minor currency units.

Example:

150000

currency
string
required

ISO 4217 currency code.

Example:

"MXN"

description
string | null
required

Human-readable description of the payment.

Example:

"Colegiatura Enero 2025"

type
enum<string> | null
required

Payment type.

Available options:
TRANSFER,
CARD,
OXXO,
OTHER,
CASH,
DIRECT_DEBIT,
null
Example:

"CARD"

status
enum<string> | null
required

Current payment status.

Available options:
INCOMPLETE,
COMPLETE,
CANCELED,
INITIATED,
REFUNDED,
DISPUTED,
REVERTED,
null
Example:

"COMPLETE"

isCompleted
boolean
required

Whether the payment has been fully settled.

Example:

true

paymentTime
string<date-time> | null
required

Date and time when the payment was completed.

Example:

"2025-01-15T18:30:00.000Z"

customerId
string
required

Identifier of the customer who made the payment.

Example:

"cus_1234567890abcdefghij"

organizationId
string
required

Identifier of the owning organization.

Example:

"org_1234567890abcdefghij"

skipTaxInvoice
boolean
required

Whether tax invoice generation is skipped for this payment.

Example:

false

items
object[]
required
paymentMethodId
string | null

Identifier of the payment method used, if any.

Example:

"pm_1234567890abcdefghij"

metadata
object[] | null

Structured metadata entries.

Example:

null

meta
object | null

Flattened metadata key-value map.

Example:

null