Skip to Content
CheckoutAPI ReferenceSettingsOverview

Settings

Your merchant settings hold business configuration: business mode (test or live), per-chain signer status, checkout branding, and the addresses you need to integrate — including your PaymentFactory address (required to sign direct payments) and your settlement address.

These values are stable. Fetch them once and store them with your config. You can also view and manage them in your dashboard.

🔐

Settings endpoints require your secret API key. See Authorization for details.

Branding colors

Customize the hosted checkout and subscribe pages with your own colors via PATCH /settings:

FieldControls
background_colorPage background, card surface, and the header bar tint — all derived from this one hex color.
primary_colorButtons and other accent elements.

Each color applies independently — set one, both, or neither. Whichever is unset falls back to the platform default, and the header bar only takes on your background tint once background_color itself is set; otherwise it stays on the default. Foreground/text colors are chosen automatically for contrast against whatever background or primary color you pick — they aren’t separately configurable.

Colors are 6-digit hex strings including the leading # (e.g. #0f172a). Shorthand like #0f1 is rejected. Send null to reset a color back to the platform default. You can also set them from the dashboard’s Settings page, with a live preview.

Branding colors are set once on /settings and apply to both the one-shot checkout page and the subscribe page. They’re echoed back on the subscription checkout response so you can mirror your branding in your own UI. The one-shot checkout response doesn’t carry them, so read them from GET /settings instead.

Pause authority

Your merchant pauser is the merchant-held address that can pause and unpause your SubscriptionManager during an incident. Declare it before your manager is deployed through POST /settings/pauser by signing the declaration_message returned by GET /settings/pauser with that address. The pauser is bound into the manager address, so it is immutable once a manager is deployed. It must differ from the Exodus pauser, and it may equal your merchant_signer only when you acknowledge the shared-key risk.

After request validation (a malformed merchant_pauser or signature returns a 400 first), the declaration rejects these cases:

StatuscodeCauseFix
400evm_payment_config_missingNo EVM merchant signer is registered yet.Register a signer first.
422pauser_locked_by_deploymentA SubscriptionManager is already deployed; the pauser is bound into its address.Changing it requires a redeploy and subscriber migration. Contact support.
422pauser_is_exodus_pauserThe address is the Exodus pauser, so the Guardian could unpause a manager it halted.Declare a merchant-held address.
422pauser_control_unprovenThe signature does not recover to the address, and the address is not a contract account that approves the message on every chain you support (or your business supports no EVM chain to check it on).Sign the declaration_message with the pauser key, or deploy the contract account on every chain you support and have it approve the message.
422shared_pauser_risk_unacknowledgedThe address equals your merchant_signer.Declare a distinct address, or send acknowledge_shared_pauser_risk: true to record the accepted risk.

The rows are in the order the API checks them, so the first match is the one you get. The 400 comes back with type: invalid_request; every 422 comes back with type: cannot_process.

Signer rotation

Signer rotation moves your integration to a new Signing Key while you still hold the current one. Your SubscriptionManagers stay in place and live subscriptions keep running; only the key that signs future actions changes. If your key is lost or compromised, use Replace key in the dashboard’s Signing Key card instead. That path needs support and pauses your integration until the new key is active.

You run the rotation from your server with @exodus/checkout-signer 0.9.0 or later:

  1. Create the new key with CheckoutSigner.generate() and store its signingKey. Keep the current key until the rotation completes.
  2. Call GET /settings/signer/rotation with new_signer set to the new key’s EVM address.
  3. Pass the whole response to signRotation on a CheckoutSigner built from the current key, together with the values you expect.
  4. Send the returned body to POST /settings/signer/rotation.
  5. When every chain in the response reports rotated or already_rotated, read GET /settings again and replace any PaymentFactory address you cached (chain_configs[].factory_address): the rotation gives each chain a new PaymentFactory. Then sign every action with the new key and retire the old one.
import { CheckoutSigner } from '@exodus/checkout-signer';
 
const { signingKey: nextSigningKey, addresses } = CheckoutSigner.generate();
// Store nextSigningKey in your secret store before you continue
 
const current = new CheckoutSigner(process.env.SIGNING_KEY);
const expected = {
  new_signer: addresses.evm,
  settlement_address: '0x…', // your settlement address; the dashboard card prefills it for a fiat-settled business
  merchant_id: '0x…', // from the dashboard's Signer rotation card, or merchant_id from GET /settings
  managers: {
    // one SubscriptionManager address per chain, from the same card or subscription_managers in GET /settings
    'eip155:42161': '0x…',
  },
};
 
const prepare = await get(`/settings/signer/rotation?new_signer=${expected.new_signer}`);
const { body } = await current.signRotation(prepare, { expected });
const result = await post('/settings/signer/rotation', body);
// get and post stand for your own HTTP helpers, authenticated with your API key

expected is required. The dashboard’s Settings → Signer rotation card shows your merchant_id and one manager address per chain, and builds this call for you. The same values are merchant_id and subscription_managers on GET /settings.

Before it signs anything, signRotation compares the response with expected. Then it computes, on your server and with no network call, the replacement contract each chain should get, and compares that with the response. A difference at any step signs nothing and throws: EXPECTATION_MISMATCH or MISSING_EXPECTATION for a value that does not match or is missing, and VERIFICATION_FAILED when the computed contract differs from the response. new_signer and settlement_address are the values that protect the rotation, because only you hold them.

The API refuses a rotation while payments are in flight; retry once they settle or expire. The API rotates one chain at a time, so a failure can leave some chains rotated. The POST then answers 502 with code: rotation_partial_failure. Repeat steps 2 to 4 with the current key and the same new key and expected values. Do not generate another key: the current key cannot rotate a chain that already moved to the new one. Rotated chains come back as already_rotated, and the API acts only on the chains still pending. When error.data.failed_tx_hash is present, that transaction may still confirm, so wait for it before you sign again. Repeat until every chain reports rotated or already_rotated, then finish with step 5.

Endpoints

Last updated on

Start building

XO

Request Demo

Schedule a call with our team

Select a productArrow right

Start building
Grateful

Contact Us

We're here to help