Create new PIX withdrawal request
POST/api/withdraws/by_account
Creates a new withdrawal request using PIX as the payment method.
Request
- application/json
Body
required
Value to be paid
Customer account's number
Possible values: [CACC
, CASH
, CHAR
, CISH
, COMM
, CPAC
, LLSV
, LOAN
, MGLD
, MOMA
, NREX
, ODFT
, ONDP
, OTHR
, SACC
, SLRY
, SVGS
, TAXE
, TRAN
, TRAS
]
Customer account's type. Most commonly used are: CACC (Current Account), SLRY (Salary Account), SVGS (Savings Account) and TRAN (Transacting Account)
Customer's bank account branch
Customer's bank account ISPB
Description of the payment
Customer's name
Customer's document (CPF or CNPJ)
Merchant's ID for conciliation
Responses
- 200
- 400
- 401
- 422
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [pending
, failed
]
Transaction's status
Payment's description
Transaction's UUID
{
"status": "pending",
"message": "Withdrawal payment done",
"transaction_uuid": "7da0c9af-215e-4625-b484-b8cfc87aaa09"
}
Bad Request
Unauthenticated
- application/json
- Schema
- Example (from schema)
Schema
Response 401
{
"message": "Invalid x-api-key"
}
Unprocessable Entity
- application/json
- Schema
- Example (from schema)
Schema
Error message
Occurred errors during request data validation
{
"message": "string",
"errors": [
null
]
}