Saltar al contenido principal
GET
Get a payout

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

SCHEDULED: waiting to be sent. IN_TRANSIT: sent, not confirmed. PAID: deposited. FAILED: the bank refused it. RETURNED: it came back. IN_REVIEW: Compago confirms a return or rejection by hand. A failed or returned transfer is sent again as a new payout.

Opciones disponibles:
SCHEDULED,
IN_TRANSIT,
PAID,
FAILED,
RETURNED,
IN_REVIEW
amount
number
requerido

What the settlements in this payout owe you.

feeAmount
number
requerido

What sending the money early cost. 0 on a transfer sent on schedule.

netAmount
number
requerido

amount - feeAmount: what lands in your bank account.

currency
enum<string>
requerido
Opciones disponibles:
MXN
trackingKey
string | null
requerido

The SPEI clave de rastreo. null until the bank assigns it, and on a transfer Compago settled by hand.

bankAccountId
string<uuid> | null
requerido

The account the money was sent to, from GET /developer/v1/bank-account. null on payouts from before a business could have several accounts.

periodFrom
string<date-time>
requerido

Start of the sales period this payout pays.

periodTo
string<date-time>
requerido

End of the sales period this payout pays, exclusive.

paidAt
string<date-time> | null
requerido

When the transfer happened, by the bank's clock when it gave one. Only on PAID.

returnReason
string | null
requerido

Why the bank refused or returned the transfer. Only on FAILED and RETURNED.

returnReasonCode
string | null
requerido

The SPEI code of that reason, zero padded. Only on FAILED and RETURNED.

createdAt
string<date-time>
requerido