What you can do

GET /v1/capabilities is the map of your account. Countries, methods, and currencies are discovered there; they never get endpoints of their own.

GET/v1/capabilities

Each item in the response is something your account can do: a product (payin to collect, payout to pay out, remittance for a full corridor) through a method and in a currency. It also includes the fields it requires, how it's collected, and whether you can use it right now.

Build your forms from this response and you won't have to change code when Caibo opens a new country or method: it simply shows up in the list.

Filters

All are optional and can be combined:

ParameterExample
productpayin, payout, remittance
countryBR, PE (ISO 3166-1 alpha-2)
currencyBRL, PEN
methodpix, bank_transfer
curl "$CAIBO_API/v1/capabilities?product=payin&currency=BRL" \
  -H "Authorization: Bearer $CAIBO_API_KEY"
{
  "data": [
    {
      "product": "payin",
      "operation": "payin",
      "method": "pix",
      "currency": "BRL",
      "country": "BR",
      "payment_currency": "BRL",
      "settlement_currencies": ["USDT"],
      "settlement_asset": "USDT",
      "collection": ["payment"],
      "payment_method_fields": [
        {
          "name": "payer.name",
          "type": "string",
          "required": true,
          "pattern": "^.{2,140}$",
          "description": "The payer's full name.",
          "example": "Ana Souza"
        },
        {
          "name": "settlement_currency",
          "type": "enum",
          "required": false,
          "enum": ["USDT"],
          "description": "The currency the balance is credited in."
        }
      ],
      "customer_fields": [
        { "name": "type", "type": "enum", "required": true, "enum": ["individual", "business"], "description": "…" },
        { "name": "country", "type": "string", "required": true, "pattern": "^[A-Z]{2}$", "description": "…" }
      ],
      "available": true
    }
  ],
  "has_more": false
}

The fields

Champ

Type

FieldSpec: how a field is described

Each field has name, type (string, number, iban, phone, email, date, enum), required, and description, and may have pattern (a regular expression), enum, example, and note. With that you can validate in your form exactly what the API validates.

A dotted name indicates a nested object in a beneficiary's details: document.type is {"document": {"type": "V"}}. In payer, by contrast, the key is the full name: {"payer": {"payer.name": "Ana Souza"}}.

Available and unavailable

reasonWhat it meansWhat to do
suspendedCaibo has temporarily paused the operation, for everyone or for your account.Retry later. If you try, the API responds 503 operation_suspended.
not_enabledThe product isn't enabled for your account.Ask Caibo to enable it.
no_providerThere's no route available for your account.Ask Caibo to enable it.

If you request a method or currency that isn't in the list, the API responds 422 unsupported_method.

Caibo enables it, and you change nothing

Enabling happens on Caibo's side: per country for everyone, or just for your account. When something is enabled, it starts appearing with available: true. Your integration reads the list and uses it.

Sur cette page