Update a Payment Link

Path Params
string
required
Body Params
string
required

Payment link name/title. Length 256

string

Payment link title. Length 500

lineItems
array of strings
lineItems
boolean

Whether or not the payment link is active. Defaults to true when created.

afterCompletion
object
string
enum

3 letter iso currency code.

Allowed:
customFields
object

Array with CustomField objects. Limit to array to having 5 custom fields max.

string
enum

Capture Method:

automatic : Use for full sale

manual: Use for “Auth Only”

Allowed:
string
enum

Determines if a customer will be created during payment process:

if_required : Only creates a customer when the price is for a “subscription”, and when savePaymentMethodForFutureUsage is set to “always”

always : Always create a customer regardless of the price type

Allowed:
string
enum

Determines if the payment method saved will be created during payment process:

if_required : Will not store the payment method when the price amount is 0. Will not store the payment method for any transactions ran through the payment page UNLESS its for a subscription

always : Always store the payment method used by the customer for future payments

Allowed:
string
enum

Determines which payment methods will be displayed in the payment link:

us_bank_account : Enables payments with US bank accounts

card : Enables payments with CARD, APPLE PAY, GOOGLE PAY

Allowed:
boolean

Determines if we need to collect the customer’s billing address (other than the zipcode).

boolean

Determines if we need to collect the customer’s Phone number.

boolean

Determines if we need to collect the customer’s shipping address.

shippingCountriesAllowed
array of strings

Array with a list of countries to which the product can be shipped.

shippingCountriesAllowed
shippingRatesAvailable
array of strings

An array of shipping rate ids to be displayed to the user as options during the checkout flow.

shippingRatesAvailable
string
enum

Describes the layout to be used when displaying the fees and discounts.

Allowed:
string
enum

When using donation layout, donor is able to see a checkbox to pay for the donation fees. This field determines the default state of that button

Allowed:
string

A text string with what will be displayed in the Payment Button on the hosted payment page. It can have a {amount} token which would then be replaced by the final amount to be paid by the user. eg: “Pay {amount} now”

boolean

Determines whether or not to display the business contact information.

customBranding
object

Object with Branding details.

boolean

Determines whether or not to send a receipt at the end of the transactions.

Headers
string

A unique identifier to ensure the same operation isn't processed multiple times, preventing duplicate transactions.

string

Specifies the account for which the Payment-Link is intended. This is used for scenarios where one partner creating payment-link on behalf of another partner, such as in PayFac or related partner relationships.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json