Openapi
Return the allocations of a payment reference or of one invoice.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidinvoiceId?stringuuidreference?string1 <= length <= 100Returns the result.
application/jsondata*array<>pagination*curl -X GET 'https://app.localhost/api/v1/organizations/123/payment-allocations?invoiceId=123e4567-e89b-12d3-a456-426614174000&reference=example'{ "data": [ { "allocatedOn": "2019-08-24", "amount": 0, "currency": "string", "discount": 0, "invoiceId": "4f163819-178d-470c-a246-d6768476a6ec", "paymentId": "472e651e-5a1e-424d-8098-23858bf03ad7", "reference": "string", "source": "payment", "unallocated": true } ], "pagination": { "hasMore": true, "limit": 1, "offset": 0, "total": 0, "totalIsEstimate": true }}