PaymentLink
A payment link is a shareable URL that will take your customers to a hosted payment page.
- activeType: booleanrequired
Whether the payment link's
urlis active. Iffalse, customers visiting the URL will be shown a page saying that the link has been deactivated. - amountType: integerFormat: int64required
Amount charged in smallest currency unit
- createdType: stringFormat: date-timerequired
Created time for the payment link.
- currencyType: object · Currencyrequired
Three-letter ISO currency code
- expiresType: stringFormat: date-time
_at requiredExpiry time for the payment link. After this time, the payment link will no longer be available for payment. Defaults to 24h after creation.
- idType: stringrequired
Unique identifier for the payment link
- livemodeType: booleanrequired
Has the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. - onType: string
_behalf _of max length:100requiredThe account on behalf of which to charge.
- statusType: stringrequired
Current lifecycle status of the payment link.
- draft: The link has been created but is not yet available for customers. - open: The link is active and can be used by customers to initiate payments. - completed: The link has been fully paid and is no longer usable for new payments. - expired: The link has passed its expiration time and can no longer be used.
- urlType: stringmax length:1000required
The public URL that can be shared with customers.
- afterType: object · AfterCompletion
_completion After completion behavior for the Checkout Session.
- clientType: string | null
_customer _id An identifier of the customer in the merchant's system. Used to associate the Checkout and corresponding payments created from the Checkout. Required for SEPA payments - this will ensure that your customer is given a virtual iban that is unique to them and will enable Paypercut to reconcile the payment.
- clientType: string | null
_reference _id A free-form reference from the merchant's system. Typically used to identify the checkout in the merchant's system. This can be a customer ID, a cart ID, or similar, and can be used to reconcile the session with your internal systems.
- descriptionType: string | null
A free-form reference to describe the checkout
- lineType: array object[] | null · LineItem[]
_items Details about the products sold or services provided
- localeType: string | null · Localeenum
The IETF language tag of the locale Checkout is displayed in. If blank or auto, the browser's locale is used.
values- auto
- bg
- bg
- B G - cs
- cs
- C Z
- modeType: string · CheckoutSessionModeenum
The mode of the Checkout Session.
values- payment
Standard one-time payment.
- setup
Set up a payment method for future use.
- subscription
Coming soon. Not available yet.
- bnpl
Buy now, pay later.
- paymentType: string | null
_method _configuration Reference to the payment method configuration for the types that customers can use.
- redirectType: string | null
_url max length:1000URL to which the customer should be sent after the payment. Any payment results will use this URL.
- restrictionsType: object · PaymentLinkRestrictions
Settings that restrict the usage of a payment link.

