Create Withdraw Setting Request
POST/withdraw-setting-request
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Initiate a request to create a new withdraw setting for the user.
Request
Header Parameters
The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.
Sender Wallet UUID (if empty, your default Wallet UUID will be settled)
The nonce ID is a UUID (v4) used to uniquely identify the requisition. All requisitions must have an identifier.
- application/json
Body
required
Transaction type tag.
Possible values: [CNPJ
, CPF
, PHONE
, EMAIL
, EVP
]
Pix key type.
Pix key.
Pix key document related (CPF or CNPJ).
Possible values: [DAILY
, WEEKLY
, MONTHLY
, BALANCE
]
Withdraw settings type.
Withdraw settings balance.
Month day of withdraw (if withdraw settings type is MONTHLY).
Possible values: [MONDAY
, TUESDAY
, WEDNESDAY
, THURSDAY
, FRIDAY
, SATURDAY
, SUNDAY
]
Week day of withdraw (if withdraw settings type is WEEKLY).
Responses
- 201
- 400
User withdraw settings request created successfully.
- application/json
- Schema
- Example (from schema)
Schema
User withdraw settings request id.
Possible values: [PENDING
, OPEN
, CLOSED
, FAILED
]
User withdraw settings request state.
User wallet id.
Transaction type tag.
Possible values: [CNPJ
, CPF
, PHONE
, EMAIL
, EVP
]
Pix key type.
Pix key.
Pix key document related (CPF or CNPJ).
Possible values: [DAILY
, WEEKLY
, MONTHLY
, BALANCE
]
Withdraw settings type.
Withdraw settings balance.
Month day of withdraw (if withdraw settings type is MONTHLY).
Possible values: [MONDAY
, TUESDAY
, WEDNESDAY
, THURSDAY
, FRIDAY
, SATURDAY
, SUNDAY
]
Week day of withdraw (if withdraw settings type is WEEKLY).
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"state": "PENDING",
"wallet_id": "3267dfe0-73ee-4421-80e7-0c3a5372fa13",
"transaction_type_tag": "PIXSEND",
"pix_key_type": "CNPJ",
"pix_key": "string",
"pix_key_document": "00000000000",
"type": "DAILY",
"balance": 1000000,
"day": 10,
"week_day": "MONDAY"
}
If any required params are missing or has invalid format or type.