OK
const response = await fetch('https://api.zydon.com.br/api/sales/payment-methods/query', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "currentPage": 0, "perPage": 0, "total": 0, "items": [ { "id": "text", "name": "text", "type": "text", "minimum_value": 0, "maximum_value": 0, "has_online_payment_integration": false, "active": false } ] }