SlideShare a Scribd company logo
1 of 21
Download to read offline
pointsonline
                                                                                                                                             pointsonline



                                                                                                                             REWARD




                                                                                                                                                 REDEEM




Pointsonline API Integration Guide Version 1.8 May 2011


       Contents
       Introduction .................................................................................................................................................. 3
          1.       Reward points/Discount transaction ............................................................................................... 4
          2.       Redemption ..................................................................................................................................... 5
          3.       Get Points Balance ........................................................................................................................... 6
          4.       Redeem Coupon .............................................................................................................................. 7
          5.       Credit Cash to a Customer ............................................................................................................... 8
          6.       Debit Cash from a Customer ........................................................................................................... 9
          7.       Create Customer ............................................................................................................................ 10
          8.       Delete a Customer ......................................................................................................................... 11
          9.       Reward Scheme ............................................................................................................................. 12
          10.        Redemption Scheme ................................................................................................................... 13
          11.        Qualifying Redemptions .............................................................................................................. 14
          12.       List Items....................................................................................................................................... 15
          13. Get Redemption List ......................................................................................................................... 16
          14. Initiate Redemption .......................................................................................................................... 17

                                                                                      1
pointsonline

   15. Authorize Redemption ...................................................................................................................... 18
   16. Cancel Initiated Redemption ............................................................................................................ 19
HTTP FAILURE Responses............................................................................................................................ 20




                                                                         2
pointsonline

Introduction
Pointsonline.com services can be easily integrated with applications such as POS systems, Mobile POS,
E-Commerce sites, Coupon sites, Smart Phone Apps, Back office accounting systems etc.
Pointsonline.com is a cloud service that is available for integration through a standard REST-ful API.

Before you can access the API, you must first register your business with pointsonline.com. (go to
pointsonline.com and click on Merchants and follow the sign up link!) Once registered, you will receive
login id and password (which you can change later) within 24 hrs to 48 hrs after satisfactory
authentication of your business.

You must Login and set your loyalty scheme before you can use the API. For all http(s) API requests:
loginid, password and merchant key are mandatory.

Using the API you can do the following

    1.    Reward Points/Discount transaction
    2.    Redemption
    3.    Get Point Balance
    4.    Redeem Coupon
    5.    Credit Cash to a Customer
    6.    Debit Cash from a Customer
    7.    Create Customer
    8.    Delete a Customer
    9.    Reward Scheme
    10.   Redemption Scheme
    11.   Qualifying Redemptions
    12.   List Items


E-Commerce API

   13. Get the Redemption List
   14. Initiate Redemption
   15. Authorize Redemption
   16. Cancel Initiated Redemption
  (For “Create Customer” please use API call No 7 from above list)

*Advanced API is available for registered merchants upon written request, please contact
sales@pointsonline.com. Advanced API enables requesting for high value real time predictive analytics
such as ‘personalized coupons and relevant offers’ when checking out shopping-cart.

Note: Customer-Id is one of email or global mobile no. or customer-no. By default an item "Cash" is
defined and a Reward Formula is defined for cash which is editable.

_____________________________________________________________________________________


                                                    3
pointsonline

1. Reward points/Discount transaction

https://www.pointsonline.com/pol-
api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&submit-
reward=cust001,1,2700,22,10/11/2009,good service,reward,,,;

Returns points added to the customer.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Customer-Id (Mandatory) - Customer-Id can be email/ISD-Mobile/Merchant Specific customer No.

b. Item-Id (Mandatory)

c. Bill-Amount (Mandatory)

d. Bill-No.

e. Bill-Date (Mandatory)

f. Customer-Comment

g. Transaction-Type (REWARD/DISCOUNT) (Default is REWARD)

h. Discount-Percent (Mandatory if it is a Discount Transaction)

i. Store-Id (For Merchant default to store-id=1 and for operators default to respective store-id)

j. Division-Id (Mandatory if the transaction is against a Division)



Response fields



An array of objects representing response, points.

Look for FAILURE responses at the end of this document



_____________________________________________________________________________________


                                                     4
pointsonline

2. Redemption

https://www.pointsonline.com/pol-
api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&submit-
redemption=cust001,1,50;

Returns redemption_amount.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Customer-Id (Mandatory)
b. Item-Id (Mandatory)
c. Amount/ Count to redeem (Mandatory)

Response fields



An array of objects representing response, amount.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                     5
pointsonline

3. Get Points Balance

https://www.pointsonline.com/pol-
api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&customer-
password=abc456&customer-balance=cust001;

Returns customer points_balance,cash_balance,points_to_cash balance.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

    a.   Customer-Password (Mandatory)
    b.   Customer-Id (Mandatory)

Response fields



An array of objects representing response, points, cash, points_to_cash.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                   6
pointsonline

4. Redeem Coupon

 https://www.pointsonline.com/pol-
api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&coupon-
redemption=cust001,567646501177;

Returns coupon_code.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Customer-Id (Mandatory)

b. Coupon-Code (Mandatory)



Response fields



An array of objects representing response, coupon_code.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                 7
pointsonline

5. Credit Cash to a Customer

https://www.pointsonline.com/pol-
api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&cash-txn=cust001,credit,7500;

Returns amount.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Customer-Id (Mandatory)

b. Transaction-Type (Mandatory)

c. Amount to Credit (Mandatory)



Response fields



An array of objects representing response, amount.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                     8
pointsonline

6. Debit Cash from a Customer

https://www.pointsonline.com/pol-api/api.php?loginid=
test@gmail.com&password=abcd1234&key=biz123&cash-txn=cust001,debit,500;

Returns amount.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Customer-Id (Mandatory)

b. Transaction-Type (Mandatory)

c. Amount to Debit (Mandatory)



Response fields



An array of objects representing response, amount.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                     9
pointsonline

 7. Create Customer

https://www.pointsonline.com/pol-
api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&create-
customer=Mr.,Rakesh,kumar,rajeshk17@gmail.com,91,9495969789,cust001,1985-10-25,GE;

Returns customer id.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Salutation

b. First Name (Mandatory)

c.   Last Name

d. Email (One of Email or ISD-Code along with Mobile-No is Mandatory)

e.   ISD-Code

f.   Mobile-No (One of Email or ISD-Code along with Mobile-No is Mandatory)

g. Customer-No (Length of Customer No can be 1 to 9 alpha-numeric or 16 characters)

h. Date-of-birth

i.   Company-Name



Response fields



An array of objects representing response, id.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                 10
pointsonline

8. Delete a Customer

https://www.pointsonline.com/pol-
api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&update-
status=cust001,deleted;

Returns customer status.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Customer-Id (Mandatory)

b. Status (Mandatory)



Response fields



An array of objects representing response, status.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                     11
pointsonline

9. Reward Scheme

https:// www.pointsonline.com /pol-api/api.php?
loginid=test@gmail.com&password=abcd1234&key=biz123&reward-scheme=merItemId;

Returns Merchants Reward Scheme.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. merItemId (Mandatory)



Response fields



An array of objects representing response, points, bill_amount, minimum_amount.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                 12
pointsonline

10. Redemption Scheme


https:// www.pointsonline.com /pol-api/api.php?
loginid=test@gmail.com&password=abcd1234&key=biz123&redemption-scheme=merItemId;

Returns Merchants Redemption Scheme.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. merItemId (Mandatory)



Response fields



An array of objects representing response, points, redeem_amount.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                 13
pointsonline

11. Qualifying Redemptions

https:// www.pointsonline.com /pol-api/api.php?
loginid=test@gmail.com&password=abcd1234&key=biz123&qualifying-redemptions=cust001;

Returns Customer Qualifying Redemptions.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Customer-Id (Mandatory)



Response fields



An array of objects representing response, qualifying_list which is an array of objects representing item
name and points-needed-to-redeem.

Look for FAILURE responses at the end of this document.

_____________________________________________________________________________________




                                                   14
pointsonline

12. List Items

https:// www.pointsonline.com /pol-api/api.php?
loginid=test@gmail.com&password=abcd1234&key=biz123& list-items=offer;

Returns Items List.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Item Type (Mandatory) -> Offer/ Inventory/ Both



Response fields



An array of objects representing response, item_list .

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                    15
pointsonline

13. Get Redemption List

https:// www.pointsonline.com /pol-api/api.php?
loginid=test@gmail.com&password=abcd1234&key=biz123&redemption-list=cust001;

Returns Redemptions List. Shows Valid Redemption list and Invalid Redemption list.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Customer-Id (Mandatory)



Response fields



An array of objects representing response, redemptions_list.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                  16
pointsonline

14. Initiate Redemption

https:// www.pointsonline.com /pol-
api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&customer-
id=cust001&customer-password=abc456&initiate-redemption=1,3;6,8;



Returns redemption-code, item-count, item-Id, item-name and item-price.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

 a. Customer-Id (Mandatory)
 b. Customer-Password (Mandatory)
 c. initiate-redemption (Mandatory)
         1. Item-Count (Mandatory)
         2. Item-Id (Mandatory)
Item-count and Item-id separated by comma ( , ) and ends with semi colon ( ; )



Response fields



An array of objects representing response, redemption-code, item-count, item-Id, item-name and item-
price.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                  17
pointsonline

15. Authorize Redemption

https:// www.pointsonline.com /pol-api/api.php?
loginid=test@gmail.com&password=abcd1234&key=biz123&authorise-redemption=cust001,54893;



Returns Success/ Failure message along with redemption code.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Customer-Id (Mandatory)
b. Redemption-Code (Mandatory)


Response fields



An array of objects representing response, Success/ Failure message along with redemption code.

Look for FAILURE responses at the end of this document

_____________________________________________________________________________________




                                                 18
pointsonline

16. Cancel Initiated Redemption

https:// www.pointsonline.com /pol-api/api.php?
loginid=test@gmail.com&password=abcd1234&key=biz123&customer-id=cust001&customer-
password=abc456&cancel-initiate-redemption=63116;



Returns Redemption code, Valid / Invalid redemption code.

HTTP Method GET, POST

Supported response formats: json

Parameter Description

a. Customer-Id (Mandatory)
b. Customer-Password (Mandatory)
c. cancel-initiate-redemption
   1. Redemption-Code (Mandatory)



Response fields



An array of objects representing response, Redemption code, valid/ Invalid redemption code.

Look for FAILURE responses at the end of this document




                                                 19
pointsonline

HTTP FAILURE Responses

An array of objects representing response, code.



6300-We are unable to process the request now please try again Later

6301-please check your Request

6303-Invalid Merchant

6304-Invalid Customer

6305-Invalid Transaction Type

6307-Insufficient cash Balance. Unable to debit

6308-Unable to delete, customer has points

6309-Invalid Status

6310-Bill Amount is less than minimum amount

6314- Reward transaction failed. Customer is deleted

6315-Customer creation Failed. User already exists with given email/mobile No.

6317-Customer creation failed. Email is mandatory

6318-Customer creation failed. Name should be minimum of three characters

6320-Invalid Email

6321-Customer creation failed. Customer No. length must be in the range of 1 to 9 characters

6322-Customer creation failed. Customer No. exist

6323-Customer creation failed. Customer No. is required

6326-Customer has not enough points balance to redeem

6330-Invalid Coupon

6331-Coupon code is mandatory

6332-Coupon Redemption period expired

6333-Coupon already used

6334-No Item Found with the given name

6336-Bill Amount/Count Required.

                                                    20
pointsonline

6337-valid division-Id is required

6338-merchant User should use his/her store-Id

6339-Entered amount should be multiples of redeem Amount.

6340-No Reward scheme defined

6341-No Qualifying redemptions

6342-No Items Found



6343-Already Authorized

6344-No Active Formula

6345-Invalid Item Id

6346-Already Cancelled




_________________________________________________________________________________________________
For more information please contact:
Pointsonline Pvt. Ltd.
1D Doctors Colony, Madhapur, Hyderabad 500081, Andhra Pradesh, India
Ph: +91 064522557
support@pointsonline.com
 www.pointsonline.com


                                                  21

More Related Content

Similar to POL API for E-Commerce Loyalty

PayPal Virtual Terminal User Guide
PayPal Virtual Terminal User GuidePayPal Virtual Terminal User Guide
PayPal Virtual Terminal User GuideSherief Razzaque
 
PayPal Account Authentication Service
PayPal Account Authentication ServicePayPal Account Authentication Service
PayPal Account Authentication ServiceSherief Razzaque
 
Cash management configue doc v1
Cash management   configue doc v1Cash management   configue doc v1
Cash management configue doc v1Hari Krishna
 
Examples of-tca-apis
Examples of-tca-apisExamples of-tca-apis
Examples of-tca-apisMihai Fildan
 
Qs2 um en_02_procure_to_pay
Qs2 um en_02_procure_to_payQs2 um en_02_procure_to_pay
Qs2 um en_02_procure_to_paykhayer
 
Pp nvpapi developer_guide
Pp nvpapi developer_guidePp nvpapi developer_guide
Pp nvpapi developer_guideashoksnc
 
Points Catalog & Rewards - Magento Extension
Points Catalog & Rewards - Magento ExtensionPoints Catalog & Rewards - Magento Extension
Points Catalog & Rewards - Magento ExtensionToogas Lda.
 
Sap fico interview_questions_preview
Sap fico interview_questions_previewSap fico interview_questions_preview
Sap fico interview_questions_previewVIKAS_U
 
Sap fico interview_questions_preview
Sap fico interview_questions_previewSap fico interview_questions_preview
Sap fico interview_questions_previewpapubiswas
 
Sap fico interview_questions_preview
Sap fico interview_questions_previewSap fico interview_questions_preview
Sap fico interview_questions_previewHà Trang Phạm
 
Qs2 um en_07_supplier_return_to_debit
Qs2 um en_07_supplier_return_to_debitQs2 um en_07_supplier_return_to_debit
Qs2 um en_07_supplier_return_to_debitkhayer
 
Aim Guide
Aim GuideAim Guide
Aim Guidezegee
 
O2C_user_manual
O2C_user_manualO2C_user_manual
O2C_user_manualkhasnabis
 
Skills Exchange Network - Affiliate System Overview
Skills Exchange Network - Affiliate System OverviewSkills Exchange Network - Affiliate System Overview
Skills Exchange Network - Affiliate System OverviewSkills Exchange Network
 
InReceipts Plug N Play Client & REST APIs for billing softwares v1.0
InReceipts Plug N Play Client & REST APIs for billing softwares v1.0InReceipts Plug N Play Client & REST APIs for billing softwares v1.0
InReceipts Plug N Play Client & REST APIs for billing softwares v1.0InReceipts
 
Fi question
Fi questionFi question
Fi questionzameerp
 

Similar to POL API for E-Commerce Loyalty (20)

PayPal Virtual Terminal User Guide
PayPal Virtual Terminal User GuidePayPal Virtual Terminal User Guide
PayPal Virtual Terminal User Guide
 
Rewards_User_Guide
Rewards_User_GuideRewards_User_Guide
Rewards_User_Guide
 
PayPal Account Authentication Service
PayPal Account Authentication ServicePayPal Account Authentication Service
PayPal Account Authentication Service
 
Cash management configue doc v1
Cash management   configue doc v1Cash management   configue doc v1
Cash management configue doc v1
 
Examples of-tca-apis
Examples of-tca-apisExamples of-tca-apis
Examples of-tca-apis
 
Qs2 um en_02_procure_to_pay
Qs2 um en_02_procure_to_payQs2 um en_02_procure_to_pay
Qs2 um en_02_procure_to_pay
 
Pp nvpapi developer_guide
Pp nvpapi developer_guidePp nvpapi developer_guide
Pp nvpapi developer_guide
 
Points Catalog & Rewards - Magento Extension
Points Catalog & Rewards - Magento ExtensionPoints Catalog & Rewards - Magento Extension
Points Catalog & Rewards - Magento Extension
 
Sap fico interview_questions_preview
Sap fico interview_questions_previewSap fico interview_questions_preview
Sap fico interview_questions_preview
 
Sap fico interview_questions_preview
Sap fico interview_questions_previewSap fico interview_questions_preview
Sap fico interview_questions_preview
 
Sap fico interview_questions_preview
Sap fico interview_questions_previewSap fico interview_questions_preview
Sap fico interview_questions_preview
 
Qs2 um en_07_supplier_return_to_debit
Qs2 um en_07_supplier_return_to_debitQs2 um en_07_supplier_return_to_debit
Qs2 um en_07_supplier_return_to_debit
 
Aim Guide
Aim GuideAim Guide
Aim Guide
 
O2C_user_manual
O2C_user_manualO2C_user_manual
O2C_user_manual
 
CATS Approval.pdf
CATS Approval.pdfCATS Approval.pdf
CATS Approval.pdf
 
Skills Exchange Network - Affiliate System Overview
Skills Exchange Network - Affiliate System OverviewSkills Exchange Network - Affiliate System Overview
Skills Exchange Network - Affiliate System Overview
 
InReceipts Plug N Play Client & REST APIs for billing softwares v1.0
InReceipts Plug N Play Client & REST APIs for billing softwares v1.0InReceipts Plug N Play Client & REST APIs for billing softwares v1.0
InReceipts Plug N Play Client & REST APIs for billing softwares v1.0
 
Fi question
Fi questionFi question
Fi question
 
Bank Reconsiliation Configuration
Bank Reconsiliation Configuration Bank Reconsiliation Configuration
Bank Reconsiliation Configuration
 
MSA_8110_Final_Project
MSA_8110_Final_ProjectMSA_8110_Final_Project
MSA_8110_Final_Project
 

Recently uploaded

M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...Any kyc Account
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxpriyanshujha201
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetDenis Gagné
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Roland Driesen
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Serviceritikaroy0888
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaShree Krishna Exports
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 DelhiCall Girls in Delhi
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Neil Kimberley
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876dlhescort
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 

Recently uploaded (20)

M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in India
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 

POL API for E-Commerce Loyalty

  • 1. pointsonline pointsonline REWARD REDEEM Pointsonline API Integration Guide Version 1.8 May 2011 Contents Introduction .................................................................................................................................................. 3 1. Reward points/Discount transaction ............................................................................................... 4 2. Redemption ..................................................................................................................................... 5 3. Get Points Balance ........................................................................................................................... 6 4. Redeem Coupon .............................................................................................................................. 7 5. Credit Cash to a Customer ............................................................................................................... 8 6. Debit Cash from a Customer ........................................................................................................... 9 7. Create Customer ............................................................................................................................ 10 8. Delete a Customer ......................................................................................................................... 11 9. Reward Scheme ............................................................................................................................. 12 10. Redemption Scheme ................................................................................................................... 13 11. Qualifying Redemptions .............................................................................................................. 14 12. List Items....................................................................................................................................... 15 13. Get Redemption List ......................................................................................................................... 16 14. Initiate Redemption .......................................................................................................................... 17 1
  • 2. pointsonline 15. Authorize Redemption ...................................................................................................................... 18 16. Cancel Initiated Redemption ............................................................................................................ 19 HTTP FAILURE Responses............................................................................................................................ 20 2
  • 3. pointsonline Introduction Pointsonline.com services can be easily integrated with applications such as POS systems, Mobile POS, E-Commerce sites, Coupon sites, Smart Phone Apps, Back office accounting systems etc. Pointsonline.com is a cloud service that is available for integration through a standard REST-ful API. Before you can access the API, you must first register your business with pointsonline.com. (go to pointsonline.com and click on Merchants and follow the sign up link!) Once registered, you will receive login id and password (which you can change later) within 24 hrs to 48 hrs after satisfactory authentication of your business. You must Login and set your loyalty scheme before you can use the API. For all http(s) API requests: loginid, password and merchant key are mandatory. Using the API you can do the following 1. Reward Points/Discount transaction 2. Redemption 3. Get Point Balance 4. Redeem Coupon 5. Credit Cash to a Customer 6. Debit Cash from a Customer 7. Create Customer 8. Delete a Customer 9. Reward Scheme 10. Redemption Scheme 11. Qualifying Redemptions 12. List Items E-Commerce API 13. Get the Redemption List 14. Initiate Redemption 15. Authorize Redemption 16. Cancel Initiated Redemption (For “Create Customer” please use API call No 7 from above list) *Advanced API is available for registered merchants upon written request, please contact sales@pointsonline.com. Advanced API enables requesting for high value real time predictive analytics such as ‘personalized coupons and relevant offers’ when checking out shopping-cart. Note: Customer-Id is one of email or global mobile no. or customer-no. By default an item "Cash" is defined and a Reward Formula is defined for cash which is editable. _____________________________________________________________________________________ 3
  • 4. pointsonline 1. Reward points/Discount transaction https://www.pointsonline.com/pol- api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&submit- reward=cust001,1,2700,22,10/11/2009,good service,reward,,,; Returns points added to the customer. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Id (Mandatory) - Customer-Id can be email/ISD-Mobile/Merchant Specific customer No. b. Item-Id (Mandatory) c. Bill-Amount (Mandatory) d. Bill-No. e. Bill-Date (Mandatory) f. Customer-Comment g. Transaction-Type (REWARD/DISCOUNT) (Default is REWARD) h. Discount-Percent (Mandatory if it is a Discount Transaction) i. Store-Id (For Merchant default to store-id=1 and for operators default to respective store-id) j. Division-Id (Mandatory if the transaction is against a Division) Response fields An array of objects representing response, points. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 4
  • 5. pointsonline 2. Redemption https://www.pointsonline.com/pol- api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&submit- redemption=cust001,1,50; Returns redemption_amount. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Id (Mandatory) b. Item-Id (Mandatory) c. Amount/ Count to redeem (Mandatory) Response fields An array of objects representing response, amount. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 5
  • 6. pointsonline 3. Get Points Balance https://www.pointsonline.com/pol- api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&customer- password=abc456&customer-balance=cust001; Returns customer points_balance,cash_balance,points_to_cash balance. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Password (Mandatory) b. Customer-Id (Mandatory) Response fields An array of objects representing response, points, cash, points_to_cash. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 6
  • 7. pointsonline 4. Redeem Coupon https://www.pointsonline.com/pol- api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&coupon- redemption=cust001,567646501177; Returns coupon_code. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Id (Mandatory) b. Coupon-Code (Mandatory) Response fields An array of objects representing response, coupon_code. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 7
  • 8. pointsonline 5. Credit Cash to a Customer https://www.pointsonline.com/pol- api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&cash-txn=cust001,credit,7500; Returns amount. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Id (Mandatory) b. Transaction-Type (Mandatory) c. Amount to Credit (Mandatory) Response fields An array of objects representing response, amount. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 8
  • 9. pointsonline 6. Debit Cash from a Customer https://www.pointsonline.com/pol-api/api.php?loginid= test@gmail.com&password=abcd1234&key=biz123&cash-txn=cust001,debit,500; Returns amount. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Id (Mandatory) b. Transaction-Type (Mandatory) c. Amount to Debit (Mandatory) Response fields An array of objects representing response, amount. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 9
  • 10. pointsonline 7. Create Customer https://www.pointsonline.com/pol- api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&create- customer=Mr.,Rakesh,kumar,rajeshk17@gmail.com,91,9495969789,cust001,1985-10-25,GE; Returns customer id. HTTP Method GET, POST Supported response formats: json Parameter Description a. Salutation b. First Name (Mandatory) c. Last Name d. Email (One of Email or ISD-Code along with Mobile-No is Mandatory) e. ISD-Code f. Mobile-No (One of Email or ISD-Code along with Mobile-No is Mandatory) g. Customer-No (Length of Customer No can be 1 to 9 alpha-numeric or 16 characters) h. Date-of-birth i. Company-Name Response fields An array of objects representing response, id. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 10
  • 11. pointsonline 8. Delete a Customer https://www.pointsonline.com/pol- api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&update- status=cust001,deleted; Returns customer status. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Id (Mandatory) b. Status (Mandatory) Response fields An array of objects representing response, status. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 11
  • 12. pointsonline 9. Reward Scheme https:// www.pointsonline.com /pol-api/api.php? loginid=test@gmail.com&password=abcd1234&key=biz123&reward-scheme=merItemId; Returns Merchants Reward Scheme. HTTP Method GET, POST Supported response formats: json Parameter Description a. merItemId (Mandatory) Response fields An array of objects representing response, points, bill_amount, minimum_amount. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 12
  • 13. pointsonline 10. Redemption Scheme https:// www.pointsonline.com /pol-api/api.php? loginid=test@gmail.com&password=abcd1234&key=biz123&redemption-scheme=merItemId; Returns Merchants Redemption Scheme. HTTP Method GET, POST Supported response formats: json Parameter Description a. merItemId (Mandatory) Response fields An array of objects representing response, points, redeem_amount. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 13
  • 14. pointsonline 11. Qualifying Redemptions https:// www.pointsonline.com /pol-api/api.php? loginid=test@gmail.com&password=abcd1234&key=biz123&qualifying-redemptions=cust001; Returns Customer Qualifying Redemptions. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Id (Mandatory) Response fields An array of objects representing response, qualifying_list which is an array of objects representing item name and points-needed-to-redeem. Look for FAILURE responses at the end of this document. _____________________________________________________________________________________ 14
  • 15. pointsonline 12. List Items https:// www.pointsonline.com /pol-api/api.php? loginid=test@gmail.com&password=abcd1234&key=biz123& list-items=offer; Returns Items List. HTTP Method GET, POST Supported response formats: json Parameter Description a. Item Type (Mandatory) -> Offer/ Inventory/ Both Response fields An array of objects representing response, item_list . Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 15
  • 16. pointsonline 13. Get Redemption List https:// www.pointsonline.com /pol-api/api.php? loginid=test@gmail.com&password=abcd1234&key=biz123&redemption-list=cust001; Returns Redemptions List. Shows Valid Redemption list and Invalid Redemption list. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Id (Mandatory) Response fields An array of objects representing response, redemptions_list. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 16
  • 17. pointsonline 14. Initiate Redemption https:// www.pointsonline.com /pol- api/api.php?loginid=test@gmail.com&password=abcd1234&key=biz123&customer- id=cust001&customer-password=abc456&initiate-redemption=1,3;6,8; Returns redemption-code, item-count, item-Id, item-name and item-price. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Id (Mandatory) b. Customer-Password (Mandatory) c. initiate-redemption (Mandatory) 1. Item-Count (Mandatory) 2. Item-Id (Mandatory) Item-count and Item-id separated by comma ( , ) and ends with semi colon ( ; ) Response fields An array of objects representing response, redemption-code, item-count, item-Id, item-name and item- price. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 17
  • 18. pointsonline 15. Authorize Redemption https:// www.pointsonline.com /pol-api/api.php? loginid=test@gmail.com&password=abcd1234&key=biz123&authorise-redemption=cust001,54893; Returns Success/ Failure message along with redemption code. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Id (Mandatory) b. Redemption-Code (Mandatory) Response fields An array of objects representing response, Success/ Failure message along with redemption code. Look for FAILURE responses at the end of this document _____________________________________________________________________________________ 18
  • 19. pointsonline 16. Cancel Initiated Redemption https:// www.pointsonline.com /pol-api/api.php? loginid=test@gmail.com&password=abcd1234&key=biz123&customer-id=cust001&customer- password=abc456&cancel-initiate-redemption=63116; Returns Redemption code, Valid / Invalid redemption code. HTTP Method GET, POST Supported response formats: json Parameter Description a. Customer-Id (Mandatory) b. Customer-Password (Mandatory) c. cancel-initiate-redemption 1. Redemption-Code (Mandatory) Response fields An array of objects representing response, Redemption code, valid/ Invalid redemption code. Look for FAILURE responses at the end of this document 19
  • 20. pointsonline HTTP FAILURE Responses An array of objects representing response, code. 6300-We are unable to process the request now please try again Later 6301-please check your Request 6303-Invalid Merchant 6304-Invalid Customer 6305-Invalid Transaction Type 6307-Insufficient cash Balance. Unable to debit 6308-Unable to delete, customer has points 6309-Invalid Status 6310-Bill Amount is less than minimum amount 6314- Reward transaction failed. Customer is deleted 6315-Customer creation Failed. User already exists with given email/mobile No. 6317-Customer creation failed. Email is mandatory 6318-Customer creation failed. Name should be minimum of three characters 6320-Invalid Email 6321-Customer creation failed. Customer No. length must be in the range of 1 to 9 characters 6322-Customer creation failed. Customer No. exist 6323-Customer creation failed. Customer No. is required 6326-Customer has not enough points balance to redeem 6330-Invalid Coupon 6331-Coupon code is mandatory 6332-Coupon Redemption period expired 6333-Coupon already used 6334-No Item Found with the given name 6336-Bill Amount/Count Required. 20
  • 21. pointsonline 6337-valid division-Id is required 6338-merchant User should use his/her store-Id 6339-Entered amount should be multiples of redeem Amount. 6340-No Reward scheme defined 6341-No Qualifying redemptions 6342-No Items Found 6343-Already Authorized 6344-No Active Formula 6345-Invalid Item Id 6346-Already Cancelled _________________________________________________________________________________________________ For more information please contact: Pointsonline Pvt. Ltd. 1D Doctors Colony, Madhapur, Hyderabad 500081, Andhra Pradesh, India Ph: +91 064522557 support@pointsonline.com www.pointsonline.com 21