- EnKash Developer Portal Overview
- Payment Gateway
- Payment Gateway Overview
- Payment Gateway Sign Up
- Payment Methods
- Supported Integrations
- Payment Gateway APIs
- Web Integration
- Server to Server Integration
- Test Card Details
- Authorization
- Orders
- Payments
- Refunds
- Settlements
- Split Settlements
- E-Commerce Plugins
- Payment Links
- Payment Button
- Qr Code
- UPI Mandate
- Payment Links
- Bharat Connect (BBPS)
- About Bharat Connect
- B2B Invoicing
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- Webhook Purchase Order
- Webhook Send Purchase Order Request
- Webhook Send Purchase Order Response
- Webhook Confirm Purchase Order Request
- Webhook Confirm Purchase Order Response
- Webhook Edit Purchase Order Request
- Webhook Edit Purchase Order Response
- Webhook Status Change Purchase Order Request
- Webhook Status Change Purchase Order Response
- Bill Payments
- Payouts
- Accounts Payable Management Tool
- Account Receivable
- Expense Management
- Loyalty
- Card Management
- Verification Suite
Expenses
Developing
POST
/api/v0/expense/search
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
limit
stringÂ
required
Example:
10
offset
stringÂ
required
Example:
0
orderBy
stringÂ
required
Example:
lastModifiedDate
direction
stringÂ
required
Example:
DESC
Header Params
authorization
stringÂ
required
Example:
Bearer GzB4Ix1WuJelUIpLLCN3tmvEIA4
content-type
stringÂ
required
Example:
application/json
Cookie
stringÂ
required
Example:
_cfuvid=HjA.EX_.WECuOWK5EXOB88UqYNafEYAj5NA_R6OYhgI-1740469627647-0.0.1.1-604800000; JSESSIONID=C36565AE591BF368AD043DAC629ECD0A
Body Params application/json
settlementStatus
stringÂ
required
userType
stringÂ
required
limit
integerÂ
required
Example
{
"settlementStatus": "ALL",
"userType": "ENTERPRISE_ADMIN",
"limit": 10
}
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/expense/search?limit=10&offset=0&orderBy=lastModifiedDate&direction=DESC' \
--header 'authorization: Bearer GzB4Ix1WuJelUIpLLCN3tmvEIA4' \
--header 'Cookie: _cfuvid=HjA.EX_.WECuOWK5EXOB88UqYNafEYAj5NA_R6OYhgI-1740469627647-0.0.1.1-604800000; JSESSIONID=C36565AE591BF368AD043DAC629ECD0A' \
--header 'content-type: application/json' \
--data-raw '{
"settlementStatus": "ALL",
"userType": "ENTERPRISE_ADMIN",
"limit": 10
}'
Responses
🟢200Success
application/json
Body
response_code
integerÂ
required
response_message
stringÂ
required
payload
objectÂ
required
recordsCount
integerÂ
required
data
array [object {19}]Â
required
Example
{
"response_code": 0,
"response_message": "Success",
"payload": {
"recordsCount": 1,
"data": [
{
"createdDate": "2024-06-03T16:25:05.188",
"expenseId": "EXP721942CN9",
"amount": 5000,
"paymentMode": "PERSONAL_CARD",
"expenseDate": "2024-06-03",
"category": "CATEGORY WATCH",
"merchantName": "afc",
"paymentIdentifier": null,
"settlementStatus": "UPDATED_AND_SUBMITTED",
"dossier": "afc",
"empName": "Likhith B",
"policyDeviationReasons": null,
"policyId": null,
"requestFormId": null,
"requestFormName": null,
"singleExpense": true,
"reimbursementRequired": true,
"delegateCreatorEmpName": null,
"lastApprovedAmount": 500
}
]
}
}
Modified at 2025-02-25 12:17:06