API Playground
Test Pine Labs API endpoints with real requests. All endpoints are loaded dynamically from the OpenAPI specification.
Authentication
Orders
Refunds
Settlements
Split Settlements
Checkout
Payment Links
Card Payments
UPI Payments
NetBanking
Wallet
Pay by Points
E-Challans
Apple Pay
International Payments
Customers
Tokenization
Payouts
Affordability Suite
BNPL
Convenience Fee
Payment Option
Brand Wallet
Brand Wallet Payments
Subscriptions - Plans
Subscriptions - Subscriptions
Subscriptions - Presentations
UPI Reserve Pay
108 endpoints from openapi.yaml
Create Offer EMI
Use this API for validating applied offers.
https://pluraluat.v2.pinepg.in/api/affordability/v1/offer/validatepayment_methodstringrequiredType of payment method you want to use to accept a payment.<br><br>Accepted values:<ul><li>`CREDIT_EMI`</li><li>`DEBIT_EMI`</li><li>`CARDLESS_EMI`</li><li>`UPI`</ul></li>
order_amountobjectrequired2 nested fieldsAn object that contains order amount.
valuestringrequiredThe transaction amount in Paisa.<br><ul><li>Minimum value: `100` (₹1)</li><li>Maximum value: `100000000` (₹10 lakh)<br><br>Example: `1100`
currencystringrequiredType of currency.<br><br>Example: `INR`
payment_amountobjectrequired2 nested fieldsAn object that contains the payment amount details after the offer has been applied.<br><br>**Note**: Ensure you pass the `auth_amount` details. This `auth_amount` detail is returned through our Offer Discovery API response.
valuestringrequiredThe transaction amount in Paisa.<br><ul><li>Minimum value: `100` (₹1)</li><li>Maximum value: `100000000` (₹10 lakh)<br><br>Example: `1100`
currencystringrequiredType of currency.<br><br>Example: `INR`
payment_optionobjectrequired4 nested fieldsAn object that contains the details of the payment options.<br><br>You can use either `card_details` or `card_token_details` or `cardless_details` or `upi_details` as a payment option. One object is mandatory to process the request.
card_detailsobject2 nested fields**Mandatory for Plain Card Transactions**<br><br>An object that contains the card details.
card_numberstringrequiredCard Number.<ul><li>Maximum length: `19` characters.</li><li>Minimum length: `12` characters.</ul></li>Example: `123456789012`<br><br>Supported characters: `0-9`
registered_mobile_numberstring**Mandatory** for `Bank EMI (Debit_EMI)`<br><br>Card registered mobile number.<ul><li>Maximum length: `20` characters.</li><li>Minimum length: `9` characters.</ul></li>Example: `9876543210`<br><br>Supported characters: <ul><li>`0-9`</li><li>`+`</ul></li>
cardless_detailsobject2 nested fields**Mandatory for Cardless Transactions**<br><br>An object that contains the cardless transaction details.
pan_numberstringrequiredPan last digits<br><br>Example: `234A`<br><br>**Note**: Refer to the parameter `pan_number_last_digit_count` returned by the **Offer Discovery - Cardless API** response, to determine how many digits to include in the `pan_number`. This value may vary based on the acquirer.
registered_mobile_numberstringrequiredCard registered mobile number.<ul><li>Maximum length: `20` characters.</li><li>Minimum length: `9` characters.</ul></li>Example: `9876543210`<br><br>Supported characters: <ul><li>`0-9`</li><li>`+`</ul></li>
card_token_detailsobject4 nested fields**Mandatory for Tokenized Transactions**<br><br>An object that contains the card token details.
last4_digitstringThe last four digits of your card number.<br><br>Has to be 4 digits.<br><br>Example: `1234`<br><br>Supported characters: `0-9`
tokenstringUnique identifier of the card as per the token transaction type.<ul><li>Minimum: `1` characters.</li><li>Maximum: `50` characters.</ul></li>Example: `0342ef1e0342ef1e`
token_txn_typestringThe type of token transaction.<br><br>Accepted values:<ul><li>`ALT_TOKEN`</li><li>`NETWORK_TOKEN`</li><li>`ISSUER_TOKEN`</ul></li>
token_idstringUnique identifier of the token in the Pine Labs Online database.<ul><li>Maximum length: `50` characters.<br><br>Example: `token-v1-0811030624-aa-RBDgpR`
upi_detailsobject2 nested fields**Mandatory for UPI Transactions**<br><br>An object that contains the UPI transaction details.
txn_modestringUPI transaction mode.<br><br>Accepted values:<ul><li>`COLLECT`</li><li>`INTENT`</ul></li>
COLLECTINTENTpayerobjectrequired2 nested fieldsPayer of the transaction.
vpastringVPA of the payer.<br><br>Example: `customer@upi`
phone_numberstringrequiredPhone number for the payer.<br><br>Example: `9876543210`
offer_dataobjectrequired1 nested fieldAn object that contains details related to the offer. **Required for CREDIT_EMI, DEBIT_EMI, CARDLESS_EMI, and UPI payment methods.**
offer_detailsobject6 nested fieldsAn object that contains details related to the offer entity/issuer.
idstringThe ID of the Issuer offering the offer. Optional for UPI.
namestringThe name of the Issuer offering the offer. Optional for UPI.
display_namestringThe display name of the Issuer.
issuer_typestringThe type of the Issuer offering the offer.<br><br>Example:<ul><li>`CC_BANK`<li>`DC_BANK`<li>`UPI`
prioritystringThe priority of the Issuer offering the offer.
tenureobject29 nested fieldsThe EMI tenure details related to the offer.
tenure_idstringThe ID of the Tenure.
namestringThe name of the Tenure.
tenure_typestringType of the tenure.
tenure_valueintegerint32The value of the tenure.
offer_rankingintegerSort ranking for the offer.
is_mobile_number_required_for_eligibilitybooleanMobile number is required for velocity check or not.
is_offer_auto_appliedbooleanIs this particular offer going to be auto applied at the UI.
issuer_offer_parametersobject[]3 nested fieldsList of Offer Schemes for the tenure.
program_typestringType of program. Accepted values: BANK_EMI, BRAND_EMI, MERCHANT_BANK_OFFER, MERCHANT_BRAND_OFFER, BRAND_OFFER, MY_EMI
offer_idstringUnique identifier of the offer.
offer_parameter_idstringUnique offer parameter identifier.
detailsobject[]15 nested fieldsAn array of objects that contains the product details.
product_codestringUnique Product identifier of the product.<br><b>Example: `redmi_1`
product_display_namestringName of the Product.<br><br>Example: `Oneplus 13R`
brand_idstringUnique brand identifier of the product.<br><br>Example: `3`
product_offer_parametersobject[]3 nested fieldsAn array of objects that contains the product offer schemes for the product EMI details.
program_typestringType of the Program.<br><br>Accepted values:<ul><li>`BRAND_EMI`</li><li>`BANK_EMI`</li><li>`MERCHANT_BRAND_OFFER`</li><li>`MERCHANT_BANK_OFFER`</li><li>`BRAND_OFFER`</li><li>`MY_EMI`</ul></li>
offer_idstringUnique identifier of the offer.<br><br>Example: `309`
offer_parameter_idstringUnique offer parameter identifier.<br><br>Example: `20`
product_amountobject2 nested fieldsAn object that contains the product amount details.
currencystringrequiredType of currency.<br><br>Example: `INR`
valueintegerrequiredint32The transaction amount in Paisa.
product_coupon_discount_amountobject2 nested fieldsAn object that contains the product coupon discount amount details.
currencystringrequiredvalueintegerrequiredint32subventionobject6 nested fieldsAn object that contains the subvention details.
subvention_typestringpercentagestringamountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32breakupobject4 nested fieldsbrandobject1 nested fieldamountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32merchantobject1 nested fieldamountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32issuerobject1 nested fieldamountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32dealerobject1 nested fieldamountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32max_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32min_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32discountobject9 nested fieldsAn object that contains the product discount details.
discount_typestringType of discount.<br><br>Possible values:<ul><li>`INSTANT`</li><li>`DEFERRED`</ul></li>
discount_stringstringpercentagenumberdoubleamountstringmax_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32min_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32discount_deferred_duration_valuestringdiscount_deferred_duration_typestringPossible values:<ul><li>`DAY`</li><li>`MONTH`</ul></li>
breakupobject4 nested fieldsbrandobject1 nested fieldamountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32merchantobject1 nested fieldamountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32issuerobject1 nested fieldamountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32dealerobject1 nested fieldamountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32brand_namestringName of the Brand.<br><br>Example: `Oneplus`
interest_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32downpayment_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32after_downpayment_reduced_product_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32interest_ratestringRate of interest applied on the product.<br><br>Example: `19`
cart_coupon_discount_product_shareobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32bundle_idstringUnique identifier of the bundle offer in Pine Labs Online Database.<br><br>Example: `BUNDLE_002_OE3`
discountstringDiscount details applicable for the tenure.
auth_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32loan_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32total_discount_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32net_payment_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32monthly_emi_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32total_emi_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32intrest_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32total_subvention_amountstringTotal subvention amount for the tenure.
interest_rate_percentageintegerint32processing_fee_detailsobject1 nested fieldamountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32processing_fee_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32emi_typestringEMI type for the tenure.<ul><li>`LOW_COST`<li>`NO_COST`<li>`STANDARD`
split_emi_display_namestringsplit_emi_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32split_emi_percentagenumberdoubleconvenience_fee_breakdownobject7 nested fieldsfee_calculated_on_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32fee_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32tax_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32additional_fee_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32maximum_fee_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32applicable_fee_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32subvented_fee_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32cart_coupon_discount_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32total_coupon_discountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32downpayment_detailsobject1 nested field**Mandatory for EMI with Downpayment**<br><br>An object that contains the downpayment details.
downpayment_amountobject2 nested fieldscurrencystringrequiredvalueintegerrequiredint32customer_detailsobject1 nested fieldAn object that contains details related to the customer.
customer_idstringDetails related to the customer ID, required for Pine Labs Online tokenized saved cards.
