const response = await fetch('/v1/payouts', { method: 'GET', headers: { "Authorization": "Bearer Bearer" }, }); const data = await response.json();
const response = await fetch('/v1/payouts/{payoutId}', { method: 'GET', headers: { "Authorization": "Bearer Bearer" }, }); const data = await response.json();