Skip to main content
If you run your own product — a shop, PMS, or app — you can issue OneMove points when someone buys from you. You do not create OneMove accounts. Grant to an email; if they already have OneMove, the points post immediately, and if they do not, OneMove emails them to sign up and claim the grant. You need a Yorlet account with Loyalty enabled. Points are billed when they are redeemed, not when they are granted. See Loyalty for the product overview. Do not create residents for this flow. Residents are for people who live in your buildings.

Prerequisites

Before you issue points, ensure you have:
  • Loyalty enabled on the account.
  • A secret key, or a restricted key (recommended).
Your secret key can perform any action on your account, so only ever use it from your own server. Never put it in a browser, a mobile app, or a vendor’s client. If a secret key is ever exposed, roll it immediately.

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. Set recipient_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
You can also set Earn rate on a Custom programme in the Dashboard.

2. Grant points after a purchase

Create a program event with the Loyalty Program Events API. Use recipient.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
Event 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.
Call this from your backend after the purchase succeeds, not from the browser.

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 identifier if you do not need durable de-dupe. Two grants with no identifier are two grants.
  • The same identifier on 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.