Last updated 1 month ago
Retrieves billing invoices for the authenticated merchant. Requires authentication with merchant credentials.
List of billing invoices successfully retrieved
const response = await fetch('https://api.simplepay.ai/billing?v=1', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
[ { "id": "123e4567-e89b-12d3-a456-426614174000", "amount": "text", "status": "pending", "created_at": "2025-01-22T08:03:27.427Z" } ]