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 a Payment Link
Create a payment link for collecting payments. Ensure that your Merchant ID is configured for Pay by Link, split payments, and pre-authorization before creating a payment link.
https://pluraluat.v2.pinepg.in/api/pay/v1/paymentlinkamountobjectrequired2 nested fieldsMonetary amount with currency.
valueintegerrequiredAmount in the smallest currency unit (e.g., paisa for INR).
currencystringrequiredThree-letter ISO 4217 currency code.
descriptionstringDescription corresponding to the payment.
expire_bystringdate-timeThe desired expiration timestamp for the payment link (ISO 8601 UTC). Must be set within a maximum of 180 days from the current date.
allowed_payment_methodsstring[]The type of payment methods you want to offer your customers.
CARDUPIPOINTSNETBANKINGWALLETCREDIT_EMIDEBIT_EMIBNPLpre_authstringThe pre-authorization type. Possible values: "false" (default), "true".
is_mcc_transactionstringIdentifies the Payment Link type. "true": The payment link is processed for a MCC transaction. "false" (default): The payment link is processed for a regular transaction.
failure_callback_urlstringURL specifically used to redirect customers to a failure page. If not provided, customers will be redirected to the callback_url for both successful and failed transactions.
merchant_payment_link_referencestringrequired**Idempotency Key.** Unique identifier for the payment link request. Duplicate requests with the same `merchant_payment_link_reference` will return the existing payment link instead of creating a new one.
customerobject10 nested fieldsCustomer information for payment link.
email_idstringCustomer's email address.
first_namestringCustomer's first name.
last_namestringCustomer's last name.
customer_idstringUnique identifier of the customer in the Pine Labs Online database.
mobile_numberstringCustomer's mobile number.
^[0-9]+$country_codestringCountry code of the mobile number.
billing_addressobject7 nested fieldsAddress details for payment link.
address1stringAddress line 1.
address2stringAddress line 2.
address3stringAddress line 3.
pincodestringPincode of the address.
^[0-9]+$citystringCity of the address.
statestringState of the address.
countrystringCountry of the address.
shipping_addressobject7 nested fieldsAddress details for payment link.
address1stringAddress line 1.
address2stringAddress line 2.
address3stringAddress line 3.
pincodestringPincode of the address.
^[0-9]+$citystringCity of the address.
statestringState of the address.
countrystringCountry of the address.
merchant_customer_referencestringUnique identifier of the customer for the request.
gstinstringCustomer's GSTIN.
product_detailsPaymentLinkProductDetail[]3 nested fieldsAn array of objects that contains the list of products associated with the payment.
product_codestringUnique product identifier.
product_amountobject2 nested fieldsMonetary amount with currency.
valueintegerrequiredAmount in the smallest currency unit (e.g., paisa for INR).
currencystringrequiredThree-letter ISO 4217 currency code.
product_coupon_discount_amountobject2 nested fieldsMonetary amount with currency.
valueintegerrequiredAmount in the smallest currency unit (e.g., paisa for INR).
currencystringrequiredThree-letter ISO 4217 currency code.
cart_coupon_discount_amountobject2 nested fieldsMonetary amount with currency.
valueintegerrequiredAmount in the smallest currency unit (e.g., paisa for INR).
currencystringrequiredThree-letter ISO 4217 currency code.
merchant_metadataobjectArbitrary key-value pairs for merchant use. Maximum 10 pairs, 256 characters each.
split_infoobject2 nested fieldsSplit settlement information.
split_typestringType of split.
split_detailsPaymentLinkSplitDetail[]7 nested fieldsAn array of objects that contains the split details.
split_merchant_idstringUnique identifier of your partner merchant in the Pine Labs Online database.
merchant_settlement_referencestringUnique identifier entered while creating an order in split.
split_settlement_idstringUnique identifier of the split settlement in the Pine Labs Online database.
amountobject2 nested fieldsMonetary amount with currency.
valueintegerrequiredAmount in the smallest currency unit (e.g., paisa for INR).
currencystringrequiredThree-letter ISO 4217 currency code.
on_holdbooleanIndicate whether the settlement is on hold for future release. true: The settlement is placed on hold. false: The settlement is processed immediately.
statusstringSplit Settlement status.
RELEASEDHOLDupdated_atstringdate-timeISO 8601 UTC Timestamp when the split order was created.
account_detailsobject1 nested fieldCustomer's bank account details.
bank_detailsobject3 nested fieldsBank details for the customer.
account_numberstringCustomer's bank account number.
ifsc_codestringCustomer's bank IFSC code.
bank_namestringCustomer's account holding bank name.
callback_urlstringURL to which your customers are redirected based on the order or product details, leading them to either a success or failure page.
part_paymentbooleanIndicates whether the order is for part payments or full. true: The order created is for a part payment. false: The order is created for a full payment.
cart_detailsobject1 nested fieldCart details. If provided, cart information will be displayed during checkout.
itemsPaymentLinkCartItem[]2 nested fieldsArray of cart items.
product_codestringUnique product identifier.
product_amountobject2 nested fieldsMonetary amount with currency.
valueintegerrequiredAmount in the smallest currency unit (e.g., paisa for INR).
currencystringrequiredThree-letter ISO 4217 currency code.
