/

to search

Introducing Setu Changelog Check it out ↗

#Overview

The Account Availability Check API enables Financial Information Users (FIUs) to verify the existence of customer accounts across Account Aggregators Setu’s AA gateway offers using a customer's phone number. This documentation provides guidelines on how to integrate and use the API effectively.


#Authentication

FIUs must use Auth Mechanism to obtain an access token for authentication. Include the access token in the Authorization header of each request.


#Account Availability API

POST /v2/account-availability
Headers:
Authorization: Bearer <access token>
Content-Type: application/json
x-product-instance-id: <product instance id>
Body:
{
"mobileNumber": "9999999999",
}

Response
{
"accounts": [
{
"aa": "onemoney",
"vua": "9999999999@onemoney",
"status": true
},
{
"aa": "setu-aa",
"vua": "9999999999@setu",
"status": false
}
],
"traceId": "609fa794-2756-417f-8316-a938a6265c43"
}

Was this page helpful?