cURL
curl --request GET \ --url https://sandbox-api.billingrails.com/v1/products \ --header 'Authorization: Bearer <token>'
{ "products": [ { "object": "product", "id": "prod_IhMUl3rrZ3", "created_at": "2025-02-14T17:33:40.843Z", "status": "active", "name": "Premium Plan", "code": "premium_plan", "sku": "PREM-001", "description": "Premium subscription plan", "vendor": "Billingrails", "model": "subscription", "currency": "NGN", "amount": 5000, "image_url": "https://example.com/premium.jpg" } ] }
Retrieves a list of products.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Filter products by status
active
inactive
Success
The response is of type object.
object