Products

List products

GET/api/v1/products

Returns your products with their features, newest first, one page at a time. While hasMore is true, pass nextCursor as cursor to get the next page. Treat the cursor as an opaque string. A cursor is bound to the filter it was issued with. Send expand[] to embed the default price in every product of the page.

Authorization

bearerAuth
AuthorizationBearer <token>

An access token from POST /api/v1/oauth/token, sent as Authorization: Bearer <token>.

In: header

Query Parameters

limit?integer

How many products to return, 1 to 100. A value outside that range is brought inside it.

Formatint32
Default20
cursor?string

The nextCursor from the previous page. Leave it out for the first page.

active?boolean

true for products on sale, false for archived products. Both when left out.

expand[]?array<string>

A related object to embed in every item of the page, written with data. in front, such as data.customer. The ID field keeps its value and the object appears next to it without the Id, so customerId stays and customer is added. Repeat the parameter for more than one path. A path may go up to 4 levels deep after data., such as data.subscription.customer. A path that is not offered, or that does not start with data., answers 400 with code parameter_invalid. Paths offered: data.defaultPrice.

Header Parameters

FlexMalipo-Version?"2026-11-06"

The API version to use for this request, a date such as 2026-11-06. Without it the request uses your default version for the mode of your key. An unknown version answers 400 api_version_invalid.

Value in

  • "2026-11-06"

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api-malipo.flex.co.tz/api/v1/products?limit=20&active=true" \  -H "Authorization: Bearer <token>" \  -H "FlexMalipo-Version: 2026-11-06"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "livemode": true,      "name": "Pro plan",      "description": "Everything in Basic, plus reports.",      "active": true,      "metadata": {        "property1": "string",        "property2": "string"      },      "features": [        {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "livemode": true,          "lookupKey": "queues",          "name": "Queues",          "description": "string",          "limit": 15,          "limitPerSeat": true,          "createdAt": "2019-08-24T14:15:22Z"        }      ],      "defaultPriceId": "c79663b6-9012-4d9a-bc6f-db5a00400fac",      "defaultPrice": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "livemode": true,        "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",        "product": {},        "type": "RECURRING",        "unitAmount": 15000,        "unitAmountDecimal": 15000,        "currency": "TZS",        "interval": "MONTH",        "intervalCount": 1,        "maxPeriods": 12,        "active": true,        "lookupKey": "pro_monthly",        "metadata": {          "property1": "string",          "property2": "string"        },        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z",        "usageType": "FLAT",        "meter": "08cfef1f-f291-40f5-b1b8-05ac0989f419",        "pricingModel": "PER_UNIT",        "tiers": [          {            "upTo": 1000,            "unitAmount": 3,            "unitAmountDecimal": 0.5,            "flatAmount": 2000          }        ],        "rates": [          {            "dimensions": {              "network": "vodacom"            },            "unitAmount": 3,            "unitAmountDecimal": 3          }        ],        "subscriptionCount": 3      },      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "brandId": "0e9bcbb3-096e-49f9-aeea-7a13a201eff5"    }  ],  "hasMore": true,  "nextCursor": "eyJjIjoiMjAyNi0wOS0yOFQwOToxNTozMFoiLCJpIjoiMGI2ZiJ9.x7Qm"}