Openapi
Return the supplier payment batches of an organization.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidstatus?string"draft""posted""reconciled""cancelled"Returns the result.
application/jsondata*array<>pagination*curl -X GET 'https://app.localhost/api/v1/organizations/123/payment-batches?status=example'{ "data": [ { "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9", "currency": "string", "dueBy": "2019-08-24", "executionOn": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "itemCount": 0, "items": [ { "amount": 0, "creditorIban": "string", "creditorName": "string", "discount": 0, "endToEndId": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "invoiceId": "4f163819-178d-470c-a246-d6768476a6ec", "remittance": "string", "status": "open" } ], "messageId": "string", "reference": "string", "status": "draft", "total": 0, "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc" } ], "pagination": { "hasMore": true, "limit": 1, "offset": 0, "total": 0, "totalIsEstimate": true }}