Documentation contents

Integration guide

Already-paid sales

Use POST /purchases when payment has already happened and you want to record the purchase for loyalty accrual. Grant purchases:write and an authorized financial binding.

  • Send location_id, card_id, external_ref and the operation UUID.
  • paid_total is the actual amount paid; eligible_amount is the eligible amount paid, excluding tips and surcharges.
  • paid_at and provider_payment_id must come from a verified payment in your system.
  • When observing a sale already committed through checkout, use the same sale and payment references.

A receipt alone does not prove payment. Verify payment before importing. Mereu does not collect money through this endpoint.