Skip to content
Status

Affirm sandbox credentials

Every administrator on an Affirm account has a pair of sandbox API keys alongside the live ones, in Affirm’s sandbox merchant dashboard. See Affirm’s API keys guide for more detail.

  1. Log in to Affirm’s sandbox merchant dashboard:

    Only administrators can manage API keys. If you don’t have access to the Merchant Dashboard, ask the owner of your Affirm account for access.

  2. Select API keys. The section is titled Sandbox API Keys, which shows you are in the sandbox rather than live.

  3. Copy your Public API Key and Private API Key. Keep the private key confidential.

  4. In a Shuttle sandbox account, enter your Merchant Name and the two sandbox API keys into the Affirm connection dialog. There is no sandbox switch on the dialog: in a sandbox account, payments go to Affirm’s sandbox. See Connecting Affirm.

These steps follow Affirm’s own pages and screens as of 20 November 2026. If they no longer match, Affirm’s linked pages are the reference.

Was this page helpful?