Creates new PIX withdrawal request by key
POST/api/withdraw
Creates a new withdrawal request using PIX as the payment method.
Request
- application/json
Body
required
value doublerequired
Value to be paid
type_key_pix type_key_pix (string)required
Possible values: [cpf
, cnpj
, email
, phone
, evp
]
PIX key type
key key (string)required
PIX key
description description (string)required
Description of the payment
client_name client_name (string)required
Client's name
client_email client_email (string)required
Client's email
client_document client_document (string)required
Client's document (CPF or CNPJ)
merchant_id merchant_id (string)required
Merchant's ID for conciliation
Responses
- 200
- 400
- 401
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
status status (string)
Possible values: [pending
, failed
]
Transaction's status
message message (string)
Payment's description
transaction_uuid transaction_uuid (string)
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
message message (integer)
Response 401
{
"message": "Invalid x-api-key"
}
Forbidden
Loading...