Skip to main content
When you authorize an online payment on behalf of your user, you can split the payment amount between the balance accounts in your platform by including the split instructions in your authorization request. This allows you to separately book the sale amount, your platform’s commission, transaction fees, and the leftover amount after currency conversion.

Requirements

Take into account the following requirements, limitations, and preparations to start processing payments.

Split a payment between balance accounts

To split the payment amount at the time of authorization:
  1. Add a splits array to your POST /payments or POST /sessions request. For each item in the /payments splits array or the /sessions splits array, specify the following fields: The following example shows how to split the payment amount at the time of payment, when a customer pays USD 80.00:
    • With type BalanceAccount, we book USD 75.00 to your user’s balance account as payment for the goods or services.
    • With type PaymentFee, we book all the transaction fees to your user’s balance account.
    • With type Commission, we book USD 5.00 to your liable balance account as your platform’s commission.
Split funds at time of payment

curl

Java

PHP

C#

NodeJS (JavaScript)

Go

Python

Ruby

NodeJS (TypeScript)

  1. In the response, note that your reference from the request is returned as the merchantReference. You need this information for reconciliation, as explained under Best practices. Response