Skip to navigation

Reset Brand Settings

View as Markdown
Reset brand settings to defaults.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

account_idstringRequired

Response

Successful Response
iconstring or nullOptional

GCloud Storage URL for account icon. Treat as the light-on-dark variant — the default used wherever the icon is rendered on a dark background (e.g., the PaymentKit dashboard).

icon_darkstring or nullOptional

GCloud Storage URL for the dark-on-light icon variant — used on light backgrounds where the default icon (light-on-dark) would be invisible. Surfaces fall back to icon if this is unset.

logo_lightstring or nullOptional

GCloud Storage URL for the light-on-dark logo variant — used on dark backgrounds where the default logo (dark-on-light) would be invisible. Surfaces fall back to logo if this is unset.

brand_colorstring or nullOptional
Primary brand color in hex format
accent_colorstring or nullOptional
Accent color in hex format
custom_domainstring or nullOptional
Custom domain for checkout
privacy_policy_urlstring or nullOptional
URL to privacy policy page
terms_of_service_urlstring or nullOptional
URL to terms of service page
statement_descriptor_prefixstring or nullOptional

Statement descriptor prefix (business-name portion of the dynamic statement descriptor). 2-10 Latin chars, >=1 letter, no forbidden chars. Falls back to the account name when unset. Validated in the account controller (the write path is multipart Form).

statement_descriptor_default_suffixenumOptionalDefaults to product_name

Default statement descriptor suffix when no explicit suffix or full override is set. ‘product_name’ (default) uses the charged product’s name (e.g. ACME* Premium Plan). ‘none’ sends the prefix only. Unknown values return 422 (validated by the Literal type on the multipart form).

Allowed values:
statement_descriptor_first_charge_suffixenumOptionalDefaults to none

Product name on charges with no subscription yet: the first charge of a checkout that starts a subscription, a one-off checkout, and a one-off invoice collected with /collect. ‘none’ (default) sends the prefix only on these charges. ‘product_name’ uses the names of the products on the invoice being charged (e.g. ACME* Premium Plan). Renewals and other charges with a subscription do not use this setting. statement_descriptor_default_suffix ‘none’ removes product names from every charge, whatever this is set to. An explicit suffix or full override still applies. Unknown values return 422.

Allowed values:
statement_descriptor_separatorenumOptionalDefaults to asterisk

How the statement descriptor prefix and suffix are joined. ‘asterisk’ (default) gives ACME* PREMIUM; ‘space’ gives ACME PREMIUM. ‘space’ applies only on processors that accept a full custom descriptor (not Stripe, PayPal or Braintree, which keep ’* ’). This is the account default. Suffix length is still validated against the 2-character ’* ’ budget, so a stored suffix stays valid in both modes. Unknown values return 422 (validated by the Literal type on the multipart form).

Allowed values:

Errors

422
Unprocessable Entity Error