Skip to main content
Before integrating, it’s worth understanding the main objects and how they fit together.

The model in one sentence

A transaction represents a charge and contains one or more payments (payment attempts via a method). When a payment is settled, the amount is credited to one or more wallets belonging to recipients, optionally divided by a split.

Quick glossary

ObjectID prefixWhat it is
Transactiontxn_A charge. Groups items and payments. Has a status derived from its payments.
Paymentpay_An attempt to pay part (or all) of the amount via a method (credit_card, pix, boleto).
Customercust_The buyer (individual or business).
Recipientrec_Who receives the money (you and/or third parties in a marketplace).
Splitspl_A rule for distributing the amount among recipients.
Walletwlt_A recipient’s virtual balance, per currency.
Withdrawalwdr_A payout from the wallet balance to a bank account.
Refundrfd_A full or partial reversal of a payment.
Chargebackcbk_A dispute filed by the cardholder with the acquirer.
Cardcrd_A tokenized card stored for reuse.
Webhookwhk_Your endpoint that receives event notifications.
In the subscriptions world there are additional objects — Plan (plan_), Price, Subscription (sub_), and Invoice (inv_). See Subscriptions.

Transaction × Payment

A transaction can have more than one payment (combined payment — e.g., part on a card, part via PIX). The transaction status is calculated from the statuses of its payments:
Transaction statusWhen
waiting_paymentAwaiting payment (e.g., PIX/boleto issued but not yet paid).
paidThe sum of settled payments covers the total amount.
refusedPayment declined by the acquirer.
refunded / partially_refundedFully or partially reversed.
chargebackUnder dispute / disputed.
canceledCanceled.
The full calculation logic is covered in Transactions.

Recipient, wallet, and withdrawal

  • By default, you are the “owner” recipient and receive 100% of the amount (minus fees).
  • In a marketplace, you create additional recipients and use split to distribute each sale.
  • The received amount is credited to the recipient’s wallet (with available, pending, and blocked balances).
  • The recipient can then request a withdrawal to their bank account.
See Split, Wallets, and Amounts & Fees.