Create user withdraw settings request.
POST/withdraw-setting-request
Endpoint to user create a withdraw settings request.
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.
The nonce ID is a UUID (v4) used to uniquely identify the requisition. All requisitions must have an identifier.
- application/json
Body
required
User wallet id 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).
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.