Update a Payment Link [v3]
PATCH/api/v3/payment-link
Update an existing payment link that has not yet been paid or cancelled. Which fields can be updated depends on the link's current status.
Quick Reference
- Required:
payment_link_id; updatable fields depend on link status - Conditional:
currency,total_amount,order_line_items(statuscreatedonly);userdetails, notification settings,expires_at(always) - Returns: Updated payment link object
Request
Responses
- 200
- 4XX
- 5XX
When the payment link updation request is successful, the response will be as below
When the payment link updation request is not successful, the response will be as below
When there is a problem on the server, the response will be as below