Payment links
Update a payment link
PATCH/api/v1/payment-links/{linkID}
Send only what changes. Set the status to disabled to stop it taking payments.
Authorization
Bearer sk_test_… or sk_live_…Path parameters#
linkIDuuidRequired
Body parameters#
amount_minorintegerOptionalAt least 1.
descriptionstringOptionalUp to 1000 characters.
expires_attimestampOptionalmin_amount_minorintegerOptionalAt least 1.
redirect_urlstringOptionalUp to 2000 characters.
slugstringOptionalUp to 60 characters.
statusstringOptionalOne of
active,disabled.titlestringOptionalUp to 120 characters.
Responses#
- 200The payment link
- 401The secret key is missing, invalid or revoked.
- 403The key is not allowed to do this, or the request came from an address that is not on its allowlist.
- 404Nothing was found for this business and mode.
- 422A field is missing or not valid.