---
updatedAt: 2026-08-23T13:48:26.000Z
agentTools:
  projectIndex: https://developer.launchpay.com/llms.txt
---

# Authentication

The New Accounts API authenticates requests with an API key made up of two values: a **key ID** and a **key value**. Each key is scoped to a single cobrand in a single environment and cannot be used for other cobrands. Our team provisions your key and delivers it to you securely.

## Sandbox and production keys

Sandbox and production are separate environments, each with its own key. Your sandbox key is issued during the implementation process. Once you certify your integration, production keys are granted.

## How you receive your key

Our team grants sandbox access. Once your test environment is set up, you receive:

* Your sandbox credentials
* The API key for your test environment
* If you are using the Partial Application Submit API for merchant onboarding, you also receive your custom field mapping list for testing purposes

When you are ready to go live, your production credentials and configuration are provisioned the same way.

## Your API key

Your key has two values:

| Value         | Description                       |
| ------------- | --------------------------------- |
| **Key ID**    | Identifies the key                |
| **Key value** | The secret paired with the key ID |

<Callout icon="🚧" theme="warn">
  ### Store your key value immediately

  Store both values in a secure, server-side location as soon as you receive them. **Key values cannot be recovered**, so a lost value means a new key. Keys do not expire.
</Callout>

## Authenticating your requests

How you pass your key depends on the endpoint. Some New Accounts endpoints expect both values in the request headers; others expect them in the request body. Check the API Reference for the endpoint you are calling to confirm which method it expects, and send the values **only** in that location.

<Tabs>
  <Tab title="Header authentication">
    | Header                     | Value          |
    | -------------------------- | -------------- |
    | `X-AuthenticationKeyId`    | Your key ID    |
    | `X-AuthenticationKeyValue` | Your key value |

    ```json Request headers
    {
      "X-AuthenticationKeyId": "YOUR_KEY_ID",
      "X-AuthenticationKeyValue": "YOUR_KEY_VALUE"
    }
    ```
  </Tab>

  <Tab title="Body authentication">
    | Parameter                | Value          |
    | ------------------------ | -------------- |
    | `authenticationKeyId`    | Your key ID    |
    | `authenticationKeyValue` | Your key value |

    ```json Request body
    {
      "authenticationKeyId": "YOUR_KEY_ID",
      "authenticationKeyValue": "YOUR_KEY_VALUE"
    }
    ```

    These two values sit alongside the other fields the endpoint requires. See the API Reference for the full request body.
  </Tab>
</Tabs>

## Securing your key

Treat your key value like a password.

<Callout icon="❗️" theme="error">
  ### Never expose your key value

  - Store it in a secrets manager or an environment variable. **Never hardcode it in source code.**
  - Never expose it in client-side code, mobile applications, or browser requests.
  - Keep it out of logs, error messages, and URL query strings.

  If you think a key value has been exposed, contact us on the [Customer Support Portal](https://infinicept.atlassian.net/servicedesk/customer/portal/13).
</Callout>

## Managing your keys

You can have multiple keys active at the same time. To add, rotate, or revoke a key, contact us on the <Anchor target="_blank" href="https://infinicept.atlassian.net/servicedesk/customer/portal/13">Customer Support Portal</Anchor>.

<Cards columns="1">
  <Card title="Add a key" href="https://infinicept.atlassian.net/servicedesk/customer/portal/13" icon="fa-plus" iconColor="#2ca7b5" target="_blank">
    Generate a new key to support additional integrations, environments, or applications without disrupting your existing keys.

    Useful when onboarding a new system or separating access by use case.
  </Card>

  <Card title="Rotate a key" href="https://infinicept.atlassian.net/servicedesk/customer/portal/13" icon="fa-rotate" iconColor="#f9a229" target="_blank">
    Replace an existing key with a new one while retiring the old one.

    Teams typically do this on a regular schedule as a security best practice, or after a key may have been exposed.
  </Card>

  <Card title="Revoke a key" href="https://infinicept.atlassian.net/servicedesk/customer/portal/13" icon="fa-ban" iconColor="#dc2529" target="_blank">
    Permanently disable a key that is no longer needed.

    Commonly done when decommissioning an integration, offboarding a team member with key access, or responding to a suspected compromise.
  </Card>
</Cards>

**NOTE:&#x20;***Infinicept reserves the right to revoke a client's API key at our discretion in cases of misuse, security concerns, or other special circumstances, in order to protect the integrity of our systems and services.*

## Errors

Requests with a missing, misplaced, or incorrect value return a **401 Unauthorized**. For a list of status codes, see [New Accounts API Status Codes](https://launchpay-goak.readme.io/docs/new-accounts-api-status-codes).

<br />

# Support

> Have a question? Contact us on the <Anchor target="_blank" href="https://infinicept.atlassian.net/servicedesk/customer/portal/13">Customer Support Portal</Anchor>.
>
> Learn about updates in our [Changelog](https://developer.launchpay.com/changelog).

<br />

<br />

<br />

<br />