Prerequisites
Before you issue points, ensure you have:- Loyalty enabled on the account.
- A secret key, or a restricted key (recommended).
Permissions
A vendor that only awards points typically needs:1. Create a programme
Create a Custom programme with the Loyalty Programs API, or from the Dashboard. Setrecipient_restriction to none so anyone in OneMove can receive the points.
Use a fixed points reward when every purchase earns the same amount. Use earn_rate when points should scale with spend — currency_unit is in pence, so 100 with points_per_unit of 1 is 1 point per £1.
Create a purchase programme
2. Grant points after a purchase
Create a program event with the Loyalty Program Events API. Userecipient.type: "email" and the shopper’s email. You do not need a Yorlet customer.
Send identifier as your order id so a retry returns the original grant instead of creating a duplicate. Also send Idempotency-Key on the HTTP request. identifier is durable; the idempotency key is for short retries.
For an earn-rate programme, send earn_rate.spend_amount in pence.
Grant points for a purchase
status is:
succeeded— there is already a OneMove account for that email. Points post to the wallet.pending— there is no OneMove account yet. OneMove emails them to sign up. When they complete OTP, the grant is claimed automatically.expired— the grant expired before it was claimed.
3. What the shopper does next
If they do not have OneMove, they receive an email with a link to sign in (/login with their email pre-filled). After they verify, pending grants for that email become spendable — after 5 business days, like any other grant.
They redeem in OneMove as cash or an offer. Rent credit and rent discount need a Yorlet tenancy, so shoppers who only buy from you will not see those options.
You are billed when points are redeemed, not when they are granted.
Notes
- Omit
identifierif you do not need durable de-dupe. Two grants with no identifier are two grants. - The same
identifieron the same programme always returns the first event. - To cancel a succeeded grant, use program event adjustments.
- Yorlet operators who enrol residents and grant from a PMS should follow Grant rewards instead.