A collection is a payment request initiated on behalf of a beneficiary to a payer which is one-time use with a link expiry.
A collection produces a payment link you share with the payer. Each collection has a unique ID that you track from creation through to completion, and it can be cancelled to prevent further payment against it.
Use a collection when the payment is a discrete event. For a repeating relationship where the same payer pays the same beneficiary over time, use a channel instead.
- The partners involved are the payer (source of funds) and the beneficiary (recipient).
- When a payer pays, the result is recorded as a transaction.
- Create a collection: Generate a new payment link for a specific transaction.
- List collections: Retrieve a list of all collections, which can be filtered by
id,payer_id,beneficiary_id,sinceoruntil. - Get collection details: View the full details and current status of a single collection.
- Cancel a collection: Invalidate a payment link, preventing further payments from being made against it.