Skip to main content
PATCH
Update a payment link

Supported products

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

The ID of the payment link to update.

Body

application/json
businessUnitId
object
required

An object representing the business unit ID associated with the payment link.

dealConfigurations
object
required

An object containing deal configuration settings.

descriptionHtml
object
required

An object containing the HTML description of the payment link.

discountObjectId
object
required

An object representing the discount object ID associated with the payment link.

domainId
object
required

An object representing the domain ID associated with the payment link.

successUrl
object
required

An object representing the success URL where the user is redirected after a successful transaction.

acceptedPaymentMethods
enum<string>[]

An array of strings indicating the accepted payment methods. Valid values include 'CREDIT_OR_DEBIT_CARD', 'ACH', 'SEPA', 'BACS', and 'PADS'.

Available options:
CREDIT_OR_DEBIT_CARD,
ACH,
SEPA,
BACS,
PADS
additionalFormFields
object[]

An array of PaymentLinkFormField objects representing additional form fields for the payment link.

automatedSalesTaxEnabled
boolean

A boolean indicating whether automated sales tax is enabled.

collectFullBillingAddress
boolean

A boolean indicating whether to collect the full billing address during checkout.

collectShippingAddress
boolean

A boolean indicating whether to collect the shipping address during checkout.

currencyCode
string

The currency code for the payment link, represented as a string.

discount
object
discountCodeEnabled
boolean

A boolean indicating whether discount codes are enabled for the payment link.

discountObjectIds
string[]

An array of strings representing the IDs of discount objects associated with the payment link.

enableDefaultCheckoutFees
boolean

A boolean indicating whether default checkout fees are enabled.

feeObjectIds
string[]

An array of strings representing the IDs of fee objects associated with the payment link.

fees
object[]

An array of FeeRequest objects representing the fees associated with the payment link.

includeEmailInSuccessRedirect
boolean

A boolean indicating whether to include the email in the success redirect.

isOneTimeUseEnabled
boolean

A boolean indicating whether the payment link is enabled for one-time use.

lineItemObjectIds
string[]

An array of strings representing the IDs of line item objects associated with the payment link.

lineItems
(CUSTOM · object | FROM_PRODUCT · object | CLONE · object)[]

An array of line item objects, which can be of types LineItemCustomCreateRequest, LineItemFromProductCreateRequest, or LineItemCloneCreateRequest.

The name of the payment link, represented as a string.

state
enum<string>

The state of the payment link, represented as a string. Valid values are 'ON' and 'OFF'.

Available options:
OFF,
ON
storePaymentMethodAtCheckout
boolean

A boolean indicating whether the payment method should be stored at checkout.

taxObjectIds
string[]

An array of strings representing the IDs of tax objects associated with the payment link.

taxes
object[]

An array of TaxRequest objects representing the taxes associated with the payment link.

Response

successful operation

acceptedPaymentMethods
enum<string>[]
required

An array of accepted payment methods for the payment link. Valid values include 'CREDIT_OR_DEBIT_CARD', 'ACH', 'SEPA', 'BACS', and 'PADS'.

Available options:
CREDIT_OR_DEBIT_CARD,
ACH,
SEPA,
BACS,
PADS
additionalFormFields
object[]
required

An array of additional form fields included in the payment link.

archived
boolean
required

A boolean indicating whether the payment link is archived.

automatedSalesTaxEnabled
boolean
required

A boolean indicating whether automated sales tax is enabled for the payment link.

checkoutFeeIds
string[]
required

An array of checkout fee IDs associated with the payment link.

collectFullBillingAddress
boolean
required

A boolean indicating whether to collect the full billing address during checkout.

collectShippingAddress
boolean
required

A boolean indicating whether to collect the shipping address during checkout.

currencyCode
string
required

The currency code for the payment link, represented as a string.

discountCodeEnabled
boolean
required

A boolean indicating whether discount codes are enabled for the payment link.

discounts
object[]
required

An array of discount objects associated with the payment link.

fees
object[]
required

An array of fee objects associated with the payment link.

formGuid
string
required

The form GUID associated with the payment link, represented as a string.

id
string
required

The unique identifier for the payment link, represented as a string.

includeEmailInSuccessRedirect
boolean
required

A boolean indicating whether to include the email in the success redirect URL.

isOneTimeUseEnabled
boolean
required

A boolean indicating whether the payment link is enabled for one-time use.

lineItems
object[]
required

An array of line items associated with the payment link.

The name of the payment link, represented as a string.

The URL of the payment link, represented as a string.

state
enum<string>
required

The current state of the payment link, represented as a string. Valid values include 'ON' and 'OFF'.

Available options:
OFF,
ON
storePaymentMethodAtCheckout
boolean
required

A boolean indicating whether to store the payment method at checkout.

taxes
object[]
required

An array of tax objects associated with the payment link.

archivedAt
string<date-time>

The date and time when the payment link was archived, in ISO 8601 format.

businessUnitId
string

The business unit ID associated with the payment link, represented as a string.

createdAt
string<date-time>

The date and time when the payment link was created, in ISO 8601 format.

dealConfigurations
object
descriptionHtml
string

The HTML description of the payment link, represented as a string.

domainId
string

The domain ID associated with the payment link, represented as a string.

successUrl
string

The URL to redirect to upon successful payment, represented as a string.

updatedAt
string<date-time>

The date and time when the payment link was last updated, in ISO 8601 format.

Last modified on July 2, 2026