Customer Loyalty Points Accumulation – Orders & Payments API

Hi,

We’re currently using the Square Orders API and Payments API to manage orders and payments. At the time of placing an order through the Orders API, we attach the customer to the order.

We’d like to clarify the following:
After a successful payment is made via the Payments API, if the customer is enrolled in the Loyalty Program, will loyalty points be automatically accumulated? Or do we need to explicitly call the Loyalty API’s /accumulate endpoint to award points for that order?

Thanks in advance for your help!

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Loyalty API
Redeem Loyalty Points for a Discount (Walkthrough 1)
Loyalty Program

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Yes, if your application uses the Orders API to process orders and the customer is enrolled in the Loyalty Program, you can use the Loyalty API’s AccumulateLoyaltyPoints endpoint to compute the points earned on a purchase and add them to the buyer’s loyalty account. You need to provide the order ID in the AccumulateLoyaltyPoints request, and the Loyalty API will use the information in the order to compute the loyalty points.

This answer was reviewed by @Bryan-Square.