Creates a re-usable hosted payment link
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Payment link details
The three-letter ISO 4217 currency code
The payment mode (e.g., 'payment' or 'subscription')
The URL to redirect to on successful payment
The URL to redirect to if customer cancels
Optional custom metadata
{
"customField": "value",
"orderId": "12345"
}The ID of the merchant whose balance is being requested. If omitted, defaults to the authenticated merchant.
The unique identifier of the product
The unique identifier of the customer
The amount in the smallest currency unit
Payment link created successfully
{ "customField": "value" }