Skip to main content
A wallet is the account that holds balances, cards, and PIX keys. Many integrations open one wallet per end customer so each customer’s money, cards, and charges are isolated. This guide covers creating a wallet, registering a PIX key on it, reading its balances, moving money between wallets, and reading its transactions.

Create a wallet

The wallet is created with status: "PENDING" and returns its _id (the walletId). It becomes ACTIVE once provisioned.
Reference: POST .../accounts/{accountId}/wallets

Read a wallet and its balances

Fetch a wallet to read its balances. The balance is split into categories; totalBalance is the sum.
Amounts are in centavos. FLEX_INTERNATIONAL is the general-purpose category used in most flows. Reference: GET .../wallets/{walletId}

Register a PIX key

A wallet needs a PIX key (DICT) to receive charges. Create a random key (EVP) on the wallet:
The response returns the key value and its status: "ACTIVE". Use that value as the pixDict when creating charges or Pix Automático authorizations. Manage keys with:

Move money between wallets (P2P)

Transfer a balance from one wallet to another — for example, sweeping a customer wallet into your organization wallet. The transfer is internal and settles instantly.
The response returns status: "PROCESSED" and the updated origin and destination wallets with their new balances. Reference: POST .../wallets/{walletId}/transfers-p2p

Read transactions

List all transactions in a wallet — cards, PIX, boleto, fees, and P2P together. Filter by type and date range; page with the next cursor.
transactionType accepts CARD, PIX, BOLETO, FEE, or P2P. Each item’s shape depends on its type (a cardTransaction or pixTransaction block is nested accordingly). Reference: GET .../wallets/{walletId}/transactions
For card-only history, use the per-card transactions endpoint described in Manage and monitor cards.

Next steps

Charge with PIX

Use a wallet’s PIX key to collect a payment.

Issue virtual cards

Create cards inside a wallet.