Fintech APIs & Platform for KYC, Verification & Transactions in India | Eko Platform Services
Eko Platform Services Logo

GETGet States

List the states (with their state_id) available for AePS Fingpay agent onboarding.

GET/user/collection/aeps-fingpay/get-states

Returns the list of states. Use the value of the chosen state as the state_id inside the address_as_per_proof and office_address objects in the Activate AePS Fingpay request.

Request

Query parameters

initiator_idstringRequired

Registered mobile number of the API user (see Platform Credentials).

example: 9962981729

Response types

response_type_idMeaningNext step
2127State list returned successfullyActivate AePS Fingpay for Agent

Responses

2127State list returned successfullynext:Activate AePS Fingpay for Agent

  • statusnumber

    Primary success indicator (0 = success).

  • messagestring

    Human-readable response / error message.

  • response_status_idnumber

    Granular status id; see the shared error-codes table.

  • response_type_idnumber

    A unique id for every possible response shape (success or error) — useful for client logic branching and analytics.

  • dataobject

    API-specific response payload.

    • param_attributesobject

      Container for the returned list.

      • list_elementsarray

        Array of available states.

        • stateCodestring

          Two-letter state code.

        • labelstring

          State name (display to the agent).

        • valuenumber

          Integer state ID — use as `state_id` in the address objects.

Next steps

Related