Create a credit transaction with the division node

EnvironmentMethodEndpoint
Sandboxhttps://apisandbox.braspag.com.br/v2/sales
Productionhttps://api.braspag.com.br/v2/sales
⚠️

To submit a Gateway de Pagamentos transaction to Split de Pagamento, simply set the Payment.DoSplit parameter to true and add the Payment.SplitPayments node.

ℹ️

The characteristics of a credit transaction are:

  • Send Payment.Type as "CreditCard";
  • Send the Payment.CreditCard node;
  • If the transaction goes through fraud analysis, send the Payment.FraudAnalysis node. See an example of a credit transaction with fraud analysis in the Gateway manual;
  • Sending fees in the request: If the request includes fees, they will take precedence over the fees registered in the portal. Portal fees will only apply when no fees are sent or in cases of redistribution.

The following example corresponds to a transaction of R$100.00 with the node containing the split rules. In this example, the following fees were assumed:

Split de Pagamento Fee: 2% MDR + R$0.10 Fixed Fee
Master fee with seller A: 5% MDR (including the 2% MDR from Split de Pagamento) + R$0.30 Fixed Fee
Master fee with seller B: 4% MDR (including the 2% MDR from Split de Pagamento) + R$0.15 Fixed Fee

Seller A:

  • Credit of R$57.00 (R$60.00 from the transaction minus R$3.00 MDR);
  • Debit of R$0.30 Fixed Fee.

The total amount to be received by seller A will be R$56.70.

Seller B:

  • Credit of R$38.40 (R$40.00 from the transaction minus R$1.60 MDR);
  • Debit of R$0.15 Fixed Fee.

The total amount to be received by seller B will be R$38.25.

Master:

Credit of R$3.05 (R$3.00 MDR + R$0.30 Fixed Fee from seller A, plus R$1.60 MDR + R$0.15 Fixed Fee from seller B, minus R$2.00 MDR Split);
Debit of R$0.10 (Fixed Fee agreed with the Split).

The total amount to be received by the Master will be R$2.95.

Split de Pagamento:

  • Credit of R$2.10 (R$2.00 MDR applied on the total transaction amount plus R$0.10 Fixed Fee agreed with the Master).

The total amount to be received by Split will be R$2.10.

See the request for this transaction of R$100.00 with the node containing the split rules.

ℹ️

Alphanumeric CNPJs will be implemented by the Brazilian Federal Revenue Service in July 2026

This change applies only to new registrations. There will be no changes to existing CNPJs.

The alphanumeric CNPJ is already supported by Cielo, with no changes required to your integration.

We recommend checking whether adjustments are needed in your merchant’s own checkout systems.



Visa Intelligent Data Exchange (IDX)

If you use Visa’s IDX authentication service, see Visa Intelligent Data Exchange (IDX).

Body Params
string
required

Order identification number. Size: 50.

Customer
object
Payment
object
Headers
string
required

Identifier of the merchant in Split. Size: 36.

string
required

Public key for dual authentication in Split. Size: 40.

Response

Language
LoadingLoading…
Response
Choose an example:
application/json