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
      POST
  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
{
  "companyId": "string",
  "referenceId": "string",
  "billerId": 0,
  "circle": "AP",
  "billParams": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "branchCode": "string",
  "failureReason": "string",
  "billAmount": 0,
  "recoverableAmount": 0,
  "commencementDate": "2025-10-01",
  "remarks": "string",
  "bankCardId": "BKCJC126GDK5",
  "keyContactEmail": "string",
  "billDueDate": "2025-10-01",
  "billDate": "2025-10-01",
  "email": "string",
  "name": "string",
  "fileName": "string",
  "base64File": "string",
  "mimeType": "string",
  "virtualAccountNo": "string",
  "ifsc": "string",
  "walletId": "string",
  "otpMedium": "MOBILE",
  "otp": "401936",
  "otpReferenceId": "string"
}

Request Code 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 '{
  "companyId": "string",
  "referenceId": "string",
  "billerId": 0,
  "circle": "AP",
  "billParams": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "branchCode": "string",
  "failureReason": "string",
  "billAmount": 0,
  "recoverableAmount": 0,
  "commencementDate": "2025-10-01",
  "remarks": "string",
  "bankCardId": "BKCJC126GDK5",
  "keyContactEmail": "string",
  "billDueDate": "2025-10-01",
  "billDate": "2025-10-01",
  "email": "string",
  "name": "string",
  "fileName": "string",
  "base64File": "string",
  "mimeType": "string",
  "virtualAccountNo": "string",
  "ifsc": "string",
  "walletId": "string",
  "otpMedium": "MOBILE",
  "otp": "401936",
  "otpReferenceId": "string"
}'

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-10-01 04:52:44
Previous
Initiate Bill Payment via EnKash PG
Next
Create Bill After Successful Bill Fetch
Built with