Crear un Payment Method (ruta interna)
Changed onCrea un Payment Method a partir de los datos de una cuenta bancaria.
La Account, el Customer y la Subscription deben pertenecer todos a la misma Organization, y la Subscription debe corresponder al Customer.
Hoy sólo acepta el producto de cargo recurrente a cuenta bancaria por lote en México; con cualquier otro producto responde 400.
Request
- Base URLhttps://api.trytoku.com
- URLhttps://api.trytoku.com/payment_methods
- AuthAPI key in header x-api-key
Request body
Response
Successful Response
Changes
- breaking
request body became required
- breaking
the request's body type changed from
objectto no type - breaking
removed the success response with the status
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
api operation id
create-bank-account-payment-methodremoved and replaced withcreate_payment_method_internal - info
api tag
Payment Methodsadded - info
added to the request body
anyOflist - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking