Create a new payment link to collect payments from customers.
amount: The amount to collect.currency: Currently supports INR.reference_id: Your internal reference for this payment.buyer: Customer details (name, email, phone, address).product: Details of the item or service.invoice: Invoice number and date.expiry_date: When the link should expire (ISO 8601 format). Defaults to 1 year if not provided.Client Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.
Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.
Merchant Identifier - The unique ID for the merchant account. This is required for PSP (Payment Service Provider) merchants who manage multiple merchant accounts. You can find merchant IDs in the Merchant Management section of the dashboard.
API Version - Specifies which version of the API to use (e.g., '1.X.X' or '2.X.X'). This header allows you to control which API version your integration uses. Default version information is available in the Developer Settings.