{
"error_code": null,
"message": null,
"data": {
"id": 12349,
"external_id": null,
"transaction_type": "withdrawal",
"rail": "pix",
"status": "PEN",
"gateway_details": null,
"transaction_hash": null,
"from_currency": "BRL",
"to_currency": "BRL",
"fiat_currency": "BRL",
"fee_currency": "BRL",
"fee": "0.00",
"fee_fiat": "0.00",
"rate": "1",
"rate_usd": "5.20",
"amount_from": "150.00",
"amount_to": "150.00",
"amount_fiat": "150.00",
"amount_usd": "28.85",
"origin": null,
"destination": "23351302000100",
"tax": null,
"tax_currency": null,
"created_at": "2026-04-13T12:00:00Z",
"updated_at": "2026-04-13T12:00:00Z",
"extra_data": {}
}
}{
"error_code": "TXN_0450",
"message": "Missing pix key. TXN_0450",
"data": null,
"timestamp": 1777674872826
}{
"error_code": "ERR_0009",
"message": "Forbidden",
"data": null
}Create A Pix Withdrawal
Initiates a BRL withdrawal via PIX for the authenticated user.
The gateway_data.pix_key field must be a valid PIX key (CPF, CNPJ, email, phone, or random key).
Whitelisted contacts only: The destination PIX key must be a previously whitelisted contact of the user. Use POST /contacts/ to create and whitelist a banking contact before calling this endpoint.
Own account exception: If the destination PIX key is registered as one of the authenticated user’s own PIX keys, whitelisting is not required.
Country restriction: Only available for accounts with country = BR.
Authorization
- Requires a valid API key.
{
"error_code": null,
"message": null,
"data": {
"id": 12349,
"external_id": null,
"transaction_type": "withdrawal",
"rail": "pix",
"status": "PEN",
"gateway_details": null,
"transaction_hash": null,
"from_currency": "BRL",
"to_currency": "BRL",
"fiat_currency": "BRL",
"fee_currency": "BRL",
"fee": "0.00",
"fee_fiat": "0.00",
"rate": "1",
"rate_usd": "5.20",
"amount_from": "150.00",
"amount_to": "150.00",
"amount_fiat": "150.00",
"amount_usd": "28.85",
"origin": null,
"destination": "23351302000100",
"tax": null,
"tax_currency": null,
"created_at": "2026-04-13T12:00:00Z",
"updated_at": "2026-04-13T12:00:00Z",
"extra_data": {}
}
}{
"error_code": "TXN_0450",
"message": "Missing pix key. TXN_0450",
"data": null,
"timestamp": 1777674872826
}{
"error_code": "ERR_0009",
"message": "Forbidden",
"data": null
}Headers
See the Generating Signature section for more details.
A timestamp in milliseconds. See the Timestamp Security section for more details.
An additional, non-required parameter, that you can send to specify the number of milliseconds after the timestamp for the request to be valid. See the Timestamp Security section for more details.
Body
Response
PIX withdrawal transaction created successfully.