> ## Documentation Index > Fetch the complete documentation index at: https://docs.xendit.co/llms.txt > Use this file to discover all available pages before exploring further. # Get Product List > Gets a list of available products with optional filtering capabilities ## OpenAPI ````json GET /bill-payments/v1/product { "openapi": "3.0.0", "info": { "title": "Others", "version": "3.0.0", "description": "These APIs provide merchants with customer management, file operations, and bill payment capabilities.\n\nThey cover:\n- Customer profile management\n- File upload, retrieval, and management\n- Bill payment services for utility providers and billers in Indonesia\n", "contact": { "name": "Xendit API Support", "email": "help@xendit.co", "url": "https://www.xendit.co/support" }, "license": { "name": "Proprietary", "url": "https://www.xendit.co/terms-and-conditions/" } }, "servers": [ { "url": "https://api.xendit.co", "description": "Xendit API" } ], "tags": [ { "name": "Customers", "description": "Operations for managing customer profiles and information" }, { "name": "Files", "description": "Operations for file upload, retrieval, and management" }, { "name": "Bill Payments", "description": "Bill payment services for utility providers and billers in Indonesia" } ], "paths": { "/bill-payments/v1/product": { "get": { "tags": [ "Bill Payments" ], "summary": "Get Product List", "description": "Gets a list of available products with optional filtering capabilities", "operationId": "getBillPaymentProductList", "security": [ { "BasicAuth": [] } ], "parameters": [ { "name": "id", "in": "query", "description": "Filter by specific product ID", "required": false, "schema": { "type": "string" }, "example": "PLN_PREPAID_50K" }, { "name": "biller", "in": "query", "description": "Filter by biller name", "required": false, "schema": { "type": "string" }, "example": "PLN" }, { "name": "category", "in": "query", "description": "Filter by product category", "required": false, "schema": { "type": "string", "enum": [ "ELECTRICITY" ] }, "example": "ELECTRICITY" }, { "name": "country", "in": "query", "description": "Filter by country code (e.g. ID)", "required": false, "schema": { "type": "string" }, "example": "ID" }, { "name": "availability_status", "in": "query", "description": "Filter by product availability status", "required": false, "schema": { "type": "string", "enum": [ "AVAILABLE", "TEMPORARILY_UNAVAILABLE", "DISCONTINUED" ] }, "example": "AVAILABLE" }, { "name": "requires_inquiry", "in": "query", "description": "Filter products that require inquiry step", "required": false, "schema": { "type": "boolean" }, "example": true }, { "name": "limit", "in": "query", "description": "Number of records to be fetched per page", "required": false, "schema": { "type": "integer", "default": 50 }, "example": 50 }, { "name": "cursor", "in": "query", "description": "Cursor value for paginating the result", "required": false, "schema": { "type": "string" }, "example": "dummy-cursor-value-001==" } ], "responses": { "200": { "description": "Successful response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BillPaymentProductListResponse" }, "examples": { "plnPrepaid": { "summary": "PLN Prepaid 50K Example", "value": { "limit": 50, "cursor": "dummy-cursor-value-001==", "data": [ { "type": "product", "id": "PLN_PREPAID_50K", "properties": { "product_name": "PLN Prepaid 50K", "category": "ELECTRICITY", "biller": "PLN", "country": "ID", "currency": "IDR", "requires_inquiry": false, "availability_status": "AVAILABLE", "admin_amount": 3200, "base_amount": 50000, "total_amount": 53200, "revenue_share_amount": 1000, "locale": { "en": "PLN Prepaid 50.000", "id": "PLN Prabayar 50.000" } } } ] } } } } } }, "400": { "$ref": "#/components/responses/ErrorStatusCode400Response" }, "401": { "$ref": "#/components/responses/ErrorStatusCode403Response" }, "500": { "$ref": "#/components/responses/ErrorStatusCode500Response" } } } } }, "components": { "schemas": { "BillPaymentProductListResponse": { "type": "object", "required": [ "data", "limit", "cursor" ], "properties": { "data": { "type": "array", "description": "Array of product objects", "items": { "$ref": "#/components/schemas/BillPaymentProduct" } }, "next_cursor": { "type": "string", "description": "Cursor value for next page. Empty if the last page reached" }, "limit": { "type": "integer", "description": "Number of records per page" } } }, "BillPaymentProduct": { "type": "object", "required": [ "type", "id", "properties" ], "properties": { "type": { "type": "string", "description": "Type of object, always \"product\"", "enum": [ "product" ] }, "id": { "type": "string", "description": "Unique product identifier" }, "properties": { "type": "object", "required": [ "product_name", "category", "biller", "country", "currency", "requires_inquiry", "availability_status", "admin_amount", "base_amount", "total_amount", "revenue_share_amount" ], "properties": { "product_name": { "type": "string", "description": "Display name of the product" }, "category": { "type": "string", "description": "Product category", "enum": [ "ELECTRICITY" ] }, "biller": { "type": "string", "description": "Name of the biller/provider" }, "country": { "type": "string", "description": "Country code in ISO 3166-1 alpha-2 format" }, "currency": { "type": "string", "description": "Currency code in ISO 4217 format" }, "requires_inquiry": { "type": "boolean", "description": "Whether product requires inquiry before purchase" }, "availability_status": { "type": "string", "description": "Product availability status", "enum": [ "AVAILABLE", "TEMPORARILY_UNAVAILABLE", "DISCONTINUED" ] }, "admin_amount": { "type": "number", "description": "Administrative fee amount" }, "base_amount": { "type": "number", "description": "Base product amount (0 for postpaid products)" }, "total_amount": { "type": "number", "description": "Total amount including admin fee" }, "revenue_share_amount": { "type": "number", "description": "Merchant revenue share amount" }, "locale": { "type": "object", "description": "Localized product names", "properties": { "en": { "type": "string", "description": "Product name in English" }, "id": { "type": "string", "description": "Product name in Indonesian" } } } } } } }, "Error400Schema": { "type": "object", "required": [ "error_code", "message" ], "properties": { "error_code": { "type": "string", "enum": [ "API_VALIDATION_ERROR", "FEATURE_NOT_AVAILABLE" ] }, "message": { "type": "string" }, "errors": { "$ref": "#/components/schemas/XenditArrayOfErrors" } } }, "Error403Schema": { "type": "object", "required": [ "error_code", "message" ], "properties": { "error_code": { "type": "string", "enum": [ "RATE_LIMIT_EXCEEDED" ] }, "message": { "type": "string" }, "errors": { "$ref": "#/components/schemas/XenditArrayOfErrors" } } }, "XenditArrayOfErrors": { "nullable": true, "type": "array", "items": { "oneOf": [ { "type": "string" }, { "type": "object" } ] } } }, "responses": { "ErrorStatusCode400Response": { "description": "Inputs are failing validation. The errors field contains details about which fields are violating validation.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error400Schema" } } } }, "ErrorStatusCode403Response": { "description": "API key in use does not have necessary permissions to perform the request. Please assign proper permissions for the key.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error403Schema" } } } }, "ErrorStatusCode500Response": { "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Error400Schema" } } } } }, "securitySchemes": { "BasicAuth": { "type": "http", "scheme": "Basic" } } } } ````