Update a link
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Parameters:
linkId
uuid
requiredbrandId
uuid
requiredexternalReference
string | nullamountInMinorUnits
number
requiredpurpose
string
enum
Defaults toPURCHASE
Allowed:MERCHANT_TOPUP,PURCHASEexpiresAt
date-time | nullsuccessUrl
uri | nullfailureUrl
uri | nullcancelUrl
uri | nullmetadata
object | nullbillingAddress
objectshippingAddress
objectlineItems
array of objects | null
ADD objectaccept
string
enum
Defaults toapplication/json
Allowed:application/json,application/problem+json
Response Codes
- 200 Returns the updated payment link.
- 400 Bad Request
- 401 Unauthorized
- 402 Payment Required
- 403 Forbidden
- 404 Not Found
- 409 Conflict
- 500 Internal Server Error
Base URL
https://api.superpayments.com/2026-04-01/payment-links/{linkId}
curl --request PUT \
--url https://api.superpayments.com/2026-04-01/payment-links/linkId \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"purpose": "PURCHASE"
}'