Enkash Developer Portal
Home
Home
Login
  1. APIs
  • Back to home
  • Bill Payment
  • APIs
    • Generate Authentication Token
      POST
    • Fetch Current Bill
      POST
    • Fetch Biller List
      GET
    • Fetch Biller Categories
      GET
    • Fetch Bulk Bill Details
      POST
    • Get Utility Bill By Reference ID
      GET
    • Get Utility Bill Status
      GET
    • Confirm Debit for Bill Payment
      PUT
    • Initiate Bill Payment via EnKash PG
      POST
    • Create Bill Without Bill Fetch
      POST
    • Create Bill After Successful Bill Fetch
      POST
  • Webhook
    • Setup Webhook Endpoint
  1. APIs

Create Bill Without Bill Fetch

POST
/api/v2/biller/addBill
📌
Use this API when you already have the bill details and want to create a bill directly in your EnKash account using this available information.
This is useful in cases where bill data has been pre-fetched or provided by another source, allowing you to seamlessly generate a bill without needing to query the biller again.

Request

Body Params application/json

Example
{
    "referenceId": "string",
    "billerId": 0,
    "circle": "AP",
    "billParams": {
        "cn": "string",
        "ad1": "string",
        "ad2": "string",
        "ad3": "string"
    },
    "billAmount": 0,
    "remarks": "string",
    "keyContactEmail": "string",
    "billDueDate": "2019-08-24",
    "billDate": "2019-08-24"
    "name": "Shreshth",
    "email": "[email protected]"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.your-api-server.com/api/v2/biller/addBill' \
--header 'Content-Type: application/json' \
--data-raw '{
    "referenceId": "string",
    "billerId": 0,
    "circle": "AP",
    "billParams": {
        "cn": "string",
        "ad1": "string",
        "ad2": "string",
        "ad3": "string"
    },
    "billAmount": 0,
    "remarks": "string",
    "keyContactEmail": "string",
    "billDueDate": "2019-08-24",
    "billDate": "2019-08-24"
    "name": "Shreshth",
    "email": "[email protected]"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "response_code": 0,
    "response_message": "string",
    "payload": {
        "utilityEnkashId": "string",
        "amount": 0,
        "consumerNumber": "string",
        "billdate": "2025-06-02",
        "billDueDate": "2025-06-02",
        "createdDate": "2025-06-02",
        "referenceId": "string",
        "paymentStatus": "INIT",
        "billpayStatus": "SUCCESS",
        "billReferenceId": "string",
        "billpayRequestId": "string",
        "failureReason": "string"
    }
}
Modified at 2025-08-11 11:55:30
Previous
Initiate Bill Payment via EnKash PG
Next
Create Bill After Successful Bill Fetch
Built with