API reference

Balance

The merchant's ledger snapshot: what's available to pay out right now, what Stripe is still holding pending settlement, and what we've held back as a chargeback reserve. Shape matches Stripe's balance object for familiarity.

Retrieve balance

GET/v1/balancescope: balance:read

Returns a single balance object for the merchant the supplied key belongs to. No query parameters; the response always reflects the merchant's default currency.

curl https://baynoy.com/api/v1/balance \
  -H "Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxx"
Response
{
  "ok": true,
  "data": {
    "object": "balance",
    "currency": "CHF",
    "available": [
      { "amount": 124000, "currency": "CHF" }
    ],
    "pending": [
      { "amount": 4200, "currency": "CHF" }
    ],
    "reserve": [
      { "amount": 0, "currency": "CHF" }
    ],
    "livemode": true
  }
}