EnKash Developer Portal
Home
Home
Login
  1. Home
  • Back to home
  • APIs - Expense
  • Token API
    POST
  • Account Transaction
    POST
  • Payment Transaction
    POST
  • Create Card Expense
    POST
  • Attach Expense Receipt
    POST
  1. Home

Create Card Expense

Developing
POST
/api/v0/partner/expense/card
Creates a card or wallet expense for an employee. The expense is stored as AUTO_CREATED and does not enter manager approval from this call.
Authority: CREATE_EXPENSE.
Headers: Authorization Bearer token, Accept application/json.
transactionId is stored as paymentIdentifier and is the key used to attach a receipt.
Calling again with the same transactionId and the same amount returns 400 Expense already created for this transaction.

Request

Query Params

Header Params

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://ekpayout-uat.enkash.in/api/v0/partner/expense/card?userId=EKUSER001&transactionId=TXN123456&amount=1250.50&merchantName=IRCTC&mobile=9876543210&txnDate=2026-09-15T10%3A30%3A00&expensePaymentMode=FREEDOM_CARD&accountType=PETTY_CASH&remarks=Delhi-Mumbai&handleId=H1&tenantName=&branchCode=BLR01&categoryId=CAT_TRAVEL&vehicleId=' \
--header 'Authorization: Bearer <token>' \
--header 'Accept: application/json'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
      "response_code": 0,
        "response_message": "Expense has been successfully created.",
          "payload": {
              "expenseId": "EXP123456",
                  "amount": 1250.50,
                      "merchantName": "IRCTC",
                          "paymentMode": "FREEDOM_CARD",
                              "paymentIdentifier": "TXN123456",
                                  "settlementStatus": "AUTO_CREATED",
                                      "branchCode": "BLR01",
                                          "employeeId": "EMP001",
                                              "autoCreated": true
                                                }
                                                }
}
Modified at 2026-10-06 09:24:34
Previous
Payment Transaction
Next
Attach Expense Receipt
Built with