Skip to main content
GET
/
v1
/
bank-accounts
List Bank Accounts
curl --request GET \
  --url http://api.stuut.ai/v1/bank-accounts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "currency": "ADP",
      "mask": "<string>",
      "name": "<string>",
      "object": "<string>",
      "type": "cash_management",
      "id": "<string>",
      "archived": true,
      "bank": {
        "name": "<string>",
        "object": "<string>",
        "id": "<string>",
        "color": "<string>",
        "countries": [
          "<string>"
        ],
        "created_at": "2023-11-07T05:31:56Z",
        "is_oauth_required": true,
        "modified_at": "2023-11-07T05:31:56Z",
        "remote_id": "<string>",
        "remote_logo": "<string>",
        "routing_numbers": [
          "<string>"
        ],
        "website": "<string>"
      },
      "created_at": "2023-11-07T05:31:56Z",
      "custom_fields": "<unknown>",
      "iban": "<string>",
      "last_synced_at": "2023-11-07T05:31:56Z",
      "last_transaction_sync_at": "2023-11-07T05:31:56Z",
      "linked_integration": {
        "integration_name": "<string>",
        "is_configured": true,
        "object": "<string>",
        "settings": {},
        "id": "<string>",
        "api_subdomain": "<string>",
        "api_url": "<string>",
        "connection_info": "<unknown>",
        "created_at": "2023-11-07T05:31:56Z",
        "credentials_expire_at": "2023-11-07T05:31:56Z",
        "health": {
          "status": "incomplete",
          "details": null,
          "message": null,
          "reason": null
        },
        "identity_info": "<unknown>",
        "integration": {
          "display_name": "<string>",
          "name": "<string>",
          "object": "<string>",
          "api_base_url": "<string>",
          "api_documentation_url": null,
          "api_requires_subdomain": false,
          "auth_type": null,
          "categories": [
            "accounting"
          ],
          "color": null,
          "connection_guide_url": null,
          "connection_instructions": null,
          "connection_steps": [
            {
              "type": "fetch",
              "title": "<string>",
              "description": null,
              "endpoint": null,
              "fields": null,
              "post_auth": false
            }
          ],
          "created_at": "2023-11-07T05:31:56Z",
          "description": null,
          "is_enabled": true,
          "logo": null,
          "logo_square": null,
          "modified_at": "2023-11-07T05:31:56Z",
          "settings": [
            {
              "key": "<string>",
              "type": "any",
              "choices": null,
              "description": null,
              "format": "text",
              "group": null,
              "guide_url": null,
              "is_editable": false,
              "is_required": true,
              "is_select": false,
              "label": null,
              "post_auth": false,
              "requires_load": false
            }
          ],
          "short_description": null
        },
        "is_running_setup": true,
        "is_sync_disabled": true,
        "is_webhooks_enabled": true,
        "models": [
          {
            "integration_schema_id": "<string>",
            "linked_integration_id": "<string>",
            "name": "<string>",
            "object": "<string>",
            "id": "<string>",
            "created_at": "2023-11-07T05:31:56Z",
            "exclude_rule": {},
            "field_mappings": "<unknown>",
            "health": {
              "status": "incomplete",
              "details": null,
              "message": null,
              "reason": null
            },
            "is_read_enabled": true,
            "is_webhooks_setup": true,
            "is_write_enabled": true,
            "last_sync": {
              "linked_model_id": "<string>",
              "object": "<string>",
              "run_id": "<string>",
              "id": "<string>",
              "created_at": "2023-11-07T05:31:56Z",
              "entity_id": "<string>",
              "is_initial_sync": true,
              "is_one_off": true,
              "modified_at": "2023-11-07T05:31:56Z",
              "pagination": "<unknown>",
              "run": {
                "object": "<string>",
                "id": "<string>",
                "completed_at": "2023-11-07T05:31:56Z",
                "created_at": "2023-11-07T05:31:56Z",
                "data": "<unknown>",
                "event_id": "<string>",
                "modified_at": "2023-11-07T05:31:56Z",
                "output": "<unknown>",
                "remote_id": "<string>",
                "stacktrace": "<string>",
                "started_at": "2023-11-07T05:31:56Z",
                "status": "scheduled"
              },
              "timerange_end": "2023-11-07T05:31:56Z",
              "timerange_start": "2023-11-07T05:31:56Z"
            },
            "last_sync_id": "<string>",
            "modified_at": "2023-11-07T05:31:56Z",
            "next_sync_at": "2023-11-07T05:31:56Z",
            "sync_requested": true
          }
        ],
        "modified_at": "2023-11-07T05:31:56Z",
        "name": "<string>",
        "owner_id": "<string>",
        "requires_setup": true,
        "username": "<string>",
        "webhook_listener_url": "<string>",
        "webhook_setup_error": "<string>"
      },
      "modified_at": "2023-11-07T05:31:56Z",
      "nickname": "<string>",
      "official_name": "<string>",
      "party_name": "<string>",
      "remote_created_at": "2023-11-07T05:31:56Z",
      "remote_id": "<string>",
      "remote_metadata": "<unknown>",
      "remote_modified_at": "2023-11-07T05:31:56Z",
      "routing_number": "<string>",
      "sync_status": "partial",
      "timezone": "Africa/Abidjan"
    }
  ],
  "current_page": 0,
  "total_records": 0,
  "next_page": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

Response

Successful response

data
object[]
current_page
integer
default:0

The current page.

total_records
integer
default:0

Total number of records.

next_page
integer | null

The next page, if one exists.