List All Accounts

Overview

This endpoint allows you to retrieve a list of all accounts associated with an entity customer within the Passport API. The response includes details such as account type, balance, and entity association.

Endpoint Details

DefinitionDescription
Endpointhttps://bre-b-sandbox.api.visionamos.passportfintech.com/v1/paas/entities/customers/accounts
MethodGET
HeadersAuthorization
AuthenticationAccess Token (Bearer Token)

This endpoint retrieves all accounts linked to an authenticated entity.

Request Body

  • No request body

Example Request

JSON
Copy

Response Body

Example of Response

JSON
Copy

The available_balance represents funds ready for use, while pending_balance reflects transactions still being processed.

Common Errors and Handling

HTTP Status CodeMeaningDescription
400 Bad RequestInvalid RequestThe request is malformed or contains invalid parameters.
401 UnauthorizedExpired TokenThe access token is invalid or has expired.
403 ForbiddenAccess DeniedThe request is not authorized to list accounts.
500 Internal Server ErrorServer ErrorAn unexpected error occurred while retrieving accounts.

Best Practices

  • Ensure the authentication token is valid before making a request.
  • Check Pagination if needed when dealing with large data sets.
  • Monitor account balances to prevent insufficient funds errors in transactions.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard