GET /api/v2/storefront/billing
Returns your storefront’s billing configuration: payout setup status, platform
fee percentage, any additional partner fees, payout currency, payment terms,
and the payout details on file (masked — the account number is never returned
after save). billing is null when no configuration exists yet. When billing
is inherited from your organization, inherited is true. Also available to
agents as the get_billing_info operation.
Request
Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
targetCustomerId | number | No | Query param. Organizations read a managed account’s config |
Response
| Field | Type | Notes |
|---|---|---|
onboardingStatus | enum | Payout setup status: pending, complete (payout details on file), or restricted |
platformFeePercent | number | null | Platform fee percentage |
fees | array | null | Additional partner fees (name, description, feePercent) |
currency | string | null | Payout currency (ISO 4217) |
country | string | null | ISO 3166-1 alpha-2 country used for billing |
defaultNetDays | number | null | Payment terms in days |
payoutDetails | object | null | Masked bank details on file — see below. null until saved |
inherited | boolean | Whether this config is inherited from the organization |
payoutDetails carries beneficiaryName, the beneficiary address fields,
accountNumberLast4 (the only part of the account number ever returned),
bankIdentifierType + bankIdentifierValue, and completedAt. While
payoutDetails is null, media buys against your storefront cannot use
Scope3-cleared (agent) billing and you bill buyers directly — save details
with Set payout details.
Errors
400 VALIDATION_ERROR— malformed request or invalidtargetCustomerId.
Related
Billing tasks
All billing operations
Set payout details
Save the bank account Scope3 pays into
Update billing config
Change fees, currency, net days (admin)
Billing overview
How payouts work and why bank details are needed