Payment Link
A payment link is a shareable URL that takes your customers to a Checkout page.
- idType: stringrequired
Unique identifier for the payment link.
- createdType: stringFormat: date-timerequired
Creation time for the payment link.
- amountType: integerFormat: int64required
Amount charged in smallest currency unit.
- currencyType: CurrencyrequiredProperties: 2
Three-letter ISO currency code
- statusType: stringenumrequired
Current lifecycle status of the payment link.
values- draft
The link has been created but is not yet available for customers.
- open
The link can accept payments while
activeistrue. - completed
The link has reached its completed-session limit and cannot accept new payments.
- expired
The link has passed its expiration time and cannot accept new payments.
- draft
- activeType: booleanrequired
Whether the payment link's public URL is active. When
false, customers cannot use the link to start a new payment. - urlType: stringmax length:1000required
The public URL that can be shared with customers.
- expiresType: string | nullFormat: date-time
_at requiredExpiry time for the payment link. After this time, the link is no longer available for payment. Single-use links default to 30 days after creation when no expiration is provided. Reusable links without an explicit expiration return
null. - livemodeType: booleanrequired
Has the value
trueif the object exists in live mode orfalseif it exists in test mode. - customerrequired
Customer associated with the payment link, or
nullwhen none is set. Passexpand=customerwhen retrieving or listing links to include the Customer object.- Type: Customer IDmax length:100
Customer associated with the payment link, or
nullwhen none is set. Passexpand=customerwhen retrieving or listing links to include the Customer object.
- onType: string | null
_behalf _of max length:100requiredThe account on behalf of which to charge, or
nullwhen none is set. - paymentType: string | null
_method _configuration Reference to the payment method configuration for the types that customers can use.
- paymentType: array of PaymentMethodType | nullenum
_method _types Payment method types that Checkout Sessions created from this Payment Link can accept. Returns
nullwhen no explicit types are set. - billingType: BillingAddressCollectionenum
_address _collection Specify whether Checkout should collect the customer's billing address. Defaults to
auto.values- auto
Checkout will only collect the billing address when necessary.
- required
Checkout will always collect the customer's billing address.
- auto
- lineType: array of LineItem | null
_items Properties: 4Details about the products sold or services provided
- redirectType: string | null
_url max length:1000URL to which the customer should be sent after the payment. Any payment results will use this URL.
- 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.
- 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.
- descriptionType: string | null
A free-form reference to describe the checkout
- afterType: AfterCompletion
_completion Properties: 3After completion behavior for the Checkout Session.
- modeType: CheckoutSessionModeenum
The mode of the Checkout Session.
values- payment
Standard one-time payment.
- setup
Set up a payment method for future use.
- subscription
Create a subscription checkout that collects the first payment and stores a reusable payment method for renewal billing.
- bnpl
Buy now, pay later.
- payment
- restrictionsType: PaymentLinkRestrictionsProperties: 1
Settings that restrict the usage of a payment link.
- localeType: 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 - da
- da
- D K - de

