JavaScript
const options = {method: 'GET'}; fetch('https://gp-auth-module.prod.gnosispay.com/user/withdrawals', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "data": [ { "txHash": "<string>", "amount": "<string>", "currency": "<string>", "status": "pending", "createdAt": "2023-11-07T05:31:56Z" } ] }
Returns the authenticated user’s withdrawal history, including amount, currency, status, and creation date.
Withdrawals retrieved successfully
Show child attributes