Enkash Developer Portal
HomePayment GatewayPayoutsCreate Account
HomePayment GatewayPayoutsCreate Account
Login
  1. Home
  • Back to home
  • Bill Payment
  • Bill Payments Overview
  • Utility API Response Handling
  • Get Authentication Token
    POST
  • Get BillerTypes
    GET
  • Get Billers
    GET
  • Fetch Bill
    POST
  • Create Bill API
    POST
  • Create Bill Without Bill Fetch
    POST
  • Bill Payment
    POST
  • Utility Bill Approval API
    PUT
  • Get Utility Bill Status
    GET
  • Get Utility Bill by Reference Id
    GET
  • Get Utility Bills Detail
    POST
  • Bill Payment Webhook
    POST
  1. Home

Bill Payment

POST
/api/v0/payment
API to initiate the manual payment and payment to be done via checkout page

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
paymentIds
array[string]
required
list of utility bill's ids
paymentType
enum<string> 
required
Fix value: UTILITY
Allowed value:
UTILITY
Default:
UTILITY
paymentRemarks
string 
optional
Optional remark
Example
{
    "paymentIds": [
        "string"
    ],
    "paymentType": "UTILITY",
    "paymentRemarks": "string"
}

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/v0/payment' \
--header 'Content-Type: application/json' \
--data-raw '{
    "paymentIds": [
        "string"
    ],
    "paymentType": "UTILITY",
    "paymentRemarks": "string"
}'

Responses

🟢200Success
application/json
Body
response_code
integer 
required
response_message
string 
required
payload
string 
optional
It will contain the checkout url for making payment
Example
{
  "response_code": 1,
  "response_message": "Failure",
  "payload": "Url"
}
Modified at 2024-12-17 03:51:53
Previous
Create Bill Without Bill Fetch
Next
Utility Bill Approval API
Built with