Partially update payment link
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Bearer authentication of the form Bearer <token>, where token is your auth token.
Use this method to partially update a payment link. Structure your request to follow the RFC 6902 standard.
To update a payment link, you need its paymentLinkId, which we sent you in the response of the Create Payment Link method.
Note: If you don’t have the paymentLinkId, use our List Payment Links method to search for the payment link.
You can update the following properties of a multi-use link:
You can update the following properties of a single-use link:
Note: When a merchant updates a single-use link, we update the payment URL and HTML code in the assets object. The customer can’t use the original link to make a payment.
Unique identifier that you generate for each request. You must use the UUID v4 format for the identifier. For more information about the idempotency key, go to Idempotency.
Successful request. We updated the payment link and return a polymorphic object that contains payment link information. The value of the type parameter determines which variant you should use:
multiUse - Create a link that the merchant can use to take multiple payments.singleUse - Create a link that the merchant can use for only one payment.