> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flinks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /GetAccountsDetailAsync

> Get pending requests from GetAccountsDetail.

`/GetAccountsDetailAsync` is the polling companion to [`/GetAccountsDetail`](../account-linking/get-accounts-detail). Call this endpoint only after receiving a `202` from `/GetAccountsDetail`.

This is a `GET` request. Pass the `RequestId` from your `/GetAccountsDetail` call as a path parameter.

## Polling for results

When `/GetAccountsDetail` returns a `202`, poll `/GetAccountsDetailAsync` to check if the data has finished processing:

1. Call `/GetAccountsDetailAsync` with the `RequestId`.
2. If the response is `202`, wait **10 seconds** and call again.
3. Repeat until you receive a `200`.
4. Set a maximum timeout of **30 minutes** to avoid infinite loops.

Most requests finish processing within a few seconds.

## 200 response

The `200` response from `/GetAccountsDetailAsync` contains the same payload as a `200` from `/GetAccountsDetail` — full account details, holder information, and transaction history.

For the full data retrieval flow, see [Retrieve Account Data](../../../../guides/connect/retrieve-account-data).


## OpenAPI

````yaml GET /v3/{customerId}/BankingServices/GetAccountsDetailAsync/{requestId}
openapi: 3.0.3
info:
  title: Flinks API
  description: >
    Flinks API provides financial data connectivity, enrichment, and payment
    solutions.


    ## Authentication

    Endpoints require authentication using `flinks-auth-key` header (Bearer
    token).


    For more information, visit: https://docs.flinks.com
  version: 3.0.0
  contact:
    name: Flinks Support
    url: https://www.flinks.com/contact/sales
  termsOfService: https://www.flinks.com
servers:
  - url: https://{instance}-api.private.fin.ag
    description: Flinks API Environment
    variables:
      instance:
        default: toolbox
        description: The environment instance (e.g., toolbox, sandbox, production)
security: []
tags:
  - name: Authorization
    description: Endpoints for generating authorization tokens and authenticating requests
  - name: Enrich - Consumer Attributes
    description: Consumer financial attribute analysis and credit risk assessment
paths:
  /v3/{customerId}/BankingServices/GetAccountsDetailAsync/{requestId}:
    get:
      tags:
        - Connect
      summary: Get Accounts Detail Async
      description: Get pending requests from GetAccountsDetail.
      operationId: getAccountsDetailAsync
      parameters:
        - name: customerId
          in: path
          required: true
          description: >-
            Key that grants access to the environment specified in the instance
            field. By default, the value is set to the toolbox environment key.
          schema:
            type: string
            default: 43387ca6-0391-4c82-857d-70d95f087ecb
        - name: requestId
          in: path
          required: true
          schema:
            type: string
          description: >-
            Unique identifier provided after a successful request to the
            **/GetAccountsDetail** endpoint.
        - name: x-api-key
          in: header
          schema:
            type: string
          description: >-
            Security feature that grants access to this endpoint, but it must be
            enabled by Flinks. Please contact your Flinks representative to
            activate it.
        - name: Content-Type
          in: header
          required: true
          description: Content type of the request.
          schema:
            type: string
            enum:
              - application/json
            default: application/json
            example: application/json
        - name: Accept
          in: header
          required: true
          description: Acceptable response media type.
          schema:
            type: string
            default: application/json
            example: application/json
      responses:
        '200':
          description: Result
          content:
            application/json:
              schema:
                type: object
                properties:
                  HttpStatusCode:
                    type: integer
                    description: HTTP status code of the response.
                  Accounts:
                    type: array
                    description: >-
                      Array containing detailed information about each linked
                      account.
                    items:
                      type: object
                      properties:
                        Id:
                          type: string
                          description: Unique identifier for the account.
                        Title:
                          type: string
                          description: Display name of the account.
                        AccountNumber:
                          type: string
                          description: Full account number.
                        LastFourDigits:
                          type: string
                          description: Last four digits of the account number.
                        TransitNumber:
                          type: string
                          description: Transit or routing number for the account.
                        InstitutionNumber:
                          type: string
                          description: Institution number for the bank.
                        Balance:
                          type: object
                          description: Account balance information.
                          properties:
                            Available:
                              type: number
                              description: Available balance in the account.
                            Current:
                              type: number
                              description: Current balance in the account.
                            Limit:
                              type: string
                              description: Credit limit or overdraft limit.
                        Category:
                          type: string
                          description: Category of the account.
                        Type:
                          type: string
                          description: Type of account.
                        Currency:
                          type: string
                          description: Currency code.
                        Holder:
                          type: object
                          description: Account holder information.
                          properties:
                            Name:
                              type: string
                              description: Account holder name.
                            Address:
                              type: object
                              description: Account holder address.
                              properties:
                                CivicAddress:
                                  type: string
                                  description: Street address.
                                City:
                                  type: string
                                  description: City name.
                                Province:
                                  type: string
                                  description: Province/State code.
                                PostalCode:
                                  type: string
                                  description: Postal/ZIP code.
                                POBox:
                                  type: string
                                  nullable: true
                                  description: P.O. Box number if applicable.
                                Country:
                                  type: string
                                  description: Country code.
                            Email:
                              type: string
                              description: Account holder email.
                            PhoneNumber:
                              type: string
                              description: Account holder phone number.
                        Transactions:
                          type: array
                          description: Array of transaction records for the account.
                          items:
                            type: object
                            properties:
                              Id:
                                type: string
                                description: Unique identifier for the transaction.
                              Date:
                                type: string
                                description: Transaction date.
                              Description:
                                type: string
                                description: Description of the transaction.
                              Debit:
                                type: number
                                nullable: true
                                description: Debit amount if applicable.
                              Credit:
                                type: number
                                nullable: true
                                description: Credit amount if applicable.
                              Balance:
                                type: number
                                description: Account balance after this transaction.
                        AccountType:
                          type: string
                          nullable: true
                          enum:
                            - Personal
                            - Business
                          description: Type of account.
                  InstitutionName:
                    type: string
                    description: Name of the financial institution.
                  Login:
                    type: object
                    description: Login information.
                    properties:
                      Username:
                        type: string
                        description: Login username.
                      IsScheduledRefresh:
                        type: boolean
                        description: Indicates if scheduled refresh is enabled.
                      LastRefresh:
                        type: string
                        description: Timestamp of last data refresh.
                      Type:
                        type: string
                        description: Login type.
                      Id:
                        type: string
                        description: Unique login identifier.
                  InstitutionId:
                    type: integer
                    description: Numeric identifier for the financial institution.
                  Institution:
                    type: string
                    description: Institution name or code.
                  RequestId:
                    type: string
                    description: Unique request identifier.
              example:
                HttpStatusCode: 200
                Accounts:
                  - Transactions:
                      - Date: '2025-01-31'
                        Code: null
                        Description: PAYROLL - Stripe Paycheck
                        Debit: 1000.4
                        Credit: 1500.25
                        Balance: 5105.6
                        Id: 94584aed-7c98-42a4-9836-9f8557db63f5
                      - Date: '2025-01-30'
                        Code: null
                        Description: Credit Card Payment
                        Debit: 150
                        Credit: 100
                        Balance: 3605
                        Id: c2fb949a-86aa-470f-9a76-deb10d7c2b57
                    TransitNumber: '12347'
                    InstitutionNumber: '777'
                    OverdraftLimit: 100.5
                    Title: Chequing Account
                    AccountNumber: '7641238'
                    LastFourDigits: null
                    Balance:
                      Available: 5405.5
                      Current: 5105.5
                      Limit: 5105.5
                    Category: Operations
                    Type: Chequing
                    Currency: CAD
                    Holder:
                      Name: Testing
                      Address:
                        CivicAddress: 25 york street
                        City: TOR
                        Province: 'ON'
                        PostalCode: M5J 2V5
                        POBox: null
                        Country: CA
                      Email: test_user1@nomail.com
                      PhoneNumber: '9051234567'
                    AccountType: null
                    Id: 27a9ffa0-c6b9-4cc6-9eaa-aa9efa07a889
                InstitutionName: FlinksCapital
                Login:
                  Username: chat_gpt
                  IsScheduledRefresh: false
                  LastRefresh: '2025-01-31T17:40:54.569261'
                  Type: Personal
                  Id: 5602459c-f6d0-4ca0-6750-08dccdcadcc0
                InstitutionId: 14
                Institution: FlinksCapital
                RequestId: 22178382-31ee-485c-a750-c20929b6a344
        '202':
          description: Operation Pending
          content:
            application/json:
              schema:
                type: object
                properties:
                  FlinksCode:
                    type: string
                    description: 'Flinks-specific code: `OPERATION_PENDING`.'
                  Links:
                    type: array
                    description: Links to async endpoint to check status.
                    items:
                      type: object
                      properties:
                        rel:
                          type: string
                          description: Relationship type of the link.
                        href:
                          type: string
                          description: Endpoint path.
                        example:
                          type: string
                          description: Example value.
                  HttpStatusCode:
                    type: integer
                    description: HTTP status code of the response.
                  Message:
                    type: string
                    description: 'Status message: "Your operation is still processing".'
                  RequestId:
                    type: string
                    description: Unique request identifier.
              example:
                FlinksCode: OPERATION_PENDING
                Links:
                  - rel: GetAccountsDetailAsync
                    href: /GetAccountsDetailAsync
                    example: >-
                      /GetAccountsDetailAsync/077785a3-fd0f-42f7-9251-ee2ff7f3b4ff
                HttpStatusCode: 202
                Message: Your operation is still processing
                RequestId: 077785a3-fd0f-42f7-9251-ee2ff7f3b4ff
        '400':
          description: Session Nonexistent
          content:
            application/json:
              schema:
                type: object
                properties:
                  HttpStatusCode:
                    type: integer
                    description: HTTP status code of the response.
                  Message:
                    type: string
                    description: Error message describing the issue.
                  FlinksCode:
                    type: string
                    description: 'Flinks-specific error code: `SESSION_NONEXISTENT`.'
              example:
                HttpStatusCode: 400
                Message: >-
                  RequestId 1df20baf-65d5-40ee-9be0-8058c13042e2 is invalid or
                  session has ended
                FlinksCode: SESSION_NONEXISTENT

````