billing

Set the org's billing address (owner/admin)

Written to the payment provider, which computes tax from it. 409 for an org with no billing account yet: start a plan first.

put/v1/orgs/{org_id}/billing/address

Request

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

Path parameters

org_idstring required

Request body

citystring
countrystring required

ISO-2 country code

line1string
line2string
postal_codestring
statestring

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.