Gyvar docs

The Corridor object

The shape of a corridor wherever the API returns one.

Every endpoint that returns a corridor returns this shape, wrapped in a data envelope.

Attributes

country

string · always present

ISO 3166-1 alpha-2.

name

string · always present

—

currency

string · always present

What the beneficiary is paid in.

currency_decimals

integer · always present

Decimal places of currency. Not always 2: UGX, RWF and XOF have none.

min_amount

string · optional

Smallest payout, in the corridor currency. Omitted when there is none.

min_amount_minor

string · optional

—

max_amount

string · optional

Largest payout. Larger payouts are refused, not split. Omitted when there is none.

max_amount_minor

string · optional

—

methods

array of object · always present

How money can reach someone in this corridor.

The Corridor object
{
  "country": "GH",
  "name": "Ghana",
  "currency": "GHS",
  "currency_decimals": 2,
  "min_amount": "1.00",
  "min_amount_minor": "<min_amount_minor>",
  "max_amount": "<max_amount>",
  "max_amount_minor": "<max_amount_minor>",
  "methods": []
}

On this page