POST /v1/transactions/process commits a transaction for the selected card. Three things can happen, individually or together:
1
Campaign collection
Applicable campaigns on the card run; balances update and reward coupons are granted when thresholds are reached.
2
Coupon redemption
Any
reward (coupon instance id) on a line item or at the order level is redeemed.3
Point spend
pointsToSpend is deducted from the card’s point balance.discountAmount / discountedAmount, per-line and order-level) are calculated by your system and stored as-is. Product, user, and branch IDs are opaque IDs. user and branch default to the authenticated user and its branch.
Request headers
string
required
Your active Bearer token:
Bearer <accessToken>.string
required
Always
application/json.Request body
string
required
Customer id (from GET /v1/customers/find).
string
required
Selected card (customerpass id). The campaigns run come from this card.
string
Cashier user opaque id.
string
Branch opaque id.
array
Basket lines.
number
Total amount before discounts.
number
Total discount applied to the order.
number
Final amount after discounts.
string[]
Coupon instance ids applied to the order total. They will be redeemed.
number
Loyalty points the customer spends on the order total. They will be deducted.
Response fields (200 OK)
string
Human-readable summary of what happened.
array
Campaign actions executed in this transaction.

