A loyalty platform adds an SMS API by giving each merchant its own sub-account, sending points and reward texts with POST /v1/messages, capturing opt-in in your own enrollment flow, and reading opt-outs back so your member list never texts someone who said STOP. The sending call is the easy part. Consent, registration per merchant and opt-out sync are where the work is.

We make Ready, so we have a stake in how this gets built, and we say below where the decision belongs to you. This post covers the texts loyalty software sends, the sub-account model, opt-in capture, opt-out sync, a cost example and a build order.

Which texts a loyalty platform sends

Most loyalty texts fall into four groups, and each one has a different consent story.

TextExampleConsent needed
Welcome and enrollment"Welcome to Maple Rewards. You have 100 points. Reply STOP to opt out."The member's opt-in at sign-up
Points balance"You have 450 points. 50 more gets you a free coffee."Same opt-in, for account messages
Reward earned or expiring"Your free coffee reward expires Friday."Same opt-in
Promotions"Double points this weekend at Maple Cafe."Marketing consent, which is a stricter ask

The first three are transactional in spirit, since the member asked for a program that tells them their balance. Promotions are marketing, and the sender has to be able to show the member agreed to marketing texts. Keep the two on separate opt-in checkboxes so you can honor a member who wants balances but no offers. For the consent side in depth, read SMS consent language that passes registration.

Keep messages short. A text of 160 plain characters is one segment, and one emoji drops the limit to 70, so a friendly 120-character reward text with a star in it is two segments, not one. Every segment is billed, which is why a character counter in your merchant composer pays for itself.

One sub-account per merchant

Each merchant on your platform is a separate sender in the carriers' view, so each one gets its own sub-account, its own numbers and its own 10DLC registration. A single shared number for every merchant means one merchant's complaint can hurt every other merchant's delivery.

On Ready, POST /v1/sub-accounts creates a sub-account when a merchant signs up, and GET /v1/sub-accounts lists them. Registration is per sub-account: registration is $25 a month per merchant, covering the brand and its first campaign, with no setup fee, and most approvals take 2 to 7 days. Ready registers businesses with an EIN only, so a merchant without one can't register. Ask for the EIN in your merchant onboarding, as covered in collecting an EIN in SaaS onboarding for 10DLC.

A new sub-account can send from its own number on Ready's shared registration while its own is in review, up to a monthly limit on unregistered sending, so a merchant can test before approval. Tell merchants to register early, because the limit exists. The docs for the calls are at docs.tryready.com/api/sub-accounts and docs.tryready.com/api/registration. For the architecture choice behind this, see sub-account per customer vs shared sender.

Sending a balance or reward text

A balance text is one call, sent with the merchant's sub-account credentials and an idempotency key so a retry never double-sends:

curl -X POST https://api.tryready.com/v1/messages \
  -H "X-API-Key: $READY_API_KEY" \
  -H "Idempotency-Key: 3b9c1e52-6f0a-4d7e-8a21-5c4e9d0b7f13" \
  -H "Content-Type: application/json" \
  -d '{"to": "+12125550199", "body": "You have 450 points. 50 more gets you a free coffee.", "consent_attested": true}'

Make the idempotency key from your own event, such as the points ledger entry id, so a replayed job reuses the key and a new ledger entry gets a new one. Reuse a key only to retry a request that got no answer. The reasoning is in idempotency keys and duplicate texts.

consent_attested is your promise that the recipient agreed to texts. Set it on every send. It also records who sent, to how many and when, which builds an audit trail of sends. It is not a per-contact consent record, so you keep each member's opt-in yourself.

Points changes can arrive in bursts, such as a store closing out the day. Send many at once with POST /v1/messages/bulk, which takes a limited number of recipients per call (see bulk messages), but remember that bulk sends one identical body. Personalized balances are one call each.

Capture opt-in where the member joins

Ready stores no per-contact consent for API sends, so your enrollment flow is the system of record. Save these with each member:

  • The phone number in E.164 form.
  • The time of opt-in and the page or screen it happened on.
  • The exact wording the member saw.
  • Whether it covered account texts, marketing texts or both.

The wording should name the merchant, say what the texts are, mention message frequency and tell the member they can reply STOP. Document SMS consent shows a record that holds up.

A checkbox at the register tablet or on a signup form is the usual place. Prefer a double opt-in text for marketing if the volume justifies one. Never text a phone number a cashier typed in without the member's own agreement. Compliance is the sender's responsibility, and in a platform it is shared between you and the merchant, which is why your terms should say who attests to what.

Opt-out sync: keep your member list honest

A member who texts STOP to one merchant must stop getting texts from that merchant, and your database has to know. Ready honors an inbound STOP, including clear phrases such as "please stop texting me", and refuses sends to opted-out numbers up front without charging for them. Your job is to mirror that state in your own member record so your points app doesn't show "text me" as on.

Here is how to read it back:

  • GET /v1/opt-outs lists only the opted-out contacts on this account, so check GET /v1/opt-outs/:phone for a number before a send from another tool.
  • GET /v1/opt-outs/:phone answers for one number. Check it before any send that comes from another tool or after a provider migration.
  • ?scope=all adds the account's whole ban list, including a deleted contact's STOP.

A STOP always blocks that number in the sub-account that received it. Whether it also blocks the parent and the other merchants' sub-accounts follows a setting, so don't promise members or merchants either behavior until you've checked it with the per-number call. SMS opt-out scope for platforms walks through the design choice. The full API is at docs.tryready.com/api/opt-outs.

If a member emails or tells a cashier to stop, record it by number with POST /contacts/ban-list, and sends to that number are refused.

A cost example for one merchant

Ready bills the Standard rate of $0.0075 a segment plus a $0.0045 carrier fee per segment, and the all-in figure excludes screening. Accounts opened before November 12, 2026 keep their signup prices, shown under Billing.

Example, with assumptions stated: one merchant has 2,000 members, texts each a one-segment balance message once a month, and gets no replies. That is 2,000 segments a month. Multiply 2,000 by the Standard rate plus the carrier fee and you have the text cost, then add the merchant's $25 monthly registration. Replies cost the per-segment rate plus a received carrier fee, so a program that invites replies should budget for them. Price your own plan above both lines, as discussed in pricing SMS in your SaaS plans.

A build order that works

  1. Create a sub-account per merchant at signup, and collect the EIN.
  2. Submit registration and show "pending" and "approved" in your merchant settings. Webhooks are the main signal, with a slow GET /v1/registration poll as the backstop.
  3. Add opt-in capture and the consent record to member enrollment.
  4. Send balance texts first, then reward texts, then promotions.
  5. Add the scheduled opt-out sync and a per-number check before any outside send.

Quiet hours matter for reward reminders. Ready holds texts outside the recipient's allowed window, and an API text is held only if the window opens within a set number of hours, otherwise it answers 409 QUIET_HOURS_BLOCK. Handle that in your job, as shown in handling the quiet hours 409.

Where this fits, and where it doesn't

If you already run a telecom team and a registration process for every merchant, a raw carrier API gives you more control and you may not need a platform's layers. If you don't, sub-accounts, registration and opt-outs in one API remove a lot of work. Ready sends US SMS and iMessage, so check the countries you need before you commit.

Start with one pilot merchant, send a balance text to your own phone and read the opt-out list back after you reply STOP. The API quickstart walks through the key, first send and webhook, and the pricing page lists every price.