CRED Reward Layer Integration

This document speaks about the CRED Reward layer integration only for HyperUPI/ UPI-In-App Merchant integration.

Note

This flow is applicable only for Merchants using HyperUPI flow of Juspay.

Step 1
Pre-Requsites

Step 2: PG Control Centre Changes

In this step, Merchants would need to add “Business Partner Id“ obtained from CRED Team. Attaching same SS.

PG Configuration
PG Configuration

Step 3: SDK Request and Responses

  1. Eligibility

    Step 3.1
    Eligibility

    Next, Merchants would need to couple of things as mentioned below.

    Note

    Merchants 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.2
    Onboard & Pay Flow
    Step 3.3
    Pay Flow
    Note


    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:

    Sample Cred Reward Layer Diagram
    Sample Cred Reward Layer Diagram

Last updated 1 year ago