cURL
curl --request POST \ --url https://jamquest-dev.techboo.net/api/v1/withdrawal/bank \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "amount": 2 }'
{ "status": "ok", "data": { "message": "<string>", "withdrawal_request": { "id": 123, "user_id": 123, "amount": 123, "withdrawal_method": "bank", "account_number": "<string>", "bank_code": "<string>", "status": "pending", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "new_balance": 123 } }
Allows a DJ to request a withdrawal from their wallet balance using bank transfer.
Access token obtained during login or registration. Use this token in the Authorization header for authenticated requests.
x >= 1
Bank withdrawal request submitted successfully
"ok"
Show child attributes
bank
pending
processed
failed