Get Payment Group
Toegang
Lid van de organisatie met dit recht:
payments:read
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
Retrieves a payment group by its ID, optionally with member payments and assigned invoice. Pass withStats (e.g. true, yes, bare ?withStats) to add paymentCount, totalAmount, and totalAmountRemaining (when member refunds apply) aggregated across member payments (same fields as the list endpoint).
ApiKeyAuthx-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringinclude?|array<>|stringwithStats?boolean|string|number|nullPayment group; may include aggregate stats when withStats is enabled.
application/json- response
curl -X GET 'https://api.tillor.eu/orgs//payment-groups/string'nullCreate Payment Group POST
Creates a new payment group. The customer is propagated per member payment from the invoice at assign-time, not stored on the group itself. Optional `metadata` is an integration-owned JSON object for dedupe keys, external shift ids, etc.
Update Payment Group PATCH
Updates an OPEN payment group: `name`, `description`, and/or `metadata` (integration JSON; send `null` to clear `metadata`). ASSIGNED groups are immutable.