Create a wallet
status: "PENDING" and returns its _id (the walletId). It becomes ACTIVE once provisioned.
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.
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:
value and its status: "ACTIVE". Use that value as the pixDict when creating charges or Pix Automático authorizations.
Manage keys with:
- List keys —
GET .../wallets/{walletId}/pix-dict - Remove a key —
POST .../pix-dict/{pixDictId}/remove(returns204)
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 thenext 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
Next steps
Charge with PIX
Use a wallet’s PIX key to collect a payment.
Issue virtual cards
Create cards inside a wallet.