billing

Get the active scope's payment provider

Changed on

Returns the payment provider the active scope is pinned to (or the system default when unpinned) plus its browser-safe public credentials.

get/billing/payment-provider/

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sessionid

Headers

X-Organization-Idstring

Selects the active organization for this request. Optional for callers that belong to exactly one active organization — the single membership is resolved implicitly. Required when the caller has two or more active memberships; omitting it in that case returns 400. If the header names an organization the caller is not an active member of, the server returns 403.

Response

provider'mercadopago' | 'stripe' required
  • mercadopago - MercadoPago
  • stripe - Stripe

Changes