Saltar al contenido principal
POST
Check payment eligibility
v2 · Base URL https://api.fintoc.com/v2

Autorizaciones

Authorization
string
header
requerido

Cuerpo

application/json
amount
integer
requerido

A positive integer representing the amount to pay, in the smallest unit of the currency (for example, 100000 for 100000 CLP, since CLP has no minor unit).

Ejemplo:

100000

currency
string
requerido

Three-letter ISO 4217 currency code. Only CLP is supported.

Ejemplo:

"CLP"

sender_account
object
requerido

Bank account the customer pays from.

recipient_account
object

Bank account that receives the payment. Only send it if your organization uses direct payments; organizations that collect through Fintoc must omit it.

Respuesta

Result of the eligibility check. When the payment is not eligible, error describes the limit that the payment would exceed.

eligible_payment
boolean
requerido

Whether the payment passes the transfer limits and can be created.

Ejemplo:

true

error
object | null
requerido

Limit that the payment would exceed. null when the payment is eligible.