---
page_source: https://juspay.io/in/docs/payment-method-integrations/express-checkout-api/cred-reward/cred-credit-card-reward
page_title: CRED Credit Card Reward
---


## CRED Reward Layer Integration



This document talks about CRED powered rewards and cashback on credit card transactions. The reward info is to be displayed beside credit card payment option and the cashback application has to be displayed on UI post successful credit card transaction.

> **Note**
> Since this is S2S integration, both pre and post nudge display needs to be handled by the merchant




### Step 1 : Dashboard Enablement



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

![Image](https://dth95m2xtyv8v.cloudfront.net/tesseract/assets/payment-method-integrations/cred%3C%3Ecard%3C%3Ereward-sQznj.png)
*PG Control Center*



> **Note**
> There is a backend config that Juspay needs to enable in order to facilitate this flow. Please get in touch with your Juspay POC for the same before you start testing the flows.




### Step 2: Eligibility API Request and Response



This Eligibility API call is to be done while rendering the checkout screen so that the reward info can be readily fetched and shown. You can find the sample eligibility request and response on the right side of this page.


### Sample cURL



Merchants can refer to the following sample cURL for the Eligibility API


#### Sample Eligibility cURL Code Snippet:

```sample eligibility curl
{"success":false,"message":"No Data found for the given path"}
```



### Step 3: Transaction API




#### Sample Txn Request Code Snippet:

```sample txn request
{"success":false,"message":"No Data found for the given path"}
```


> **Note**
> **credOfferData**  received in eligibility under payment method type CARD needs to be passed back in correct format in txns request for the reward allotment call to happen_**cred_offer_data**_  is being passed in metadata to hit reward allot call to CRED._**cred_user_id**_ __ is passed when the CRED app is present in the device. Pass the _**cred_user_id**_  only when _**customerPhone**_  is not passed in _**order_create**_ 




#### Sample Txn Response Code Snippet:

```sample txn response
{"success":false,"message":"No Data found for the given path"}
```


## Sample Code Snippets:
### Sample Eligibility Request:

#### Request Code Snippet:

```request
{"success":false,"message":"No Data found for the given path"}
```

### Sample Eligibility Response:

#### Response:
```json
{"success":false,"message":"No Data found for the given path"}
```

