Down Payment EMI - Integration Steps
Learn how to integrate the Pine Labs Affordability Suite to provide your merchants with a seamless shopping experience.
Follow the below steps to integrate with Pine Labs affordability suite in your application.
- [Prerequisite] Generate Token
- Down Payment Details
- Offer Discovery
- Offer Validation
- Create Order
- Create Payment
- Handle Payment
- Get Order by Order ID
Note
- Ensure you store your Client ID and Secret in your Backend securely.
- Integrate our APIs on your backend system.
- We strictly recommend not to call our APIs from the frontend.
- Failure to adhere to the above guidelines may result in legal implications. In such cases, you will be held responsible for any damage or loss arising from non-compliance.
Watch Out
- To Integrate with Pine Labs seamless checkout flow you must have a PCI compliance certificate.
1. [Prerequisite] Generate Token
Integrate our Generate Token API in your backend servers to generate the access token. Use the token generated to authenticate Pine Labs APIs.
Below are the sample requests and response for the Generate Token API.
curl --location 'https://pluraluat.v2.pinepg.in/api/auth/v1/token' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Request-Timestamp: 2024-07-09T07:57:08.022Z' \
--header 'Request-ID: c17ce30f-f88e-4f81-ada1-c3b4909ed235' \
--data '
{
"client_id": "a17ce30e-f88e-4f81-ada1-c3b4909ed232",
"client_secret": "fgwei7egyhuggwp39w8rh",
"grant_type": "client_credentials"
}
'
curl --location 'https://api.pluralpay.in/api/auth/v1/token' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Request-Timestamp: 2024-07-09T07:57:08.022Z' \
--header 'Request-ID: c17ce30f-f88e-4f81-ada1-c3b4909ed235' \
--data '
{
"client_id": "a17ce30e-f88e-4f81-ada1-c3b4909ed232",
"client_secret": "fgwei7egyhuggwp39w8rh",
"grant_type": "client_credentials"
}
'
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
"expires_in": 3600
}
Click here for request and response parameter information.
The table below lists the request parameters of our Generate Token API.
| Parameter | Type | Description |
|---|---|---|
| client_id required | string |
Unique client identifier in the Pine Labs database. Example: a17ce30e-f88e-4f81-ada1-c3b4909ed232Note: The Onboarding team has provided you with this information as part of the onboarding process. |
| client_secret required | string |
Unique client secret key provided while onboarding. Example: fgwei7egyhuggwp39w8rhNote: The Onboarding team has provided you with this information as part of the onboarding process. |
| grant_type required | string |
The grant type to generate an access token. Accepted value: client_credentials
|
The table below lists the response parameters of our Generate Token API.
| Parameter | Type | Description |
|---|---|---|
| access_token | string |
The access token generated by the system. • Minimum length: 1 character. • Maximum length: 8192 characters. Example: eyJhbGciOiJIUzI1NiIsInNote: Use this token in the authorization headers to authenticate Pine Labs APIs. |
| expires_at | string |
Access duration timestamp. Example: 2024-06-28T13:26:06.909140Z
|
Refer to our Generate Token API documentation to learn more.
2. Down Payment Details
Use this API to retrieve applicable down payment and EMI repayment details.
2.1. Bank EMI
Use the payload below to specifically retrieve available Bank EMI offers.
Below are the sample requests and sample response for the Down Payment Details API.
curl --request POST \
--url https://pluraluat.v2.pinepg.in/api/affordability/v1/offer/downpayment/details \
--header 'Authorization: Bearer' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"order_amount": {
"currency": "INR",
"value": 1200000
},
"cart_coupon_discount_amount": {
"currency": "INR",
"value": "1000"
},
"issuer": {
"bin": "12345678",
"id": "1",
"name": "ICICI CC",
"issuer_type": "CC_BANK"
}
}
'
curl --request POST \
--url https://api.pluralpay.in/api/affordability/v1/offer/downpayment/details \
--header 'Authorization: Bearer' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"order_amount": {
"currency": "INR",
"value": 1200000
},
"cart_coupon_discount_amount": {
"currency": "INR",
"value": "1000"
},
"issuer": {
"bin": "12345678",
"id": "1",
"name": "ICICI CC",
"issuer_type": "CC_BANK"
}
}
'
{
"downpayment_details": {
"amount_range": {
"min": {
"currency": "INR",
"value": 0
},
"max": {
"currency": "INR",
"value": 1050000
}
},
"amount_milestone_list": [
{
"currency": "INR",
"value": 0
},
{
"currency": "INR",
"value": 100
},
{
"currency": "INR",
"value": 10000
},
{
"currency": "INR",
"value": 100000
},
{
"currency": "INR",
"value": 200000
},
{
"currency": "INR",
"value": 262500
}
],
"allowed_payment_methods": [
"UPI"
]
}
}
Click here for request and response parameter information.
The table below lists the request parameters of our Down Payment Details API.
| Parameter | Type | Description |
|---|---|---|
| order_amount required | object |
An object that contains the transaction amount details. Learn more about our order_amount child object.
|
| cart_coupon_discount_amount | object |
An object that contains the cart coupon discount amount details. Learn more about our cart_coupon_discount_amount child object.
|
| issuer required | object |
An object that contains the issuer details. Learn more about our issuer child object.
|
Order Amount [Child Object]
The table below lists the various parameters in the order_amount child object. This object is part of the Offer Discovery API request object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer |
The transaction amount in Paisa.
100
|
| currency required | string |
Type of currency. Example: INR
|
Cart Coupon Discount Amount [Child Object]
The table below lists the various parameters in the cart_coupon_discount_amount child object. This object is part of the Downpayment Details API request object.
| Parameter | Type | Description |
|---|---|---|
| value | integer |
The transaction amount in Paisa.
100
|
| currency | string |
Type of currency. Example: INR
|
Issuer [Child Object]
The table below lists the various parameters in the issuer child object. This object is part of the Down Payment Details API request object.
| Parameter | Type | Description |
|---|---|---|
| bin | string |
Bank Identification Number, First 8 digits of your Card. Has to be 8 digits. Example: 12345678Note: Passing the card information will filter the results based on the specific BIN (Bank Identification Number). |
| id | string |
Mandatory for EMI with Downpayment Unique Identifier of the issuer. Example: 1
|
| name | string |
Mandatory for EMI with Downpayment Name of the issuer. Example: HDFC
|
| issuer_type | string |
Mandatory for EMI with Downpayment The category of the issuer. Example: CARDLESS_BANKAccepted values:
|
The table below lists the various parameters returned in the Down Payment Details API response object.
| Parameter | Type | Description |
|---|---|---|
| downpayment_details | object |
An object that contains the downpayment details. Learn more about the downpayment_details child object. |
Downpayment Details [Child Object]
The table below lists the various parameters in the downpayment_details object. This is part of the Down Payment Details API response object.
| Parameter | Type | Description |
|---|---|---|
| amount_range | object |
An object that contains the amount range details. Learn more about the amount_range child object. |
| amount_milestone_list | array of object |
An array of objects that contains the amount milestone list details. Learn more about the amount_milestone_list child object. |
| allowed_payment_methods | array of string |
The type of payment methods you want to offer your customers to accept payments. Possible values:
|
Amount Range [Child Object]
The table below lists the various parameters in the amount_range child object. This is part of the downpayment_details object.
| Parameter | Type | Description |
|---|---|---|
| min | object |
An object that contains the minimum amount details. Learn more about the min child object. |
| max | object |
An object that contains the maximum amount details. Learn more about the max child object. |
Min [Child Object]
The table below lists the various parameters in the min child object. This is part of the amount_range object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount in Paisa.
1000 |
Max [Child Object]
The table below lists the various parameters in the max child object. This is part of the amount_range object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount in Paisa.
1000 |
Amount Milestone List [Child Object]
The table below lists the various parameters in the amount_milestone_list child object. This is part of the downpayment_details object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount in Paisa.
1000 |
2.2. Brand EMI
Use the payload below to specifically retrieve available Brand EMI offers.
Below are the sample requests and sample response for the Down Payment Details API.
curl --request POST \
--url https://pluraluat.v2.pinepg.in/api/affordability/v1/offer/downpayment/details \
--header 'Authorization: Bearer' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"order_amount": {
"currency": "INR",
"value": 1200000
},
"cart_coupon_discount_amount": {
"currency": "INR",
"value": "1000"
},
"issuer": {
"bin": "12345678",
"id": "1",
"name": "ICICI CC",
"issuer_type": "CC_BANK"
},
"product_details": [
{
"product_code": "Apple_3",
"product_amount": {
"currency": "INR",
"value": 1200000
},
"product_coupon_discount_amount": {
"currency": "INR",
"value": "1000"
}
}
]
}
'
curl --request POST \
--url https://api.pluralpay.in/api/affordability/v1/offer/downpayment/details \
--header 'Authorization: Bearer' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"order_amount": {
"currency": "INR",
"value": 1200000
},
"cart_coupon_discount_amount": {
"currency": "INR",
"value": "1000"
},
"issuer": {
"bin": "12345678",
"id": "1",
"name": "ICICI CC",
"issuer_type": "CC_BANK"
},
"product_details": [
{
"product_code": "Apple_3",
"product_amount": {
"currency": "INR",
"value": 1200000
},
"product_coupon_discount_amount": {
"currency": "INR",
"value": "1000"
}
}
]
}
'
{
"downpayment_details": {
"amount_range": {
"min": {
"currency": "INR",
"value": 0
},
"max": {
"currency": "INR",
"value": 1050000
}
},
"amount_milestone_list": [
{
"currency": "INR",
"value": 0
},
{
"currency": "INR",
"value": 100
},
{
"currency": "INR",
"value": 10000
},
{
"currency": "INR",
"value": 100000
},
{
"currency": "INR",
"value": 200000
},
{
"currency": "INR",
"value": 262500
}
],
"allowed_payment_methods": [
"UPI"
]
}
}
Click here for request and response parameter information.
The table below lists the request parameters of our Down Payment Details API.
| Parameter | Type | Description |
|---|---|---|
| order_amount required | object |
An object that contains the transaction amount details. Learn more about our order_amount child object.
|
| cart_coupon_discount_amount | object |
An object that contains the cart coupon discount amount details. Learn more about our cart_coupon_discount_amount child object.
|
| issuer required | object |
An object that contains the issuer details. Learn more about our issuer child object.
|
| product_details required | object |
An object that contains the product details. Learn more about our product_details child object.
|
Order Amount [Child Object]
The table below lists the various parameters in the order_amount child object. This object is part of the Offer Discovery API request object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer |
The transaction amount in Paisa.
100
|
| currency required | string |
Type of currency. Example: INR
|
Cart Coupon Discount Amount [Child Object]
The table below lists the various parameters in the cart_coupon_discount_amount child object. This object is part of the Downpayment Details API request object.
| Parameter | Type | Description |
|---|---|---|
| value | integer |
The transaction amount in Paisa.
100
|
| currency | string |
Type of currency. Example: INR
|
Issuer [Child Object]
The table below lists the various parameters in the issuer child object. This object is part of the Down Payment Details API request object.
| Parameter | Type | Description |
|---|---|---|
| bin | string |
Bank Identification Number, First 8 digits of your Card. Has to be 8 digits. Example: 12345678Note: Passing the card information will filter the results based on the specific BIN (Bank Identification Number). |
| id | string |
Mandatory for EMI with Downpayment Unique Identifier of the issuer. Example: 1
|
| name | string |
Mandatory for EMI with Downpayment Name of the issuer. Example: HDFC
|
| issuer_type | string |
Mandatory for EMI with Downpayment The category of the issuer. Example: CARDLESS_BANKAccepted values:
|
Product Details [Child Object]
The table below lists the various parameters in the product_details child object. This is part of the Down Payment Details API request object.
| Parameter | Type | Description |
|---|---|---|
| product_code required | String |
Unique Product identifier of the product. Example: redmi_1 |
| product_amount required | object |
An object that contains the product amount details. Learn more about the product_amount child object. |
| product_coupon_discount_amount | object |
An object that contains the product coupon discount details. Learn more about the product_coupon_discount_amount child object. |
Product Amount [Child Object]
The table below lists the various parameters in the product_amount child object. This object is part of the product_details object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer |
Transaction amount is Paisa.
1000 |
| currency required | string |
Type of currency. Example: INR |
Product Coupon Discount Amount [Child Object]
The table below lists the various parameters in the product_coupon_discount_amount child object. This object is part of the product_details object.
| Parameter | Type | Description |
|---|---|---|
| value | integer |
Transaction amount is Paisa.
1000 |
| currency | string |
Type of currency. Example: INR |
The table below lists the various parameters returned in the Down Payment Details API response object.
| Parameter | Type | Description |
|---|---|---|
| downpayment_details | object |
An object that contains the downpayment details. Learn more about the downpayment_details child object. |
Downpayment Details [Child Object]
The table below lists the various parameters in the downpayment_details object. This is part of the Down Payment Details API response object.
| Parameter | Type | Description |
|---|---|---|
| amount_range | object |
An object that contains the amount range details. Learn more about the amount_range child object. |
| amount_milestone_list | array of object |
An array of objects that contains the amount milestone list details. Learn more about the amount_milestone_list child object. |
| allowed_payment_methods | array of string |
The type of payment methods you want to offer your customers to accept payments. Possible values:
|
Amount Range [Child Object]
The table below lists the various parameters in the amount_range child object. This is part of the downpayment_details object.
| Parameter | Type | Description |
|---|---|---|
| min | object |
An object that contains the minimum amount details. Learn more about the min child object. |
| max | object |
An object that contains the maximum amount details. Learn more about the max child object. |
Min [Child Object]
The table below lists the various parameters in the min child object. This is part of the amount_range object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount in Paisa.
1000 |
Max [Child Object]
The table below lists the various parameters in the max child object. This is part of the amount_range object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount in Paisa.
1000 |
Amount Milestone List [Child Object]
The table below lists the various parameters in the amount_milestone_list child object. This is part of the downpayment_details object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount in Paisa.
1000 |
Refer to our Down Payment API documentation to learn more.
3. Offer Discovery
Use this API to check the offers and calculate the EMI.
3.1. Downpayment Bank EMI
Use the payload below to specifically retrieve available Bank EMI offers.
Below are the sample requests and response for the Offer Discovery API.
curl --request POST \
--url https://pluraluat.v2.pinepg.in/api/affordability/v1/offer/discovery \
--header 'Authorization: Bearer' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"order_amount": {
"currency": "INR",
"value": 1200000
},
"issuer": {
"bin": "37693000",
"id": "1",
"name": "ICICI CC",
"issuer_type": "CC_BANK"
},
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 200000
}
}
}
'
curl --request POST \
--url https://api.pluralpay.in/api/affordability/v1/offer/discovery \
--header 'Authorization: Bearer' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"order_amount": {
"currency": "INR",
"value": 1200000
},
"issuer": {
"bin": "37693000",
"id": "1",
"name": "ICICI CC",
"issuer_type": "CC_BANK"
},
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 200000
}
}
}
'
{
"issuers": [
{
"id": "1",
"name": "ICICI CC",
"display_name": "ICICI BANK",
"issuer_type": "CC_BANK",
"priority": 1,
"tenures": [
{
"tenure_id": "4",
"name": "12 Months",
"tenure_type": "MONTH",
"tenure_value": 12,
"issuer_offer_parameters": [
{
"program_type": "BANK_EMI",
"offer_id": "4473",
"offer_parameter_id": "221784"
},
{
"program_type": "MERCHANT_BANK_OFFER",
"offer_id": "4468",
"offer_parameter_id": "221674"
}
],
"details": [],
"discount": {
"discount_type": "INSTANT",
"percentage": 20,
"amount": {
"currency": "INR",
"value": 200000
},
"max_amount": {
"currency": "INR",
"value": 400000
}
},
"loan_amount": {
"currency": "INR",
"value": 800139
},
"auth_amount": {
"currency": "INR",
"value": 800139
},
"total_discount_amount": {
"currency": "INR",
"value": 200000
},
"net_payment_amount": {
"currency": "INR",
"value": 871128
},
"monthly_emi_amount": {
"currency": "INR",
"value": 72594
},
"total_emi_amount": {
"currency": "INR",
"value": 871128
},
"interest_amount": {
"currency": "INR",
"value": 70989
},
"interest_rate_percentage": 15.99,
"processing_fee_details": {
"percentage": 2
},
"total_down_payment_amount": {
"currency": "INR",
"value": 200000
},
"convenience_fee_breakdown": {
"fee_calculated_on_amount": {
"currency": "INR",
"value": 800000
},
"fee_amount": {
"currency": "INR",
"value": 108
},
"tax_amount": {
"currency": "INR",
"value": 21
},
"additional_fee_amount": {
"currency": "INR",
"value": 10
},
"maximum_fee_amount": {
"currency": "INR",
"value": 99999999
},
"applicable_fee_amount": {
"currency": "INR",
"value": 139
}
},
"emi_type": "STANDARD",
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 200000
}
}
},
{
"tenure_id": "3",
"name": "9 Months",
"tenure_type": "MONTH",
"tenure_value": 9,
"issuer_offer_parameters": [
{
"program_type": "BANK_EMI",
"offer_id": "4473",
"offer_parameter_id": "221784"
},
{
"program_type": "MERCHANT_BANK_OFFER",
"offer_id": "4468",
"offer_parameter_id": "221674"
}
],
"details": [],
"discount": {
"discount_type": "INSTANT",
"percentage": 20,
"amount": {
"currency": "INR",
"value": 200000
},
"max_amount": {
"currency": "INR",
"value": 400000
}
},
"loan_amount": {
"currency": "INR",
"value": 800139
},
"auth_amount": {
"currency": "INR",
"value": 800139
},
"total_discount_amount": {
"currency": "INR",
"value": 200000
},
"net_payment_amount": {
"currency": "INR",
"value": 828747
},
"monthly_emi_amount": {
"currency": "INR",
"value": 92083
},
"total_emi_amount": {
"currency": "INR",
"value": 828747
},
"interest_amount": {
"currency": "INR",
"value": 28608
},
"interest_rate_percentage": 8.5,
"processing_fee_details": {
"percentage": 0,
"amount": {
"currency": "INR",
"value": 20000
}
},
"total_down_payment_amount": {
"currency": "INR",
"value": 200000
},
"convenience_fee_breakdown": {
"fee_calculated_on_amount": {
"currency": "INR",
"value": 800000
},
"fee_amount": {
"currency": "INR",
"value": 108
},
"tax_amount": {
"currency": "INR",
"value": 21
},
"additional_fee_amount": {
"currency": "INR",
"value": 10
},
"maximum_fee_amount": {
"currency": "INR",
"value": 99999999
},
"applicable_fee_amount": {
"currency": "INR",
"value": 139
}
},
"emi_type": "STANDARD",
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 200000
}
}
},
{
"tenure_id": "6",
"name": "24 Months",
"tenure_type": "MONTH",
"tenure_value": 24,
"issuer_offer_parameters": [
{
"program_type": "BANK_EMI",
"offer_id": "4473",
"offer_parameter_id": "221784"
},
{
"program_type": "MERCHANT_BANK_OFFER",
"offer_id": "4468",
"offer_parameter_id": "221674"
}
],
"details": [],
"discount": {
"discount_type": "INSTANT",
"percentage": 20,
"amount": {
"currency": "INR",
"value": 200000
},
"max_amount": {
"currency": "INR",
"value": 400000
}
},
"loan_amount": {
"currency": "INR",
"value": 800139
},
"auth_amount": {
"currency": "INR",
"value": 800139
},
"total_discount_amount": {
"currency": "INR",
"value": 200000
},
"net_payment_amount": {
"currency": "INR",
"value": 940248
},
"monthly_emi_amount": {
"currency": "INR",
"value": 39177
},
"total_emi_amount": {
"currency": "INR",
"value": 940248
},
"interest_amount": {
"currency": "INR",
"value": 140109
},
"interest_rate_percentage": 16,
"processing_fee_details": {
"percentage": 0,
"amount": {
"currency": "INR",
"value": 20000
}
},
"total_down_payment_amount": {
"currency": "INR",
"value": 200000
},
"convenience_fee_breakdown": {
"fee_calculated_on_amount": {
"currency": "INR",
"value": 800000
},
"fee_amount": {
"currency": "INR",
"value": 108
},
"tax_amount": {
"currency": "INR",
"value": 21
},
"additional_fee_amount": {
"currency": "INR",
"value": 10
},
"maximum_fee_amount": {
"currency": "INR",
"value": 99999999
},
"applicable_fee_amount": {
"currency": "INR",
"value": 139
}
},
"emi_type": "STANDARD",
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 200000
}
}
},
{
"tenure_id": "12",
"name": "36 Months",
"tenure_type": "MONTH",
"tenure_value": 36,
"issuer_offer_parameters": [
{
"program_type": "BANK_EMI",
"offer_id": "4473",
"offer_parameter_id": "221784"
},
{
"program_type": "MERCHANT_BANK_OFFER",
"offer_id": "4468",
"offer_parameter_id": "221674"
}
],
"details": [],
"discount": {
"discount_type": "INSTANT",
"percentage": 20,
"amount": {
"currency": "INR",
"value": 200000
},
"max_amount": {
"currency": "INR",
"value": 400000
}
},
"loan_amount": {
"currency": "INR",
"value": 800139
},
"auth_amount": {
"currency": "INR",
"value": 800139
},
"total_discount_amount": {
"currency": "INR",
"value": 200000
},
"net_payment_amount": {
"currency": "INR",
"value": 1012572
},
"monthly_emi_amount": {
"currency": "INR",
"value": 28127
},
"total_emi_amount": {
"currency": "INR",
"value": 1012572
},
"interest_amount": {
"currency": "INR",
"value": 212433
},
"interest_rate_percentage": 15.99,
"processing_fee_details": {
"percentage": 0,
"amount": {
"currency": "INR",
"value": 19900
}
},
"total_down_payment_amount": {
"currency": "INR",
"value": 200000
},
"convenience_fee_breakdown": {
"fee_calculated_on_amount": {
"currency": "INR",
"value": 800000
},
"fee_amount": {
"currency": "INR",
"value": 108
},
"tax_amount": {
"currency": "INR",
"value": 21
},
"additional_fee_amount": {
"currency": "INR",
"value": 10
},
"maximum_fee_amount": {
"currency": "INR",
"value": 99999999
},
"applicable_fee_amount": {
"currency": "INR",
"value": 139
}
},
"emi_type": "STANDARD",
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 200000
}
}
},
{
"tenure_id": "1",
"name": "3 Months",
"tenure_type": "MONTH",
"tenure_value": 3,
"issuer_offer_parameters": [
{
"program_type": "BANK_EMI",
"offer_id": "4473",
"offer_parameter_id": "221784"
},
{
"program_type": "MERCHANT_BANK_OFFER",
"offer_id": "4468",
"offer_parameter_id": "221674"
}
],
"details": [],
"discount": {
"discount_type": "INSTANT",
"percentage": 20,
"amount": {
"currency": "INR",
"value": 200000
},
"max_amount": {
"currency": "INR",
"value": 400000
}
},
"loan_amount": {
"currency": "INR",
"value": 800139
},
"auth_amount": {
"currency": "INR",
"value": 800139
},
"total_discount_amount": {
"currency": "INR",
"value": 200000
},
"net_payment_amount": {
"currency": "INR",
"value": 821556
},
"monthly_emi_amount": {
"currency": "INR",
"value": 273852
},
"total_emi_amount": {
"currency": "INR",
"value": 821556
},
"interest_amount": {
"currency": "INR",
"value": 21417
},
"interest_rate_percentage": 15.99,
"processing_fee_details": {
"percentage": 0,
"amount": {
"currency": "INR",
"value": 19900
}
},
"total_down_payment_amount": {
"currency": "INR",
"value": 200000
},
"convenience_fee_breakdown": {
"fee_calculated_on_amount": {
"currency": "INR",
"value": 800000
},
"fee_amount": {
"currency": "INR",
"value": 108
},
"tax_amount": {
"currency": "INR",
"value": 21
},
"additional_fee_amount": {
"currency": "INR",
"value": 10
},
"maximum_fee_amount": {
"currency": "INR",
"value": 99999999
},
"applicable_fee_amount": {
"currency": "INR",
"value": 139
}
},
"emi_type": "STANDARD",
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 200000
}
}
},
{
"tenure_id": "2",
"name": "6 Months",
"tenure_type": "MONTH",
"tenure_value": 6,
"issuer_offer_parameters": [
{
"program_type": "BANK_EMI",
"offer_id": "4473",
"offer_parameter_id": "221784"
},
{
"program_type": "MERCHANT_BANK_OFFER",
"offer_id": "4468",
"offer_parameter_id": "221674"
}
],
"details": [],
"discount": {
"discount_type": "INSTANT",
"percentage": 20,
"amount": {
"currency": "INR",
"value": 200000
},
"max_amount": {
"currency": "INR",
"value": 400000
}
},
"loan_amount": {
"currency": "INR",
"value": 800139
},
"auth_amount": {
"currency": "INR",
"value": 800139
},
"total_discount_amount": {
"currency": "INR",
"value": 200000
},
"net_payment_amount": {
"currency": "INR",
"value": 837870
},
"monthly_emi_amount": {
"currency": "INR",
"value": 139645
},
"total_emi_amount": {
"currency": "INR",
"value": 837870
},
"interest_amount": {
"currency": "INR",
"value": 37731
},
"interest_rate_percentage": 15.99,
"processing_fee_details": {
"percentage": 0,
"amount": {
"currency": "INR",
"value": 19900
}
},
"total_down_payment_amount": {
"currency": "INR",
"value": 200000
},
"convenience_fee_breakdown": {
"fee_calculated_on_amount": {
"currency": "INR",
"value": 800000
},
"fee_amount": {
"currency": "INR",
"value": 108
},
"tax_amount": {
"currency": "INR",
"value": 21
},
"additional_fee_amount": {
"currency": "INR",
"value": 10
},
"maximum_fee_amount": {
"currency": "INR",
"value": 99999999
},
"applicable_fee_amount": {
"currency": "INR",
"value": 139
}
},
"emi_type": "STANDARD",
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 200000
}
}
},
{
"tenure_id": "5",
"name": "18 Months",
"tenure_type": "MONTH",
"tenure_value": 18,
"issuer_offer_parameters": [
{
"program_type": "BANK_EMI",
"offer_id": "4473",
"offer_parameter_id": "221784"
},
{
"program_type": "MERCHANT_BANK_OFFER",
"offer_id": "4468",
"offer_parameter_id": "221674"
}
],
"details": [],
"discount": {
"discount_type": "INSTANT",
"percentage": 20,
"amount": {
"currency": "INR",
"value": 200000
},
"max_amount": {
"currency": "INR",
"value": 400000
}
},
"loan_amount": {
"currency": "INR",
"value": 800139
},
"auth_amount": {
"currency": "INR",
"value": 800139
},
"total_discount_amount": {
"currency": "INR",
"value": 200000
},
"net_payment_amount": {
"currency": "INR",
"value": 905220
},
"monthly_emi_amount": {
"currency": "INR",
"value": 50290
},
"total_emi_amount": {
"currency": "INR",
"value": 905220
},
"interest_amount": {
"currency": "INR",
"value": 105081
},
"interest_rate_percentage": 15.99,
"processing_fee_details": {
"percentage": 0,
"amount": {
"currency": "INR",
"value": 19900
}
},
"total_down_payment_amount": {
"currency": "INR",
"value": 200000
},
"convenience_fee_breakdown": {
"fee_calculated_on_amount": {
"currency": "INR",
"value": 800000
},
"fee_amount": {
"currency": "INR",
"value": 108
},
"tax_amount": {
"currency": "INR",
"value": 21
},
"additional_fee_amount": {
"currency": "INR",
"value": 10
},
"maximum_fee_amount": {
"currency": "INR",
"value": 99999999
},
"applicable_fee_amount": {
"currency": "INR",
"value": 139
}
},
"emi_type": "STANDARD",
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 200000
}
}
}
],
"issuer_data": {
"otp_length": 6,
"otp_time_in_sec": 30,
"otp_retry_count": 3,
"is_consent_page_required": true,
"consent_data": "<div classname=concent-container><div classname=concentTitle>Consent Clause :</div><div classname=concentSection><div classname=concentText>I/We hereby expressly authorize and give consent to ICICI Bank to, disclose, transfer or part with any of my/our information, (including location), or any other device information when ICICI Bank considers such disclosure as necessary, with:{' '}</div></div><div classname=concentSection><div classname=concentText>A. Agents of ICICI Bank, ICICI Bank's group entities/in any jurisdiction;</div><div classname=concentText>B. Auditors, credit rating agencies/credit bureaus, statutory/regulatory authorities, governmental/administrative authorities, Central Know Your Customer (CKYC) registry or SEBI Know Your Client registration agency, having jurisdiction over ICICI Bank or its group entities;{' '}</div><div classname=concentText>{' '} C. Service providers, or such person with whom ICICI Bank contracts or proposes to contract; (Collectively referred to as “Permitted Persons”){' '}</div></div><div classname=concentSection><div classname=concentText>For the purposes of:</div><div classname=concentText>1. Provision of the facility and completion of on-boarding formalities; or{' '}</div><div classname=concentText>2. Complying with KYC requirements; or{' '}</div><div classname=concentText>{' '} 3. Compliance with applicable laws or any order (judicial or otherwise), statutory/regulatory requirement; or{' '}</div><div classname=concentText>{' '} 4. For credit review of facilities availed; or{' '}</div><div classname=concentText>5. Authentication or verification; or{' '}</div><div classname=concentText>6. Research or analysis, credit reporting & scoring, risk management, participation in any telecommunication; or{' '}</div><div classname=concentText>7. Electronic clearing network and for use or processing of the said information/data.{' '}</div><div classname=concentText>{' '} 8. Disclosing any default in payment, for the purposes of recovering such amounts.{' '}</div></div><div classname=concentText>D. For detailed Privacy Policy of the ICICI bank, please visit{' '} <a classname=concent-doc-link href=https://www.icicibank.com/privacy.page rel=noreferrer target=_blank><u>https://www.icicibank.com/privacy.page</u></a></div></div>",
"terms_and_conditions": "Sample TNC",
"show_key_fact_statement": false,
"auth_type": "OTP",
"is_tokenized_transaction_supported": true,
"pan_number_last_digit_count": 3
}
}
]
}
Click here for request and response parameter information.
The table below lists the request parameters of our Offer Discovery API.
| Parameter | Type | Description |
|---|---|---|
| order_amount required | object |
An object that contains the transaction amount details. Learn more about our order_amount child object.
|
| issuer | object |
An object that contains the issuer details. Learn more about our issuer child object.
|
| downpayment_details required | object |
An object that contains the downpayment details. Learn more about our downpayment_details child object.
|
Order Amount [Child Object]
The table below lists the various parameters in the order_amount child object. This object is part of the Offer Discovery API request object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer |
The transaction amount in Paisa.
100
|
| currency required | string |
Type of currency. Example: INR
|
Issuer [Child Object]
The table below lists the various parameters in the issuer child object. This object is part of the Offer Discovery API request object.
| Parameter | Type | Description |
|---|---|---|
| bin | string |
Bank Identification Number, First 8 digits of your Card. Has to be 8 digits. Example: 12345678Note: Passing the card information will filter the results based on the specific BIN (Bank Identification Number). |
| id | string |
Mandatory for EMI with Downpayment Unique Identifier of the issuer. Example: 1
|
| name | string |
Mandatory for EMI with Downpayment Name of the issuer. Example: HDFC
|
| issuer_type | string |
Mandatory for EMI with Downpayment The category of the issuer. Example: CARDLESS_BANKAccepted values:
|
Downpayment Details [Child Object]
The table below lists the various parameters in the downpayment_details child object. This object is part of the Offer Discovery API request object.
| Parameter | Type | Description |
|---|---|---|
| downpayment_amount | object |
An object that contains the downpayment amount details. Learn more about our downpayment_amount child object.
|
Downpayment Amount [Child Object]
The table below lists the various parameters in the downpayment_amount child object. This object is part of the downpayment_details object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer |
The transaction amount in Paisa.
100
|
| currency required | string |
Type of currency. Example: INR
|
The table below lists the various parameters returned in the offer discovery bank emi response object.
| Parameter | Type | Description |
|---|---|---|
| id | String |
Unique identifier of the issuer id in the Pine Labs database. Example: 23 |
| name | String |
Name of the Issuer. Example: INDUSIND CC |
| display_name | string |
Name of the issuer offering the offer. Example: INDUSIND |
| issuer_type | String |
The type of the Issuer offering the offer. Accepted values:
|
| priority | integer |
The priority of the issuer providing the offer. Example: 1 |
| tenures | array of objects |
An array of objects that contains the tenures details. Learn more about the tenures child object. |
| issuer_data | objects |
An object that contains the issuer data details. Learn more about the issuer_data child object. |
Tenures [Child Object]
The table below lists the various parameters in the tenures object. This is part of the offer discovery Bank EMI response object.
| Parameter | Type | Description |
|---|---|---|
| tenure_id | String |
Tenure id in the Pine Labs database. Example: 1 |
| name | String |
The name of the Issuer offering the offer. Example: 3 Months |
| tenure_type | String |
The type of the Tenure. Accepted values:
|
| tenure_value | integer |
The value of the tenure. Example: 3 |
| issuer_offer_parameters | array of objects |
An array of objects that contains the issuer_offer_parameters details.Learn more about the issuer_offer_parameters child object. |
| details | array of objects |
An array of objects that contains the product details.Learn more about the details child object. |
| discount | object |
An object that contains the discount details. Learn more about the discount child object. |
| loan_amount | object |
An object that contains the loan amount details. Learn more about the loan_amount child object. |
| total_discount_amount | object |
An object that contains the total discount amount details. Learn more about the total_discount_amount child object. |
| net_payment_amount | object |
An object that contains the net payment amount details. Learn more about the net_payment_amount child object. |
| monthly_emi_amount | object |
An object that contains the monthly EMI amount details. Learn more about the monthly_emi_amount child object. |
| total_emi_amount | object |
An object that contains the total EMI amount details. Learn more about the total_emi_amount child object. |
| interest_amount | object |
An object that contains the interest amount details. Learn more about the interest_amount child object. |
| total_subvention_amount | object |
An object that contains the total subvention amount details. Learn more about the total_subvention_amount child object. |
| interest_rate_percentage | float |
Interest rate percentage for the tenure. Example: 16.90 |
| processing_fee_details | object |
An object that contains the processing fee details. Learn more about the processing_fee_details child object. |
| convenience_fee_breakdown | object |
An object that contains the convenience fee breakdown details. Learn more about our convenience_fee_breakdown child object. |
| cart_coupon_discount_amount | object |
An object that contains the cart coupon discount amount details. Learn more about our cart_coupon_discount_amount child object. |
| total_coupon_discount | object |
An object that contains the total coupon discount details. Learn more about our total_coupon_discount child object. |
| downpayment_details | object |
An object that contains the downpayment details. Learn more about our downpayment_details child object.
|
| emi_type | strings |
Type of EMI. Example: STANDARDAccepted values:
|
Issuer Offer Parameters [Child Object]
The table below lists the various parameters in the issuer_offer_parameters child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| program_type | String |
Unique identifier of the issuer id in the Pine Labs database. Example: 23 |
| offer_id | String |
Name of the Issuer. Example: INDUSIND CC |
| offer_parameter_id | String |
The type of the Issuer offering the offer. Accepted values:
|
Details [Child Object]
The table below lists the various parameters in the details child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| product_code | String |
Unique Product identifier of the product. Example: redmi_1 |
| product_display_name | string |
Name of the Product. Example: Oneplus 13R |
| brand_id | String |
Unique brand identifier of the product. Example: 3 |
| product_offer_parameters | array of objects |
An array of objects that contains the product offer schemes for the product EMI details. Learn more about the product_offer_parameters child object. |
| product_amount | object |
An object that contains the product amount details. Learn more about the product_amount child object. |
| product_coupon_discount_amount | object |
An object that contains the product coupon discount amount details. Learn more about the product_coupon_discount_amount child object. |
| subvention | object |
An object that contains the subvention details. Learn more about the subvention child object. |
| discount | object |
An object that contains the product discount details. Learn more about the discount child object. |
| brand_name | string |
Name of the Brand. Example: Oneplus |
| interest_amount | object |
An object that contains the interest amount details. Learn more about the interest_amount child object. |
| interest_rate | double |
Rate of interest applied on the product. Example: 2 |
| cart_coupon_discount_product_share | object |
An object that contains the cart coupon discount product share details. Learn more about the cart_coupon_discount_product_share child object. |
Product Offer Parameters [Child Object]
The table below lists the various parameters in the product_offer_parameters child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| program_type | String |
Type of the Program. Example: BRAND_EMIAccepted values:
|
| offer_id | string |
Unique identifier of the offer. Example: 309 |
| offer_parameter_id | string |
Unique offer parameter identifier. Example: 20 |
Product Amount [Child Object]
The table below lists the various parameters in the product_amount child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount in Paisa.
1000 |
Product Coupon Discount Amount [Child Object]
The table below lists the various parameters in the product_coupon_discount_amount child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount in Paisa.
1000 |
Subvention [Child Object]
The table below lists the various parameters in the subvention child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| subvention_type | String |
Type of subvention. Example: INSTANTAccepted values:
|
| offer_type | string |
Type of the offer. Accepted values:
|
| percentage | integer |
Transaction amount is Paisa.
1000 |
| amount | object |
An object that contains the subvention amount details. Learn more about the amount child object. |
| breakup | object |
An object that contains the subvention breakup details. Learn more about the breakup child object. |
| max_amount | object |
An object that contains the maximum subvention amount details. Learn more about the max_amount child object. |
| min_amount | object |
An object that contains the minimum subvention amount details. Learn more about the min_amount child object. |
Amount [Child Object]
The table below lists the various parameters in the amount child object. This is part of the subvention object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Breakup [Child Object]
The table below lists the various parameters in the breakup child object. This is part of the subvention object.
| Parameter | Type | Description |
|---|---|---|
| brand | object |
An object that contains the breakup details of the brand. Learn more about the brand child object. |
Brand [Child Object]
The table below lists the various parameters in the brand child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| amount | object |
An object that contains the breakup amount details of the brand. Learn more about the amount child object. |
Amount [Child Object]
The table below lists the various parameters in the amount child object. This is part of the brand object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Max Amount [Child Object]
The table below lists the various parameters in the max_amount child object. This is part of the subvention object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Min Amount [Child Object]
The table below lists the various parameters in the min_amount child object. This is part of the subvention object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Discount [Child Object]
The table below lists the various parameters in the discount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| discount_type | String |
Type of discount. Possible values:
|
| discount_string | string |
The additional discount provided by the offering entity after a specific period. Example: 1000 |
| percentage | Double |
The discount percentage provided by the offering entity. Example: 16.90 |
| amount | string |
Discount amount. Example: 2000 |
| max_amount | object |
An object that contains the maximum discount amount details. Learn more about the max_amount child object. |
| min_amount | object |
An object that contains the minimum discount amount details. Learn more about the min_amount child object. |
| discount_deferred_duration_value | integer |
The duration value for the deferred discount. Example: |
| discount_deferred_duration_type | string |
Discount duration type deferred. Possible values:
|
| breakup | object |
An object that contains the product offer details with breakup. Learn more about the breakup child object. |
Max Amount [Child Object]
The table below lists the various parameters in the max_amount child object. This is part of the discount object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Min Amount [Child Object]
The table below lists the various parameters in the min_amount child object. This is part of the discount object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Breakup [Child Object]
The table below lists the various parameters in the breakup child object. This is part of the discount object.
| Parameter | Type | Description |
|---|---|---|
| merchant | object |
An object that contains the merchant breakup details. Learn more about the merchant child object. |
| issuer | object |
An object that contains the issuer breakup details. Learn more about the issuer child object. |
| brand | object |
An object that contains the brand breakup details. Learn more about the brand child object. |
| dealer | object |
An object that contains the dealer breakup details. Learn more about the dealer child object. |
Merchant [Child Object]
The table below lists the various parameters in the merchant child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| amount | object |
An object that contains the breakup amount details. Learn more about the amount child object. |
Issuer [Child Object]
The table below lists the various parameters in the issuer child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| amount | object |
An object that contains the breakup amount details. Learn more about the amount child object. |
Brand [Child Object]
The table below lists the various parameters in the brand child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| amount | object |
An object that contains the breakup amount details. Learn more about the amount child object. |
Dealer [Child Object]
The table below lists the various parameters in the dealer child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| amount | object |
An object that contains the breakup amount details. Learn more about the amount child object. |
Amount [Child Object]
The table below lists the various parameters in the amount child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Interest Amount [Child Object]
The table below lists the various parameters in the interest_amount child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Cart Coupon Discount Product Share [Child Object]
The table below lists the various parameters in the cart_coupon_discount_product_share child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Loan Amount [Child Object]
The table below lists the various parameters in the loan_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Total Discount Amount [Child Object]
The table below lists the various parameters in the total_discount_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Net Payment Amount [Child Object]
The table below lists the various parameters in the net_payment_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Monthly EMI Amount [Child Object]
The table below lists the various parameters in the monthly_emi_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Total EMI Amount [Child Object]
The table below lists the various parameters in the total_emi_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Interest Amount [Child Object]
The table below lists the various parameters in the interest_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Total Subvention Amount [Child Object]
The table below lists the various parameters in the total_subvention_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Processing Fee Details [Child Object]
The table below lists the various parameters in the processing_fee_details child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Convenience Fee Breakdown [Child Object]
The table below lists the various parameters in the convenience_fee_breakdown child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| fee_calculated_on_amount | object |
An object that contains the fee calculation amount details. Learn more about the fee_calculated_on_amount child object. |
| fee_amount | object |
An object that contains the fee amount details. Learn more about the fee_amount child object. |
| tax_amount | object |
An object that contains the tax amount details. Learn more about the tax_amount child object. |
| additional_fee_amount | object |
An object that contains the additional fee amount details. Learn more about the additional_fee_amount child object. |
| maximum_fee_amount | object |
An object that contains the maximum fee amount details. Learn more about the maximum_fee_amount child object. |
| applicable_fee_amount | object |
An object that contains the applicable fee amount details. Learn more about the applicable_fee_amount child object. |
| subvented_fee_amount | object |
An object that contains the subvented fee amount details. Learn more about the subvented_fee_amount child object. |
Fee Calculated on Amount [Child Object]
The table below lists the various parameters in the fee_calculated_on_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Fee Amount [Child Object]
The table below lists the various parameters in the fee_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Tax Amount [Child Object]
The table below lists the various parameters in the tax_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Additional Fee Amount [Child Object]
The table below lists the various parameters in the additional_fee_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Maximum Fee Amount [Child Object]
The table below lists the various parameters in the maximum_fee_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Applicable Fee Amount [Child Object]
The table below lists the various parameters in the applicable_fee_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Subvented Fee Amount [Child Object]
The table below lists the various parameters in the subvented_fee_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Cart Coupon Discount Amount [Child Object]
The table below lists the various parameters in the cart_coupon_discount_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Total Coupon Discount [Child Object]
The table below lists the various parameters in the total_coupon_discount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Downpayment Details [Child Object]
The table below lists the various parameters in the downpayment_details child object. This object is part of the Offer Discovery API request object.
| Parameter | Type | Description |
|---|---|---|
| downpayment_amount | object |
An object that contains the downpayment amount details. Learn more about our downpayment_amount child object.
|
Downpayment Amount [Child Object]
The table below lists the various parameters in the downpayment_amount child object. This object is part of the downpayment_details object.
| Parameter | Type | Description |
|---|---|---|
| value | integer |
The transaction amount in Paisa.
100
|
| currency | string |
Type of currency. Example: INR
|
Issuer Data [Child Object]
The table below lists the various parameters in the issuer_data object. This is part of the offer discovery response object.
| Parameter | Type | Description |
|---|---|---|
| otp_length | integer |
Length of the OTP. Example: 4 |
| otp_time_in_sec | integer |
OTP validity time in seconds. Example: 120 |
| otp_retry_count | integer |
Maximum OTP retry count. Example: |
| is_consent_page_required | Boolean |
Status of the required consent page.
|
| consent_data | String |
Transaction consent data. Example: |
| terms_and_conditions | String |
Transaction terms and conditions. Example: |
| show_key_fact_statement | Boolean |
Key fact statement status.
|
| auth_type | String |
Authentication type. Accepted values:
|
| penny_transaction_amount | string |
Applicable amount for penny transaction. Example: 100 |
| is_tokenized_transaction_supported | Boolean |
Tokenized transactions support status.
|
| pan_number_last_digit_count | String |
Last digit count of PAN. |
| offer_validation_parameters_required | String |
Parameters required in offer validation API. |
3.2. Downpayment Brand EMI
Use the payload below to specifically retrieve available Bank EMI offers.
Below are the sample requests and response for the Offer Discovery API.
curl --request POST \
--url https://pluraluat.v2.pinepg.in/api/affordability/v1/offer/discovery \
--header 'Authorization: Bearer' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"order_amount": {
"currency": "INR",
"value": 1200000
},
"product_details": [
{
"product_code": "xyz",
"product_amount": {
"currency": "INR",
"value": 1200000
},
"product_coupon_discount_amount": {
"currency": "INR",
"value": 12000
}
}
],
"cart_coupon_discount_amount": {
"currency": "INR",
"value": 1200000
},
"issuer": {
"bin": "37693000",
"id": "1",
"name": "ICICI CC",
"issuer_type": "CC_BANK"
},
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 20000
}
}
}
'
curl --request POST \
--url https://api.pluralpay.in/api/affordability/v1/offer/discovery \
--header 'Authorization: Bearer' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"order_amount": {
"currency": "INR",
"value": 1200000
},
"product_details": [
{
"product_code": "xyz",
"product_amount": {
"currency": "INR",
"value": 1200000
},
"product_coupon_discount_amount": {
"currency": "INR",
"value": 12000
}
}
],
"cart_coupon_discount_amount": {
"currency": "INR",
"value": 1200000
},
"issuer": {
"bin": "37693000",
"id": "1",
"name": "ICICI CC",
"issuer_type": "CC_BANK"
},
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 20000
}
}
}
'
{
"issuers": [
{
"id": "1",
"name": "ICICI CC",
"display_name": "ICICI BANK",
"issuer_type": "CC_BANK",
"priority": 1,
"tenures": [
{
"tenure_id": "12",
"name": "36 Months",
"tenure_type": "MONTH",
"tenure_value": 36,
"issuer_offer_parameters": [
{
"program_type": "BANK_EMI",
"offer_id": "4473",
"offer_parameter_id": "221784"
},
{
"program_type": "MERCHANT_BANK_OFFER",
"offer_id": "4468",
"offer_parameter_id": "221674"
}
],
"details": [
{
"product_code": "xyz",
"product_display_name": "Redmi Note 13 5G",
"brand_id": "3",
"brand_name": "Xiaomi",
"product_amount": {
"currency": "INR",
"value": 1200000
},
"product_coupon_discount_amount": {
"currency": "INR",
"value": 12000
},
"interest_amount": {
"currency": "INR",
"value": 51
},
"interest_rate": 15.99,
"cart_coupon_discount_product_share": {
"currency": "INR",
"value": 1200000
}
}
],
"loan_amount": {
"currency": "INR",
"value": 129
},
"auth_amount": {
"currency": "INR",
"value": 129
},
"net_payment_amount": {
"currency": "INR",
"value": 180
},
"monthly_emi_amount": {
"currency": "INR",
"value": 5
},
"total_emi_amount": {
"currency": "INR",
"value": 180
},
"interest_amount": {
"currency": "INR",
"value": 51
},
"interest_rate_percentage": 15.99,
"processing_fee_details": {
"percentage": 0,
"amount": {
"currency": "INR",
"value": 19900
}
},
"total_down_payment_amount": {
"currency": "INR",
"value": 20000
},
"convenience_fee_breakdown": {
"fee_calculated_on_amount": {
"currency": "INR",
"value": 0
},
"fee_amount": {
"currency": "INR",
"value": 100
},
"tax_amount": {
"currency": "INR",
"value": 19
},
"additional_fee_amount": {
"currency": "INR",
"value": 10
},
"maximum_fee_amount": {
"currency": "INR",
"value": 99999999
},
"applicable_fee_amount": {
"currency": "INR",
"value": 129
}
},
"cart_coupon_discount_amount": {
"currency": "INR",
"value": 1200000
},
"emi_type": "STANDARD",
"total_coupon_discount": {
"currency": "INR",
"value": 1212000
},
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 20000
}
}
}
],
"issuer_data": {
"otp_length": 6,
"otp_time_in_sec": 30,
"otp_retry_count": 3,
"is_consent_page_required": true,
"consent_data": "<div classname=concent-container><div classname=concentTitle>Consent Clause :</div><div classname=concentSection><div classname=concentText>I/We hereby expressly authorize and give consent to ICICI Bank to, disclose, transfer or part with any of my/our information, (including location), or any other device information when ICICI Bank considers such disclosure as necessary, with:{' '}</div></div><div classname=concentSection><div classname=concentText>A. Agents of ICICI Bank, ICICI Bank's group entities/in any jurisdiction;</div><div classname=concentText>B. Auditors, credit rating agencies/credit bureaus, statutory/regulatory authorities, governmental/administrative authorities, Central Know Your Customer (CKYC) registry or SEBI Know Your Client registration agency, having jurisdiction over ICICI Bank or its group entities;{' '}</div><div classname=concentText>{' '} C. Service providers, or such person with whom ICICI Bank contracts or proposes to contract; (Collectively referred to as “Permitted Persons”){' '}</div></div><div classname=concentSection><div classname=concentText>For the purposes of:</div><div classname=concentText>1. Provision of the facility and completion of on-boarding formalities; or{' '}</div><div classname=concentText>2. Complying with KYC requirements; or{' '}</div><div classname=concentText>{' '} 3. Compliance with applicable laws or any order (judicial or otherwise), statutory/regulatory requirement; or{' '}</div><div classname=concentText>{' '} 4. For credit review of facilities availed; or{' '}</div><div classname=concentText>5. Authentication or verification; or{' '}</div><div classname=concentText>6. Research or analysis, credit reporting & scoring, risk management, participation in any telecommunication; or{' '}</div><div classname=concentText>7. Electronic clearing network and for use or processing of the said information/data.{' '}</div><div classname=concentText>{' '} 8. Disclosing any default in payment, for the purposes of recovering such amounts.{' '}</div></div><div classname=concentText>D. For detailed Privacy Policy of the ICICI bank, please visit{' '} <a classname=concent-doc-link href=https://www.icicibank.com/privacy.page rel=noreferrer target=_blank><u>https://www.icicibank.com/privacy.page</u></a></div></div>",
"terms_and_conditions": "Sample TNC",
"show_key_fact_statement": false,
"auth_type": "OTP",
"is_tokenized_transaction_supported": true,
"pan_number_last_digit_count": 3
}
}
]
}
Click here for request and response parameter information.
The table below lists the request parameters of our Offer Discovery API.
| Parameter | Type | Description |
|---|---|---|
| order_amount required | object |
An object that contains the transaction amount details. Learn more about our order_amount child object. |
| product_details required | object |
An object that contains product details. Learn more about our product_details child object. |
| cart_coupon_discount_amount | object |
An object that contains the cart coupon discount details. Learn more about our cart_coupon_discount_amount child object. |
| issuer required | object |
An object that contains the issuer details. Learn more about our issuer child object. |
| downpayment_details required | object |
An object that contains the down payment details. Learn more about our cart_coupon_discount_amount child object. |
Order Amount [Child Object]
The table below lists the various parameters in the order_amount child object. This object is part of the offer Discovery Brand EMI sample request object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer |
Transaction amount is Paisa.
1000 |
| currency required | string |
Type of currency. Example: INR |
Product Details [Child Object]
The table below lists the various parameters in the product_details child object. This is part of the offer Discovery Brand EMI sample request object.
| Parameter | Type | Description |
|---|---|---|
| product_code required | String |
Unique Product identifier of the product. Example: redmi_1 |
| product_amount required | object |
An object that contains the product amount details. Learn more about the product_amount child object. |
| product_coupon_discount_amount | object |
An object that contains the product coupon discount details. Learn more about the product_coupon_discount_amount child object. |
Product Amount [Child Object]
The table below lists the various parameters in the product_amount child object. This object is part of the product_details object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer |
Transaction amount is Paisa.
1000 |
| currency required | string |
Type of currency. Example: INR |
Product Coupon Discount Amount [Child Object]
The table below lists the various parameters in the product_coupon_discount_amount child object. This object is part of the product_details object.
| Parameter | Type | Description |
|---|---|---|
| value | integer |
Transaction amount is Paisa.
1000 |
| currency | string |
Type of currency. Example: INR |
Cart Coupon Discount Amount [Child Object]
The table below lists the various parameters in the cart_coupon_discount_amount child object. This object is part of the offer Discovery Brand EMI sample request object.
| Parameter | Type | Description |
|---|---|---|
| value | integer |
Transaction amount is Paisa.
1000 |
| currency | string |
Type of currency. Example: INR |
Issuer [Child Object]
The table below lists the various parameters in the issuer child object. This object is part of the Offer Discovery API request object.
| Parameter | Type | Description |
|---|---|---|
| bin | string |
Bank Identification Number, First 8 digits of your Card. Has to be 8 digits. Example: 12345678Note: Passing the card information will filter the results based on the specific BIN (Bank Identification Number). |
| id | string |
Mandatory for EMI with Downpayment Unique Identifier of the issuer. Example: 1
|
| name | string |
Mandatory for EMI with Downpayment Name of the issuer. Example: HDFC
|
| issuer_type | string |
Mandatory for EMI with Downpayment The category of the issuer. Example: CARDLESS_BANKAccepted values:
|
Downpayment Details [Child Object]
The table below lists the various parameters in the downpayment_details child object. This object is part of the Offer Discovery API request object.
| Parameter | Type | Description |
|---|---|---|
| downpayment_amount required | object |
An object that contains the downpayment amount details. Learn more about our downpayment_amount child object.
|
Downpayment Amount [Child Object]
The table below lists the various parameters in the downpayment_amount child object. This object is part of the downpayment_details object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer |
The transaction amount in Paisa.
100
|
| currency required | string |
Type of currency. Example: INR
|
The table below lists the various parameters returned in the offer discovery brand emi response object.
| Parameter | Type | Description |
|---|---|---|
| id | String |
Unique identifier of the issuer id in the Pine Labs database. Example: 23 |
| name | String |
Name of the Issuer. Example: INDUSIND CC |
| display_name | string |
Name of the issuer offering the offer. Example: INDUSIND |
| issuer_type | String |
The type of the Issuer offering the offer. Accepted values:
|
| priority | integer |
The priority of the issuer providing the offer. Example: 1 |
| tenures | array of objects |
An array of objects that contains the tenures details. Learn more about the tenures child object. |
| issuer_data | objects |
An object that contains the issuer data details. Learn more about the issuer_data child object. |
Tenures [Child Object]
The table below lists the various parameters in the tenures object. This is part of the offer discovery response object.
| Parameter | Type | Description |
|---|---|---|
| tenure_id | String |
Tenure id in the Pine Labs database. Example: 1 |
| name | String |
The name of the Issuer offering the offer. Example: 3 Months |
| tenure_type | String |
The type of the Tenure. Accepted values:
|
| tenure_value | integer |
The value of the tenure. Example: 3 |
| issuer_offer_parameters | array of objects |
An array of objects that contains the issuer_offer_parameters details.Learn more about the issuer_offer_parameters child object. |
| details | array of objects |
An array of objects that contains the product details.Learn more about the details child object. |
| discount | object |
An object that contains the discount details. Learn more about the discount child object. |
| loan_amount | object |
An object that contains the loan amount details. Learn more about the loan_amount child object. |
| total_discount_amount | object |
An object that contains the total discount amount details. Learn more about the total_discount_amount child object. |
| net_payment_amount | object |
An object that contains the net payment amount details. Learn more about the net_payment_amount child object. |
| monthly_emi_amount | object |
An object that contains the monthly EMI amount details. Learn more about the monthly_emi_amount child object. |
| total_emi_amount | object |
An object that contains the total EMI amount details. Learn more about the total_emi_amount child object. |
| interest_amount | object |
An object that contains the interest amount details. Learn more about the interest_amount child object. |
| total_subvention_amount | object |
An object that contains the total subvention amount details. Learn more about the total_subvention_amount child object. |
| interest_rate_percentage | float |
Interest rate percentage for the tenure. Example: 16.90 |
| processing_fee_details | object |
An object that contains the processing fee details. Learn more about the processing_fee_details child object. |
| convenience_fee_breakdown | object |
An object that contains the convenience fee breakdown details. Learn more about our convenience_fee_breakdown child object. |
| cart_coupon_discount_amount | object |
An object that contains the cart coupon discount amount details. Learn more about our cart_coupon_discount_amount child object. |
| total_coupon_discount | object |
An object that contains the total coupon discount details. Learn more about our total_coupon_discount child object. |
| downpayment_details | object |
An object that contains the downpayment details. Learn more about our total_coupon_discount child object. |
| emi_type | strings |
Type of EMI. Example: STANDARDAccepted values:
|
Issuer Offer Parameters [Child Object]
The table below lists the various parameters in the issuer_offer_parameters child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| program_type | String |
Unique identifier of the issuer id in the Pine Labs database. Example: 23 |
| offer_id | String |
Name of the Issuer. Example: INDUSIND CC |
| offer_parameter_id | String |
The type of the Issuer offering the offer. Accepted values:
|
Details [Child Object]
The table below lists the various parameters in the details child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| product_code | String |
Unique Product identifier of the product. Example: redmi_1 |
| product_display_name | string |
Name of the Product. Example: Oneplus 13R |
| brand_id | String |
Unique brand identifier of the product. Example: 3 |
| product_offer_parameters | array of objects |
An array of objects that contains the product offer schemes for the product EMI details. Learn more about the product_offer_parameters child object. |
| product_amount | object |
An object that contains the product amount details. Learn more about the product_amount child object. |
| product_coupon_discount_amount | object |
An object that contains the product coupon discount amount details. Learn more about the product_coupon_discount_amount child object. |
| subvention | object |
An object that contains the subvention details. Learn more about the subvention child object. |
| discount | object |
An object that contains the product discount details. Learn more about the discount child object. |
| brand_name | string |
Name of the Brand. Example: Oneplus |
| interest_amount | object |
An object that contains the interest amount details. Learn more about the interest_amount child object. |
| interest_rate | double |
Rate of interest applied on the product. Example: 2 |
| cart_coupon_discount_product_share | object |
An object that contains the cart coupon discount product share details. Learn more about the cart_coupon_discount_product_share child object. |
| downpayment_amount | object |
An object that contains the downpayment amount details. Learn more about the downpayment_amount child object. |
| after_downpayment_reduced_product_amount | object |
An object that contains the product coupon discount details. Learn more about the after_downpayment_reduced_product_amount child object. |
Product Offer Parameters [Child Object]
The table below lists the various parameters in the product_offer_parameters child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| program_type | String |
Type of the Program. Example: BRAND_EMIAccepted values:
|
| offer_id | string |
Unique identifier of the offer. Example: 309 |
| offer_parameter_id | string |
Unique offer parameter identifier. Example: 20 |
Product Amount [Child Object]
The table below lists the various parameters in the product_amount child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount in Paisa.
1000 |
Product Coupon Discount Amount [Child Object]
The table below lists the various parameters in the product_coupon_discount_amount child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount in Paisa.
1000 |
Subvention [Child Object]
The table below lists the various parameters in the subvention child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| subvention_type | String |
Type of subvention. Example: INSTANTAccepted values:
|
| offer_type | string |
Type of the offer. Accepted values:
|
| percentage | integer |
Transaction amount is Paisa.
1000 |
| amount | object |
An object that contains the subvention amount details. Learn more about the amount child object. |
| breakup | object |
An object that contains the subvention breakup details. Learn more about the breakup child object. |
| max_amount | object |
An object that contains the maximum subvention amount details. Learn more about the max_amount child object. |
| min_amount | object |
An object that contains the minimum subvention amount details. Learn more about the min_amount child object. |
Amount [Child Object]
The table below lists the various parameters in the amount child object. This is part of the subvention object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Breakup [Child Object]
The table below lists the various parameters in the breakup child object. This is part of the subvention object.
| Parameter | Type | Description |
|---|---|---|
| brand | object |
An object that contains the breakup details of the brand. Learn more about the brand child object. |
Brand [Child Object]
The table below lists the various parameters in the brand child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| amount | object |
An object that contains the breakup amount details of the brand. Learn more about the amount child object. |
Amount [Child Object]
The table below lists the various parameters in the amount child object. This is part of the brand object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Max Amount [Child Object]
The table below lists the various parameters in the max_amount child object. This is part of the subvention object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Min Amount [Child Object]
The table below lists the various parameters in the min_amount child object. This is part of the subvention object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Discount [Child Object]
The table below lists the various parameters in the discount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| discount_type | String |
Type of discount. Possible values:
|
| discount_string | string |
The additional discount provided by the offering entity after a specific period. Example: 1000 |
| percentage | Double |
The discount percentage provided by the offering entity. Example: 16.90 |
| amount | string |
Discount amount. Example: 2000 |
| max_amount | object |
An object that contains the maximum discount amount details. Learn more about the max_amount child object. |
| min_amount | object |
An object that contains the minimum discount amount details. Learn more about the min_amount child object. |
| discount_deferred_duration_value | integer |
The duration value for the deferred discount. Example: |
| discount_deferred_duration_type | string |
Discount duration type deferred. Possible values:
|
| breakup | object |
An object that contains the product offer details with breakup. Learn more about the breakup child object. |
Max Amount [Child Object]
The table below lists the various parameters in the max_amount child object. This is part of the discount object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Min Amount [Child Object]
The table below lists the various parameters in the min_amount child object. This is part of the discount object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Breakup [Child Object]
The table below lists the various parameters in the breakup child object. This is part of the discount object.
| Parameter | Type | Description |
|---|---|---|
| merchant | object |
An object that contains the merchant breakup details. Learn more about the merchant child object. |
| issuer | object |
An object that contains the issuer breakup details. Learn more about the issuer child object. |
| brand | object |
An object that contains the brand breakup details. Learn more about the brand child object. |
| dealer | object |
An object that contains the dealer breakup details. Learn more about the dealer child object. |
Merchant [Child Object]
The table below lists the various parameters in the merchant child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| amount | object |
An object that contains the breakup amount details. Learn more about the amount child object. |
Issuer [Child Object]
The table below lists the various parameters in the issuer child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| amount | object |
An object that contains the breakup amount details. Learn more about the amount child object. |
Brand [Child Object]
The table below lists the various parameters in the brand child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| amount | object |
An object that contains the breakup amount details. Learn more about the amount child object. |
Dealer [Child Object]
The table below lists the various parameters in the dealer child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| amount | object |
An object that contains the breakup amount details. Learn more about the amount child object. |
Amount [Child Object]
The table below lists the various parameters in the amount child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Interest Amount [Child Object]
The table below lists the various parameters in the interest_amount child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Cart Coupon Discount Product Share [Child Object]
The table below lists the various parameters in the cart_coupon_discount_product_share child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Downpayment Amount [Child Object]
The table below lists the various parameters in the downpayment_amount child object. This object is part of the product_details object.
| Parameter | Type | Description |
|---|---|---|
| value | integer |
Transaction amount is Paisa.
1000 |
| currency | string |
Type of currency. Example: INR |
After Downpayment Reduced Produt Amount [Child Object]
The table below lists the various parameters in the after_downpayment_reduced_product_amount child object. This object is part of the product_details object.
| Parameter | Type | Description |
|---|---|---|
| value | integer |
Transaction amount is Paisa.
1000 |
| currency | string |
Type of currency. Example: INR |
Loan Amount [Child Object]
The table below lists the various parameters in the loan_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Total Discount Amount [Child Object]
The table below lists the various parameters in the total_discount_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Net Payment Amount [Child Object]
The table below lists the various parameters in the net_payment_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Monthly EMI Amount [Child Object]
The table below lists the various parameters in the monthly_emi_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Total EMI Amount [Child Object]
The table below lists the various parameters in the total_emi_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Interest Amount [Child Object]
The table below lists the various parameters in the interest_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Total Subvention Amount [Child Object]
The table below lists the various parameters in the total_subvention_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Processing Fee Details [Child Object]
The table below lists the various parameters in the processing_fee_details child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Convenience Fee Breakdown [Child Object]
The table below lists the various parameters in the convenience_fee_breakdown child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| fee_calculated_on_amount | object |
An object that contains the fee calculation amount details. Learn more about the fee_calculated_on_amount child object. |
| fee_amount | object |
An object that contains the fee amount details. Learn more about the fee_amount child object. |
| tax_amount | object |
An object that contains the tax amount details. Learn more about the tax_amount child object. |
| additional_fee_amount | object |
An object that contains the additional fee amount details. Learn more about the additional_fee_amount child object. |
| maximum_fee_amount | object |
An object that contains the maximum fee amount details. Learn more about the maximum_fee_amount child object. |
| applicable_fee_amount | object |
An object that contains the applicable fee amount details. Learn more about the applicable_fee_amount child object. |
| subvented_fee_amount | object |
An object that contains the subvented fee amount details. Learn more about the subvented_fee_amount child object. |
Fee Calculated on Amount [Child Object]
The table below lists the various parameters in the fee_calculated_on_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Fee Amount [Child Object]
The table below lists the various parameters in the fee_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Tax Amount [Child Object]
The table below lists the various parameters in the tax_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Additional Fee Amount [Child Object]
The table below lists the various parameters in the additional_fee_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Maximum Fee Amount [Child Object]
The table below lists the various parameters in the maximum_fee_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Applicable Fee Amount [Child Object]
The table below lists the various parameters in the applicable_fee_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Subvented Fee Amount [Child Object]
The table below lists the various parameters in the subvented_fee_amount child object. This is part of the convenience_fee_breakdown object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Cart Coupon Discount Amount [Child Object]
The table below lists the various parameters in the cart_coupon_discount_amount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Total Coupon Discount [Child Object]
The table below lists the various parameters in the total_coupon_discount child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| currency | String |
Type of currency. Example: INR |
| value | integer |
Transaction amount is Paisa.
1000 |
Downpayment Details [Child Object]
The table below lists the various parameters in the downpayment_details child object. This object is part of the Offer Discovery API request object.
| Parameter | Type | Description |
|---|---|---|
| downpayment_amount | object |
An object that contains the downpayment amount details. Learn more about our downpayment_amount child object.
|
Downpayment Amount [Child Object]
The table below lists the various parameters in the downpayment_amount child object. This object is part of the downpayment_details object.
| Parameter | Type | Description |
|---|---|---|
| value | integer |
The transaction amount in Paisa.
100
|
| currency | string |
Type of currency. Example: INR
|
Issuer Data [Child Object]
The table below lists the various parameters in the issuer_data object. This is part of the offer discovery response object.
| Parameter | Type | Description |
|---|---|---|
| otp_length | integer |
Length of the OTP. Example: 4 |
| otp_time_in_sec | integer |
OTP validity time in seconds. Example: 120 |
| otp_retry_count | integer |
Maximum OTP retry count. Example: |
| is_consent_page_required | Boolean |
Status of the required consent page.
|
| consent_data | String |
Transaction consent data. Example: |
| terms_and_conditions | String |
Transaction terms and conditions. Example: |
| show_key_fact_statement | Boolean |
Key fact statement status.
|
| auth_type | String |
Authentication type. Accepted values:
|
| penny_transaction_amount | string |
Applicable amount for penny transaction. Example: 100 |
| is_tokenized_transaction_supported | Boolean |
Tokenized transactions support status.
|
| pan_number_last_digit_count | String |
Last digit count of PAN. |
| offer_validation_parameters_required | String |
Parameters required in offer validation API. |
Refer to our Offer Discovery API documentation to learn more.
4. Offer Validation
Use this API for validating applied offers.
Below is a sample request and response for the Offer Validation API.
curl --request POST \
--url https://pluraluat.v2.pinepg.in/api/affordability/v1/offer/validate \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"payment_method": "CREDIT_EMI",
"order_amount": {
"value": 1200000,
"currency": "INR"
},
"payment_amount": {
"value": 800139,
"currency": "INR"
},
"payment_option": {
"card_details": {
"card_number": "37693000XXXXXXXX"
}
},
"offer_data": {
"offer_details": {
"id": "1",
"name": "ICICI CC",
"issuer_type": "CC_BANK",
"priority": 1,
"tenure": {
"tenure_id": "4",
"name": "12 Months",
"tenure_type": "MONTH",
"tenure_value": 12,
"issuer_offer_parameters": [
{
"program_type": "BANK_EMI",
"offer_id": "4473",
"offer_parameter_id": "221784"
},
{
"program_type": "MERCHANT_BANK_OFFER",
"offer_id": "4468",
"offer_parameter_id": "221674"
}
],
"details": [],
"discount": {
"discount_type": "INSTANT",
"percentage": 20,
"amount": {
"currency": "INR",
"value": 200000
},
"max_amount": {
"currency": "INR",
"value": 400000
}
},
"loan_amount": {
"currency": "INR",
"value": 800139
},
"auth_amount": {
"currency": "INR",
"value": 800139
},
"total_discount_amount": {
"currency": "INR",
"value": 200000
},
"net_payment_amount": {
"currency": "INR",
"value": 871128
},
"monthly_emi_amount": {
"currency": "INR",
"value": 72594
},
"total_emi_amount": {
"currency": "INR",
"value": 871128
},
"interest_amount": {
"currency": "INR",
"value": 70989
},
"interest_rate_percentage": 15.99,
"processing_fee_details": {
"percentage": 2
},
"total_down_payment_amount": {
"currency": "INR",
"value": 200000
},
"convenience_fee_breakdown": {
"fee_calculated_on_amount": {
"currency": "INR",
"value": 800000
},
"fee_amount": {
"currency": "INR",
"value": 108
},
"tax_amount": {
"currency": "INR",
"value": 21
},
"additional_fee_amount": {
"currency": "INR",
"value": 10
},
"maximum_fee_amount": {
"currency": "INR",
"value": 99999999
},
"applicable_fee_amount": {
"currency": "INR",
"value": 139
}
},
"emi_type": "STANDARD",
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 200000
}
}
}
}
}
}
'
curl --request POST \
--url https://api.pluralpay.in/api/affordability/v1/offer/validate \
--compressed \
--header 'Accept-Encoding: gzip' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c' \
--header 'Content-Type: application/json' \
--header 'Request-ID: c17ce30f-f88e-4f81-ada1-c3b4909ed235' \
--header 'Request-Timestamp: 2024-07-09T07:57:08.022Z' \
--header 'accept: application/json' \
--data '
{
"payment_method": "CREDIT_EMI",
"order_amount": {
"value": 1200000,
"currency": "INR"
},
"payment_amount": {
"value": 800139,
"currency": "INR"
},
"payment_option": {
"card_details": {
"card_number": "37693000XXXXXXXX"
}
},
"offer_data": {
"offer_details": {
"id": "1",
"name": "ICICI CC",
"issuer_type": "CC_BANK",
"priority": 1,
"tenure": {
"tenure_id": "4",
"name": "12 Months",
"tenure_type": "MONTH",
"tenure_value": 12,
"issuer_offer_parameters": [
{
"program_type": "BANK_EMI",
"offer_id": "4473",
"offer_parameter_id": "221784"
},
{
"program_type": "MERCHANT_BANK_OFFER",
"offer_id": "4468",
"offer_parameter_id": "221674"
}
],
"details": [],
"discount": {
"discount_type": "INSTANT",
"percentage": 20,
"amount": {
"currency": "INR",
"value": 200000
},
"max_amount": {
"currency": "INR",
"value": 400000
}
},
"loan_amount": {
"currency": "INR",
"value": 800139
},
"auth_amount": {
"currency": "INR",
"value": 800139
},
"total_discount_amount": {
"currency": "INR",
"value": 200000
},
"net_payment_amount": {
"currency": "INR",
"value": 871128
},
"monthly_emi_amount": {
"currency": "INR",
"value": 72594
},
"total_emi_amount": {
"currency": "INR",
"value": 871128
},
"interest_amount": {
"currency": "INR",
"value": 70989
},
"interest_rate_percentage": 15.99,
"processing_fee_details": {
"percentage": 2
},
"total_down_payment_amount": {
"currency": "INR",
"value": 200000
},
"convenience_fee_breakdown": {
"fee_calculated_on_amount": {
"currency": "INR",
"value": 800000
},
"fee_amount": {
"currency": "INR",
"value": 108
},
"tax_amount": {
"currency": "INR",
"value": 21
},
"additional_fee_amount": {
"currency": "INR",
"value": 10
},
"maximum_fee_amount": {
"currency": "INR",
"value": 99999999
},
"applicable_fee_amount": {
"currency": "INR",
"value": 139
}
},
"emi_type": "STANDARD",
"downpayment_details": {
"downpayment_amount": {
"currency": "INR",
"value": 200000
}
}
}
}
}
}
'
{
"code": "ELIGIBLE",
"message": "Offer is Eligible"
}
Click here for request and response parameter information.
The table below lists the request parameters of our Offer Validation API.
| Parameter | Type | Description |
|---|---|---|
| payment_method required | string | Type of payment method you want to use to accept a payment. Accepted values:
|
| order_amount required | object | An object that contains the transaction amount details. Learn more about our order_amount child object. |
| payment_amount required | object | An object that contains the payment amount details after the offer has been applied. Learn more about our payment_amount child object. |
| offer_data required | object | An object that contains details related to the offer. Learn more about our offer_data child object. |
| customer_details | object | An object that contains details related to the customer. Learn more about our customer_details child object. |
Order Amount [Child Object]
The table below lists the various parameters in the order_amount child object. This object is part of the offer validation sample request object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer | Transaction amount is Paisa.
1000 |
| currency required | string | Type of currency. Example: INR |
Payment Amount [Child Object]
The table below lists the various parameters in the payment_amount child object. This object is part of the offer validation sample request object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer | Transaction amount is Paisa.
1000 |
| currency required | string | Type of currency. Example: INR |
Offer Data [Child Object]
The table below lists the various parameters in the offer_data child object. This object is part of the offer validation sample request object.
| Parameter | Type | Description |
|---|---|---|
| offer_details | object | An object that contains details related to the offer issuer. Learn more about our offer_details child object. |
Offer Details [Child Object]
The table below lists the various parameters in the offer_details child object. This object is part of the offer_data sample request object.
| Parameter | Type | Description |
|---|---|---|
| id | string | The ID of the Issuer offering the offer. |
| name | string | The name of the Issuer offering the offer. |
| issuer_type | string | The type of the Issuer offering the offer. Example:
|
| priority | string | The priority of the Issuer offering the offer. |
| tenure | object | The EMI tenure details related to the offer. Learn more about our tenure child object. |
Tenure [Child Object]
The table below lists the various parameters in the tenures object. This is part of the offer_details request object.
| Parameter | Type | Description |
|---|---|---|
| tenure_id required | String | Tenure id in the Pine Labs database. Example: 1 |
| name required | String | The name of the Tenure. |
| tenure_type required | String | The type of the Tenure. Accepted values:
|
| tenure_value | integer | The value of the tenure. Example: 3 |
| issuer_offer_parameters required | string | List of Offer Schemes for the tenure. |
| details | array of objects | An array of objects that contains the product details.Learn more about the details child object. |
| discount | object | An object that contains the discount details. Learn more about the discount child object. |
| loan_amount | object | An object that contains the loan amount details. Learn more about the loan_amount child object. |
| total_discount_amount | object | Total discount amount for the tenure. Learn more about the total_discount_amount child object. |
| net_payment_amount | object | An object that contains the net payment amount details. Learn more about the net_payment_amount child object. |
| monthly_emi_amount | object | An object that contains the monthly EMI amount details. Learn more about the monthly_emi_amount child object. |
| total_emi_amount | object | An object that contains the total EMI amount details. Learn more about the total_emi_amount child object. |
| interest_amount | object | An object that contains the interest amount details. Learn more about the interest_amount child object. |
| total_subvention_amount | object | An object that contains the total subvention amount details. Learn more about the total_subvention_amount child object. |
| interest_rate_percentage required | integer | Interest rate percentage for the tenure. |
| processing_fee_details | object | Processing fee details for the tenure. Learn more about the processing_fee_details child object. |
| emi_type required | strings | Type of EMI. Example: STANDARDAccepted values:
|
| convenience_fee_breakdown | object | An object that contains the convenience fee breakdown details. Learn more about the convenience_fee_breakdown child object. |
| cart_coupon_discount_amount | object | An object that contains the cart coupon discount amount details. Learn more about the cart_coupon_discount_amount child object. |
| total_coupon_discount | object | An object that contains the total coupon discount details. Learn more about the total_coupon_discount child object. |
| downpayment_details required | object |
An object that contains the downpayment details. Learn more about our downpayment_details child object.
|
Details [Child Object]
The table below lists the various parameters in the details child object. This is part of the tenures object.
| Parameter | Type | Description |
|---|---|---|
| product_code | String | Unique Product identifier of the product. Example: redmi_1 |
| product_display_name | String | Name of the Product. Example: Oneplus 13R |
| brand_id | String | Unique brand identifier of the product. Example: 3 |
| product_offer_parameters | array of objects | An array of objects that contains the product offer schemes for the product EMI details. Learn more about the product_offer_parameters child object. |
| product_amount | object | An object that contains the product amount details. Learn more about the product_amount child object. |
| product_coupon_discount_amount | object | An object that contains the product coupon discount amount details. Learn more about the product_coupon_discount_amount child object. |
| subvention | object | An object that contains the subvention details. Learn more about the subvention child object. |
| discount | object | An object that contains the product discount details. Learn more about the discount child object. |
| brand_name | string | Name of the Brand. Example: Oneplus |
| interest_amount | object | An object that contains the interest amount details. Learn more about the interest_amount child object. |
| interest_rate | string | Rate of interest applied on the product. Example: 19 |
| cart_coupon_discount_product_share | object | An object that contains the cart coupon discount product share details. Learn more about the cart_coupon_discount_product_share child object. |
| downpayment_amount required | object |
An object that contains the downpayment amount details. Learn more about the downpayment_amount child object. |
| after_downpayment_reduced_product_amount required | object |
An object that contains the product coupon discount details. Learn more about the after_downpayment_reduced_product_amount child object. |
Product Offer Parameters [Child Object]
The table below lists the various parameters in the product_offer_parameters child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| program_type | String | Type of the Program. Example: BRAND_EMIAccepted values:
|
| offer_id | string | Unique identifier of the offer. Example: 309 |
| offer_parameter_id | string | Unique offer parameter identifier. Example: 20 |
Product Amount [Child Object]
The table below lists the various parameters in the product_amount child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer | Transaction amount is Paisa.
1000 |
| currency required | String | Type of currency. Example: INR |
Product Coupon Discount Amount [Child Object]
The table below lists the various parameters in the product_coupon_discount_amount child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer | Transaction amount is Paisa.
1000 |
| currency required | String | Type of currency. Example: INR |
Subvention [Child Object]
The table below lists the various parameters in the subvention child object. This is part of the details object.
| Parameter | Type | Description |
|---|---|---|
| subvention_type | String | Type of subvention. Example: INSTANTAccepted values:
|
| percentage | integer | Transaction amount is Paisa.
1000 |
| amount | object | An object that contains the subvention amount details. Learn more about the amount child object. |
| breakup | object | An object that contains the subvention breakup details. Learn more about the breakup child object. |
| max_amount | object | An object that contains the maximum subvention amount details. Learn more about the max_amount child object. |
| min_amount | object | An object that contains the minimum subvention amount details. Learn more about the min_amount child object. |
Amount [Child Object]
The table below lists the various parameters in the amount child object. This is part of the subvention object.
| Parameter | Type | Description |
|---|---|---|
| value required | integer | Transaction amount is Paisa.
1000 |
| currency required | String | Type of currency. Example: INR |
Breakup [Child Object]
The table below lists the various parameters in the breakup child object. This is part of the subvention object.
| Parameter | Type | Description |
|---|---|---|
| brand | object | An object that contains the breakup details of the brand. Learn more about the brand child object. |
| merchant | object | An object that contains the breakup details of the merchant. Learn more about the merchant child object. |
| issuer | object | An object that contains the breakup details of the issuer. Learn more about the issuer child object. |
| dealer | object | An object that contains the breakup details of the dealer. Learn more about the dealer child object. |
Brand [Child Object]
The table below lists the various parameters in the brand child object. This is part of the breakup object.
| Parameter | Type | Description |
|---|---|---|
| amount | object | An object that contains the breakup amount details of the brand. Learn more about the amount child object. |
