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
  • Read-only: Changes nothing; only returns data.

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

client_ref_idstringoptional

Unique reference ID per API call, generated by your system (10–20 characters; 10 recommended). The SDKs generate one for every non-GET call when you don't.

example: 2026010100123456789

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

    UI display hint only (-1/0 success, 1 failure, 2 initiated, 3 refund initiated, 4 refunded). Never branch on it — use `status` (and `tx_status` for financial APIs), or `response_type_id` where documented.

  • 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