client from the TypeScript SDK Quickstart.
Resource methods
| Method | API operation | Use |
|---|---|---|
client.transfers.create(params, opts?) | POST /v2/transfers | Create a Pix Out transfer. |
client.transfers.retrieve(id, opts?) | GET /v2/transfers/{id} | Read the current transfer state. |
client.transfers.list(params?, opts?) | GET /v2/transfers | List transfers with cursor pagination. |
client.transfers.cancel(id, params?, opts?) | POST /v2/transfers/{id}/cancel | Cancel a pending transfer when supported. |
client.transfers.listAutoPagingIterator(params?, opts?) | Cursor helper | Iterate every transfer across pages. |
Create a transfer
amount is in cents. Supported Pix key types are CPF, CNPJ, EMAIL, PHONE, and EVP.
Retrieve and reconcile
Use retrieve calls for back-office screens, reconciliation jobs, and delayed state checks.List transfers
next_cursor, prev_cursor, and total. Use those fields when building your own paginated UI.
List with auto-pagination
Cancel safely
Response shape
Create, retrieve, and cancel methods return{ data, meta }.
List methods return { data, meta }, where data is a cursor envelope:
Common rule
Usepix_key_type and pix_key_value in SDK and API examples. Do not use undocumented input fields such as pix_key or recipient_name.
