Saltar al contenido principal
GET
Get a one-time payment

Autorizaciones

x-api-key
string
header
requerido

Parámetros de ruta

id
string<uuid>
requerido

Respuesta

Success.

id
string<uuid>
requerido
status
enum<string>
requerido
Opciones disponibles:
PENDING,
CONFIRMED,
CANCELLED
amount
number
requerido
currency
string
requerido

MXN or USD. A USD price is charged in MXN at the exchange rate of the moment the customer pays.

externalId
string
requerido

Your own identifier, unique within your organization.

url
string<uri>

The checkout URL.

description
string
expiresAt
string<date-time>
expired
boolean

Derived at read time, so it is never stale.

redirectUrl
string | null
homepageUrl
string | null
allowedTerms
integer[] | null

The installment plans the checkout offers, as numbers of monthly installments (1 is a single payment). null offers every plan active on your account.

Ejemplo:
paymentMethods
enum<string>[] | null

The ways to pay the checkout offers: CARD, BANK_TRANSFER (every bank transfer your account takes: in Mexico, SPEI to a CLABE made for the purchase) and SPEI (only SPEI transfers). null or omitted offers every method available to your account. A payment that offers only bank transfers is rejected with SPEI_NOT_OFFERED unless SPEI is enabled for your account and amount reaches your SPEI minimum.

Opciones disponibles:
CARD,
BANK_TRANSFER,
SPEI
Ejemplo:
defaultPaymentMethod
enum<string> | null

The method the checkout opens on, one of paymentMethods. null opens on the first one offered.

Opciones disponibles:
CARD,
BANK_TRANSFER,
SPEI,
null
Ejemplo:

"BANK_TRANSFER"

bankAccountId
string<uuid> | null

The bank account this payment asked for when it was created. null follows your deposit rule.

allocations
object[]

The parts this payment asked for when it was created (allocations of the request). Empty when it asked for none.

createdAt
string<date-time>
updatedAt
string<date-time>
customer
object | null
bankTransfer
object | null

The newest CLABE this payment was given, by its checkout or by POST /developer/v1/one-time-payment/{id}/bank-transfer. null until there is one.