Xoxoday
  • ๐Ÿ““User Resources
    • ๐Ÿ‘จโ€๐Ÿ’ผFor Admins
      • ๐Ÿ“ŒGetting Started
        • โš™๏ธSettings
          • Manage Super Admin/Admins
            • Hierarchy vs Non-Hierarchy
            • Threshold
            • Delete an Admin
            • Redemption APIs
              • Generic Redemption APIs
              • Oauth 2.0 Implementation for Stores Redemption
          • Platform Preferences
          • Account Verification
        • Types of Companies
      • ๐Ÿš€Plum Launch Communication Kit
        • ๐ŸŒ‰Pre-Launch Templates
        • ๐ŸคIntroduction to Plum Templates
        • ๐Ÿ“บHow to Sign up on Plumโ€™s reward storefront Template
        • ๐Ÿ“‘How to Bookmark Plumโ€™s reward storefront for easy access Template
        • ๐ŸŽ‰How to Redeem the Rewards on Plumโ€™s Reward Storefront?
      • Xoxo Points
        • ๐Ÿ“ŒGetting Started
        • ๐ŸššDistribution of Xoxo-points
        • ๐Ÿ“ฉEmail/SMS Customization
        • FAQs
      • Xoxo Codes
        • ๐Ÿ“ŒGetting Started
        • ๐ŸššDistribution of Xoxo-codes
        • ๐Ÿ“ฉEmail, SMS, and Xoxo Code Campaign Customization
        • FAQs
      • Points vs Codes
      • Xoxo Links
        • ๐Ÿ“ŒGetting Started
        • ๐ŸššDistribution of Xoxo-links
        • FAQs
      • Domain Authentication Guide
        • Troubleshooting Domain Authentication
      • ๐Ÿ’ฐAdd Funds
        • Base Currency
      • Campaigns
        • Getting Started
        • Editing a campaign?
        • Delete/disabling a Xoxo Campaign?
      • ๐ŸฌReports
      • ๐Ÿ’ณPrepaid Card User Guide
        • Virtual Paypal International
          • ๐Ÿ“ŒGetting Started
          • ๐Ÿ“ญHow to Redeem?
        • Virtual Visa Card
          • ๐Ÿ“ŒGetting Started
          • ๐Ÿ’ณHow to Redeem?
      • ๐Ÿ”Security and Compliance
        • Cryptography & Encryption
        • Email Whitelisting
        • Governance, Risk, & Data Compliance
        • Application,Dev & Security
        • Cloud Security
        • HR Compliance
        • Identity & Access Management
        • Solution Development
        • Security Operations
        • Training and Awareness
        • Vulnerability and Threat Management
        • Security Operations & Technical Capabilities and Support
        • Data Management
        • Policies & Procedures
        • Tax Compliance
        • Privacy Compliance
        • Cloud Security Alliance
        • Others
        • Documents
          • Data Security
          • Information Security
          • Admin/Business
          • Others
          • Finance Compliance
    • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘For End-Users
      • ๐Ÿ“ŒGetting Started
      • ๐Ÿง‘โ€๐Ÿ’ปSigning up/Logging in
      • ๐Ÿช™How to redeem?
      • ๐Ÿ’ณGift Vouchers
      • ๐ŸŽGift Box Queries
      • ๐ŸššDelivery Related Issues
      • ๐Ÿ›‘Cancelation/Refunds
    • ๐Ÿ”—Pre-Built Integrations
      • Qualtrics Integration Guide
        • Using Qualtrics Workflow Extension to Send Rewards
        • Public Survey Rewarding
        • Anonymous Survey Rewarding
      • HubSpot + Plum
        • 1-1 Reward Widget in HubSpot
        • Workflow Based Reward Automation
        • 1-Many Link for Xoxolinkโ€™s Reward Automation
        • Email based Reward Automation
      • Darwinbox + Plum
      • SurveyMonkey + Plum
        • Public Survey Automation
        • Anonymous Survey Automation
      • Zapier + Plum
      • ActiveCampaign + Plum
        • Creating Automation
      • Salesforce + Plum
        • Getting Started with Xoxoday Plum
        • Getting Started and Setting up Salesforce Integration
        • Sending 1-1 Reward
        • Steps to create a Flow and add a Trigger
        • Redemption Journey for your Recipients
      • Typeform + Plum by Xoxoday
      • Zoho People + Plum
      • SAP Successfactors + Plum
        • SAP Client Registration with Xoxoday for Stores Redemption
      • Decipher - Forsta Integration
      • Zoho CRM
        • Send 1-1 rewards
        • Automation : Workflow Rules
      • Connect Plum to thousands of apps using Zapier
      • Other Integrations
    • ๐Ÿ›ฃ๏ธProduct Roadmap
      • 2022
      • 2021
  • ๐Ÿ‘จโ€๐Ÿ’ปDeveloper Resources
    • Rewards API
      • Getting started
      • API Endpoints
        • Authentication
          • Client ID, Secret ID, and Token Creation
          • Token Management
        • Catalog
          • GetVouchers API
          • GetFilters API
        • Orders
          • PlaceOrder API
          • GetOrderDetails API
          • GetOrderHistory API
        • Account Balance
          • GetBalance API
        • Postman Collection URL
      • Concepts
        • Staging Environment
        • Catalog
        • Error Handling
          • Standard HTTP status code summary
          • Errors related to API
        • Exchange Rates
      • Guides
        • Funding the Account
        • Reporting and Analytics
      • Webhooks
        • Test Webhooks
        • How to implement webhooks?
        • How to secure your webhooks?
      • Forex
      • Best Practices
      • Frequently Asked Questions
    • StoreFront Integration
      • Getting started
      • API Endpoints
        • Authorization
        • Token Creation & Token Management
        • SSO Redirection
        • End Points
      • Concepts
        • Points
      • Guides
        • Funding Account
        • Reports and Analytics
    • Xoxo Link API
    • Roadmap for 2021
  • ๐Ÿ“…Release Notes
    • Release April 2023
    • Release March 2023
    • Release February 2023
    • Release December 2022
    • Release October 2022
    • Release September 2022
    • Release July 2022
    • Release May 2022
    • Release March 2022
    • Release February 2022
    • Release December 2021
    • Release November 2021
    • Release October 2021
    • Release September 2021
    • Release July 2021
    • Release May 2021
    • Release March 2021
    • Release December 2020
    • Release October 2020
    • Release September 2020
    • Release August 2020
    • Release June 2020
    • Release May 2020
    • Release April 2020
    • Release March 2020
Powered by GitBook
On this page
  • Fetch Redemption Point Balance
  • GetProfileAPI
  • Parameters
  • Update Redemption Transaction
  • Refund API
  • Parameters

Was this helpful?

  1. Developer Resources
  2. StoreFront Integration
  3. API Endpoints

End Points

Here is the Skeleton of APIs Xoxoday requires communicating with your point system.

Xoxoday can support varying API designs with few restrictions.

  • Should be REST APIs.

  • Content-type should be JSON.

  • Should be HTTPS

Use the above API Skeletons to design your APIs.

Fetch Redemption Point Balance

Xoxoday will use this API to fetch a userโ€™s points from your point system.

{
"unique_id":"DB123",
"auth_token":"0fe121f67cb0b90ef39fd83380bf1e12310912c86f4d7d5bfed3f3198e531b4f8d8af179b68361da28d0bc0353ce45ac7c374aa9c51dfb54c6705571f5ab8fe8"
}

200: Success

{ 
   "status":"1",
   "points_info":{ 
      "points_received":"2000",
      "points_redeemed":"1300",
      "points_available":"700"
   }
}

GetProfileAPI

The GetProfileAPI is used to verify account information and prevent fraud at the time of checkout. This API provides a second layer of account verification before the reward is sent, ensuring a seamless and secure customer experience. The API has to be built by the client so Xoxoday can consume it.

{
    "api_key": "5c720ad8bae86480c01abc0b3734dcfc9sndbjasbdjhabsjdbae",
    "employee_id": "22816281"
}
{
    "status": 1,
    "message": "Successfully loaded employee's data",
    "employee_data": {
        "employee_id": "22816281",
        "company_email_id": "dwightschrute@dundlermifflin.com",*
ย  ย  ย  ย  ย  ย  "first_name": "Dwight",*
ย  ย  ย  ย  ย  ย  "last_name": "Schrute",*
ย  ย  ย  ย  ย  ย  "primary_mobile_number": "",
        "designation_name": "Assistant Regional Manager",
        "department": "Sales",
        "group_company": "Dundler Mifflin"
    }
}

โ€œ*โ€ indicates the parameter is mandatory.

Parameters

Body Parameters

Property
Description

api_key

employee_id

Employee ID or the UID of the end user

Body Parameters

Property
Description

status

1 = successful 0 = failure

employee_data.employee_id

Employee ID or the UID of the end user

employee_data.company_email_id

Email address of the end user

employee_data.last_name

Last name of the end user

employee_data.primary_mobile_number

Mobile number of the end user

employee_data.designation_name

Designation of the end user

employee_data.department

Department of the end user

employee_data.group_company

Name of the company

Update Redemption Transaction

Xoxoday will use this API to update a userโ€™s points in your point system.

{ 
"unique_id":"TTEO32S99ERCL",
"auth_token":"0fe121f67cb0b90ef39fd83380bf1e12310912c86f4d7d5bfed3f3198e531b4f8d8af179b68361da28d0bc0353ce45ac7c374aa9c51dfb54c6705571f5ab8fe8",
"total_points_redeemed":"129",
"total_points_added":null,
"order_id": "AB1890082790",
"comments": ""
}

200: Success

{ 
   "status":"1",
   "message":"Successfully updated"
}

This is just a sample response, it can vary according to your API design.

Refund API

{

"unique_id" : "TTE032S99ERCL",

"auth_token" : "0fe121f67cb0b90ef39fd83380bf1e12310912c86f4d7d5bfed3f3198e531b4f8d8af179b68361da28d0bc0353ce45ac7c374aa9c51dfb54c6705571f5ab8fe8",

"transactionid" : "AB1890082790",

"redemption_amount" : "200",

"comments" : "", }

{

"status":"1",

"message": "Successfully updated" "data" : { "transaction_id" : "", "points" : ''" } }

Parameters

Body Parameters

Parameters

Type

Description

unique_id*

Unique identifier of a user

auth_token*

Some authorization value to successfully allow the request from xoxoday to your system. Authorization can be but not limited to hash, Basic auth, Bearer token, etc.

total_points_redeemed*

total_points_added*

Key name can be different, thereโ€™s no restriction.

PreviousSSO RedirectionNextConcepts

Last updated 1 year ago

Was this helpful?

api_key youโ€™ll share with Xoxoday in

๐Ÿ‘จโ€๐Ÿ’ป
https://help.xoxoday.com/plum/developer-resources/storefront-integration/api-endpoints/sso-redirection#sso-token-from-company-session