Billing

Get the payment method

Get a summary of the organization's saved payment method (brand and last 4 digits).

get/billing/payment-method

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/billing/payment-method
  • Auth: none declared

Query parameters

organizationIdstring

Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

Response

OK

hasPaymentMethodboolean required
brandstring nullable required
last4string nullable required
typestring nullable required
expiryMonthinteger nullable required
expiryYearinteger nullable required
isDefaultboolean required
displaystring nullable required

Changes

No recorded changes to this operation across all 54 revisions of this API.