Find an owner by account token
GET
/api/v1/bank_accounts/user_by_account_number
const url = 'https://core.example.com/api/v1/bank_accounts/user_by_account_number?token=example';const options = {method: 'GET', headers: {'session-token': '<session-token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://core.example.com/api/v1/bank_accounts/user_by_account_number?token=example' \ --header 'session-token: <session-token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”token
required
string
Responses
Section titled “ Responses ”Abbreviated owner data or an empty object
Media typeapplication/json
object
success
required
boolean
status
required
integer
object
object
id
integer
email
string format: email
phone
string
Example
{ "success": true, "status": 200}Authorization, validation, or business-rule error
Media typeapplication/json
object
success
required
boolean
status
required
integer
errors
required
One of:
Array<object>
object
code
string
kind
string
expiration
string
session
string
key
additional properties
any
object
key
additional properties
any
string
key
additional properties
any
Example
{ "success": false, "status": 403}