@ekoindia/eps-context-mcp 0.1.16 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/data/eps.json +82 -67
  2. package/package.json +1 -1
package/data/eps.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "meta": {
3
3
  "org": "ekoindia",
4
4
  "apiVersion": "v3",
5
- "bundleVersion": "be6a360c",
5
+ "bundleVersion": "17feb776",
6
6
  "environments": [
7
7
  {
8
8
  "id": "sandbox",
@@ -2210,7 +2210,7 @@
2210
2210
  "summary": "Enable AePS Fingpay service for your agent by submitting their biometric device details and KYC documents.",
2211
2211
  "category": "bc",
2212
2212
  "relevance": "M",
2213
- "description": "This API enables an agent (identified by their `user_code`) to use the AePS Fingpay service. It accepts the agent's biometric device model, serial number, address proofs, and KYC documents (PAN card, Aadhaar front and back) as a multipart form submission. After submission, the activation enters a 'pending' state and is approved within 2–3 business days. Only activated agents can perform AePS transactions. File uploads must be JPEG/JPG/PDF format, each under 1 MB; PNG is not accepted.\n\n> [!NOTE]\n> This API must be called after onboarding your agent using the [**Onboard User API**](/docs/onboard-user).\n\n> [!WARNING]\n> The approval may take 1-2 business days.",
2213
+ "description": "This API enables an agent (identified by their `user_code`) to use the AePS Fingpay service. It accepts the agent's biometric device model, serial number, settlement account, address proofs, and KYC documents (PAN card, Aadhaar front and back) as a multipart form submission. After submission, the activation enters a 'pending' state and is approved within 2–3 business days. Only activated agents can perform AePS transactions. File uploads must be JPEG/JPG/PDF format, each under 1 MB; PNG is not accepted.\n\n> [!IMPORTANT]\n> This is **not** a form field per parameter. Every non-file field below travels together as one JSON object in a single form field named `form-data`, and each document is its own file part (`pan_card`, `aadhar_front`, `aadhar_back`).\n\n> [!NOTE]\n> This API must be called after onboarding your agent using the [**Onboard User API**](/docs/onboard-user).\n\n> [!WARNING]\n> The approval may take 1-2 business days.",
2214
2214
  "bestFor": "Platforms onboarding BC agents and CSPs to offer AePS services for the first time",
2215
2215
  "docsUrl": "https://eps.eko.in/docs/activate-aeps-fingpay",
2216
2216
  "headers": [
@@ -2240,7 +2240,7 @@
2240
2240
  "in": "header",
2241
2241
  "type": "string",
2242
2242
  "required": true,
2243
- "description": "multipart/form-data — let your HTTP client set this header itself (it generates the required boundary); do not hardcode the value.",
2243
+ "description": "multipart/form-data — let your HTTP client set this header itself (it generates the required boundary); do not hardcode the value. Every non-file field travels as one JSON object in a single `form-data` part; each upload is its own part.",
2244
2244
  "example": "multipart/form-data"
2245
2245
  }
2246
2246
  ],
@@ -2285,25 +2285,43 @@
2285
2285
  "example": "SN1234567890",
2286
2286
  "in": "body"
2287
2287
  },
2288
+ {
2289
+ "name": "account",
2290
+ "label": "Settlement Account Number",
2291
+ "type": "string",
2292
+ "required": true,
2293
+ "description": "Bank account number in which the agent's AePS earnings are settled.",
2294
+ "example": "38759149196",
2295
+ "in": "body"
2296
+ },
2297
+ {
2298
+ "name": "ifsc",
2299
+ "label": "Settlement Account IFSC",
2300
+ "type": "string",
2301
+ "required": true,
2302
+ "description": "IFSC of the branch holding the settlement `account`. 11 characters.",
2303
+ "example": "SBIN0007515",
2304
+ "in": "body"
2305
+ },
2288
2306
  {
2289
2307
  "name": "shop_type",
2290
- "type": "number",
2308
+ "type": "string",
2291
2309
  "required": true,
2292
- "description": "The shop-type ID of the Agent. Use `Get Shop Types` API for a list of shop-types and corresponding IDs",
2293
- "example": 4215,
2310
+ "description": "The shop-type ID of the Agent, sent as a string. Use `Get Shop Types` API for a list of shop-types and corresponding IDs",
2311
+ "example": "4215",
2294
2312
  "in": "body"
2295
2313
  },
2296
2314
  {
2297
2315
  "name": "office_address",
2298
2316
  "type": "object",
2299
2317
  "required": true,
2300
- "description": "Agent's current office/operating address as a JSON object with keys: line, city, state, state_id, pincode. To get state_id, see the `Get States` API",
2318
+ "description": "Agent's current office/operating address, as a nested JSON object inside `form-data` with keys: line, city, state, state_id, pincode. To get state_id, see the `Get States` API",
2301
2319
  "example": {
2302
- "line": "Shop No. 5, Gandhi Market",
2303
- "city": "Gurgaon",
2304
- "state": "Haryana",
2305
- "state_id": 23,
2306
- "pincode": "122003"
2320
+ "line": "Middle Tarku Near Secondary School",
2321
+ "city": "Singtam",
2322
+ "state": "Sikkim",
2323
+ "pincode": "122002",
2324
+ "state_id": "23"
2307
2325
  },
2308
2326
  "in": "body"
2309
2327
  },
@@ -2311,24 +2329,16 @@
2311
2329
  "name": "address_as_per_proof",
2312
2330
  "type": "object",
2313
2331
  "required": true,
2314
- "description": "Agent's address exactly as it appears on the submitted address proof document. JSON object with keys: line, city, state, sate_id, pincode. To get state_id, see the `Get States` API",
2332
+ "description": "Agent's address exactly as it appears on the submitted address proof document. Nested JSON object inside `form-data` with keys: line, city, state, state_id, pincode. To get state_id, see the `Get States` API",
2315
2333
  "example": {
2316
- "line": "Shop No. 5, Gandhi Market",
2334
+ "line": "Temi Tarku Secondary",
2317
2335
  "city": "Gurgaon",
2318
2336
  "state": "Haryana",
2319
- "state_id": 23,
2320
- "pincode": "122003"
2337
+ "pincode": "122002",
2338
+ "state_id": "23"
2321
2339
  },
2322
2340
  "in": "body"
2323
2341
  },
2324
- {
2325
- "name": "pan_card",
2326
- "type": "file",
2327
- "required": true,
2328
- "description": "PAN card document upload (multipart/form-data). Accepted formats: JPEG, JPG, PDF. Max size: 1 MB. PNG not accepted.",
2329
- "example": "<binary file>",
2330
- "in": "body"
2331
- },
2332
2342
  {
2333
2343
  "name": "aadhar",
2334
2344
  "label": "Aadhaar Number",
@@ -2338,12 +2348,21 @@
2338
2348
  "example": "123456789012",
2339
2349
  "in": "body"
2340
2350
  },
2351
+ {
2352
+ "name": "pan_card",
2353
+ "label": "PAN Card Image",
2354
+ "type": "file",
2355
+ "required": true,
2356
+ "description": "PAN card document, sent as its own file part. Accepted formats: JPEG, JPG, PDF. Max size: 1 MB. PNG not accepted.",
2357
+ "example": "<binary file>",
2358
+ "in": "body"
2359
+ },
2341
2360
  {
2342
2361
  "name": "aadhar_front",
2343
2362
  "label": "Aadhaar Front Image",
2344
2363
  "type": "file",
2345
2364
  "required": true,
2346
- "description": "Front side of the Aadhaar card (multipart/form-data). Accepted formats: JPEG, JPG, PDF. Max size: 1 MB.",
2365
+ "description": "Front side of the Aadhaar card, sent as its own file part. Accepted formats: JPEG, JPG, PDF. Max size: 1 MB.",
2347
2366
  "example": "<binary file>",
2348
2367
  "in": "body"
2349
2368
  },
@@ -2352,7 +2371,7 @@
2352
2371
  "label": "Aadhaar Back Image",
2353
2372
  "type": "file",
2354
2373
  "required": true,
2355
- "description": "Back side of the Aadhaar card (multipart/form-data). Accepted formats: JPEG, JPG, PDF. Max size: 1 MB.",
2374
+ "description": "Back side of the Aadhaar card, sent as its own file part. Accepted formats: JPEG, JPG, PDF. Max size: 1 MB.",
2356
2375
  "example": "<binary file>",
2357
2376
  "in": "body"
2358
2377
  },
@@ -2371,23 +2390,25 @@
2371
2390
  "client_ref_id": "2026010100123456789",
2372
2391
  "modelname": "Morpho 1300E3",
2373
2392
  "devicenumber": "SN1234567890",
2374
- "shop_type": 4215,
2393
+ "account": "38759149196",
2394
+ "ifsc": "SBIN0007515",
2395
+ "shop_type": "4215",
2375
2396
  "office_address": {
2376
- "line": "Shop No. 5, Gandhi Market",
2377
- "city": "Gurgaon",
2378
- "state": "Haryana",
2379
- "state_id": 23,
2380
- "pincode": "122003"
2397
+ "line": "Middle Tarku Near Secondary School",
2398
+ "city": "Singtam",
2399
+ "state": "Sikkim",
2400
+ "pincode": "122002",
2401
+ "state_id": "23"
2381
2402
  },
2382
2403
  "address_as_per_proof": {
2383
- "line": "Shop No. 5, Gandhi Market",
2404
+ "line": "Temi Tarku Secondary",
2384
2405
  "city": "Gurgaon",
2385
2406
  "state": "Haryana",
2386
- "state_id": 23,
2387
- "pincode": "122003"
2407
+ "pincode": "122002",
2408
+ "state_id": "23"
2388
2409
  },
2389
- "pan_card": "<binary file>",
2390
2410
  "aadhar": "123456789012",
2411
+ "pan_card": "<binary file>",
2391
2412
  "aadhar_front": "<binary file>",
2392
2413
  "aadhar_back": "<binary file>",
2393
2414
  "latlong": "28.6139,77.2090"
@@ -8005,23 +8026,13 @@
8005
8026
  "description": "Individual's name per PAN information, used for match scoring.",
8006
8027
  "example": "Rajesh Kumar",
8007
8028
  "in": "body"
8008
- },
8009
- {
8010
- "name": "dob",
8011
- "label": "Date of Birth",
8012
- "type": "string",
8013
- "required": true,
8014
- "description": "Date of birth in YYYY-MM-DD format.",
8015
- "example": "1994-08-29",
8016
- "in": "body"
8017
8029
  }
8018
8030
  ],
8019
8031
  "sampleRequest": {
8020
8032
  "initiator_id": "9962981729",
8021
8033
  "client_ref_id": "2026010100123456789",
8022
8034
  "pan": "ABCDE1234F",
8023
- "name": "Rajesh Kumar",
8024
- "dob": "1994-08-29"
8035
+ "name": "Rajesh Kumar"
8025
8036
  },
8026
8037
  "responseFields": [
8027
8038
  {
@@ -8132,14 +8143,14 @@
8132
8143
  {
8133
8144
  "name": "email",
8134
8145
  "type": "string",
8135
- "description": "Email address associated with the PAN. Fill rate is approximately 5–10% due to data-source availability.",
8136
- "example": "rajesh.kumar@example.com"
8146
+ "description": "Masked email address associated with the PAN. Fill rate is approximately 5–10% due to data-source availability.",
8147
+ "example": "ra******ar@example.com"
8137
8148
  },
8138
8149
  {
8139
8150
  "name": "mobile_number",
8140
8151
  "type": "string",
8141
- "description": "Mobile number associated with the PAN. Fill rate is approximately 5–10% due to data-source availability.",
8142
- "example": "9876543210"
8152
+ "description": "Masked mobile number associated with the PAN. Fill rate is approximately 5–10% due to data-source availability.",
8153
+ "example": "98******10"
8143
8154
  },
8144
8155
  {
8145
8156
  "name": "address",
@@ -8206,8 +8217,8 @@
8206
8217
  "date_of_birth": "1994-08-29",
8207
8218
  "masked_aadhaar_number": "XXXX XXXX 1234",
8208
8219
  "aadhaar_linked": true,
8209
- "email": "rajesh.kumar@example.com",
8210
- "mobile_number": "9876543210",
8220
+ "email": "ra******ar@example.com",
8221
+ "mobile_number": "98******10",
8211
8222
  "address": {
8212
8223
  "full_address": "Woodland Heights, Ghatkopar, Mumbai, Maharashtra 400072",
8213
8224
  "street": "Woodland Heights, Ghatkopar",
@@ -14084,15 +14095,17 @@
14084
14095
  },
14085
14096
  {
14086
14097
  "name": "residence_address",
14087
- "type": "array",
14098
+ "type": "object",
14088
14099
  "required": true,
14089
- "description": "Residence address of the agent as an array of strings.",
14090
- "example": [
14091
- "123 MG Road",
14092
- "Bangalore",
14093
- "Karnataka",
14094
- "560001"
14095
- ],
14100
+ "description": "Residence address of the agent as an object with following fields: line, city, state, pincode, district, area.",
14101
+ "example": {
14102
+ "line": "Eko India",
14103
+ "city": "Gurgaon",
14104
+ "state": "Haryana",
14105
+ "pincode": "122002",
14106
+ "district": "Banswara",
14107
+ "area": "Mongol"
14108
+ },
14096
14109
  "in": "body"
14097
14110
  },
14098
14111
  {
@@ -14120,12 +14133,14 @@
14120
14133
  "first_name": "Ramesh",
14121
14134
  "last_name": "Kumar",
14122
14135
  "email": "ramesh@example.com",
14123
- "residence_address": [
14124
- "123 MG Road",
14125
- "Bangalore",
14126
- "Karnataka",
14127
- "560001"
14128
- ],
14136
+ "residence_address": {
14137
+ "line": "Eko India",
14138
+ "city": "Gurgaon",
14139
+ "state": "Haryana",
14140
+ "pincode": "122002",
14141
+ "district": "Banswara",
14142
+ "area": "Mongol"
14143
+ },
14129
14144
  "dob": "1990-05-15",
14130
14145
  "shop_name": "Ramesh Mobile Store"
14131
14146
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekoindia/eps-context-mcp",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "Local MCP server giving AI coding agents context for Eko Platform Services (EPS) APIs.",
5
5
  "license": "MIT",
6
6
  "type": "module",