Skip to main content
GET
Get organization payment method

Authorizations

Authorization
string
header
required

Account Service Key, prefixed with pho_ask_, sent as Authorization: Bearer <key>. Acts on behalf of its owning account, subject to the permissions and credential restrictions of each operation. Account access tokens and OAuth grants also use the Bearer header. In organizations that require SSO, Account Service Keys are not accepted for managing the organization's SSO settings, deleting the organization, or checking whether it can be deleted.

Scopes

billing:read

View invoices, usage, payment status.

Headers

Photon-Version
enum<string>

Selects the API contract date. Without it, the request is served as 2026-07-01.

Available options:
2026-07-01

Path Parameters

organizationId
string
required

Response

Whether the organization has a captured card and its metadata.

agreement
object
required

How the organization pays: self_serve by card, each purchase paid when made; enterprise by invoice on its contract's terms, its purchases added to its next monthly invoice.

cardOnFile
boolean
required

True once a card is captured for the payer.

paymentMethod
object | null
required

Metadata for the default card, or null.

purchaseRefusal
enum<string> | null
required

Why the organization can't pay for a purchase now, or null when it can. payment_method_required: add a card first; an organization that pays by invoice never needs one. billing_not_ready: its billing is still being set up; try again shortly. Decide purchases on this, not on cardOnFile.

Available options:
payment_method_required,
billing_not_ready