Ir al contenido
UnoPagoDocumentación
Referencia de la APIAccountAccount payment methods

Get account payment methods

GET
/v1/payment-methods

Cada método trae scopes, los canales donde el dueño lo dejó encendido; se ofrece en un canal cuando además está activo y ese canal puede cobrarlo. Con scope devuelve solo los que se ofrecen en ese canal.

Autorización

bearerAuth
headerAutorizaciónBearer <token>

Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.

enabled?boolean
method?string
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?boolean
scope?string

Solo los métodos que se ofrecen en este canal: PORTAL, CHECKOUT o KIOSK.

Valor en"PORTAL""CHECKOUT""KIOSK"
isPortal?boolean

Con true, igual que scope=PORTAL; con false no filtra. Se mantiene por compatibilidad.

isKiosk?boolean

Con true, igual que scope=KIOSK; con false no filtra. Se mantiene por compatibilidad.

includeAvailability?boolean
includeLedgerFee?boolean

Cuerpo de la respuesta

Successful response

application/json
  1. response
[index: integer]?
Ejemplo de solicitud
curl -X GET 'https://api.unopago.com/v1/payment-methods'
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",    "bankAccounts": [      {        "id": "string",        "accountPaymentMethodId": "string",        "bankAccountId": "string",        "createdAt": "string",        "updatedAt": "string",        "bankAccount": {          "type": "CHECKING",          "currency": "VES",          "bankName": "A100BANCO",          "id": "string",          "accountId": "string",          "name": "string",          "accountHolderName": "string",          "isActive": true,          "nationalId": "string",          "phoneNumber": "string",          "pagoMovilQrUrl": "string",          "identifier": "string",          "last4": "string",          "createdAt": "string",          "updatedAt": "string"        }      }    ],    "processor": {      "id": "string",      "type": "UNOPAGO"    },    "availability": {      "available": true,      "message": "string"    },    "ledgerFee": {      "feeRate": "string",      "minFee": "string"    }  }]