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
Generate Card Token
Generate a network token for a card linked to a customer. This tokenizes the card details and returns a token that can be used for subsequent transactions.
https://pluraluat.v2.pinepg.in/api/v1/tokenscustomer_idstringrequiredUnique identifier of the customer in the Pine Labs Online database.
merchant_token_referencestringrequired**Idempotency Key.** Unique token reference assigned by the merchant. Duplicate requests with the same `merchant_token_reference` will return the existing token instead of creating a new one.
payment_methodstringrequiredPayment method for which the token is being generated. Currently only CARD is supported.
CARDpayment_optionobject1 nested fieldAn object that contains the payment option details.
encrypted_card_detailsstringEncrypted card details.
paymentobject1 nested fieldAn object that contains the payment details.
acquirer_dataobject4 nested fieldsAn object that contains the acquirer details.
approval_codestringAuthorization code returned from acquirer against the payment.
acquirer_referencestringUnique reference returned from acquirer for the payment.
rrnstringRetrieval reference number returned from acquirer for the payment.
auth_referencestring**Mandatory** for rupay transaction. A unique identifier linking the authorization request to the transaction.
merchant_metadataobjectArbitrary key-value pairs for merchant use. Maximum 10 pairs, 256 characters each.
