Pine LabsDOCS

API Playground

Test Pine Labs API endpoints with real requests. All endpoints are loaded dynamically from the OpenAPI specification.

Create a Payment

Create a payment against an existing order. This unified endpoint supports multiple payment methods differentiated by the `payment_method` field: - **CARD** — Pay with card number or card token (see Card Payments documentation) - **UPI** — Pay via UPI Collect or UPI Intent/QR (see UPI Payments documentation) - **NETBANKING** — Pay via net banking redirect (see Net Banking documentation) - **WALLET** — Pay via digital wallet (see Wallet documentation) - **BRAND_WALLET** — Pay using Brand Wallet balance (see Brand Wallet documentation) - **EMI** — Pay via Credit/Debit EMI or Cardless EMI (see Affordability Suite documentation) - **BNPL** — Pay via Buy Now Pay Later (see BNPL documentation) The response returns the full order object with the payment linked. For redirect-based flows (NetBanking, Wallet, UPI Intent), use the `challenge_url` in the response to redirect the customer. **Brand Wallet flow:** After a successful Create Payment call with `BRAND_WALLET`, the payment enters `PENDING` status. The wallet provider automatically sends an OTP to the customer. Call **Submit OTP** to authorize the payment.

POSThttps://pluraluat.v2.pinepg.in/api/pay/v1/orders/{order_id}/payments
Required
Path Parameters
order_id*
string

Unique identifier of the order in the Pine Labs Online database.