Endpoint:
This endpoint shares the same handler and request body as
Create Product
(POST /products/create). Both create a generic_link product.
Authorization
Example:Authorization | Bearer Paste-Your-API-Key-Here
Request Body
Generic payment link product name.
Generic payment link product description.
URL where the customer will be redirected after completing payment.
Cover image for the product.
Payment link expiration date in ISO 8601 format.
Additional notes for the payment link.
Tax amount applied to the product.
Response
Successful Response
Main Structure (Root)
Status message that describes the status code.
The created generic payment link product data.
data Structure (Object)
Unique identifier of the generic payment link product.
Public URL of the created generic payment link product.
Errors
Returned when the request body fails validation:
{ "statusCode": 400, "messages": "Validation Error" }.
Returned when a product with the same identifier already exists:
{ "statusCode": 409, "messages": "already exist" }.