cURL
curl --request POST \ --url https://jamquest-dev.techboo.net/api/v1/user/update-bank-account \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "account_number": "<string>", "bank_code": "<string>", "password": "<string>" } '
{ "status": "ok", "message": "Bank account details updated successfully", "data": { "account_number": "<string>", "bank_code": "<string>", "bank_name": "<string>" } }
Updates the user’s bank account number and bank code. Requires password confirmation.
Access token obtained during login or registration. Use this token in the Authorization header for authenticated requests.
User's bank account number
10
Code of the selected bank
User's current password for confirmation
Bank account details updated successfully
"ok"
"Bank account details updated successfully"
Show child attributes