List what the account can do

GET
/v1/capabilities

The products (payin, payout, remittance), methods, currencies and countries available to the account, with the fields each one requires and whether it can be used right now. Countries and rails are discovered here; they never have endpoints of their own.

Autorización

apiKey
headerAuthorizationBearer <clave>

Your secret API key, sent as Authorization: Bearer <key>. A key names its environment: psp_test_… works only against sandbox (https://api-sandbox.caibopay.app), psp_live_… only against live (https://api.caibopay.app). Keys are issued by Caibo when your account is opened; the dashboard (Developers) shows the key in use.

product?string

Only this product: payin, payout or remittance.

Valor en"payin""payout""remittance"
country?string

Only this country (ISO 3166-1 alpha-2). For a remittance, the destination's.

currency?string

Only this currency. For a remittance, the destination's.

method?string

Only this method. For a remittance, the payout method.

Cuerpo de la respuesta

OK

application/json
  1. response
data*array<>
has_more*boolean
next_cursor?string
Ejemplo de solicitud
curl -X GET 'https://api-sandbox.caibopay.app/v1/capabilities'
Ejemplo de respuesta
{  "data": [    {      "available": true,      "beneficiary_fields": [        {          "description": "string",          "enum": [            "string"          ],          "example": "string",          "name": "string",          "note": "string",          "pattern": "string",          "required": true,          "type": "string"        }      ],      "collection": [        "account"      ],      "country": "string",      "currency": "string",      "customer_fields": [        {          "description": "string",          "enum": [            "string"          ],          "example": "string",          "name": "string",          "note": "string",          "pattern": "string",          "required": true,          "type": "string"        }      ],      "features": [        "refund"      ],      "limits": [        {          "currency": "string",          "daily": "string",          "per_operation": "string"        }      ],      "method": "string",      "operation": "payout",      "payment_currency": "string",      "payment_method_fields": [        {          "description": "string",          "enum": [            "string"          ],          "example": "string",          "name": "string",          "note": "string",          "pattern": "string",          "required": true,          "type": "string"        }      ],      "product": "payin",      "reason": "suspended",      "settlement_asset": "string",      "settlement_currencies": [        "string"      ],      "source_country": "string",      "source_currency": "string",      "source_method": "string"    }  ],  "has_more": true,  "next_cursor": "string"}