Billing

Get billing info

Changed on

Get billing configuration and balance for the authenticated developer

get/api/v1/billing

Request

  • Base URL
    https://staging.api.rye.com
  • URL
    https://staging.api.rye.com/api/v1/billing
  • Auth
    API key in header Authorization

Response

Billing configuration including drawdown settings and balance

Example response

{
  "drawdown": {
    "balance": {
      "currencyCode": "USD",
      "amountSubunits": 1500
    },
    "config": {
      "currency": "USD",
      "minBalanceSubunits": 200000,
      "targetBalanceSubunits": 1000000
    }
  }
}

Changes