Read your balance and billing setup

​

Returns your organization's prepaid balance, the saved card, and the automatic recharge setting. The balance is the funds added minus settled usage; usage that has not settled yet is not subtracted. While automatic recharge is on and a card is saved, Resia charges the card when the balance falls to $20.00 or less, and brings the balance back up to the target, charging at least $20.00. New paid work is refused with 402 only when the balance is $0.00 or less.

Responses

  • application/json
Request Example for get/v1/billing
curl /v1/billing \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "currency": "usd",
  "balance_in_cents": 5000,
  "paid_actions_allowed": true,
  "card": {
    "brand": "visa",
    "last4": "4242",
    "exp_month": 12,
    "exp_year": 2030
  },
  "auto_recharge": {
    "enabled": true,
    "target_in_cents": 5000,
    "last_failed_at": "2026-09-24T21:09:12.158Z"
  }
}