billing

The billing address and card the payment provider holds for the org (owner/admin)

Read from the payment provider on every call. source is none for an org with no billing account yet and unavailable when the provider could not be read.

get/v1/orgs/{org_id}/billing/account

Request

  • Base URL: https://api.wavehouse.cloud
  • URL: https://api.wavehouse.cloud/v1/orgs/{org_id}/billing/account
  • Auth: one of:
    • API key in cookie whc_session
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

org_idstring required

Response

OK

source'provider' | 'none' | 'unavailable' required

provider: read from the payment provider just now; none: the org has no billing account yet, and starting a plan makes one; unavailable: the provider could not be read, so address and card are unknown rather than empty

Changes

No recorded changes to this operation across all 1 revision of this API.