Skip to content

List all bank account validations

Request

Returns the bank account validations your business has run, sorted by creation date with the most recent first. Because POST /bank_account_validation is chargeable, use this to check whether an account has already been validated before paying to validate it again.

country is matched against the country recorded on the validation request, not against the beneficiary's current country, so editing a beneficiary does not move its past validations between filters.

Security
JWT
Query
beneficiary_account_idstring

The ID of the beneficiary bank account to filter validations

Example:beneficiary_account_id=bene_5JU9yv0lGSUP
countrystring, (iso-3166-1-alpha-3)

The ISO 3166-1 alpha-3 code of the country to filter validations

Example:country=Ind
beforestring

Return only resources created at or before this time. Send an ISO 8601 timestamp with an offset, such as 2025-02-18T12:03:44Z or 2025-02-18T17:33:44+05:30. A timestamp without an offset is read as UTC. A bare date (YYYY-MM-DD) means the end of that day in UTC (23:59:59.999999Z). An invalid value returns 400 Bad Request. Use this to avoid page drift. See Pagination parameters for more details.

Example:before=2025-02-18T12:03:44Z
afterstring

Return only resources created at or after this time. Send an ISO 8601 timestamp with an offset, such as 2025-01-18T12:03:44Z or 2025-01-18T17:33:44+05:30. A timestamp without an offset is read as UTC. A bare date (YYYY-MM-DD) means the start of that day in UTC (00:00:00Z). An invalid value returns 400 Bad Request. Use this to avoid page drift. See Pagination parameters for more details.

Example:after=2025-01-18T12:03:44Z
per_pageinteger

Number of resources per page. Should be between 1 and 100.

Default:20
pageinteger

Page number for pagination. Starts from 1. Get the next page number from the next field in the response.

Default:1
curl -i -X GET \
  'https://api.glomopay.com/api/v1/bank_account_validation?beneficiary_account_id=bene_5JU9yv0lGSUP&country=Ind&before=2025-02-18T12%3A03%3A44Z&after=2025-01-18T12%3A03%3A44Z&per_page=20&page=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

List of bank account validations matching the filters

Bodyapplication/json
dataArray of objects(BankAccountValidation)
page_metaobject(PageMeta)
Response
{ "data": [ { … } ], "page_meta": { "current": 2, "previous": 1, "next": 3, "per_page": 20, "pages": 10, "count": 200 } }