API Endpoints

Update a payment link

Updates a paymentLink object with the values passed in. Any parameters not provided are left unchanged

Log in to see full request history
Path Params
string
required

A unique identifier for the paymentLink.

Body Params
string

An optional name for the payment link.

string

An optional description for the payment link.

string

The tax rate to apply to the payment link's billing.

meta
object

Key/value pairs (JSON) for extra info on the object. Useful for external use.

string

The redirect URL after a successful payment.

string

The redirect URL after a failed payment.

string

The coupon ID to apply to the payment.

discordConstraints
array

The discordConstraint IDs to apply to the payment link.

discordConstraints
globalConstraint
array of strings

The paymentLinkConstraint IDs to apply to the payment link.

globalConstraint
wallets
array of objects

List of wallet IDs and their respective shares (in basis points) to receive payments from the payment link. Defaults to the application's primary wallet if unspecified.

wallets
boolean

Requires email from the customer.

boolean

Requires Twitter username from the customer.

boolean

Requires Telegram username from the customer.

boolean

Requires Discord username from the customer.

boolean

Requires full name from the customer.

boolean

Requires shipping details from the customer.

string

A non-null datetime for when the payment link becomes payable.

string

A non-null datetime for when the payment link becomes un-payable.

lineItems
object
required

A list of lineItemCreate objects to update the PaymentLink to

Response

paymentLink object.

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