Creates a withdrawal request for the authenticated user.
| Permission | Description |
|---|---|
payments.view_own | Access the payment system |
payments.withdraw | Request a withdrawal |
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| amount | decimal | Yes | Amount to withdraw | 100.00 |
| description | string | No | Description for the request (max 2000 chars) | "For expenses" |
{
"amount": 100.00,
"description": "For expenses"
}
Withdrawal request was created successfully.
| Status | Description | Reference |
|---|---|---|
| 400 | Insufficient balance | N/A |
| 422 | Validation error | Validation error |
| 401 | Unauthorized | Authentication error |