Create account payment method
POST
Un método con cuentas bancarias se confirma desde UnoPago con el código del dueño: por API responde 403. Los métodos sin cuentas se crean con una API key.
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
application/json- body
displayName*stringmethod*stringAny payment method but PAYROLL and LEDGER_FEE, which only their own endpoints record.
Valor en
"BANK_TRANSFER""ZELLE""C2P""IMMEDIATE_DEBIT""P2P""CASH""POS""CUSTOMER_CREDIT""STRIPE_ACH""STRIPE_CARD""DEBIT_CARD""PAYROLL""BINANCE_PAY""LEDGER_FEE"isDefault?booleanPor defecto
falsebankAccountIds?array<string>fee?numberRango
0 <= valueisPayerCharged?booleanPor defecto
falseotpCode?stringLongitud
6 <= length <= 6Successful response
application/json- response
method*stringValor en
"BANK_TRANSFER""ZELLE""C2P""IMMEDIATE_DEBIT""P2P""CASH""POS""CUSTOMER_CREDIT""STRIPE_ACH""STRIPE_CARD""DEBIT_CARD""PAYROLL""BINANCE_PAY""LEDGER_FEE"scopes*array<>id*stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidaccountId*stringisDefault*booleandisplayName*stringenabled*booleanisPayerCharged*booleanfee*number|nullprocessorId*string|nullcreatedAt*stringupdatedAt*stringcurl -X POST 'https://api.unopago.com/v1/payment-methods' \ -H 'Content-Type: application/json' \ -d '{ "displayName": "string", "method": "BANK_TRANSFER"}'Ejemplo de respuesta
{ "method": "BANK_TRANSFER", "scopes": [ "PORTAL" ], "id": "string", "accountId": "string", "isDefault": true, "displayName": "string", "enabled": true, "isPayerCharged": true, "fee": 0, "processorId": "string", "createdAt": "string", "updatedAt": "string"}Referencia de la API
Cada endpoint de la API de UnoPago y cada evento de webhook, con sus parámetros, sus respuestas y ejemplos.
Delete account payment method DELETE
Un método con cuentas bancarias ligadas se confirma desde UnoPago con el código del dueño: por API responde 403. Los métodos sin cuentas se borran con una API key.

