Authorization: Bearer ********************
{ "amount": "string" }
curl --location --request POST 'https://payments.dubpay2.com.br/api/withdraw' \ --header 'store-id: ' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "amount": "string" }'
{"success":true,"data":{"id":47,"user_id":154,"amount":9000,"status":"pending","type":"withdraw","admin_id":null,"created_at":"2025-01-02T22:48:02.000000Z","updated_at":"2025-01-02T22:48:02.000000Z"},"message":"Withdraw has been successful"}