CRED Reward Layer Integration
This document speaks about the CRED Reward layer integration only for HyperUPI/ UPI-In-App Merchant integration.
This flow is applicable only for Merchants using HyperUPI flow of Juspay.
Step 2: PG Control Centre Changes
In this step, Merchants would need to add “Business Partner Id“ obtained from CRED Team. Attaching same SS.
Step 3: SDK Request and Responses
Eligibility
Step 3.1EligibilityNext, Merchants would need to couple of things as mentioned below.
NoteMerchants would need to make sight modification in the below requests that needs to be passed as offerData.
Need to add the paymentMethodType to upiinapp.
Extract data from eligibility call and send under credOfferData in the below mentioned format.
Onboard & Pay (Step 3.2)
Pay (Step 3.3)
Both the flows request and response are given below.
Step 3.2Onboard & Pay FlowStep 3.3Pay FlowNote
The cashback application will happen post receiving success status from the concerned payment gateway for the transaction. Juspay would raise offer allotment request to CRED for this.Sample Flow Diagram:

