Skip to Content
CheckoutAPI ReferenceSettingsRetrieve merchant settings

Retrieve merchant settings

GET/settings

Retrieve your business configuration: test/live mode, per-chain signer status, the PaymentFactory address needed to sign direct payments, and the settlement address. These values are stable — fetch once and cache them with your config. It also returns your merchant id and one SubscriptionManager address per chain.

Headers

HeaderDescriptionRequired
AuthorizationBearer token with your secret API keyyes

Example Request

Request

const response = await fetch('https://checkout-api.exodus.com/settings', {
  method: 'GET',
  headers: {
    Authorization: 'Bearer sk_live_xxxxxxxxxxxxxxxx',
  },
});

Responses

StatusDescription
200The merchant settings.
400Validation error
401Missing or invalid authentication
403API key lacks the required scope

Response body

FieldTypeRequiredDescription
business_idstringyesYour Exodus business id. Stable for the life of the business and also returned as business_id on subscription checkouts.
business_namestringyesYour registered business name, set by Exodus during onboarding. Hosted checkout and subscribe pages show display_name instead when it is set.
display_namestring | nullyesThe name your customers see on hosted checkout and subscribe pages. null shows business_name instead.
background_colorstring | nullyes
primary_colorstring | nullyes
is_testbooleanyes
settlement_typeenum: CRYPTO | FIATyes
currencystring | nullyes
settlement_providerstring | nullyes
settlement_provider_idstring | nullyes
chain_configsobject[]yes
can_generate_keybooleanyes
webhook_urlstring | nullyes
merchant_idstringyesThe merchant id bound into your PaymentFactory and SubscriptionManager contracts: keccak256 of merchant:<business_id>.
subscription_managersobject[]yesYour SubscriptionManager contract addresses, one entry per chain where one is deployed, each with its CAIP-2 chain id.

chain_configs

FieldTypeRequiredDescription
chain_familyenum: evm | solanayes
signer_statusenum: not_configured | pending_activation | activeyes
merchant_signerstring | nullyes
settlement_addressstring | nullyes
factory_addressstring | nullyes

subscription_managers

FieldTypeRequiredDescription
chainstringyes
addressstringyes

Example Response

{
  "business_id": "clzk3n8x50000qw3f7h2p9r1b",
  "business_name": "Acme Store",
  "display_name": null,
  "background_color": null,
  "primary_color": null,
  "is_test": false,
  "settlement_type": "CRYPTO",
  "currency": null,
  "settlement_provider": null,
  "settlement_provider_id": null,
  "chain_configs": [
    {
      "chain_family": "evm",
      "signer_status": "active",
      "merchant_signer": "0x1234abcd1234abcd1234abcd1234abcd1234abcd",
      "settlement_address": "0xabcd1234abcd1234abcd1234abcd1234abcd1234",
      "factory_address": "0xfaceb00cfaceb00cfaceb00cfaceb00cfaceb00c"
    },
    {
      "chain_family": "solana",
      "signer_status": "active",
      "merchant_signer": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin",
      "settlement_address": "5tzFkiKscXHK5ZXCGbXZxdw7gTjjD1mBwuoFbhUvuAi9",
      "factory_address": null
    }
  ],
  "can_generate_key": false,
  "webhook_url": "https://yoursite.com/webhooks/exodus",
  "merchant_id": "0x750ba0a7160fc57611beb7d07de10a83425eb034e2daf679f7069347751ab566",
  "subscription_managers": [
    {
      "chain": "eip155:42161",
      "address": "0x9a1b2c3d4e5f60718293a4b5c6d7e8f901234567"
    }
  ]
}

Error Response

Error (e.g. 400)

{
  "error": {
    "type": "validation_error",
    "message": "amount must be a positive number",
    "param": "amount"
  }
}
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