Inscribir cuentas CLABE por lote
Changed onInscribe por lote cuentas CLABE como medios de pago.
Con is_async en false la respuesta llega con 200 una vez inscritas las cuentas, e incluye un resultado por cada inscripción que quedó hecha: las cuentas rechazadas no aparecen en data. Con is_async en true la respuesta llega de inmediato con 201 y el identificador del lote, y las inscripciones se resuelven después.
Cada envío tiene un máximo de cuentas: si se supera, el lote se rechaza completo y la respuesta indica el límite y la cantidad enviada.
Las inscripciones que no se pueden procesar, hoy las que vienen sin número de cuenta, se dejan fuera y el resto del lote sigue su curso: cada una llega en rejected con su posición en enrollments y el motivo. Si no queda ninguna por procesar, la respuesta llega con 200, data vacío y todas en rejected, también con is_async en true.
Request
- Base URLhttps://api.trytoku.com
- URLhttps://api.trytoku.com/payment-methods/bulk
- AuthAPI key in header x-api-key
Query parameters
Procesar el lote sin esperar su resultado.
Headers
Llave de API de una Account, para operar sobre esa Account en lugar de la principal.
Request body
Response
OK
Changes
- breaking
request body became required
- breaking
the request property
//became required - breaking
the
request property's minItems was increased to1 - breaking
removed the media type
application/jsonfor the response with the status - info
api operation id
crear-paymentmethod-de-tipo-bankaccount-en-batchremoved and replaced withbulk_inscriptions_public - info
api tag
Payment Methodsadded - info
added the new optional
headerrequest parameterx-account-key - info
added the new optional request property
/// - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the success response with the status
- breaking