Saltar al contenido principal
GET
Get the CLABE of a one-time payment

Autorizaciones

x-api-key
string
header
requerido

Parámetros de ruta

id
string<uuid>
requerido

Respuesta

Success.

The CLABE of a one-time payment: what your own screen shows the customer to pay by SPEI.

id
string<uuid>
requerido

The CLABE request. Asking again while it is live returns this same id.

status
enum<string>
requerido

Where the CLABE stands. AWAITING_TRANSFER: it takes money and the payment is not paid yet. PAID: the transfer arrived and became a payment. EXPIRED: nothing arrived before expiresAt. CANCELLED: the payment was paid another way, or stopped being payable, before anything arrived. RETURNED: what arrived went back to whoever sent it, for example part of the price when the CLABE expired.

Opciones disponibles:
AWAITING_TRANSFER,
PAID,
EXPIRED,
CANCELLED,
RETURNED
rail
enum<string>
requerido

The transfer network. Always SPEI today.

Opciones disponibles:
SPEI
clabe
string | null
requerido

The 18-digit CLABE the customer transfers to. Only while status is AWAITING_TRANSFER; null once it stops taking money.

Ejemplo:

"738180000000012345"

clabeLast4
string
requerido

The last four digits, kept after the CLABE closes.

Ejemplo:

"2345"

bank
string
requerido

The bank of the CLABE, as the customer's banking app shows it.

Ejemplo:

"FINTOC"

beneficiary
string
requerido

The account holder the customer's bank shows when it validates the CLABE. Show your business name beside it.

Ejemplo:

"Sharepay SA de CV"

concept
string
requerido

A suggested transfer concept. Optional for the customer: the CLABE alone identifies the payment.

Ejemplo:

"Compra Mueblería Sol 3F2A1B"

amount
number
requerido

The price of the one-time payment.

Ejemplo:

12000

amountReceived
number
requerido

What has arrived so far. A payment can be paid in several transfers.

Ejemplo:

0

amountDue
number
requerido

What is still missing while the CLABE is live, 0 otherwise.

Ejemplo:

12000

currency
enum<string>
requerido
Opciones disponibles:
MXN
expiresAt
string<date-time>
requerido

When the CLABE stops taking money. Never later than the one-time payment's own expiresAt.

createdAt
string<date-time>
requerido
paidAt
string<date-time> | null
requerido

When the transfer that completed the price arrived. Only when status is PAID.

paymentId
string<uuid> | null
requerido

The payment the transfer became, readable at GET /developer/v1/payment/{id}. Only when status is PAID.

url
string<uri>
requerido

The Compago checkout screen of this same CLABE, for a customer who would rather open it. Encode it in a QR if you show one.