POSTInitiate Settlement
Settle an agent's AePS funds to a registered bank account via NEFT/IMPS/RTGS.
Initiates a fund settlement of the requested amount to a registered recipient_id. Returns the financial response envelope with tx_status, transaction id (tid), fee, and updated balance. Settlement is available Mon–Fri 10am–5pm; max ₹2,00,000 per transaction.
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
initiator_id | string | required | Registered mobile number of the API user (see Platform Credentials).e.g. 9962981729 |
user_code | string | required | User code of the retailer/agent the service is run for.e.g. 20810200 |
client_ref_id | string | optional | Unique reference id per API call, generated by your system.e.g. REQ-20260101-001 |
amount | integer | required | Settlement amount requested (INR). Max 200000 per transaction.e.g. 100 |
recipient_id | integer | required | Settlement recipient identifier (from Add / Get Settlement Account).e.g. 1829 |
payment_mode | integer | required | Transfer method: 4 = NEFT, 5 = IMPS, 13 = RTGS.e.g. 5 |
initiator_idstringRequiredRegistered mobile number of the API user (see Platform Credentials).
example: 9962981729
user_codestringRequiredUser code of the retailer/agent the service is run for.
example: 20810200
client_ref_idstringoptionalUnique reference id per API call, generated by your system.
example: REQ-20260101-001
amountintegerRequiredSettlement amount requested (INR). Max 200000 per transaction.
example: 100
recipient_idintegerRequiredSettlement recipient identifier (from Add / Get Settlement Account).
example: 1829
payment_modeintegerRequiredTransfer method: 4 = NEFT, 5 = IMPS, 13 = RTGS.
example: 5
Headers
| Field | Type | Required | Description |
|---|---|---|---|
developer_key | string | required | Static API key issued to your account after KYC. |
secret-key | string | required | Dynamic per-request signature: base64(HMAC-SHA256(timestamp, base64(access_key))). |
secret-key-timestamp | string | required | Current time in milliseconds since UNIX epoch, used to compute secret-key. Must match server time. |
content-type | string | required | application/jsone.g. application/json |
developer_keystringRequiredStatic API key issued to your account after KYC.
secret-keystringRequiredDynamic per-request signature: base64(HMAC-SHA256(timestamp, base64(access_key))).
secret-key-timestampstringRequiredCurrent time in milliseconds since UNIX epoch, used to compute secret-key. Must match server time.
content-typestringRequiredapplication/json
example: application/json
Responses
statusnumberPrimary success indicator (0 = success).
messagestringHuman-readable response / error message.
response_status_idnumberGranular status id; see the shared error-codes table.
response_type_idnumberA unique id for every possible response shape (success or error) — useful for client logic branching and analytics.
tx_statusstringTransaction state: 0=Success, 1=Fail, 2=Awaited, 3=Refund Pending, 4=Refunded, 5=On Hold.
txstatus_descstringHuman-readable transaction status.
dataobjectAPI-specific response payload.
tidstringEko transaction ID for the settlement.
tx_statusstringTransaction status (2 = initiated).
txstatus_descstringHuman-readable transaction status.
amountstringSettled amount (INR).
totalfeestringTotal fee charged for the settlement (INR).
balancestringAgent balance after the settlement (INR).
accountstringDestination account number.
ifscstringDestination branch IFSC.