PUT /api/v2/storefront/billing
Updates your storefront’s billing configuration — platform fee percentage, additional partner fees, settlement currency, and default payment terms. Admin-only. Send only the fields you want to change. Returns the full updated configuration.
Request
Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
platformFeePercent | number | No | Platform fee percentage, 0–100 |
fees | array | No | Additional partner fees. Each entry: name (required, 1–255), feePercent (required, 0–100), description (optional, max 500) |
currency | string | No | ISO 4217 currency code, three uppercase letters (e.g. USD) |
defaultNetDays | integer | No | Payment terms in days (≥ 0) |
Response
StorefrontBillingResponse after the update, mirroring Get billing config.
Errors
400 VALIDATION_ERROR—platformFeePercentor afeePercentout of the0–100range, malformedcurrency, or negativedefaultNetDays.
Related
Billing tasks
All billing operations
Get billing config
Read the current configuration
Get account status
Charges, payouts, and balance
Billing overview
Stripe Connect concepts