Returns the card an organization pays with. The card is the organization's default payment method for invoices, or its first saved card when no default card is set. Only the brand, last four digits, expiry and billing email are returned — never the card number.
Note
Requires a session JWT and the admin or owner role in the organization. A member gets 403 forbidden ("Only admins can view the payment method"), and so does anyone who is not a member of the organization. API keys are not accepted on billing endpoints. Any plan.
To change the card, open the billing portal with POST /v1/billing/portal.
Query Parameters
NameDescription
orgId:stringqueryRequired
The organization ID (a UUID).
Response
NameDescription
data:object | null
The card on file, or null when the organization has no card — including an organization that has never had a paid subscription.
Show 5 child attributesobject | null
brand:string
Card brand, e.g. visa, mastercard or amex.
last4:string
The last four digits of the card number.
expMonth:integer
Expiry month, 1–12.
expYear:integer
Four-digit expiry year.
email:string | null
The card's billing email, else the billing account's email, else null.