Set Close Withdrawal Callback
POST/api/v1/developers/close_withdrawal/callback
Registers a callback URL for receiving notifications about withdrawal closures, including both withdrawals that result in account closure with funds being moved out and standard withdrawals.
'callback_url': The URL where notifications will be sent when a withdrawal is closed. This webhook URL will receive updates about withdrawal closure events.
Request
Query Parameters
callback_url uri
Possible values: non-empty and <= 2083 characters
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
code Code
Default value: 200
detail Detail
Default value: ok
{
"code": 200,
"detail": "ok"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- MOD1
- MOD2
- ]
- ]
detail object[]
loc object[]required
anyOf
string
integer
msg Messagerequired
type Error Typerequired
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...