Rezior

ReziorDevice POS Integration

Innovating retailer’s engagement with coupons.

Rezior is implementing The Coupon Bureau’s standardized manufacturer couponing solution, which aims to eliminate the challenges faced by manufacturers and provide consumers with convenient access to coupons through apps and loyalty cards.

Key Features of Rezior Device:-

  1. Every legacy system would be able to access this
  2. No complexity for POSes - only one local API calls
  3. Local APIs - no need to worry about the network

Rezior APIs 2

Description

Redeem API is responsible for redemption of serialised GS1 and also validating the basket . Some of the validation includes:-

  • Checking if Eligible GTINs are part of the basket or not
  • Checking the condition of Master offer Files for validating coupons
  • Option of offline validation as well with local cache

Request Variables Description:-

Basket is the input JSON , and these are implications of different parameters in the INPUT JSON of the Redeem API:-

  1. code : GTIN Number of the Product with included Check Digit
  2. unit : Unit of the item ,the values can be item/kg/pound
  3. quantity : Total qunatity of the product in String
  4. price : The price of one unit in cents
  5. coupons : The Array of serialised GS1, which needs to be redeemed

The response JSON structure would be as follow:-

{
    "status": 1,
    "message": "Basket Processed",
    "data": {
        "valid_coupons": [
            {
                "serialized_gs1": "8112001222229999020443456",
                "applied_to": [
                    {
                        "code": "037000475873",
                        "unit": "item",
                        "quantity": "2",
                        "price": 1200
                    }
                ],
                "mofDetails": {
                    "primary_purchase_gtins": [
                        "037000475873"
                    ],
                    "primary_purchase_save_value": 0,
                    "primary_purchase_requirements": 1,
                    "primary_purchase_req_code": 0,
                    "save_value_code": 1,
                    "donot_multiply_flag": 1,
                    "funder_id": "122222",
                    "offer_code": "999902"
                }
            }
        ],
        "not_valid_coupons": [
            {
                "serialized_gs1": "8112001222229999090441236"
            }
        ],
        "discount": 1200,
        "discount_units": "cents",
		txnID:"9923837377373636"
    }
}

Response Variables Description:-

  1. valid_coupons : Array of supplied Coupons which are valid and are applied to the basket.
  2. not_valid_coupons : Array of supplied Coupons which are not valid and are not applied to the basket.
  3. applied_to : Array of Products which participated in successful redemption of a particular Coupon.
  4. discount : The Discount applied to entire basket in cents
  5. mofDetails : The Master Offer File details of a particular coupon.
  6. txnID : The transaction ID , which will be stored at Rezior Device for 10 mins , to enable Rollback option. The same tranaction ID will be returned with rollback API to rollback coupons.



Headers
KeyValueDescription
x-keyreziorisbest
Body
{ "basket": [ { "code": "037000475873", "unit": "item", "quantity": "2", "price": 1200 } ], "coupons": [ "8112001222229999020443456", "8112001222229999090441236" ] }
Description

Rollback API will Rollback Serialized Data String The POS will call this API in case of any Payment issue.

Request Variables Description:-

Basket is the input JSON , and these are implications of different parameters in the INPUT JSON of the Redeem API:-

  1. txnID : The transaction ID , which will be stored at Rezior Device for 10 mins , to enable Rollback option. The same tranaction ID will be returned with rollback API to rollback coupons which are tagged to this Transaction ID.



Headers
KeyValueDescription
x-keyreziorisbest
Body
{ "txnID":["993939737377377737"] }