Authorizations
Path Parameters
Example:
"Payment_link_id"
Body
multipart/form-data
This endpoint allows you to update the details of a specific payment link.
| Key | Required | Type | Description |
|---|---|---|---|
| name | false | string (max: 250) | The name of the payment link. |
| description | false | string (max: 250) | A description of the payment link. |
| slug | false | string (max: 250) | A unique identifier (URL-friendly). Must match regex: ^[a-zA-Z0-9-]+$. |
| amount | false | string | The amount for the payment link. Must be a valid string number > 0. |
| redirectUrl | false | string (URL) | The URL to redirect the user after payment. Must include http:// or https://. |
| successMessage | false | string (max: 500) | Message shown when the payment succeeds. |
| active | false | boolean | Indicates whether the payment link is active. |
| inactiveMessage | false | string (max: 500) | Message shown when the payment link is inactive. |
| metadata | false | object (JSON string) | Custom metadata as key-value pairs (string or number). Must be sent as a JSON string in form-data. |
| paymentLimit | false | number (min: 1) | Maximum number of payments allowed for this link. |
| file | false | file | An optional file upload (e.g., image or document) attached to the payment link. |
"Payment_link_id"