WoyraDocs
Get an API key

How this account can pay

GET/v1/billing/payment_options

Billing · Requires an API key

Every account is billed in USD. Accounts in Ethiopia may also pay in birr by bank deposit; a deposit is credited in USD at the rate Woyra sets, fixed when the deposit is requested. currency is the account's current choice, which can be changed at any time.

Example

curl https://api.woyra.io/v1/billing/payment_options \
  -H "Authorization: Bearer $WOYRA_KEY"

Response

200 The payment options.

FieldTypeDescription
objectrequired"payment_options"
currencyrequiredstringHow the account currently chooses to pay.
One of ETB, USD.
currenciesrequiredarray of string
bankobjectPresent for accounts that may pay in birr.
bank.enabledboolean
bank.bank_namestring
bank.account_namestring
bank.account_numberstring
bank.etb_per_usd_microsinteger
bank.minimum_amount_microsinteger
bank.maximum_amount_microsinteger

Also in Billing