---
updatedAt: 2026-10-19T10:10:57.000Z
agentTools:
  projectIndex: https://developer.flutterwave.com/llms.txt
---

# Create order using billing code and product code

Create an order using the biller code and the product code

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "flutterwave-v3",
    "version": "3.0.0"
  },
  "servers": [
    {
      "url": "https://api.flutterwave.com/v3"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/billers/{biller_code}/products/{product_code}/orders": {
      "post": {
        "summary": "Create order using billing code and product code",
        "description": "Create an order using the biller code and the product code",
        "operationId": "create-order-using-billing-code-and-product-id",
        "parameters": [
          {
            "name": "biller_code",
            "in": "path",
            "description": "This is the biller's code",
            "schema": {
              "type": "string",
              "default": "BIL136"
            },
            "required": true
          },
          {
            "name": "product_code",
            "in": "path",
            "description": "This is the id of the product",
            "schema": {
              "type": "string",
              "default": "OT151"
            },
            "required": true
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Pass your secret key as a bearer token in the request header to authorize this call",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Bearer FLWSECK_TEST-SANDBOXDEMOKEY-X"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customer",
                  "fields"
                ],
                "properties": {
                  "customer": {
                    "type": "object",
                    "description": "This is an object with the name, email and phone number of the customer.",
                    "required": [
                      "name",
                      "email",
                      "phone_number"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Name of the customer",
                        "default": "Ekene Eze"
                      },
                      "email": {
                        "type": "string",
                        "description": "This is the customer's email",
                        "default": "ekene@flw.com"
                      },
                      "phone_number": {
                        "type": "string",
                        "description": "This is the customer's phone number",
                        "default": "07022334456"
                      }
                    }
                  },
                  "fields": {
                    "type": "array",
                    "description": "This is an array of the id, quatity and value of the order",
                    "items": {
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "This is the order id",
                          "default": "42107711:42107712"
                        },
                        "quantity": {
                          "type": "string",
                          "description": "This is the quantity of the order",
                          "default": "1"
                        },
                        "value": {
                          "type": "string",
                          "description": "This is the value of the order",
                          "default": "3500"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "country": {
                    "type": "string",
                    "description": "This is the country attached to the service being bought e.g. if Service is Airtime and country is NG it means you are buying airtime in Nigeria",
                    "default": "NG"
                  },
                  "amount": {
                    "type": "string",
                    "description": "This is the amount for the service you would like to order.",
                    "default": "3500"
                  },
                  "reference": {
                    "type": "string",
                    "description": "This is a unique reference passed by the developer to identify transactions on their end.",
                    "default": "FLWTTOT1000000029"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"success\",\n  \"message\": \"Order processed successfully\",\n  \"data\": {\n    \"amount\": \"3787.88\",\n    \"fee\": \"26.25\",\n    \"tx_ref\": \"FLWTTOT1000000029\",\n    \"order_reference\": \"d93ca22f-f129-4cb9-af51-abeb3c1790d0\",\n    \"created_at\": \"2020-03-12T07:48:23580\",\n    \"total_amount\": \"3814.13\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "message": {
                      "type": "string",
                      "example": "Order processed successfully"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "amount": {
                          "type": "string",
                          "example": "3787.88"
                        },
                        "fee": {
                          "type": "string",
                          "example": "26.25"
                        },
                        "tx_ref": {
                          "type": "string",
                          "example": "FLWTTOT1000000029"
                        },
                        "order_reference": {
                          "type": "string",
                          "example": "d93ca22f-f129-4cb9-af51-abeb3c1790d0"
                        },
                        "created_at": {
                          "type": "string",
                          "example": "2020-03-12T07:48:23580"
                        },
                        "total_amount": {
                          "type": "string",
                          "example": "3814.13"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Content-Type",
        "value": "application/json"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```