Openapi
Return a payment batch with its payments.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
batchId*stringuuidorganizationId*stringuuidReturns the result.
application/jsonaccountId*stringuuidcurrency*stringdueBy*isoDatedateexecutionOn*isoDatedateid*stringuuiditemCount*integeritems*array<>messageId*stringreference*stringstatus*paymentBatchStatusSchema"draft""posted""reconciled""cancelled"total*minorUnitstransactionId*|uuidcurl -X GET 'https://app.localhost/api/v1/organizations/123/payment-batches/123e4567-e89b-12d3-a456-426614174000'{ "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"}