Manage products for sale.Create Product#
Endpoint: POST /v1/pay/products| Field | Type | Required | Description |
|---|
name | string | Yes | Product name |
description | string | No | Product description |
price | string | Yes | Product price |
currency | string | Yes | Currency code |
active | boolean | No | Whether product is active (default: true) |
metadata | object | No | Custom metadata |
{
"data": {
"id": "prod_abc123",
"name": "Premium Subscription",
"description": "Monthly premium access",
"price": "99.99",
"currency": "GMD",
"active": true,
"metadata": {},
"created_at": "2024-01-15T10:30:00Z"
}
}
Get Product#
Get details of a specific product.Endpoint: GET /v1/pay/products/{id}
List Products#
Get a paginated list of products.Endpoint: GET /v1/pay/products| Parameter | Type | Required | Description |
|---|
offset | integer | No | Number of items to skip (default: 0) |
limit | integer | No | Maximum number of items to return (default: 20, max: 100) |
active | boolean | No | Filter by active status |
Update Product#
Update an existing product.Endpoint: PUT /v1/pay/products/{id}| Field | Type | Required | Description |
|---|
name | string | No | Product name |
description | string | No | Product description |
price | string | No | Product price |
active | boolean | No | Whether product is active |
metadata | object | No | Custom metadata |
Delete Product#
Endpoint: DELETE /v1/pay/products/{id}Success Response (204): No content Modified at 2025-11-15 15:43:35