---
updatedAt: 2026-10-09T19:48:45.000Z
agentTools:
  projectIndex: https://docs.asaas.com/llms.txt
---

# Asaas Split on Pluga

How to Use the Asaas Payment Split Feature in an Integration with Pluga

Create charges with Split in Asaas through a Pluga automation, without building your own integration.

The source tool can be Google Sheets or another system compatible with the chosen automation template.

<Embed title="" typeOfEmbed="youtube" url="https://www.youtube.com/watch?v=vafFPXn6ipM" href="https://www.youtube.com/watch?v=vafFPXn6ipM" html="%3Ciframe%20class%3D%22embedly-embed%22%20src%3D%22%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FvafFPXn6ipM%253Ffeature%253Doembed%26display_name%3DYouTube%26url%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DvafFPXn6ipM%26image%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FvafFPXn6ipM%252Fhqdefault.jpg%26key%3D7788cb384c9f4d5dbbdbeffd9fe4b92f%26type%3Dtext%252Fhtml%26schema%3Dyoutube%22%20width%3D%22854%22%20height%3D%22480%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%3B%20encrypted-media%3B%20picture-in-picture%3B%22%20allowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E" />

## Before you begin

Have:

* an active Asaas account;
* a Pluga account;
* a source tool for the charge data;
* access to the Asaas account that will create the charges;
* the recipients and the split rule defined;
* the recipients' `walletId`s, when used in the template.

Split can use a fixed amount or a percentage. The percentage is calculated on the net value of the charge (`netValue`).

<Callout icon="📘" theme="info">
  ### Important

  The split is calculated on the net value of the charge, that is, after the applicable fees are deducted.

  Therefore, the amount actually transferred may be lower than a split calculated on the gross value of the charge.
</Callout>

<Callout icon="🚧" theme="warn">
  ### Attention

  To use split, all recipients must have an Asaas account.

  Also, do not provide the `walletId` of the account issuing the charge itself. The net balance not distributed via split automatically remains with the issuing account.
</Callout>

If you need to retrieve an account's identifier, see [Retrieve WalletId](https://docs.asaas.com/reference/retrieve-walletid).

## How it works

```mermaid id="x0s9bh"
%%{init: {"flowchart": {"nodeSpacing": 18,"rankSpacing": 24,"diagramPadding": 4,"padding": 7}}}%%
flowchart TD
    A["Prepare the data"] --> B["Configure the trigger"]
    B --> C["Connect Asaas"]
    C --> D["Map the charge"]
    D --> E["Configure the Split"]
    E --> F["Finish the automation"]
    F --> G["Create test charge"]
    G --> H["Validate the transfers"]

    classDef inicio fill:#DBEAFE,stroke:#2563EB,color:#1E3A8A,stroke-width:3px
    classDef validacao fill:#E0F2FE,stroke:#0284C7,color:#0C4A6E,stroke-width:2px
    classDef sucesso fill:#DCFCE7,stroke:#16A34A,color:#14532D,stroke-width:3px

    class A inicio
    class B,C,D,E,F,G validacao
    class H sucesso

    linkStyle default stroke:#94A3B8,stroke-width:2px
```

## 1. Prepare the data

Organize the information needed to create the charge and configure the Split.

| Group    | Examples                                          |
| -------- | ------------------------------------------------- |
| Customer | Name, email, phone, and CPF/CNPJ                  |
| Charge   | Amount, due date, description, and payment method |
| Control  | Order ID or external reference                    |
| Split    | `walletId`, split type, and amount                |

When using a spreadsheet as the source, put each piece of information in its own column.

<Callout icon="📘" theme="info">
  ### Best practice

  Use a control column, such as the order number or external reference, to make reconciliation easier and reduce the risk of duplicate charges.
</Callout>

## 2. Configure the trigger

In the Pluga dashboard:

1. create a new automation;
2. choose the source tool, such as Google Sheets;
3. select the spreadsheet or resource that contains the data;
4. choose the template that creates a charge in Asaas;
5. define when the automation should run.

Configure the trigger to fire only after all the required data has been filled in.

For example, a control column can start the creation of the charge only when it receives a specific value, such as `Yes`.

## 3. Connect Asaas

Select Asaas as the destination tool and choose the charge creation action.

Connect the account following the authentication flow presented by Pluga.

<Callout icon="🚧" theme="warn">
  ### Security

  The API key allows actions to be performed on the Asaas account.

  Use an identifiable key for Pluga and avoid sharing it in places without access control.
</Callout>

## 4. Map the charge

Associate the data from the source tool with the fields used by the Pluga template.

Review in particular:

* customer;
* amount;
* due date;
* payment method;
* description;
* sale reference, when used.

The available fields depend on the selected automation.

## 5. Configure the Split

Enable **Payment Split** in the charge configuration.

Choose how to identify the recipients according to the options available in the template:

* already registered subaccounts; or
* `walletId`.

Then define the transfer by:

* fixed amount;
* percentage.

### Fixed amount

Defines an exact amount for the recipient.

Example:

```text
Net value of the charge: R$ 100.00
Fixed split for partner: R$ 25.00
Amount transferred to partner: R$ 25.00
Remaining balance for the issuing account: R$ 75.00
```

### Percentage

The percentage is applied to the `netValue`.

Example:

```text
Net value of the charge: R$ 100.00
Split for partner: 30%
Amount transferred to partner: R$ 30.00
Remaining balance for the issuing account: R$ 70.00
```

For percentage-only Splits, the sum cannot exceed 100%. The configured values must also respect the net value available in the charge.

<Callout icon="🚧" theme="warn">
  ### Attention

  If the total split amount is greater than the net value of the charge, the split may be rejected, blocked, or require adjustment, depending on when the inconsistency is identified.
</Callout>

See the complete rules in [Payment Split](https://docs.asaas.com/docs/payment-split-overview).

## 6. Define the recipients

Confirm that each `walletId` belongs to the account that should receive the transfer.

<Callout icon="❗️" theme="error">
  ### Attention

  Do not use the `walletId` of the account issuing the charge itself.

  The net amount that is not distributed via split will be automatically credited to the issuing account.
</Callout>

You only need to configure as recipients the accounts that will receive part of the amount. The remaining net balance stays in the account that created the charge.

## 7. Finish and test

Before activating the automation:

1. review the mapped fields;
2. check the recipients;
3. validate the amounts or percentages;
4. confirm the trigger;
5. run a test with controlled data.

Then finish the automation in Pluga.

### Expected result

Pluga should create the charge in Asaas with the Split configuration defined in the automation.

After the charge is received, Asaas calculates the `netValue` and processes the transfers according to the configured rules.

## Avoid duplicates

If the source allows it, keep control fields to record the result of the automation.

For example:

| order | generateCharge | asaasChargeId      | status  |
| ----- | -------------- | ------------------ | ------- |
| 1001  | Yes            | `pay_000000000001` | Created |
| 1002  | No             |                    | Pending |

Before reprocessing a row or event:

* check the automation history in Pluga;
* confirm whether the charge has already been created;
* use the order ID or external reference for reconciliation.

## Track the Splits

For manual validation, check the paid and received Splits directly in the Asaas interface:

[Check Splits through the interface](https://docs.asaas.com/docs/split-query-via-interface).

For automated tracking, use Webhooks instead of recurring API queries.

The event:

```text id="7wp6fs"
PAYMENT_SPLIT_DONE
```

is sent when a specific Split is settled. If a charge has more than one Split, each settlement may generate its own event.

[See the Events for payments](https://docs.asaas.com/docs/payment-events).

## Refunds

When a charge with Split is refunded, the related transfers are also refunded.

Take this behavior into account when reconciling the issuing account, the recipients, and the source tool.

## Common errors

| Situation                        | What to check                                         |
| -------------------------------- | ----------------------------------------------------- |
| Charge was not created           | Required fields, data sent, and connection with Asaas |
| Split was not applied            | Split option and split fields                         |
| Invalid `walletId`               | Identifier and recipient account                      |
| Transfer different from expected | Calculation considering the `netValue`                |
| Duplicate charge                 | Trigger and control identifier                        |
| Automation did not run           | Trigger, filters, and Pluga history                   |

<Callout icon="📘" theme="info">
  ### Important

  The availability of tools, triggers, actions, and automation templates is defined by Pluga.

  To see the complete, up-to-date list of integrations available for Asaas, visit the Asaas page on Pluga.
</Callout>

## Next steps

* [Learn the Payment Split rules](https://docs.asaas.com/docs/payment-split-overview)
* [Check paid and received Splits](https://docs.asaas.com/docs/split-query-via-interface)
* [Retrieve an account's walletId](https://docs.asaas.com/reference/retrieve-walletid)
* [See the payment events](https://docs.asaas.com/docs/payment-events)
* [See the Pluga FAQ](https://docs.asaas.com/docs/pluga-faq)

# Sibling pages

* [Introduction - Pluga](https://docs.asaas.com/docs/introduction-3.md)
* [FAQ - Pluga](https://docs.asaas.com/docs/pluga-faq.md)