> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/cloud/payments/integrations/set-default.md).

# Default integration

Payment integrations have no default — every enabled integration receives its own webhook calls.

**Where:** Payments → Integrations → an integration → **Actions** · `/projects/<project>/payments/integrations/<integrationId>/edit`

{% hint style="warning" %}
Payment integrations have no default, in Cloud or in the SDK, CLI or API: the **Actions** menu has no *Set as default* and the list has no **Default** column. None is needed — each integration has its own webhook URL, so every enabled integration receives the calls of its provider, and each [trigger](/codemash/cloud/payments/triggers/new.md) picks the integrations it listens to under **For these integrations**.
{% endhint %}

## Before you start

* At least one [payment integration](/codemash/cloud/payments/integrations.md).

## Steps

1. Open the integration, here `PayPal sandbox`, and open **Actions**. The menu has **Disable**, **See PayPal documentation**, **See SDK documentation**, **See API documentation** and **Delete** — no *Set as default*.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-f13473d1e10b6b713e259835766e49ce22b43bcc%2Fintegrations-set-default-1.png?alt=media" alt="Editing PayPal integration with the Actions menu open: Disable, See PayPal documentation, See SDK documentation, See API documentation, Delete"><figcaption><p>The Actions menu of a payment integration.</p></figcaption></figure>
2. To choose which integrations a trigger uses, tick them under **For these integrations** on the trigger ([Edit a trigger](/codemash/cloud/payments/triggers/edit.md)). To stop an integration everywhere, [disable it](/codemash/cloud/payments/integrations/disable.md).

## Result

Every enabled integration accepts the webhook calls sent to its own URL. A trigger with no integration ticked reacts to all of them.

## Change or remove it later

* [Disable or delete](/codemash/cloud/payments/integrations/disable.md) an integration; **Enable** brings a disabled one back.

## Do it from code

There is no call to set a default. List the integrations and whether each one is on:

```ts
const { list } = await norbix.hub.payments.getPaymentsIntegrations();
console.log(list.items.map((i) => `${i.integrationName} (${i.gatewayPlatform}, ${i.isEnabled ? 'on' : 'off'})`));
```

```sh
norbix hub payments integrations get --pageSize 3
```

API: [Get Payments Integrations](/codemash/api-reference/payments/integrations/get-payments-integrations.md)
