The product to update is identified by the
id field in the request body, not
by the {id} segment in the URL path. This endpoint shares the same handler as
Edit Payment Link
(POST /products/payment-link/{id}/update).Authorization
Example:
Authorization | Bearer Paste-Your-API-Key-HereRequest Body
Unique identifier of the payment link product to update. This is read from the
request body.
Payment link product name.
Payment link product description.
Product price amount.
URL where the customer will be redirected after completing payment.
Additional notes for the payment link.
Payment link expiration date in ISO 8601 format.
Response
Successful ResponseMain Structure (Root)
Status code from API.
Status message that describes the status code.
The updated payment link product data.
data Structure (Object)
Unique identifier of the payment link product.
Public payment link URL of the updated product.
Errors
When the request body fails validation, this endpoint still responds with HTTP
200 but sets messages to failed and returns the validator errors in
data: { "statusCode": 200, "messages": "failed", "data": { ... } }.Returned when the product does not belong to the authenticated account:
{ "statusCode": 401, "messages": "Unauthorized" }.Returned when the product does not exist:
{ "statusCode": 404, "messages": "Product not found" }.