Creating a Session

Create custom payment link ---- [auth scope: merchant]

post
Body
emailstringRequired

Hpp user email.

Example: [email protected]
pricenumberRequired

Hpp payment price

Example: 99.99
phoneNumberstringRequired

Hpp user phone number

Example: +1234567890
descriptionstringRequired

Hpp payment description

Example: Payment for order #12345
currencystringRequired

Hpp payment currency

Example: USD
accountCodestringOptional

Hpp payment accountCode

Example: ACC123
invoiceNumberstringRequired

Hpp payment invoiceNumber

Example: INV-2025-0001
referenceNamestringRequired

Hpp payment referenceName

Example: Order #12345
dueDatestring · date-timeRequired

Hpp payment dueDate

Example: 2025-10-10T08:18:04.983Z
subTotalnumberRequired

Hpp payment subTotal

Example: 89.99
taxAmountnumberRequired

Hpp payment taxAmount

Example: 10
enableTippingbooleanRequired

Hpp payment enableTipping

Example: true
itemsstring[]Required

Hpp payment items

Example: [{"itemName":"Product A","sku":"SKU123","quantity":1,"price":89.99,"saveForFutureRef":false,"isTaxApplied":true,"appliedTaxes":[{"taxName":"VAT","taxRate":10,"taxAmount":9}]}]
hideTaxbooleanOptional

Hide Tax in order-summary on HPP

Example: false
emailCustomerbooleanOptional

Hpp payment emailCustomer

Example: true
Responses
200

Get Paid link created successfully.

application/json
post
/custom/hpp
200

Get Paid link created successfully.

Last updated