Billing

Update billing customer details

Changed on

Updates billing customer details for the specified organization.

patch/organizations/{organizationID}/billing/customer

Request

  • Base URL
    https://api.xata.tech
  • Auth
    OAuth 2
    Implicit: https://auth.xata.io/realms/xata/protocol/openid-connect/auth
    Scopes: org:write

Request body

billing_emailstring email required

Response

Billing customer updated

billing_emailstring email required
marketplace'aws' required

Marketplace provider associated with an organization.

collection_method'unknown' | 'stripe_payment_method' | 'marketplace' | 'bank_transfer' required

How billing payment is collected for the organization.

can_collect_paymentboolean required
has_payment_methodboolean required

True when the customer has a valid Stripe default card payment method.

Changes

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • warning

      deleted the path request parameter organizationID