Skip to main content
POST
Create a payment link

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
subMerchantId
string
required

The subMerchantId associated with the payment link.

Example:

"jpt-sim-md-1"

totalAmount
number
required

The total amount of the payment link.

Example:

55

description
string
required

The payment link description.

items
object[]

Line items included in the total amount.

totalModifiers
object[]

Adjustments applied to the total, such as discounts or additional fees.

hostedSession
object

Object to edit configuration of created hosted session.

Response

Payment link successfully created.

Last modified on July 14, 2026