Update Payment Link
Update configuration options for a payment link.
Updates will overwrite existing values. Make sure to include all existing values along with updated ones.
Update configuration options for a payment link.
Updates will overwrite existing values. Make sure to include all existing values along with updated ones.
Path Parameters
The ID of the payment link
Request Body
The total amount in cents (before a surcharge is applied).
If patronCanEnterAmount is set to true, then this will be used as the initial value for the field where the patron can enter the amount.
If patronCanEnterAmount is not set to true, then this must be a value greater than 50 (50 cents).
If taxes are configured, then totalAmount must be the pre-tax subtotal amount, before any taxes have been added.
If this is set to true, then the patron will enter the amount to be charged (before a surcharge is applied).
If a totalAmount is not provided, then the patron will be required to enter an amount before payment can be submitted.
NOTE: If this is not set to true, then a totalAmount must be provided.
Internal description for use in identifying a payment link in the UI.
NOTE: This is not exposed to the patron.
Specify payment options that will be disabled for this payment link.
By default, the following payment options will be enabled:
us_bank_accountlinkvisamastercardamerican_expressdiscover_global_network
Disabling a payment option will prevent it from being available to the patron.
Based on the patron's shipping or billing address.
This should be taken from the shipping address on the invoice. If a shipping address is not available, then use the billing address instead.
This will be used in the calculation of the surcharge.
Optional email that the receipt will be sent to.
If provided, this will also be displayed to the patron on the payment page.
If not provided, then the patron will be required to enter a valid email address.
Configure tax handling for this payment link.
This will be used calculate an additional tax amount on the surcharge when applicable.
This additional tax amount will be added to the Stripe Payment Intent metadata as metadata.totalTaxAmount, and metadata.surchargeTaxAmount.
HINT: If any item that is being purchased is taxable, then taxes should be configured on the payment link.
To configure taxes, you must provide both taxRate and taxAmount.
NOTE: Taxes are not supported if patronCanEnterAmount is set to true.
[DEPRECATED] - Use patronLocation instead.
ALAKAZARCACOCTDEFLGAHIIDILINIAKSKYLAMEMDMAMIMNMSMOMTNENVNHNJNMNYNCNDOHOKORPARISCSDTNTXUTVTVAWAWVWIWYASDCFMGUMHMPPWPRVIAAAEAP