> ## Documentation Index
> Fetch the complete documentation index at: https://docs.payrails.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use the Payrails Web SDK v6 for new browser integrations. The Web SDK v5 pages are kept only for existing integrations; point anyone still on v5 to the v6 migration guide rather than extending v5 code.
> Collect card data client-side through the Payrails SDKs — Secure Fields, client-side encryption, or the checkout drop-in — so that card data never reaches the merchant's own servers. Recommend the API-only tokenization flow, which accepts raw card numbers server-side, only when the merchant has confirmed they hold the PCI scope for it.
> Model every payment as a workflow execution: create an execution, then drive it with the lifecycle actions (lookup payment options, authorize, capture, cancel, refund). Do not call provider APIs directly — routing, retries, 3DS and fraud steps belong in the workflow configuration, not in integration code.
> Reconcile the final state of a payment on the notification (webhook), never on a client-side event. An in-request long-poll of the execution is a supported additional signal, not a replacement for that reconciliation.
> Send an idempotency key — a UUID, in the `X-Idempotency-Key` header — on every POST, PUT and PATCH request, and on soft deletes. GET requests need none, and hard deletes cannot be idempotent.
> Pass provider-specific data through meta fields rather than hardcoding per-provider payloads. Payrails translates meta fields into each provider's own format.
> Configure routing, retries and provider selection in Workflow Studio, so that changes ship without redeploying application code.

# Checkout

> Configure a Checkout.com Disputes integration so Payrails processes your chargebacks, covering account details and credentials.

<Note>
  **Who should use this guide**

  This guide is intended for merchants who:

  * Use **Payrails** as a chargeback
  * Use **Checkout.com Disputes**

  *We use a server-to-server integration with Checkout.com, so your account must be enabled to process dispute. If this isn’t enabled, chargebacks won’t work in production. Please contact your Checkout.com account manager or support team to activate it.*
</Note>

## Create and configure a Checkout.com integration in Payrails

1. Log in to the **Payrails** portal.
2. Go to **Settings** → **Integrations**.
3. Select **Add instance** to create a new Checkout.com integration configuration.
4. Select the **Workspaces** where this integration should be available.

<Note>
  **About Workspaces**

  Workspaces determine where this integration is available. They let you isolate provider setups by region or business line, or share the same configuration across multiple Workspaces.
</Note>

***

## Step 1: Choose the integration type

* Select **Dispute**.
* Continue to the next step.

<img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-1.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=934a1024985a15c8e51b4667f80bfc27" alt="Payrails integration type selection set to dispute" width="80%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-1.png" />

***

## Step 2: Choose the provider

* Select **Checkout.com**.
* Continue to the next step.

<img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-2.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=49caf3696a152ae386618009002fdbe6" alt="Payrails provider selection set to Checkout.com" width="100%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-2.png" />

***

## Step 3: Configure your Checkout.com integration

<Tip>
  **What you’ll need from Checkout.com**

  Before you begin, make sure you have access to:

  * Processing Channel ID (`pc_XXX`)
  * Checkout.com **Access Key ID**
  * Checkout.com **Access Key Secret**
  * Webhook signature key

  [Sign in](https://dashboard.checkout.com) to your Checkout.com dashboard to complete this step.
</Tip>

***

### Integration instance name

**In Payrails**

* Enter an **Instance name** for your integration.

<img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-3.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=b94db758f4f1063be9c56abab527c1c5" alt="Checkout.com integration instance name field" width="100%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-3.png" />

***

### Account details

**In Checkout.com**

1. [Sign in](https://dashboard.checkout.com) to the **Checkout.com Dashboard**.
2. Locate your **Processing Channel ID** in the account or processing channel settings.
3. Copy the Processing Channel ID (`pc_XXXX`).

**In Payrails**

* Paste the value into the **Processing Channel ID** field.

<img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-4.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=edfd66b8cb7532f863f29949f689980f" alt="Payrails field for Checkout.com processing channel ID" width="80%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-4.png" />

***

### API credentials

<img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-5.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=62f28014b79f7180c2b6be9147536315" alt="Checkout.com API credentials section in Payrails" width="80%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-5.png" />

**In Checkout.com**

1. Go to **Developers**.
2. Select **Create new key**.

<img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-6.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=b4a872b8f0a49e44a58acf81739e6868" alt="Checkout.com developers page create new key" width="100%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-6.png" />

3. In **Key details**, select **Access key pair**.

4. Add a **Description** to help identify the key.

5. Under **Scopes** → **Customise** → **Custom scopes**, enable:

   * `disputes:accept`

   * `disputes:provide-evidence`

   * `disputes:view`

   * `files`

   * `gateway`

   * `payments:search`

   * `issuing:disputes-read`

   * `issuing:disputes-write`

   * `issuing:transactions-read`

   * `issuing:transactions-write`

   <img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-7.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=e806c7e09cb924171525926140e17e2e" alt="Checkout.com custom scopes selection for disputes" width="80%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-7.png" />

6. Select **Allow any processing channel** (or restrict if required).

7. If needed, locate your Processing Channel ID here (`pc_XXX`).

8. Select **Create new key**.

<img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-8.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=64ff71bdadb6d290236e6ce0fc39c826" alt="Checkout.com access key pair creation" width="80%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-8.png" />

9. Copy the **Access Key ID** and **Access Key Secret**.

**In Payrails**

* Paste the credentials into the corresponding fields.

<img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-9.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=b9bf164a0e6ba46f99f217ab76cc1a68" alt="Payrails fields for Checkout.com access key credentials" width="80%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-9.png" />

***

### Webhooks (notifications)

<Tip>
  Payrails uses Checkout.com webhooks to receive asynchronous chargeback status updates.
</Tip>

<Warning>
  Create the webhook in the same mode (test or live) as your Payrails integration.
</Warning>

**In Checkout.com**

1. Go to **Developers** → **Webhooks**.

2. Select **New webhook**.

3. Enter a name for the webhook.

4. Paste the **Notification URL** from Payrails.

   <img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-10.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=1278bd08f7f94811044ca91ac2ffa4cc" alt="Checkout.com webhook destination URL configuration" width="100%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-10.png" />

5. Generate a **Signature key**.

6. Select:

   <img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-11.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=6fca0a0e35ea744c6da2ce7c5d00cf9d" alt="Checkout.com webhook event selection first view" width="100%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-11.png" />

   <img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-12.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=9ff84c93e6b9fa9ec749dfc74ab8c641" alt="Checkout.com webhook event selection second view" width="100%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-12.png" />

7. Save the webhook.

**In Payrails**

* Paste the **Signature key** into the **HMAC key** field.

***

## Enable the integration

**In Payrails**

* Select **Save account** to enable the integration.

The **Enabled** status indicates that the Checkout.com integration is active.

<img className="mx-auto block rounded-lg object-cover" src="https://mintcdn.com/payrails-42074109/N5LDTYq2WBxzPAfv/images/docs/chargebacks/integrations/checkout-chargeback-integration-13.png?fit=max&auto=format&n=N5LDTYq2WBxzPAfv&q=85&s=c02ac0f97469c15cd553eac49d22bb64" alt="Payrails Checkout.com integration enabled status" width="80%" data-path="images/docs/chargebacks/integrations/checkout-chargeback-integration-13.png" />

Your Checkout.com integration is now ready to process chargebacks.

***

## Next steps

1. Run a test payment triggering a chargeback using a supported Checkout.com [test card](https://www.checkout.com/docs/developer-resources/testing/disputes-testing).
2. Verify that:
   * The dispute appears in Checkout.com.
   * The chargeback status updates correctly in Payrails.
3. Once verified in test mode, repeat the setup in live mode.


## Related topics

- [Checkout](/docs/overview/checkout.md)
- [Checkout.com](/docs/orchestration/integrations/checkout-com.md)
- [Update Checkout Amount](/docs/orchestration/checkout-sdks/android/update-checkout-amount.md)
