Update Payment Link
Update an existing payment link on your Terraswitch account.
Body Parameters
name
string
The name of the payment link
"Donation Request"
No
feature
string
The feature type of the payment link. This can either be request
, product
or invoice
"request"
No
type
string
Specifies the amount type of the payment link. Can be fixed
or dynamic
"fixed"
No
amount
number
Amount of required for the payment link. This should be set if type is fixed
1000.99
Only if type is fixed
redirectUrl
string
Preferred payment link redirect url. Customers will be redirected to this link on payment success or failure.
""
No
message
string
Success message after a successful payment.
"Thank you for your payment"
No
slug
string
Customize your payment link url with the payment link slug. This should be unique and does not accept spaces or special characters
"donation-request"
No
description
string
Describe the payment link and its purpose.
"For donation"
No
splits
array
An array of strings that holds subaccount codes if you plan to split the payment.
[ "TSA_6yhyzzkcHc" ]
No
Last updated