Tag objects with your identifiers
Setreference and metadata when you create payouts, at the batch level, the item level or both:
Record what was charged
Book these payout fields in your ledger:
For INR payouts,
rate and payee_amount are populated at settlement; read them from the payout.paid event.
Follow funds through events
Each event carries the object as it was at that moment, including your
reference and metadata. Delivery is at-least-once and unordered, so deduplicate on the event ID and rely on the object’s status.
Close a period
- List the payouts paid in the period:
- Repeat for
failedandreturned, and listGET /depositsfor the same dates. - Match each object to your records by
reference. - Check that, per wallet, deposits minus the
debit_amountof sent payouts, plus funds returned, explain the change in the wallet’stotal.
created filters on creation time. A payout created on 31 October may be paid on 1 November, so at period boundaries check status and updated_at as well.