---
updatedAt: 2026-06-03T11:10:13.000Z
agentTools:
  projectIndex: https://docs-us.thisisbud.com/llms.txt
---

# Ingest Accounts

This endpoint is for pushing customer(s) account(s) and balance(s) through the Bud architecture.
It can ingest data for multiple customers per request.
By default, this is synchronous and will report any issue with the data in the response.
If a 'X-Disable-Synchronous' header is present and set to true, the process will create a task in the background and be entirely 'non-blocking'.
In this scenario, the response metadata will contain a Task ID and the next URL which would then be used for finding out the operation's result.


# OpenAPI definition

````json
{
  "openapi": "3.0.3",
  "info": {
    "version": "1.0.0",
    "title": "Connect API",
    "contact": {
      "name": "API Support",
      "url": "http://www.thisisbud.com/support",
      "email": "contact@thisisbud.com"
    },
    "x-logo": {
      "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATAAAABuCAQAAAAKAYdLAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH4wQDDggcbXcx7wAABeJJREFUeNrt3W2IFVUcx/HvXRW1VdQedy1bZVfoYX0osVQyfSGElKbRA5oFIaIlhAkWUYm6gvqqDMHMoBeKlhayCCZC2AMRPay7aJrSZmauZhQqaj7t7u1Fi965987s7D1n7pk7/j73zX2Y85//mXt2Zu45Z2ZBREREREREREREREREREREREREREREREREREREREREREREREREROIiZSFGH+YxgsOs5U/X1bFiPDPpQT3bu1DmcaZyg+vErWpjD+s47zoN6Mte0qRJc4Iq18lYMJv2jvosD11mRUeJpD32UO7664BFGQl94DoZY704fbU2rQwKVWYwbc6bQlSPBaYbtMz4K7nP53lpGkK/q8+7MTxUmeEWtmJcGX+j5psmM0I3l9vCirKAV36OuE46QsbfaHL/9opnL9tcpxBf3V0nkAgzWMRj9HadhrH+3Gk7pBqYDZdY3oXfnHE2gc1U2gyoQ6Rk+pKZdgOqgYnXF7TYDGe3gcWgW85QH9cJxMAVm8HsNrBqhhV1U9g33XUCzo1gsM1wdhtYio8ZWsytYdksFrpOwbGhbLYb0PavyLs5wA+c9v28lRa+Zzt/+y5RwwKqaOCdgCjZRvEit/A1a7jou8xwJjOMAb7D+ylqqCmw1imeZ0oCBrv7Mzp+/QofFTDCdZG13Jw3Wi1nOpbZT9+QGUziUkeZ3T49z+P4pqCRuCkhM1jjfMwwqsdG182rsAaWJs0JxuWJ9knGEq+EzODHjDLTcj5NsbjgwehwDazm6vyL5D2MG5i7booKdjE25917M57XhoxUG1hmJUsjrmWtlVl18ZQ2DeCyH6ycT7kpIJ+wuQWVeZJXI69HcpsXHDQN4LajtZIlkcbvzWqn9St1R3nPNIT93wzt/MSZPO+nqKA65699Nos5FdHmgZkMzHnvIj9zLm9+Q7jd0nqP8VtkdSqWNppYxT+u08g+yW8OnKRXw4ac08hnPUscyvjkw5AZXM4os9jzyY6sdZ3h5YC++jLm0lrASf50T5krzEn0QbOLbB8in2FvwKfNPJczCXd0hLV7wPPqL8bybt691//aWWfhkPo2681PjZPDbgP7lYZOl1nNJs9rW4elXD2zfkK8wIFOy2w1XuuWyOpTkuw2sHOhlqrzvIqu59gbuYEdIcqcjSyb65SLX5EHOepgrbuKtJ6nHNQtxtx0U5xM8DoXMkez7K5xM7Tp4iS4WOvszvss5feSP9Fvo5EVnDDfHGJfpd157Y48xFRGmfaEaWcu/qqYZxpCDcxcqR8Mg9xlGkANzNz+BDcx4zEJNTBzv5gPCSeXTvJtmM+3PJqIKdNj6GE3pJsG5mIwOMp1ptnABgd1sq+G7ebnXZncHCKjG3+M1zpLTzMz7AZ00cBG5pmlFb3JmkQTSpPd21HZbWD9Qy21zPPK/zricNH6+B7mvZFreTpEtAFWt0dpsnoWZreBVTG+kyVS1GVN4/vDd9lJVIRY5yzfPdPlrPHHdTwYItr1bkLcTia8M1qPM9F3yRRjcuaYprNmHxzyfNbQyQlnGTM47ynhndFan7WuCywLODz35I2sC9DCXheZHBNpsXvZmu1fkZXs5rjPnPzb8hyAzrIzINr9HOBIwNXat+ZcleS1hame1714izc55jNvbVDBtz7pyWuJuI15P/tnx1F0UwzsQpprO5nil2KIQSZbqcspnwp57+iu2MQT1mMmhNue/MMR3xfwMi8VYRhnmJqXP/MG1lZwyVNMy9l/FR4tf/mdvB553Uz2sXFn+n1YaGCNBZZr5mH25by7xzCb3PKrmM+lgmK1BV4hdc0+2g2zjq8m1wlAOY1dvqXGKep87oZYzUmDW3Vs8+myuIf6Am6AsiT0Nljp/CYl0Twaze9ZaaN3u5w5jAy5L2ylhe/4nAu+S1Qwl+oCsrjCV2wM2KXfwSPUcmPIGv9LPZ91Ye1TEnEb80ztNLE+Dv8MS0RERERERERERERERERERERERERERERERERERERERERERERERERs+Q/rhi5WauEgfQAAAABJRU5ErkJggg=="
    },
    "description": "These endpoints handle the connections to banking providers and the ingestion of first party transaction data. Bud manages all of the connections to each of the individual providers and enables access to all of the providers via a single set of API endpoints.\n\nBud currently supports three methods of connecting your customers data to the Bud platform:\n\n  1. You can use the [__Bud Connect__](#operation/v2_ob_authorisation_gateway_url_post) endpoint which returns a link to Bud’s pre-built customer connection journey that can be configured to your brand.\n\n  2. If you have your own license you can choose to host the customer connection journey yourself, using [Bud's APIs](#operation/open_banking_authorisation_url_post) to create the connection. __If you are an agent of Bud but feel that your application could benefit from a more native feel please talk to your Bud Account Manager or email help@thisisbud.com for further details.__\n\n  3. If you already have transactional data that you’re looking to enrich, you can use Bud’s [Ingest Endpoints](#tag/Ingest-Data) to push your data onto the Bud platform without needing your customers to connect their accounts \n  \nNote: a number of the calls within this service are asynchronous, and as such, follow a pattern of sending a request and responding with a task ID. This task ID can then be tracked, allowing for a more efficient, cross network implementation.\n"
  },
  "tags": [
    {
      "name": "Create a Connection",
      "x-displayName": "Create a Connection",
      "description": "Create a new connection to a Banking provider by using either: (i) Bud's configurable frontend UI (__Bud Connect__), built to maximise conversion; or (ii) Bud's individual API endpoints to help you build your own connect flow.\n"
    },
    {
      "name": "Ingest First Party Data",
      "x-displayName": "Ingest First Party Data",
      "description": "Initiate the asynchronous process of pushing a customer's account information (i.e. first party data) onto the Bud platform. These asynchronous requests create a task to store the given accounts or transactions against the specified customers. The Task ID returned by this request can be used to verify the current status of the process.\n"
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "servers": [
    {
      "url": "https://api-sandbox.thisisbud.com",
      "description": "Bud sandbox"
    }
  ],
  "paths": {
    "/v1/open-banking/providers": {
      "get": {
        "tags": [
          "Create a Connection"
        ],
        "summary": "Retrieve Bank Providers",
        "description": "List the available bank providers with their name, icon and maintenance status.\n",
        "operationId": "open_banking_providers_get",
        "security": [
          {
            "OAuth2": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/paths/~1v2~1ingest~1accounts/post/parameters/0"
          },
          {
            "in": "query",
            "required": false,
            "name": "region",
            "description": "A comma separated list of Bud regions to be shown. If no filter is applied, all the providers are returned.",
            "schema": {
              "type": "string",
              "enum": [
                "USA"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of providers available via Bud's Bank Aggregation APIs",
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "operation_id",
                    "data"
                  ],
                  "properties": {
                    "operation_id": {
                      "title": "Operation Id Field",
                      "type": "string",
                      "description": "A unique identifier/reference associated with a given endpoint/operation"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "title": "Open Banking Providers",
                        "type": "object",
                        "required": [
                          "provider",
                          "display_name",
                          "maintenance_window",
                          "maintenance_status",
                          "icon",
                          "regions",
                          "mobile_only"
                        ],
                        "properties": {
                          "provider": {
                            "type": "string",
                            "description": "The name of the available open banking provider used as an identifier throughout Bud's API services"
                          },
                          "display_name": {
                            "type": "string",
                            "description": "The name of the available open banking provider used for display purposes"
                          },
                          "maintenance_window": {
                            "anyOf": [
                              {
                                "title": "Maintenance Window Object",
                                "type": "object",
                                "description": "Details on any scheduled maintenance windows",
                                "properties": {
                                  "start": {
                                    "type": "string",
                                    "description": "The start datetime (ISO8601) of the maintenance window"
                                  },
                                  "end": {
                                    "type": "string",
                                    "nullable": true,
                                    "description": "The end datetime (ISO8601) of the maintenance window. When this value is `null` it means Bud will manually remove the maintenance flag when the provider is back healthy."
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "nullable": true
                              }
                            ]
                          },
                          "maintenance_status": {
                            "type": "string",
                            "description": "The status of the maintenance window associated with the provider",
                            "enum": [
                              "active",
                              "inactive"
                            ]
                          },
                          "icon": {
                            "type": "string",
                            "description": "A URL for the icon of the corresponding provider"
                          },
                          "regions": {
                            "type": "array",
                            "description": "A list of the different regions (i.e. country codes in ISO 3166 format) associated with the open banking provider",
                            "items": {
                              "type": "string"
                            }
                          },
                          "mobile_only": {
                            "type": "boolean",
                            "description": "If true, the provider is only available on mobile devices and requires a dedicated provider app to be installed on the device"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "oneOf": [
                        {
                          "title": "Results Metadata Object",
                          "type": "object",
                          "description": "Metadata associated with the response schema",
                          "properties": {
                            "results": {
                              "type": "number",
                              "description": "The number of results returned"
                            }
                          }
                        },
                        {
                          "type": "object",
                          "nullable": true
                        }
                      ]
                    }
                  },
                  "example": {
                    "operation_id": "open_banking_providers_get",
                    "data": [
                      {
                        "provider": "citi",
                        "display_name": "Citibank",
                        "maintenance_window": {
                          "start": "2024-01-07T11:48:00+0000",
                          "end": "2024-01-08T11:48:00+0000"
                        },
                        "maintenance_status": "active",
                        "icon": "https://assets.thisisbud.com/example-icon",
                        "regions": [
                          "USA"
                        ],
                        "mobile_only": false
                      },
                      {
                        "provider": "chase",
                        "display_name": "Chase",
                        "maintenance_window": null,
                        "maintenance_status": "inactive",
                        "icon": "https://assets.thisisbud.com/example-icon",
                        "regions": [
                          "USA"
                        ],
                        "mobile_only": false
                      },
                      {
                        "provider": "bankofamerica",
                        "display_name": "Bank of America",
                        "maintenance_window": null,
                        "maintenance_status": "inactive",
                        "icon": "https://assets.thisisbud.com/example-icon",
                        "regions": [
                          "USA"
                        ],
                        "mobile_only": false
                      },
                      {
                        "provider": "capitalone",
                        "display_name": "Capital One",
                        "maintenance_window": null,
                        "maintenance_status": "inactive",
                        "icon": "https://assets.thisisbud.com/example-icon",
                        "regions": [
                          "USA"
                        ],
                        "mobile_only": false
                      },
                      {
                        "provider": "wellsfargo",
                        "display_name": "Wells Fargo",
                        "maintenance_window": null,
                        "maintenance_status": "inactive",
                        "icon": "https://assets.thisisbud.com/example-icon",
                        "regions": [
                          "USA"
                        ],
                        "mobile_only": false
                      },
                      {
                        "provider": "pnc",
                        "display_name": "PNC Bank",
                        "maintenance_window": null,
                        "maintenance_status": "inactive",
                        "icon": "https://assets.thisisbud.com/example-icon",
                        "regions": [
                          "USA"
                        ],
                        "mobile_only": false
                      },
                      {
                        "provider": "fidelity",
                        "display_name": "Fidelity",
                        "maintenance_window": null,
                        "maintenance_status": "inactive",
                        "icon": "https://assets.thisisbud.com/example-icon",
                        "regions": [
                          "USA"
                        ],
                        "mobile_only": false
                      },
                      {
                        "provider": "td",
                        "display_name": "TD Bank",
                        "maintenance_window": null,
                        "maintenance_status": "inactive",
                        "icon": "https://assets.thisisbud.com/example-icon",
                        "regions": [
                          "USA"
                        ],
                        "mobile_only": false
                      },
                      {
                        "provider": "usbank",
                        "display_name": "US Bank",
                        "maintenance_window": null,
                        "maintenance_status": "inactive",
                        "icon": "https://assets.thisisbud.com/example-icon",
                        "regions": [
                          "USA"
                        ],
                        "mobile_only": false
                      },
                      {
                        "provider": "transamerica",
                        "display_name": "Transamerica",
                        "maintenance_window": null,
                        "maintenance_status": "inactive",
                        "icon": "https://assets.thisisbud.com/example-icon",
                        "regions": [
                          "USA"
                        ],
                        "mobile_only": false
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request contains an invalid payload."
          },
          "401": {
            "description": "Unauthorized (BearerToken in 'Authorization' header fails the authentication)"
          },
          "5XX": {
            "description": "An unexpected error occurred on the server side"
          }
        }
      }
    },
    "/v2/ingest/accounts": {
      "post": {
        "tags": [
          "Ingest First Party Data"
        ],
        "summary": "Ingest Accounts",
        "description": "This endpoint is for pushing customer(s) account(s) and balance(s) through the Bud architecture.\nIt can ingest data for multiple customers per request.\nBy default, this is synchronous and will report any issue with the data in the response.\nIf a 'X-Disable-Synchronous' header is present and set to true, the process will create a task in the background and be entirely 'non-blocking'.\nIn this scenario, the response metadata will contain a Task ID and the next URL which would then be used for finding out the operation's result.\n",
        "operationId": "v2_ingest_accounts_post",
        "security": [
          {
            "OAuth2": []
          }
        ],
        "parameters": [
          {
            "in": "header",
            "name": "X-Client-Id",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The API Client Identifier (Service Application Identifier).",
            "example": "8711bbef-b357-4c2d-97ca-0d9df4206e9a"
          },
          {
            "$ref": "#/components/parameters/IngestAccountsContentType"
          },
          {
            "name": "X-Disable-Synchronous",
            "in": "header",
            "description": "If present and set to true, a task is created and a response is returned immediately\n\nNote: This flag cannot be set to `true` if a `customer_idempotent_identifier` is supplied instead of a `customer_id`.\n",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "*/*": {
              "schema": {
                "oneOf": [
                  {
                    "title": "Bud Accounts Request",
                    "description": "Ingest accounts expected request body.",
                    "type": "array",
                    "items": {
                      "title": "Ingest Customer With Accounts",
                      "description": "A customer with a accounts data.",
                      "type": "object",
                      "required": [
                        "accounts"
                      ],
                      "oneOf": [
                        {
                          "$ref": "#/paths/~1ingestion~1v3~1accounts~1close/post/requestBody/content/application~1json/schema/items/oneOf/0"
                        },
                        {
                          "$ref": "#/paths/~1ingestion~1v3~1accounts~1close/post/requestBody/content/application~1json/schema/items/oneOf/1"
                        }
                      ],
                      "properties": {
                        "accounts": {
                          "type": "array",
                          "description": "List of accounts that belongs to the customer.",
                          "minItems": 1,
                          "items": {
                            "title": "Ingest Customer Account",
                            "description": "An account item.",
                            "type": "object",
                            "required": [
                              "provider",
                              "account_id",
                              "currency",
                              "account_type",
                              "account_sub_type",
                              "balances"
                            ],
                            "properties": {
                              "provider": {
                                "type": "string",
                                "description": "The name of the provider."
                              },
                              "account_id": {
                                "type": "string",
                                "description": "The unique id associated with the account"
                              },
                              "currency": {
                                "type": "string",
                                "description": "Main currency (in ISO4217 format) of the account"
                              },
                              "account_type": {
                                "type": "string",
                                "description": "The type of the account",
                                "enum": [
                                  "Business",
                                  "Personal"
                                ]
                              },
                              "account_sub_type": {
                                "type": "string",
                                "description": "The sub type of the account",
                                "enum": [
                                  "AutoLoan",
                                  "BoatLoan",
                                  "Brokerage",
                                  "BusinessLoan",
                                  "CertificateOfDeposit",
                                  "ChargeCard",
                                  "CheckingAccount",
                                  "CreditCard",
                                  "CurrentAccount",
                                  "DebitCard",
                                  "DisabilityInsurance",
                                  "EMoney",
                                  "HealthInsurance",
                                  "HomeEquityLoan",
                                  "Insurance",
                                  "Investment",
                                  "Ira",
                                  "LiabilityInsurance",
                                  "LifeInsurance",
                                  "LineOfCredit",
                                  "Loan",
                                  "MoneyMarket",
                                  "Mortgage",
                                  "Other",
                                  "PersonalLoan",
                                  "PrePaidCard",
                                  "PropertyInsurance",
                                  "Roth",
                                  "RvLoan",
                                  "Savings",
                                  "SafeDepositBox",
                                  "StudentLoan",
                                  "TravelInsurance",
                                  "VehicleInsurance",
                                  "WealthAccount"
                                ]
                              },
                              "holder_name": {
                                "type": "string",
                                "description": "The name of the account holder"
                              },
                              "restriction": {
                                "type": "string",
                                "description": "The restriction on the account, if any.",
                                "enum": [
                                  "ViewOnly",
                                  "Restricted"
                                ]
                              },
                              "details": {
                                "deprecated": true,
                                "type": "array",
                                "description": "Provides the details to identify an account",
                                "items": {
                                  "title": "Ingest Account Details",
                                  "type": "object",
                                  "description": "Schema to define any further details about a given account",
                                  "required": [
                                    "scheme_name",
                                    "identification"
                                  ],
                                  "properties": {
                                    "scheme_name": {
                                      "type": "string",
                                      "description": "Name of the scheme associated with the account"
                                    },
                                    "identification": {
                                      "type": "string",
                                      "description": "A unique identifier for the account"
                                    },
                                    "secondary_identification": {
                                      "type": "string",
                                      "description": "Any secondary identifier associated with the account"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "The name of the account holder"
                                    }
                                  }
                                }
                              },
                              "account_identifiers": {
                                "type": "array",
                                "description": "Provides the details to identify an account",
                                "items": {
                                  "title": "Ingest Account Identifiers",
                                  "type": "object",
                                  "description": "Schema to define identifiers for a given account",
                                  "required": [
                                    "type",
                                    "value"
                                  ],
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "description": "The type of identifier detailed within the value field associated with the account",
                                      "enum": [
                                        "uk_sort_code",
                                        "uk_account_number",
                                        "iban",
                                        "us_account_number",
                                        "pan"
                                      ]
                                    },
                                    "value": {
                                      "type": "string",
                                      "description": "The identifier associated with the account"
                                    }
                                  }
                                }
                              },
                              "balances": {
                                "type": "array",
                                "description": "The balances associated with the account",
                                "items": {
                                  "title": "Ingest Account Balance",
                                  "type": "object",
                                  "description": "Information surrounding a Customer's Account Balance",
                                  "required": [
                                    "amount",
                                    "date_time",
                                    "type",
                                    "credit_debit_indicator"
                                  ],
                                  "properties": {
                                    "amount": {
                                      "title": "Amount",
                                      "description": "Amount structure",
                                      "allOf": [
                                        {
                                          "type": "object",
                                          "properties": {
                                            "local_currency": {
                                              "allOf": [
                                                {
                                                  "description": "The original three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) the payment was transacted in.\n\nExample: `USD`\n"
                                                },
                                                {
                                                  "$ref": "#/paths/~1v2~1ingest~1transactions/post/requestBody/content/*~1*/schema/oneOf/0/items/properties/transactions/items/properties/currency"
                                                }
                                              ]
                                            },
                                            "local_value": {
                                              "allOf": [
                                                {
                                                  "description": "The original value of the payment in the local currency. The value is formatted with the number of decimal places for the respective currency.\n\nExample: `10.98`\n"
                                                },
                                                {
                                                  "title": "Monetary Value",
                                                  "description": "The value of the monetary amount. The value is formatted with the number of decimal places for the respective currency. \n\nExample: `10.98`\n",
                                                  "type": "string"
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "$ref": "#/paths/~1v2~1ingest~1transactions/post/responses/200/content/application~1json/schema/allOf/1/properties/data/items/properties/enriched_transactions/items/properties/amount"
                                        }
                                      ]
                                    },
                                    "credit_debit_indicator": {
                                      "type": "string",
                                      "description": "To describe whether the account balance is in debit or credit",
                                      "enum": [
                                        "incoming_credit",
                                        "outgoing_debit"
                                      ]
                                    },
                                    "credit_line": {
                                      "items": {
                                        "title": "Ingest Credit Line",
                                        "type": "object",
                                        "description": "A set of elements used to provide details on the credit line",
                                        "required": [
                                          "amount",
                                          "type"
                                        ],
                                        "properties": {
                                          "included": {
                                            "type": "boolean",
                                            "description": "Indicates whether or not the credit line is included in the balance of the account, if not present, credit line is not included in the balance amount of the account"
                                          },
                                          "amount": {
                                            "$ref": "#/paths/~1v2~1ingest~1accounts/post/requestBody/content/*~1*/schema/oneOf/0/items/properties/accounts/items/properties/balances/items/properties/amount"
                                          },
                                          "type": {
                                            "type": "string",
                                            "description": "Limit type, in a coded form",
                                            "enum": [
                                              "Available",
                                              "Credit",
                                              "Emergency",
                                              "Pre-Agreed",
                                              "Temporary"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    "date": {
                                      "type": "string",
                                      "format": "YYYY-MM-DD",
                                      "deprecated": true,
                                      "description": "The date associated with the balance of the given account"
                                    },
                                    "time": {
                                      "type": "string",
                                      "format": "hh:mm:ss",
                                      "deprecated": true,
                                      "description": "The time associated with the balance of the given account"
                                    },
                                    "date_time": {
                                      "type": "string",
                                      "format": "date-time",
                                      "description": "RFC 3339 format string of the date time of the balance"
                                    },
                                    "type": {
                                      "type": "string",
                                      "description": "Describes the state of the balance\n\n| Value                     | Description                                               |\n|:--------------------------|:----------------------------------------------------------|\n| `ClosingAvailable`        | Closing balance of amount of money that is at the disposal of the account owner on the date specified.               |\n| `ClosingBooked`           | Balance of the account at the end of the pre-agreed account reporting period. It is the sum of the opening booked balance at the beginning of the period and all entries booked to the account during the pre-agreed account reporting period.      |\n| `ClosingCleared`          | Closing balance of amount of money that is cleared on the date specified.                     |\n| `Expected`                | Balance, composed of booked entries and pending items known at the time of calculation, which projects the end of day balance if everything is booked on the account and no other entry is posted.  |\n| `ForwardAvailable`        | Forward available balance of money that is at the disposal of the account owner on the date specified.               |\n| `Information`             | Balance for informational purposes.      |\n| `InterimAvailable`        | Available balance calculated in the course of the account servicer's business day, at the time specified, and subject to further changes during the business day. The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified.       |\n| `InterimBooked`           | Balance calculated in the course of the account servicer's business day, at the time specified, and subject to further changes during the business day. The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified.       |\n| `InterimCleared`          | Cleared balance calculated in the course of the account servicer's business day, at the time specified, and subject to further changes during the business day.        |\n| `OpeningAvailable`        | Opening balance of amount of money that is at the disposal of the account owner on the date specified.        |\n| `OpeningBooked`           | Book balance of the account at the beginning of the account reporting period. It always equals the closing book balance from the previous report.        |\n| `OpeningCleared`          | Opening balance of amount of money that is cleared on the date specified.       |\n| `PreviouslyClosedBooked`  | Balance of the account at the previously closed account reporting period. The opening booked balance for the new period has to be equal to this balance.  |\n",
                                      "enum": [
                                        "ClosingAvailable",
                                        "ClosingBooked",
                                        "ClosingCleared",
                                        "Expected",
                                        "ForwardAvailable",
                                        "Information",
                                        "InterimAvailable",
                                        "InterimBooked",
                                        "InterimCleared",
                                        "OpeningAvailable",
                                        "OpeningBooked",
                                        "OpeningCleared",
                                        "PreviouslyClosedBooked"
                                      ]
                                    }
                                  }
                                }
                              },
                              "opening_date_time": {
                                "type": "string",
                                "format": "date-time",
                                "description": "The opening date time of the account in RFC3339 format.",
                                "example": "2022-11-12T15:30:00Z"
                              },
                              "holders": {
                                "type": "array",
                                "description": "The account holders details associated with the account",
                                "items": {
                                  "title": "Account_Holder",
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "description": "The name of the given account holder.\nExample: `John Smith`\n"
                                    },
                                    "relationship": {
                                      "type": "string",
                                      "description": "The relationship that the individual holder has with the account.\nCurrently supported values include (but are not necessarily limited to):\n  - `sole`\n  - `joint`\n  - `delegate`\n  - `unknown`\n"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "$ref": "#/components/schemas/IngestPlaidAccountsRequest"
                  },
                  {
                    "$ref": "#/components/schemas/IngestFinicityAccountsRequest"
                  }
                ]
              },
              "examples": {
                "bud-accounts-v1 Request (with Customer ID)": {
                  "summary": "Bud Accounts V1 (With Customer ID)",
                  "value": [
                    {
                      "customer_id": "c3339af9-2426-44d4-9c4d-ddb8fd281e23",
                      "accounts": [
                        {
                          "provider": "citi",
                          "account_id": "99473c28-21cf-4a9a-b79e-fd643dd7a4bc",
                          "currency": "USD",
                          "account_type": "Personal",
                          "account_sub_type": "CheckingAccount",
                          "account_identifiers": [
                            {
                              "type": "us_account_number",
                              "value": "98765432165444"
                            }
                          ],
                          "balances": [
                            {
                              "amount": {
                                "value": "7.00",
                                "currency": "USD"
                              },
                              "credit_debit_indicator": "outgoing_debit",
                              "credit_line": [
                                {
                                  "included": true,
                                  "amount": {
                                    "value": "200.00",
                                    "currency": "USD"
                                  },
                                  "type": "Credit"
                                }
                              ],
                              "date_time": "2020-12-01T00:00:00-07:00",
                              "type": "InterimBooked"
                            }
                          ],
                          "opening_date_time": "2019-11-01T00:00:00-07:00"
                        }
                      ]
                    },
                    {
                      "customer_id": "85db4cdf-5f79-4f4e-8388-f9a52da598a2",
                      "accounts": [
                        {
                          "provider": "chase",
                          "account_id": "bfd4ea71-58d7-4b24-8820-95029875cc9a",
                          "currency": "USD",
                          "account_type": "Personal",
                          "account_sub_type": "CheckingAccount",
                          "account_identifiers": [
                            {
                              "type": "us_account_number",
                              "value": "12312312313200"
                            }
                          ],
                          "balances": [
                            {
                              "amount": {
                                "value": "70005.00",
                                "currency": "USD"
                              },
                              "credit_debit_indicator": "incoming_credit",
                              "credit_line": [
                                {
                                  "included": true,
                                  "amount": {
                                    "value": "100.00",
                                    "currency": "USD"
                                  },
                                  "type": "Credit"
                                }
                              ],
                              "date_time": "2020-12-01T00:00:00-05:00",
                              "type": "InterimBooked"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                "bud-accounts-v1 Request (With Customer Idempotent Identifier)": {
                  "summary": "Bud Accounts V1 (With Customer Idempotent Identifier)",
                  "value": [
                    {
                      "customer_idempotent_identifier": "your_internal_id",
                      "accounts": [
                        {
                          "provider": "citi",
                          "account_id": "99473c28-21cf-4a9a-b79e-fd643dd7a4bc",
                          "currency": "USD",
                          "account_type": "Personal",
                          "account_sub_type": "CheckingAccount",
                          "account_identifiers": [
                            {
                              "type": "us_account_number",
                              "value": "98765432165444"
                            }
                          ],
                          "balances": [
                            {
                              "amount": {
                                "value": "7.00",
                                "currency": "USD"
                              },
                              "credit_debit_indicator": "outgoing_debit",
                              "credit_line": [
                                {
                                  "included": true,
                                  "amount": {
                                    "value": "200.00",
                                    "currency": "USD"
                                  },
                                  "type": "Credit"
                                }
                              ],
                              "date_time": "2020-12-01T00:00:00Z",
                              "type": "InterimBooked"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "customer_idempotent_identifier": "your_internal_id",
                      "accounts": [
                        {
                          "provider": "chase",
                          "account_id": "bfd4ea71-58d7-4b24-8820-95029875cc9a",
                          "currency": "USD",
                          "account_type": "Personal",
                          "account_sub_type": "CheckingAccount",
                          "account_identifiers": [
                            {
                              "type": "us_account_number",
                              "value": "12312312313200"
                            }
                          ],
                          "balances": [
                            {
                              "amount": {
                                "value": "70005.00",
                                "currency": "USD"
                              },
                              "credit_debit_indicator": "incoming_credit",
                              "credit_line": [
                                {
                                  "included": true,
                                  "amount": {
                                    "value": "100.00",
                                    "currency": "USD"
                                  },
                                  "type": "Credit"
                                }
                              ],
                              "date_time": "2020-12-01T00:00:00Z",
                              "type": "InterimBooked"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                "plaid-accounts-v1 Request (with Customer ID)": {
                  "summary": "Plaid Accounts V1 (with Customer ID)",
                  "value": [
                    {
                      "customer_id": "c3339af9-2426-44d4-9c4d-ddb8fd281e23",
                      "accounts": [
                        {
                          "account_id": "6PdjjRP6LmugpBy5NgQvUqpRXMWxzktg3rwrk",
                          "balances": {
                            "available": 100,
                            "current": 120,
                            "limit": 1200,
                            "iso_currency_code": "USD",
                            "last_updated_datetime": "2022-07-13T15:30:00Z"
                          },
                          "name": "Plaid Checking",
                          "official_name": "Plaid Gold Standard 0% Interest Checking",
                          "type": "depository",
                          "subtype": "checking"
                        }
                      ]
                    }
                  ]
                },
                "plaid-accounts-v1 Request (with Customer Idempotent Identifier)": {
                  "summary": "Plaid Accounts V1 (with Customer Idempotent Identifier)",
                  "value": [
                    {
                      "customer_idempotent_identifier": "your_internal_id",
                      "accounts": [
                        {
                          "account_id": "6PdjjRP6LmugpBy5NgQvUqpRXMWxzktg3rwrk",
                          "balances": {
                            "available": 100,
                            "current": 120,
                            "limit": 1200,
                            "iso_currency_code": "USD",
                            "last_updated_datetime": "2022-07-13T15:30:00Z"
                          },
                          "name": "Plaid Checking",
                          "official_name": "Plaid Gold Standard 0% Interest Checking",
                          "type": "depository",
                          "subtype": "checking"
                        }
                      ]
                    }
                  ]
                },
                "finicity-accounts-v1 Request (with Customer ID)": {
                  "summary": "Finicity V1 Accounts Request (with Customer ID)",
                  "description": "A sample finicity v1 accounts ingest request",
                  "value": [
                    {
                      "customer_id": "c3339af9-2426-44d4-9c4d-ddb8fd281e23",
                      "accounts": [
                        {
                          "id": "1014136057",
                          "name": "Super Checking",
                          "balance": 7456,
                          "type": "checking",
                          "status": "active",
                          "institutionId": "102224",
                          "balanceDate": 1588797048,
                          "currency": "USD",
                          "detail": {
                            "availableBalanceAmount": 5678.78,
                            "creditAvailableAmount": 10200,
                            "creditMaxAmount": 12000
                          }
                        }
                      ]
                    }
                  ]
                },
                "finicity-accounts-v1 Request (with Customer Idempotent Identifier)": {
                  "summary": "Finicity V1 Accounts Request (with Customer Idempotent Identifier)",
                  "description": "A sample finicity v1 accounts ingest request",
                  "value": [
                    {
                      "customer_idempotent_identifier": "your_internal_id",
                      "accounts": [
                        {
                          "id": "1014136057",
                          "name": "Super Checking",
                          "balance": 7456,
                          "type": "checking",
                          "status": "active",
                          "institutionId": "102224",
                          "balanceDate": 1588797048,
                          "currency": "USD",
                          "detail": {
                            "availableBalanceAmount": 5678.78,
                            "creditAvailableAmount": 10200,
                            "creditMaxAmount": 12000
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "A new Task has been created to ingest the given transactions. The generated `task_id` can be used to check the Task's status",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Ingest Transactions V2 Async Response",
                  "type": "object",
                  "allOf": [
                    {
                      "type": "object",
                      "required": [
                        "operation_id"
                      ],
                      "properties": {
                        "operation_id": {
                          "$ref": "#/paths/~1v1~1open-banking~1providers/get/responses/200/content/application~1json/schema/properties/operation_id",
                          "example": "v2_ingest_transactions_post"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "operation_id",
                        "metadata"
                      ],
                      "properties": {
                        "metadata": {
                          "title": "Created Task Details",
                          "description": "Metadata on the created task, including the task_id",
                          "type": "object",
                          "required": [
                            "task_id"
                          ],
                          "properties": {
                            "task_id": {
                              "type": "string",
                              "format": "uuid",
                              "description": "Can be used with the transaction status endpoint to retrieve the status of the full enriched process"
                            },
                            "next_url": {
                              "type": "string",
                              "description": "The path to call to obtain the current status of the task.",
                              "example": "/v2/ingest/status/4cef424c-1d7f-4cab-8be2-aee7e1774a00"
                            },
                            "next_url_delay": {
                              "type": "number",
                              "description": "The time in milliseconds that the client should wait before trying to retrieve the current status of the task.",
                              "example": 500
                            }
                          }
                        }
                      }
                    }
                  ]
                },
                "example": {
                  "operation_id": "v2_ingest_accounts_post",
                  "metadata": {
                    "task_id": "4cef424c-1d7f-4cab-8be2-aee7e1774a00",
                    "next_url": "/v2/ingest/status/4cef424c-1d7f-4cab-8be2-aee7e1774a00",
                    "next_url_delay": 250
                  }
                }
              }
            }
          },
          "204": {
            "description": "The data has been ingested successfully. Response has no body"
          },
          "400": {
            "description": "Bad Request that fails validations on headers and/or payload",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "title": "JSON Decoding Error",
                      "required": [
                        "operation_id",
                        "code_id",
                        "message",
                        "errors"
                      ],
                      "properties": {
                        "operation_id": {
                          "$ref": "#/paths/~1v1~1open-banking~1providers/get/responses/200/content/application~1json/schema/properties/operation_id"
                        },
                        "code_id": {
                          "type": "string",
                          "enum": [
                            "failed_body_decode"
                          ]
                        },
                        "message": {
                          "type": "string",
                          "description": "High level description on what has failed "
                        },
                        "errors": {
                          "type": "object",
                          "description": "Contains more details on the decoding error",
                          "required": [
                            "decode_error"
                          ],
                          "properties": {
                            "decode_error": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Content Type Error",
                      "required": [
                        "operation_id",
                        "code_id",
                        "message",
                        "errors"
                      ],
                      "properties": {
                        "operation_id": {
                          "$ref": "#/paths/~1v1~1open-banking~1providers/get/responses/200/content/application~1json/schema/properties/operation_id"
                        },
                        "code_id": {
                          "type": "string",
                          "enum": [
                            "failed_validation"
                          ]
                        },
                        "message": {
                          "type": "string",
                          "description": "High level description on what has failed "
                        },
                        "errors": {
                          "type": "object",
                          "description": "Error details",
                          "properties": {
                            "content_type": {
                              "type": "string",
                              "description": "The content type header provided in the request is unknown"
                            },
                            "<index>.customer_id": {
                              "type": "string",
                              "description": "Missing customer ID. Index prefix is the index of the customer in the request"
                            },
                            "<index>.customer_secret": {
                              "type": "string",
                              "description": "Missing customer secret. Index is the index of the customer in the request"
                            },
                            "<index>.accounts": {
                              "type": "string",
                              "description": "Missing customer accounts. Index is the index of the customer in the request"
                            }
                          }
                        }
                      },
                      "example": {
                        "operation_id": "ingest_accounts_post",
                        "code_id": "failed_validation",
                        "message": "validation failure(s) in request payload",
                        "errors": {
                          "0.customer_secret": "The customer secret is mandatory"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Accounts validation error",
                      "required": [
                        "operation_id",
                        "code_id",
                        "message",
                        "errors"
                      ],
                      "properties": {
                        "operation_id": {
                          "$ref": "#/paths/~1v1~1open-banking~1providers/get/responses/200/content/application~1json/schema/properties/operation_id"
                        },
                        "code_id": {
                          "type": "string",
                          "enum": [
                            "failed_validation"
                          ]
                        },
                        "message": {
                          "type": "string",
                          "description": "High level description on what has failed"
                        },
                        "errors": {
                          "type": "object",
                          "title": "Map of customers",
                          "description": "a map of customer IDs to account validation errors",
                          "properties": {
                            "missing_fields": {
                              "type": "object",
                              "title": "Map of Account",
                              "description": "A map of accounts to missing fields array.\n\nThe key contains the index of the account causing issues.\nSee example\n",
                              "additionalProperties": {
                                "type": "array",
                                "title": "Missing Fields",
                                "description": "list of required missing fields for a transaction",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "invalid_fields": {
                              "type": "object",
                              "title": "Map of Account",
                              "description": "A map of accounts to invalid fields array.\n\nThe key contains the index of the account causing issues.\nSee example\n",
                              "additionalProperties": {
                                "type": "array",
                                "title": "Invalid Fields",
                                "description": "list of invalid fields for a transaction",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      },
                      "example": {
                        "operation_id": "v2_ingest_accounts_post",
                        "code_id": "failed_validation",
                        "message": "validation failure(s) in request payload",
                        "errors": {
                          "1db8c4b5-e5ae-429e-947b-6a4616ffc717": {
                            "missing_fields": {
                              "accounts[0]": [
                                "provider",
                                "account_id"
                              ],
                              "accounts[1]": [
                                "account_id"
                              ]
                            },
                            "invalid_fields": {
                              "accounts[0]": [
                                "currency"
                              ]
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized (BearerToken in 'Authorization' header fails the authentication)"
          },
          "5XX": {
            "description": "An unexpected error occurred on the server side"
          }
        },
        "callbacks": {
          "FPIIngestSucceededCallback": {
            "{$request.body#/redirect_url}": {
              "description": "Should the ingestion task succeed, this callback is sent to your configured 'First Party Data Ingestion Events' webhook URL on the completion of a Ingest Accounts task.\n",
              "post": {
                "security": [],
                "parameters": [
                  {
                    "$ref": "#/paths/~1v2~1ingest~1accounts/post/callbacks/FPIIngestFailedCallback/{$request.body#~1redirect_url}/post/parameters/0"
                  },
                  {
                    "$ref": "#/paths/~1v2~1ingest~1accounts/post/callbacks/FPIIngestFailedCallback/{$request.body#~1redirect_url}/post/parameters/1"
                  }
                ],
                "summary": "First Party Ingestion Succeeded Callback",
                "requestBody": {
                  "required": true,
                  "description": "Should the ingestion task succeed, this callback is sent to your configured 'First Party Data Ingestion Events' webhook URL on the completion of a Ingest Accounts task.",
                  "content": {
                    "application/json": {
                      "schema": {
                        "title": "FPI Ingestion Succeeded Webhook Payload",
                        "type": "object",
                        "description": "The payload sent to the client defined webhook (via the console) when an First Party Ingestion task succeeds.\n",
                        "required": [
                          "data"
                        ],
                        "properties": {
                          "data": {
                            "type": "object",
                            "required": [
                              "event",
                              "task_id",
                              "operation_id"
                            ],
                            "properties": {
                              "event": {
                                "description": "The event type",
                                "type": "string",
                                "example": "first_party_ingester.ingest.succeeded"
                              },
                              "task_id": {
                                "description": "The associated task ID",
                                "type": "string",
                                "example": "3928aca4-b73c-4f13-a540-1b3759e06d27"
                              },
                              "operation_id": {
                                "description": "The endpoint ID the operation was related to",
                                "type": "string",
                                "example": "v2_ingest_transactions_post"
                              },
                              "subtask_details": {
                                "description": "Details of the individual subtasks (customers) of the ingestion",
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "customer_id"
                                  ],
                                  "properties": {
                                    "customer_id": {
                                      "type": "string",
                                      "description": "A unique identifier for a Customer, as registered on Bud's platform."
                                    },
                                    "customer_idempotent_identifier": {
                                      "type": "string",
                                      "description": "The `idempotent_identifier` provided when the customer given was created."
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                      "examples": {
                        "Success": {
                          "description": "Successful ingestion",
                          "value": {
                            "data": {
                              "event": "first_party_ingester.ingest.succeeded",
                              "operation_id": "v2_ingest_accounts_post",
                              "task_id": "6d37e192-1fdb-407d-82c6-58ee38cb60db"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "responses": {
                  "200": {
                    "description": "Your server returns this code if it accepts the callback"
                  },
                  "300": {
                    "description": "The notification will not be retried, redirects will not be followed"
                  },
                  "400": {
                    "description": "The notification will not be retried"
                  },
                  "500": {
                    "description": "The request will be retried shortly. If it fails multiple times, we will stop attempting to deliver the notification for this single event.\n"
                  }
                }
              }
            }
          },
          "FPIIngestFailedCallback": {
            "{$request.body#/redirect_url}": {
              "description": "Should the ingestion task fail, this callback is sent to your configured 'First Party Data Ingestion Events' webhook URL on the completion of a Ingest Accounts task.\n",
              "post": {
                "security": [],
                "parameters": [
                  {
                    "in": "header",
                    "name": "X-Signature",
                    "description": "The signed request body JWT",
                    "required": true,
                    "schema": {
                      "type": "string"
                    }
                  },
                  {
                    "in": "header",
                    "name": "X-Signing-ID",
                    "description": "The public key ID which should be used to verify the X-Signature header. Bud's list of public keys can be found at https://assets.thisisbud.com/bud-callback.jwks",
                    "required": true,
                    "schema": {
                      "type": "string"
                    }
                  }
                ],
                "summary": "First Party Ingestion Failed Callback",
                "requestBody": {
                  "required": true,
                  "description": "Should the ingestion task fail, this callback is sent to your configured 'First Party Data Ingestion Events' webhook URL on the completion of a Ingest Accounts task.",
                  "content": {
                    "application/json": {
                      "schema": {
                        "title": "FPI Ingestion Failed Webhook Payload",
                        "type": "object",
                        "description": "The payload sent to the client defined webhook (via the console) when an First Party Ingestion task fails.\n",
                        "required": [
                          "data"
                        ],
                        "properties": {
                          "data": {
                            "type": "object",
                            "required": [
                              "event",
                              "task_id",
                              "operation_id",
                              "result"
                            ],
                            "properties": {
                              "event": {
                                "description": "The event type",
                                "type": "string",
                                "example": "first_party_ingester.ingest.failed"
                              },
                              "task_id": {
                                "description": "The associated task ID",
                                "type": "string",
                                "example": "3928aca4-b73c-4f13-a540-1b3759e06d27"
                              },
                              "operation_id": {
                                "description": "The endpoint ID the operation was related to",
                                "type": "string",
                                "example": "v2_ingest_transactions_post"
                              },
                              "result": {
                                "description": "The error outcome of the ingestion if it failed",
                                "type": "string",
                                "example": "data_mapping_error"
                              },
                              "subtask_details": {
                                "description": "Details of the individual subtasks (customers) of the ingestion",
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "customer_id"
                                  ],
                                  "properties": {
                                    "customer_id": {
                                      "type": "string",
                                      "description": "A unique identifier for a Customer, as registered on Bud's platform."
                                    },
                                    "customer_idempotent_identifier": {
                                      "type": "string",
                                      "description": "The `idempotent_identifier` provided when the customer given was created."
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                      "examples": {
                        "Success": {
                          "description": "Failed Ingestion",
                          "value": {
                            "data": {
                              "event": "first_party_ingester.ingest.failed",
                              "operation_id": "v2_ingest_transactions_post",
                              "task_id": "6d37e192-1fdb-407d-82c6-58ee38cb60db",
                              "result": "data_mapping_error"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "responses": {
                  "200": {
                    "description": "Your server returns this code if it accepts the callback"
                  },
                  "300": {
                    "description": "The notification will not be retried, redirects will not be followed"
                  },
                  "400": {
                    "description": "The notification will not be retried"
                  },
                  "500": {
                    "description": "The request will be retried shortly. If it fails multiple times, we will stop attempting to deliver the notification for this single event.\n"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ingestion/v3/accounts/close": {
      "post": {
        "tags": [
          "Ingest First Party Data"
        ],
        "summary": "Close Accounts",
        "description": "Close one or more accounts for a given customer. This will set the account status to closed and set the `closed_at` field on the __Retrieve Accounts V3__ response.\n\nIf an account is already closed, then the request will be ignored, and the `closed_at` field will remain unchanged.\n\nIf a 400 response is returned, any accountIDs or customerIDs __not__ defailted in the error response will have been closed succesfully.\n",
        "operationId": "v3_ingest_accounts_close_post",
        "security": [
          {
            "OAuth2": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/paths/~1v2~1ingest~1accounts/post/parameters/0"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "Close Accounts Request",
                "type": "array",
                "items": {
                  "type": "object",
                  "oneOf": [
                    {
                      "title": "With Customer ID",
                      "properties": {
                        "customer_id": {
                          "type": "string",
                          "format": "uuid",
                          "description": "A unique identifier for a Customer, as registered on Bud's platform.",
                          "example": "c3339af9-2426-44d4-9c4d-ddb8fd281e23"
                        },
                        "customer_secret": {
                          "type": "string",
                          "description": "The Bud Customer secret used to encrypt customer data. This is required only if the customer secret is not already stored with Bud."
                        }
                      },
                      "required": [
                        "customer_id"
                      ]
                    },
                    {
                      "title": "With Customer Idempotent Identifier",
                      "properties": {
                        "customer_idempotent_identifier": {
                          "type": "string",
                          "description": "An internal client identifier. If specified, a Bud customer will either be automatically created, or utilised to ingest the given data.\nThis identifier can then be used in place of `X-Customer-Id` across Bud's endpoints.\n"
                        }
                      },
                      "required": [
                        "customer_idempotent_identifier"
                      ]
                    }
                  ],
                  "properties": {
                    "account_ids": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "as_of": {
                          "type": "string",
                          "example": "2025-09-24T14:55:09Z",
                          "description": "The datetime that the accounts closed in the format [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339). If not provided, the current datetime will be used."
                        }
                      }
                    }
                  }
                }
              },
              "examples": {
                "With Customer Idempotent Identifier": {
                  "value": [
                    {
                      "customer_idempotent_identifier": "your_internal_id",
                      "account_ids": [
                        "275fbbfe-209c-4329-a38b-b324aa386c56"
                      ],
                      "metadata": {
                        "as_of": "2025-09-22T14:55:09.254Z"
                      }
                    }
                  ]
                },
                "With Customer ID": {
                  "value": [
                    {
                      "customer_id": "c3339af9-2426-44d4-9c4d-ddb8fd281e23",
                      "account_ids": [
                        "275fbbfe-209c-4329-a38b-b324aa386c56"
                      ],
                      "metadata": {
                        "as_of": "2025-09-22T14:55:09.254Z"
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "All accounts have been closed successfully. Response has no body."
          },
          "400": {
            "description": "Bad Request that fails validations on headers and/or payload",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "JSON Decoding Error",
                  "required": [
                    "operation_id",
                    "code_id",
                    "message"
                  ],
                  "properties": {
                    "operation_id": {
                      "$ref": "#/paths/~1v1~1open-banking~1providers/get/responses/200/content/application~1json/schema/properties/operation_id"
                    },
                    "code_id": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string",
                      "description": "High level description of what has failed"
                    },
                    "errors": {
                      "type": "object",
                      "description": "Contains more details on the decoding error"
                    }
                  }
                },
                "examples": {
                  "account_not_found_customer_idempotent_identifier": {
                    "summary": "Account(s) not found (with customer Idempotent Identifier)",
                    "value": {
                      "operation_id": "v3_ingest_accounts_close_post",
                      "code_id": "failed_validation",
                      "message": "Accounts not found for one or more customers.",
                      "errors": {
                        "customer_idempotent_identifier": {
                          "your_internal_id": [
                            "275fbbfe-209c-4329-a38b-b324aa386c56"
                          ]
                        }
                      }
                    }
                  },
                  "account_not_found_customer_id": {
                    "summary": "Account(s) not found (with customer ID)",
                    "value": {
                      "operation_id": "v3_ingest_accounts_close_post",
                      "code_id": "failed_validation",
                      "message": "Accounts not found for one or more customers.",
                      "errors": {
                        "customer_ids": {
                          "c3339af9-2426-44d4-9c4d-ddb8fd281e23": [
                            "275fbbfe-209c-4329-a38b-b324aa386c56"
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized (BearerToken in 'Authorization' header fails the authentication)"
          },
          "5XX": {
            "description": "An unexpected error occurred on the server side"
          }
        }
      }
    },
    "/v2/ingest/transactions": {
      "post": {
        "tags": [
          "Ingest First Party Data"
        ],
        "summary": "Ingest Transactions",
        "description": "This endpoint should be used to ingest customer transactions into the Bud Platform.\n\nBy default, this endpoint is synchronous but can be easily switched to asynchronous using the 'X-Disable-Synchronous' header. \nPlease refer to the following [guide](https://docs-us.thisisbud.com/docs/setup_data_enrichment) to ensure you set up First Party Ingestion \ncorrectly for your organisation based on your use case.\n\nWe accept a maximum of 1.000 transactions. If this threshold is not respected, a 400 error is returned.\n\nWe support the ingestion of transactions for multiple customers as part of the same request.\n\nThe detailed location enrichment response is an additional addon, otherwise only tokens are returned \n(read more about this in the location [guide](https://docs-us.thisisbud.com/docs/locations).\n\n> 📘 Note:\n>\n> The enrichment values returned in the synchronous response of this endpoint may differ from those returned when fetching the ingested data from __Retrieve Enriched Transactions V2__.\n>\n> The synchronous response provides an initial enrichment based solely on the submitted transaction data. During asynchronous ingestion, the data is re-enriched using the customer's existing transaction history and additional enrichment services, producing a more accurate and comprehensive result.\n",
        "operationId": "v2_ingest_transactions_post",
        "security": [
          {
            "OAuth2": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/paths/~1v2~1ingest~1accounts/post/parameters/0"
          },
          {
            "$ref": "#/components/parameters/V2IngestTransactionsContentType"
          },
          {
            "in": "header",
            "name": "X-Disable-Synchronous",
            "description": "If provided as true, the task will **not** be processed synchronously.\n\nIf false or the header is not included, the task **will** be processed synchronously.\n",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "header",
            "name": "X-Generate-Transaction-IDs",
            "schema": {
              "type": "string",
              "enum": [
                "true"
              ]
            },
            "example": "true",
            "description": "Enable transaction ID generation based on the contents of the transaction data. The transaction ID field still needs to be provided, but it will not be validated or checked for uniqueness and instead overwritten with a generated value.\nWhen generating IDs from transaction data, the following fields are taken into account: account ID, description, amount, currency and date.\n"
          },
          {
            "in": "header",
            "name": "X-Bud-Categorisation-Model",
            "description": "Overrides the default categorisation model for both the returned enrichment and the persisted enrichment.\n\nPossible values can be retrieved from the __Retrieve Available Categorisation Models V2__ endpoint.\n\nIt should be noted that only models for the customers region will be used. For example, if a customer is created with the region \"GB\", then only \"uk-v*\" models will be utilised.\nIf a model is specified that cannot be used, then the default model will be used instead.\n",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-No-Customer",
            "schema": {
              "type": "boolean"
            },
            "description": "If provided as true, the customer_id is not required in the request. This is only available with X-Disable-Synchronous not set or set to false.\n**Note:** This functionality is not available by default. In order to use it, please raise a Support request.",
            "example": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "*/*": {
              "schema": {
                "oneOf": [
                  {
                    "title": "Bud V3 Transactions Request",
                    "description": "Ingest transaction expected request body.",
                    "type": "array",
                    "items": {
                      "type": "object",
                      "oneOf": [
                        {
                          "$ref": "#/paths/~1ingestion~1v3~1accounts~1close/post/requestBody/content/application~1json/schema/items/oneOf/0"
                        },
                        {
                          "$ref": "#/paths/~1ingestion~1v3~1accounts~1close/post/requestBody/content/application~1json/schema/items/oneOf/1"
                        }
                      ],
                      "properties": {
                        "sync_enrichments": {
                          "type": "array",
                          "description": "The list of enrichments product to execute during the synchronous execution of the request. Based on this list, the transactions sent will be processed through a number of enrichment flows, and this drives the amount of additional information attached to each transactions in the synchronous process.\n\nThe list of available enrichement products during the synchronous ingestion is the following:\n- categories\n- merchants\n\nThe default behaviour is to execute `categories` and `merchants`.\n\nNote: This attribute doesn't limit the execution of all Bud's enrichments, we'll still return a number of additional information (eg: tokens), but it switches on and off the two enrichments listed above.\n",
                          "example": [
                            "categories",
                            "merchants"
                          ],
                          "items": {
                            "type": "string",
                            "enum": [
                              "categories",
                              "merchants"
                            ]
                          }
                        },
                        "transactions": {
                          "type": "array",
                          "description": "List of transactions belonging to the customer.",
                          "minItems": 1,
                          "items": {
                            "title": "Customer Transaction V3",
                            "description": "A schema for Bud V3 transaction format",
                            "type": "object",
                            "required": [
                              "transaction_id",
                              "account_id",
                              "description",
                              "date_time",
                              "amount"
                            ],
                            "properties": {
                              "transaction_id": {
                                "type": "string",
                                "description": "Unique, immutable transaction identifier. This can be of any format (not necessarily UUID), with a maximum of 255 characters.\nIt's important this ID is immutable over time and unique as we use this ID as a key to store the transaction against your customer, so if more than one transaction has the same ID for the same customer, we will store only one of them.\n",
                                "example": "4cef424c-1d7f-4cab-8be2-aee7e1774a00"
                              },
                              "description": {
                                "type": "string",
                                "description": "Free text string providing details on the transaction itself"
                              },
                              "account_id": {
                                "type": "string",
                                "description": "The account identifier that the transaction belongs to. This can be of any format (not necessarily UUID), with a maximum of 255 characters.",
                                "example": "2f5b2055-6253-4cd0-b646-06788342a609"
                              },
                              "date_time": {
                                "type": "string",
                                "format": "date-time",
                                "description": "The date detailing when the transaction occurred, compliant with RFC3339",
                                "example": "2022-11-10T23:00:00Z"
                              },
                              "value_date_time": {
                                "type": "string",
                                "format": "date-time",
                                "description": "The date detailing when the assets assets involved in the transaction transferred compliant with RFC3339. For credits this is the date that the asset becomes available, for debits this is the date that the asset ceased to be available",
                                "example": "2022-11-10T23:00:00Z"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "booked",
                                  "declined"
                                ],
                                "default": "booked",
                                "description": "The status of the transaction. If not provided, the default value is `booked`.",
                                "example": "booked"
                              },
                              "amount": {
                                "type": "string",
                                "description": "The value of the monetary amount. The value is formatted with the number of decimal places for the respective currency.\n\nA positive amount is a credit entry and a negative a debit entry.\n\nExample: `\"10.98\"` or `\"-10.98\"`\n"
                              },
                              "currency": {
                                "title": "Currency",
                                "description": "The three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) of the monetary amount.\n\nExample: `GBP`\n",
                                "type": "string"
                              },
                              "merchant_category_code": {
                                "type": "string",
                                "description": "A Merchant Category Code (MCC) is a four-digit number listed in ISO 18245.\nAn MCC is used to classify a business by the types of goods or services it provides.\n"
                              },
                              "merchant_name": {
                                "type": "string",
                                "description": "Merchant name"
                              },
                              "provider": {
                                "type": "string",
                                "description": "The name of the financial institution the transaction has come from\n\nexample: `HSBC`, `NatWest`\n\nNote: if this field is supplied, the value will be normalised to lowercase and `-`, and ` ` characters will be replaced with `_`.\n"
                              },
                              "country_code": {
                                "type": "string",
                                "description": "The country where the transaction occurred, specified using either:\n- A 2-letter ISO 3166-1 alpha-2 code (e.g., \"US\", \"GB\")\n- A 3-letter ISO 3166-1 alpha-3 code (e.g., \"USA\", \"GBR\")\n- A UN M.49 numeric code (e.g., \"840\" for United States)\n\nThis field enhances merchant identification accuracy and enables automatic travel detection.\nWhen the country_code differs from the `region` in the customer-context, the transaction is assigned appropriate l1 and l2 travel categories.\nThe value is also used to populate the `country` field in location enrichment data. However, it is converted to a 2-letter ISO 3166-1 alpha-2 code when displayed.\n"
                              },
                              "transaction_type": {
                                "title": "transaction_type",
                                "type": "object",
                                "description": "The code and a description of the transaction type. Providing these fields may help improve enrichment accuracy.\n",
                                "properties": {
                                  "bud_code": {
                                    "type": "string",
                                    "description": "The code representing the type of the given transaction. This typically comes in the form of a proprietary code respective to the __provider__.\n\nCurrent list of valid accepted codes:\n\n| Code  | Meaning\n|:------|:-------------------------------------------------------------------|\n| DEB   | [Debit / Credit] Card                                              |\n| CSQ   | Cash / Cheque(s)                                                   |\n| CHG   | Charge                                                             |\n| COR   | Correction                                                         |\n| CPT   | Cashpoint / ATM                                                    |\n| INT   | Interest                                                           |\n| OTH   | Other                                                              |\n| BAT   | Bank Transfer (e.g. FP/MP/IB/BACS/CHAPS/SWIFT)                     |\n| DD    | Direct Debit                                                       |\n| SO    | Standing Order                                                     |\n"
                                  },
                                  "description": {
                                    "type": "string",
                                    "description": "A human-readable description of the given __bud_code__.\nexample: `Contactless POS`\n"
                                  }
                                }
                              },
                              "running_balance": {
                                "type": "string",
                                "description": "The balance of the account associated with the transaction after this transaction is made. The value is formatted with the number of decimal places for the respective currency.\n\nA positive amount is a credit balance and a negative a debit balance.\n\nExample: `\"10.98\"` or `\"-10.98\"`\n"
                              },
                              "client_attributes": {
                                "title": "Client Attributes",
                                "type": "object",
                                "description": "An optional map of key-value string pairs that allows clients to attach arbitrary metadata to the transaction.\nThis field can be used to store any relevant information specific to the client's needs.\nIt accepts a maximum of 16 key-value pairs. With a maximum key length of 64 characters and a maximum value length of 256 characters.\n",
                                "properties": {
                                  "key": {
                                    "type": "string",
                                    "description": "An arbitrary key-value pair for the client attribute."
                                  }
                                },
                                "example": {
                                  "fraud_score": "0.8",
                                  "overdraft_used": "true"
                                }
                              },
                              "suggested_description": {
                                "type": "string",
                                "description": "String providing details on the transaction itself as a customer would expect to see the transaction in other locations."
                              },
                              "counterparty": {
                                "type": "object",
                                "description": "An object containing details of the counterparty in this transaction",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "The name of the counterparty involved in this transaction."
                                  },
                                  "identifier": {
                                    "type": "string",
                                    "description": "An identifier for the account of the other party"
                                  }
                                }
                              }
                            }
                          }
                        },
                        "transaction_windows": {
                          "type": "array",
                          "description": "If not provided, the transaction window is inferred from the date of the first and last transactions.\nOnly a single window per customer account is supported.\n",
                          "items": {
                            "type": "object",
                            "title": "Transaction Window",
                            "description": "The transaction window is used to describe the entire period for which you have provided full coverage for the transactions within the request.\n\nIt is used by Bud to ascertain periods of inactivity on the account(s) in question to ensure accurate data can be provided across downstream endpoints (e.g. Retrieve Balances Over Time).\n",
                            "required": [
                              "account_id",
                              "start",
                              "end"
                            ],
                            "properties": {
                              "account_id": {
                                "type": "string",
                                "description": "The account identifier that the transaction belongs to",
                                "example": "2f5b2055-6253-4cd0-b646-06788342a609"
                              },
                              "start": {
                                "type": "string",
                                "format": "date-time",
                                "description": "The date detailing the start of the transaction window, compliant with RFC3339",
                                "example": "2022-05-10T23:00:00Z"
                              },
                              "end": {
                                "type": "string",
                                "format": "date-time",
                                "description": "The date detailing the end of the transaction window, compliant with RFC3339",
                                "example": "2022-10-10T23:00:00Z"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "$ref": "#/components/schemas/IngestPlaidTransactionsRequest"
                  },
                  {
                    "$ref": "#/components/schemas/IngestFinicityTransactionsRequest"
                  }
                ]
              },
              "examples": {
                "bud-transaction-v3 Request (with Customer ID)": {
                  "summary": "Bud Transaction V3 (with Customer ID)",
                  "value": [
                    {
                      "customer_id": "c3339af9-2426-44d4-9c4d-ddb8fd281e23",
                      "transactions": [
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "transaction_id": "cb49a806-c8f1-47e6-9c1d-5172defe97eb",
                          "description": "John Doe",
                          "amount": "-10.98",
                          "date_time": "2022-10-10T23:00:00Z",
                          "currency": "USD",
                          "status": "pending",
                          "provider": "Citibank",
                          "country_code": "GB",
                          "transaction_type": {
                            "bud_code": "DEB",
                            "description": "Debit card transaction"
                          },
                          "suggested_description": "John Doe",
                          "counterparty": {
                            "name": "John Doe",
                            "identifier": "12345612345678"
                          }
                        },
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "transaction_id": "e0f1c489-a4f0-4820-84d1-a86ecb4199b7",
                          "description": "Walmart",
                          "amount": "-10.98",
                          "date_time": "2022-11-10T23:00:00Z",
                          "currency": "USD",
                          "provider": "Citibank",
                          "country_code": "GB",
                          "transaction_type": {
                            "bud_code": "DEB",
                            "description": "Debit card transaction"
                          }
                        },
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "transaction_id": "d2ea249c-0d1b-4346-b88e-53ec8bc32083",
                          "description": "Trader Joe's",
                          "amount": "-9.98",
                          "date_time": "2022-11-10T23:00:00Z",
                          "currency": "USD",
                          "provider": "Citibank"
                        }
                      ],
                      "transaction_windows": [
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "start": "2022-10-10T23:00:00Z",
                          "end": "2022-11-10T23:00:00Z"
                        }
                      ]
                    }
                  ]
                },
                "bud-transaction-v3 Request (with Customer Idempotent Identifier)": {
                  "summary": "Bud Transaction V3 (with Customer Idempotent Identifier)",
                  "value": [
                    {
                      "customer_idempotent_identifier": "your_internal_id",
                      "transactions": [
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "transaction_id": "cb49a806-c8f1-47e6-9c1d-5172defe97eb",
                          "description": "The RSPCA, Southwater",
                          "amount": "-10.98",
                          "date_time": "2022-10-10T23:00:00Z",
                          "currency": "GBP",
                          "status": "pending",
                          "provider": "Citibank",
                          "country_code": "GB",
                          "transaction_type": {
                            "bud_code": "DEB",
                            "description": "Debit card transaction"
                          }
                        },
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "transaction_id": "e0f1c489-a4f0-4820-84d1-a86ecb4199b7",
                          "description": "The RSPCA, Southwater",
                          "amount": "-10.98",
                          "date_time": "2022-11-10T23:00:00Z",
                          "currency": "GBP",
                          "provider": "Citibank",
                          "country_code": "GB",
                          "transaction_type": {
                            "bud_code": "DEB",
                            "description": "Debit card transaction"
                          }
                        },
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "transaction_id": "d2ea249c-0d1b-4346-b88e-53ec8bc32083",
                          "description": "Trader Joe's",
                          "amount": "-9.98",
                          "date_time": "2022-11-10T23:00:00Z",
                          "currency": "USD",
                          "provider": "Citibank"
                        }
                      ],
                      "transaction_windows": [
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "start": "2022-10-10T23:00:00Z",
                          "end": "2022-11-10T23:00:00Z"
                        }
                      ]
                    }
                  ]
                },
                "plaid-transaction-v1 Request (with Customer ID)": {
                  "summary": "Plaid Transaction V1 (with Customer ID)",
                  "value": [
                    {
                      "customer_id": "c3339af9-2426-44d4-9c4d-ddb8fd281e23",
                      "transactions": [
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "transaction_id": "cb49a806-c8f1-47e6-9c1d-5172defe97eb",
                          "amount": 99.99,
                          "date": "2020-01-31",
                          "datetime": "2020-06-17T11:00:00Z",
                          "payment_channel": "in store",
                          "name": "Apple Store",
                          "original_description": "APPLE.COM/BILL",
                          "iso_currency_code": "USD",
                          "pending": false,
                          "category": [
                            "Shops",
                            "Computers and Electronics"
                          ],
                          "merchant_name": "Apple",
                          "location": {
                            "address": "900 fancy street",
                            "city": "New York",
                            "region": "NY",
                            "postal_code": "96858",
                            "country": "US"
                          }
                        }
                      ],
                      "transaction_windows": [
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "start": "2022-10-10T23:00:00Z",
                          "end": "2022-11-10T23:00:00Z"
                        }
                      ]
                    }
                  ]
                },
                "plaid-transaction-v1 Request (with Customer Idempotent Identifier)": {
                  "summary": "Plaid Transaction V1 (with Customer Idempotent Identifier)",
                  "value": [
                    {
                      "customer_idempotent_identifier": "your_internal_id",
                      "transactions": [
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "transaction_id": "cb49a806-c8f1-47e6-9c1d-5172defe97eb",
                          "amount": 99.99,
                          "date": "2020-01-31",
                          "datetime": "2020-06-17T11:00:00Z",
                          "payment_channel": "in store",
                          "name": "Apple Store",
                          "original_description": "APPLE.COM/BILL",
                          "iso_currency_code": "USD",
                          "pending": false,
                          "category": [
                            "Shops",
                            "Computers and Electronics"
                          ],
                          "merchant_name": "Apple",
                          "location": {
                            "address": "900 fancy street",
                            "city": "New York",
                            "region": "NY",
                            "postal_code": "96858",
                            "country": "US"
                          }
                        }
                      ],
                      "transaction_windows": [
                        {
                          "account_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                          "start": "2022-10-10T23:00:00Z",
                          "end": "2022-11-10T23:00:00Z"
                        }
                      ]
                    }
                  ]
                },
                "finicity-transaction-v1 Request (with Customer ID)": {
                  "summary": "Finicity Transaction V1 Example (with Customer ID)",
                  "value": [
                    {
                      "customer_id": "c3339af9-2426-44d4-9c4d-ddb8fd281e23",
                      "transactions": [
                        {
                          "accountId": 3009327691,
                          "id": 100976507328,
                          "amount": -99.99,
                          "feeAmount": -0.99,
                          "status": "active",
                          "description": "youtube",
                          "memo": "GOOGLE*YOUTUBEPREMIUM GOOGLE*YOUTUBEPREM",
                          "type": "debit",
                          "transactionDate": "1642521600",
                          "postedDate": "1642521600",
                          "effectiveDate": "1642521600",
                          "currencySymbol": "USD",
                          "categorization": {
                            "normalizedPayeeName": "Apple",
                            "city": "New York",
                            "state": "NY",
                            "postal_code": "96858",
                            "country": "USA"
                          }
                        }
                      ],
                      "transaction_windows": [
                        {
                          "account_id": "3009327691",
                          "start": "2022-10-10T23:00:00Z",
                          "end": "2022-11-10T23:00:00Z"
                        }
                      ]
                    }
                  ]
                },
                "finicity-transaction-v1 Request (with Customer Idempotent Identifier)": {
                  "summary": "Finicity Transaction V1 Example (with Customer Idempotent Identifier)",
                  "value": [
                    {
                      "customer_idempotent_identifier": "your_internal_id",
                      "transactions": [
                        {
                          "accountId": 3009327691,
                          "id": 100976507328,
                          "amount": -99.99,
                          "feeAmount": -0.99,
                          "status": "active",
                          "description": "youtube",
                          "memo": "GOOGLE*YOUTUBEPREMIUM GOOGLE*YOUTUBEPREM",
                          "type": "debit",
                          "transactionDate": "1642521600",
                          "postedDate": "1642521600",
                          "effectiveDate": "1642521600",
                          "currencySymbol": "USD",
                          "categorization": {
                            "normalizedPayeeName": "Apple",
                            "city": "New York",
                            "state": "NY",
                            "postal_code": "96858",
                            "country": "USA"
                          }
                        }
                      ],
                      "transaction_windows": [
                        {
                          "account_id": "3009327691",
                          "start": "2022-10-10T23:00:00Z",
                          "end": "2022-11-10T23:00:00Z"
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The synchronous enrichment request has succeeded and enriched transaction returned. \nA new Task has been created to ingest and fully enrich the given transactions. \n\nThe generated `task_id` can be used to check the Task's status\n\nNote: If the endpoint is used with in synchronously and it's been agreed with Bud to \nnot store data, the `metadata.task_id` attribute in the response body will be present but empty.\n",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Ingest Transactions V2 Sync Response",
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/paths/~1v2~1ingest~1accounts/post/responses/202/content/application~1json/schema/allOf/0"
                    },
                    {
                      "type": "object",
                      "required": [
                        "operation_id",
                        "metadata"
                      ],
                      "properties": {
                        "data": {
                          "type": "array",
                          "items": {
                            "title": "Enriched Customer Transactions",
                            "type": "object",
                            "oneOf": [
                              {
                                "$ref": "#/paths/~1ingestion~1v3~1tasks~1{task_id}/get/responses/200/content/application~1json/schema/properties/data/items/oneOf/0"
                              },
                              {
                                "$ref": "#/paths/~1ingestion~1v3~1tasks~1{task_id}/get/responses/200/content/application~1json/schema/properties/data/items/oneOf/1"
                              }
                            ],
                            "required": [
                              "enriched_transactions"
                            ],
                            "properties": {
                              "enriched_transactions": {
                                "type": "array",
                                "items": {
                                  "title": "Transaction",
                                  "type": "object",
                                  "description": "A financial transaction",
                                  "required": [
                                    "transaction_id",
                                    "account_id",
                                    "description",
                                    "amount",
                                    "credit_debit_indicator",
                                    "status",
                                    "date_time",
                                    "suggested_description"
                                  ],
                                  "properties": {
                                    "transaction_id": {
                                      "type": "string",
                                      "description": "Unique identifier for the transaction. May be mutable depending on original ingestion source."
                                    },
                                    "account_id": {
                                      "type": "string",
                                      "description": "Identifier for the account associated with the transaction."
                                    },
                                    "description": {
                                      "type": "string",
                                      "description": "Description of the transaction."
                                    },
                                    "credit_debit_indicator": {
                                      "type": "string",
                                      "description": "Credit/Debit Indicator",
                                      "enum": [
                                        "credit",
                                        "debit"
                                      ]
                                    },
                                    "status": {
                                      "type": "string",
                                      "description": "Status of the transaction. Defaults to booked.",
                                      "enum": [
                                        "booked",
                                        "pending",
                                        "declined"
                                      ]
                                    },
                                    "suggested_description": {
                                      "type": "string",
                                      "description": "The description Bud suggests client apps show for a given transaction."
                                    },
                                    "suggested_logo": {
                                      "type": "string",
                                      "description": "The logo Bud suggests client apps show for a given transaction."
                                    },
                                    "transaction_type": {
                                      "$ref": "#/paths/~1v2~1ingest~1transactions/post/requestBody/content/*~1*/schema/oneOf/0/items/properties/transactions/items/properties/transaction_type"
                                    },
                                    "amount": {
                                      "title": "Standard Bud Amount",
                                      "type": "object",
                                      "description": "The monetary amount.",
                                      "required": [
                                        "value",
                                        "currency"
                                      ],
                                      "properties": {
                                        "value": {
                                          "$ref": "#/paths/~1v2~1ingest~1accounts/post/requestBody/content/*~1*/schema/oneOf/0/items/properties/accounts/items/properties/balances/items/properties/amount/allOf/0/properties/local_value/allOf/1"
                                        },
                                        "currency": {
                                          "$ref": "#/paths/~1v2~1ingest~1transactions/post/requestBody/content/*~1*/schema/oneOf/0/items/properties/transactions/items/properties/currency"
                                        }
                                      }
                                    },
                                    "date_time": {
                                      "type": "string",
                                      "description": "Date of the transaction compliant with RFC3339."
                                    },
                                    "value_date_time": {
                                      "type": "string",
                                      "description": "Date the assets involved in the transaction transferred compliant with RFC3339. For credits this is the date that the asset becomes available, for debits this is the date that the asset ceased to be available"
                                    },
                                    "enrichments": {
                                      "title": "Enrichments",
                                      "type": "object",
                                      "description": "Contextual enrichments associated with a Transaction",
                                      "properties": {
                                        "categories": {
                                          "title": "Categories",
                                          "type": "object",
                                          "description": "Categories enrichment associated with a Transaction, as generated by Bud's artificial intelligence models.  Currently two levels of category are supported, with `l1` being a coarse-grained category level and `l2` being more refined.\n",
                                          "properties": {
                                            "l1": {
                                              "description": "Level 1 Category",
                                              "title": "Category",
                                              "type": "object",
                                              "required": [
                                                "slug",
                                                "confidence"
                                              ],
                                              "properties": {
                                                "slug": {
                                                  "type": "string",
                                                  "description": "Unique human readable identifier of the category. Not subject to version control."
                                                },
                                                "confidence": {
                                                  "type": "string",
                                                  "description": "Degree of belief of correct assignment, expressed as a probability."
                                                }
                                              }
                                            },
                                            "l2": {
                                              "$ref": "#/paths/~1v2~1ingest~1transactions/post/responses/200/content/application~1json/schema/allOf/1/properties/data/items/properties/enriched_transactions/items/properties/enrichments/properties/categories/properties/l1",
                                              "description": "Level 2 Category"
                                            }
                                          }
                                        },
                                        "merchant": {
                                          "title": "Merchant",
                                          "type": "object",
                                          "description": "Merchant enrichment associated with a Transaction, as generated using a combination of Bud's artificial  intelligence models and database of known merchants.\n",
                                          "properties": {
                                            "id": {
                                              "type": "string",
                                              "description": "UUID corresponding to the merchant, if available. Subject to version control."
                                            },
                                            "slug": {
                                              "type": "string",
                                              "description": "Unique human readable identifier of the merchant. Not subject to version control."
                                            },
                                            "display_name": {
                                              "type": "string",
                                              "description": "UI friendly display name for the merchant."
                                            },
                                            "logo": {
                                              "type": "string",
                                              "description": "URL supplying merchant logo, if available."
                                            },
                                            "tokens": {
                                              "type": "array",
                                              "description": "A list of tokens calculated from the transaction model, used to identify the Merchant.  This list is often present even if the merchant details (id, slug, disply_name, logo) are not returned.\n",
                                              "items": {
                                                "title": "Token",
                                                "type": "object",
                                                "description": "The token item.",
                                                "required": [
                                                  "value",
                                                  "confidence"
                                                ],
                                                "properties": {
                                                  "value": {
                                                    "type": "string"
                                                  },
                                                  "confidence": {
                                                    "type": "string",
                                                    "description": "Degree of belief of correct assignment, expressed as a probability."
                                                  }
                                                }
                                              }
                                            },
                                            "website": {
                                              "type": "string",
                                              "description": "URL supplying merchant website, if available."
                                            },
                                            "tags": {
                                              "type": "array",
                                              "items": {
                                                "type": "string"
                                              },
                                              "description": "A list of tags describing the merchant"
                                            }
                                          }
                                        },
                                        "processor": {
                                          "title": "Processor",
                                          "type": "object",
                                          "description": "Processor enrichment associated with a Transaction, as generated using a combination of Bud's artificial  intelligence models and database of known payment processors.\n",
                                          "properties": {
                                            "id": {
                                              "type": "string",
                                              "description": "UUID corresponding to the processor, if available. Subject to version control."
                                            },
                                            "slug": {
                                              "type": "string",
                                              "description": "Unique human readable identifier of the processor. Not subject to version control."
                                            },
                                            "display_name": {
                                              "type": "string",
                                              "description": "UI friendly display name for the processor."
                                            },
                                            "logo": {
                                              "type": "string",
                                              "description": "URL supplying processor logo, if available."
                                            },
                                            "tokens": {
                                              "type": "array",
                                              "description": "A list of tokens calculated from the transaction model, used to identify the Merchant.  This list is often present even if the merchant details (id, slug, disply_name, logo) are not returned.\n",
                                              "items": {
                                                "$ref": "#/paths/~1v2~1ingest~1transactions/post/responses/200/content/application~1json/schema/allOf/1/properties/data/items/properties/enriched_transactions/items/properties/enrichments/properties/merchant/properties/tokens/items"
                                              }
                                            },
                                            "website": {
                                              "type": "string",
                                              "description": "URL supplying merchant website, if available."
                                            }
                                          }
                                        },
                                        "location": {
                                          "title": "Location",
                                          "type": "object",
                                          "description": "Location enrichment associated with a Transaction",
                                          "properties": {
                                            "address": {
                                              "type": "object",
                                              "description": "The address where the transaction occurred. The level of detail depends on the resolution with which we are able to detect the transaction location.",
                                              "properties": {
                                                "address_lines": {
                                                  "type": "array",
                                                  "description": "A list of all the address lines detected for the transaction. This could be anything from a full street address down to just the region.",
                                                  "items": {
                                                    "type": "string"
                                                  }
                                                },
                                                "street_address": {
                                                  "type": "string",
                                                  "description": "The street address where the transaction occurred. Typically this will consist of the street number and street name with an optional suite."
                                                },
                                                "city": {
                                                  "type": "string",
                                                  "description": "The city or town where the transaction occurred."
                                                },
                                                "region": {
                                                  "type": "string",
                                                  "description": "The county or region where the transaction occurred."
                                                },
                                                "postal_code": {
                                                  "type": "string",
                                                  "description": "The postcode where the transaction occurred."
                                                },
                                                "country": {
                                                  "type": "string",
                                                  "description": "The ISO 3166-1 alpha-2 country code representing the country where the transaction occurred.\n\nIf a location could not be determined, but a `country_code` was supplied in the ingestion request; that value will be reflected here.\n"
                                                }
                                              }
                                            },
                                            "geolocation": {
                                              "type": "object",
                                              "description": "The geolocation where the transaction occurred. This is only available if we are able to narrow down the transaction location to an exact match.",
                                              "properties": {
                                                "latitude": {
                                                  "type": "number",
                                                  "format": "double",
                                                  "description": "The latitudinal position where the transaction occurred."
                                                },
                                                "longitude": {
                                                  "type": "number",
                                                  "format": "double",
                                                  "description": "The longitudinal position where the transaction occurred."
                                                }
                                              }
                                            },
                                            "tokens": {
                                              "type": "array",
                                              "description": "A list of substrings from the description identified as being relevant to the transaction location.",
                                              "items": {
                                                "type": "string"
                                              }
                                            }
                                          }
                                        },
                                        "transaction_types": {
                                          "type": "array",
                                          "description": "Transaction types associated with the transaction",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "names": {
                                          "type": "array",
                                          "description": "Names that were detected in the transaction description",
                                          "items": {
                                            "type": "string"
                                          }
                                        }
                                      }
                                    },
                                    "merchant_category_code": {
                                      "type": "string",
                                      "description": "A Merchant Category Code (MCC) is a four-digit number listed in ISO 18245.  An MCC is used to classify a business by the types of goods or services it provides.\n"
                                    },
                                    "tags": {
                                      "type": "array",
                                      "description": "A list of potential tags associated with the transaction after contextual enrichment, which can be used for filtering.\n\nRegion and client specific.\n\n| Value                   | Description                                               |\n|:------------------------|:----------------------------------------------------------|\n| `benefit`               | A government/non-profit benefit transaction               |\n| `debt-collection`       | A transaction associated with a known debt-collector      |\n| `loan`                  | A transaction associated with a loan                      |\n| `hcst`                  | A transaction associated with a high cost short term loan |\n| `income`                | A transaction associated with income                      |\n| `pending`               | A transaction which has not been booked                   |\n| `regular-transaction`   | A transaction predicted to occur with a regular frequency |\n| `subscription`          | A transaction associated with a subscription service      |\n| `online`                | A transaction associated with an online merchant          |\n",
                                      "items": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "metadata": {
                          "title": "Created Task Details",
                          "description": "Metadata on the created task, including the task_id",
                          "type": "object",
                          "required": [
                            "task_id"
                          ],
                          "properties": {
                            "task_id": {
                              "type": "string",
                              "nullable": true,
                              "format": "uuid",
                              "description": "Can be used with the transaction status endpoint to retrieve the status of the full enriched process"
                            },
                            "next_url": {
                              "type": "string",
                              "description": "The path to call to obtain the current status of the task.",
                              "example": "/v2/ingest/status/4cef424c-1d7f-4cab-8be2-aee7e1774a00"
                            },
                            "next_url_delay": {
                              "type": "number",
                              "description": "The time in milliseconds that the client should wait before trying to retrieve the current status of the task.",
                              "example": 500
                            }
                          }
                        }
                      }
                    }
                  ]
                },
                "examples": {
                  "sync enrichment response (with Customer ID)": {
                    "summary": "Synchronous Enrichment Response (with Customer ID)",
                    "value": {
                      "operation_id": "v2_ingest_transactions_post",
                      "data": [
                        {
                          "customer_id": "4cef424c-1d7f-4cab-8be2-aee7e1774a00",
                          "enriched_transactions": [
                            {
                              "transaction_id": "4cef424c-1d7f-4cab-8be2-aee7e1774a00",
                              "account_id": "2f5b2055-6253-4cd0-b646-06788342a609",
                              "description": "PAYPAL GOOGLE*YOUTUBEPREMIUM INTERNVJKK",
                              "credit_debit_indicator": "debit",
                              "status": "pending",
                              "suggested_description": "YouTube",
                              "suggested_logo": "https://assets.thisisbud.com/datasci-images/merchant_logos/1ee20c33-71c6-46d4-9374-f9f8cb5cc90e/v2/youtube.jpeg",
                              "transaction_type": {
                                "bud_code": "DEB",
                                "description": "PayPal"
                              },
                              "amount": {
                                "value": "12.04",
                                "currency": "USD"
                              },
                              "date_time": "2023-11-08T23:00:00Z00:00",
                              "tags": [
                                "online"
                              ],
                              "enrichments": {
                                "categories": {
                                  "l1": {
                                    "slug": "entertainment",
                                    "confidence": "0.99"
                                  },
                                  "l2": {
                                    "slug": "media_subscriptions",
                                    "confidence": "0.98"
                                  }
                                },
                                "merchant": {
                                  "id": "78f20914-afcd-46da-9c0c-27b51a8a7e7b",
                                  "slug": "youtube",
                                  "display_name": "YouTube",
                                  "logo": "http://url/youtube.jpeg",
                                  "tokens": [
                                    {
                                      "value": "youtube",
                                      "confidence": "0.92"
                                    }
                                  ],
                                  "tags": [
                                    "online-streaming",
                                    "technology",
                                    "online",
                                    "entertainment"
                                  ]
                                },
                                "processor": {
                                  "id": "18f63293-0217-4520-bbf0-071dca7a9d04",
                                  "slug": "paypal",
                                  "display_name": "PayPal",
                                  "logo": "http://url/paypal_logo.jpeg",
                                  "tokens": [
                                    {
                                      "value": "paypal",
                                      "confidence": "0.96"
                                    }
                                  ]
                                },
                                "transaction_types": [
                                  "card",
                                  "debit"
                                ]
                              }
                            },
                            {
                              "transaction_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                              "account_id": "2f5b2055-6253-4cd0-b646-06788342a609",
                              "description": "dunkin purchase 06/04 urbana oh",
                              "credit_debit_indicator": "debit",
                              "status": "booked",
                              "suggested_description": "Dunkin' Donuts",
                              "suggested_logo": "https://assets.thisisbud.com/datasci-images/merchant_logos/ad5af5cd-b8ef-4d33-8e71-5875974bfd45/v1/dunkindonuts.jpeg",
                              "transaction_type": {
                                "bud_code": "DEB",
                                "description": "Debit card transaction"
                              },
                              "amount": {
                                "value": "2.99",
                                "currency": "USD"
                              },
                              "date_time": "2023-11-10T11:48:05-05:00",
                              "merchant_category_code": "5814",
                              "enrichments": {
                                "categories": {
                                  "l1": {
                                    "slug": "food_and_drink",
                                    "confidence": "0.99"
                                  },
                                  "l2": {
                                    "slug": "eating_out_and_takeaways",
                                    "confidence": "0.98"
                                  }
                                },
                                "merchant": {
                                  "id": "ba8ef908-b624-4116-8b26-571e48d1bf4c",
                                  "slug": "dunkin",
                                  "display_name": "Dunkin'",
                                  "logo": "https://assets.thisisbud.com/datasci-images/merchant_logos/ba8ef908-b624-4116-8b26-571e48d1bf4c/v3/dunkin.jpeg",
                                  "tokens": [
                                    {
                                      "value": "dunkin",
                                      "confidence": "1.00"
                                    }
                                  ],
                                  "tags": [
                                    "drinks",
                                    "chain",
                                    "coffee",
                                    "restaurant",
                                    "fast-food",
                                    "takeout",
                                    "food",
                                    "bakery",
                                    "cafe"
                                  ]
                                },
                                "location": {
                                  "address": {
                                    "address_lines": [
                                      "1129 E US Highway 36",
                                      "Urbana",
                                      "OH",
                                      "43078"
                                    ],
                                    "street_address": "1129 E US Highway 36",
                                    "city": "Urbana",
                                    "region": "OH",
                                    "postal_code": "43078",
                                    "country": "US"
                                  },
                                  "geolocation": {
                                    "latitude": 40.106604,
                                    "longitude": -83.729653
                                  },
                                  "tokens": [
                                    "oh",
                                    "urbana"
                                  ]
                                }
                              }
                            },
                            {
                              "transaction_id": "cfb6dd1f4c73e1fc36aac756e12644d7",
                              "account_id": "37c633a71237b9a8282e09587109668e",
                              "description": "J BLOGGS RENT",
                              "credit_debit_indicator": "debit",
                              "amount": {
                                "value": "1350.00",
                                "currency": "USD"
                              },
                              "date_time": "2022-05-30T00:00:00Z",
                              "status": "booked",
                              "suggested_description": "J BLOGGS RENT",
                              "enrichments": {
                                "categories": {
                                  "l1": {
                                    "slug": "mortgage_and_rent",
                                    "confidence": "0.90"
                                  },
                                  "l2": {
                                    "slug": "rent",
                                    "confidence": "0.90"
                                  }
                                },
                                "names": [
                                  "j bloggs"
                                ]
                              }
                            }
                          ]
                        }
                      ],
                      "metadata": {
                        "task_id": "4cef424c-1d7f-4cab-8be2-aee7e1774a00",
                        "next_url": "/v2/ingest/status/4cef424c-1d7f-4cab-8be2-aee7e1774a00",
                        "next_url_delay": 500
                      }
                    }
                  },
                  "sync enrichment response (with Customer Idempotent Identifier)": {
                    "summary": "Synchronous Enrichment Response (with Customer Idempotent Identifier)",
                    "value": {
                      "operation_id": "v2_ingest_transactions_post",
                      "data": [
                        {
                          "customer_idempotent_identifier": "your_internal_id",
                          "enriched_transactions": [
                            {
                              "transaction_id": "4cef424c-1d7f-4cab-8be2-aee7e1774a00",
                              "account_id": "2f5b2055-6253-4cd0-b646-06788342a609",
                              "description": "PAYPAL GOOGLE*YOUTUBEPREMIUM INTERNVJKK",
                              "credit_debit_indicator": "debit",
                              "status": "pending",
                              "suggested_description": "YouTube",
                              "suggested_logo": "https://assets.thisisbud.com/datasci-images/merchant_logos/1ee20c33-71c6-46d4-9374-f9f8cb5cc90e/v2/youtube.jpeg",
                              "transaction_type": {
                                "bud_code": "DEB",
                                "description": "PayPal"
                              },
                              "amount": {
                                "value": "12.04",
                                "currency": "USD"
                              },
                              "date_time": "2023-11-08T23:00:00Z00:00",
                              "tags": [
                                "online"
                              ],
                              "enrichments": {
                                "categories": {
                                  "l1": {
                                    "slug": "entertainment",
                                    "confidence": "0.99"
                                  },
                                  "l2": {
                                    "slug": "media_subscriptions",
                                    "confidence": "0.98"
                                  }
                                },
                                "merchant": {
                                  "id": "78f20914-afcd-46da-9c0c-27b51a8a7e7b",
                                  "slug": "youtube",
                                  "display_name": "YouTube",
                                  "logo": "http://url/youtube.jpeg",
                                  "tokens": [
                                    {
                                      "value": "youtube",
                                      "confidence": "0.92"
                                    }
                                  ],
                                  "tags": [
                                    "online-streaming",
                                    "technology",
                                    "online",
                                    "entertainment"
                                  ]
                                },
                                "processor": {
                                  "id": "18f63293-0217-4520-bbf0-071dca7a9d04",
                                  "slug": "paypal",
                                  "display_name": "PayPal",
                                  "logo": "http://url/paypal_logo.jpeg",
                                  "tokens": [
                                    {
                                      "value": "paypal",
                                      "confidence": "0.96"
                                    }
                                  ]
                                },
                                "transaction_types": [
                                  "card",
                                  "debit"
                                ]
                              }
                            },
                            {
                              "transaction_id": "275fbbfe-209c-4329-a38b-b324aa386c56",
                              "account_id": "2f5b2055-6253-4cd0-b646-06788342a609",
                              "description": "dunkin purchase 06/04 urbana oh",
                              "credit_debit_indicator": "debit",
                              "status": "booked",
                              "suggested_description": "Dunkin' Donuts",
                              "suggested_logo": "https://assets.thisisbud.com/datasci-images/merchant_logos/ad5af5cd-b8ef-4d33-8e71-5875974bfd45/v1/dunkindonuts.jpeg",
                              "transaction_type": {
                                "bud_code": "DEB",
                                "description": "Debit card transaction"
                              },
                              "amount": {
                                "value": "2.99",
                                "currency": "USD"
                              },
                              "date_time": "2023-11-10T11:48:05-05:00",
                              "merchant_category_code": "5814",
                              "enrichments": {
                                "categories": {
                                  "l1": {
                                    "slug": "food_and_drink",
                                    "confidence": "0.99"
                                  },
                                  "l2": {
                                    "slug": "eating_out_and_takeaways",
                                    "confidence": "0.98"
                                  }
                                },
                                "merchant": {
                                  "id": "ba8ef908-b624-4116-8b26-571e48d1bf4c",
                                  "slug": "dunkin",
                                  "display_name": "Dunkin'",
                                  "logo": "https://assets.thisisbud.com/datasci-images/merchant_logos/ba8ef908-b624-4116-8b26-571e48d1bf4c/v3/dunkin.jpeg",
                                  "tokens": [
                                    {
                                      "value": "dunkin",
                                      "confidence": "1.00"
                                    }
                                  ],
                                  "tags": [
                                    "drinks",
                                    "chain",
                                    "coffee",
                                    "restaurant",
                                    "fast-food",
                                    "takeout",
                                    "food",
                                    "bakery",
                                    "cafe"
                                  ]
                                },
                                "location": {
                                  "address": {
                                    "address_lines": [
                                      "1129 E US Highway 36",
                                      "Urbana",
                                      "OH",
                                      "43078"
                                    ],
                                    "street_address": "1129 E US Highway 36",
                                    "city": "Urbana",
                                    "region": "OH",
                                    "postal_code": "43078",
                                    "country": "US"
                                  },
                                  "geolocation": {
                                    "latitude": 40.106604,
                                    "longitude": -83.729653
                                  },
                                  "tokens": [
                                    "oh",
                                    "urbana"
                                  ]
                                }
                              }
                            },
                            {
                              "transaction_id": "cfb6dd1f4c73e1fc36aac756e12644d7",
                              "account_id": "37c633a71237b9a8282e09587109668e",
                              "description": "J BLOGGS RENT",
                              "credit_debit_indicator": "debit",
                              "amount": {
                                "value": "1350.00",
                                "currency": "USD"
                              },
                              "date_time": "2022-05-30T00:00:00Z",
                              "status": "booked",
                              "suggested_description": "J BLOGGS RENT",
                              "enrichments": {
                                "categories": {
                                  "l1": {
                                    "slug": "mortgage_and_rent",
                                    "confidence": "0.90"
                                  },
                                  "l2": {
                                    "slug": "rent",
                                    "confidence": "0.90"
                                  }
                                },
                                "names": [
                                  "j bloggs"
                                ]
                              }
                            }
                          ]
                        }
                      ],
                      "metadata": {
                        "task_id": "4cef424c-1d7f-4cab-8be2-aee7e1774a00",
                        "next_url": "/v2/ingest/status/4cef424c-1d7f-4cab-8be2-aee7e1774a00",
                        "next_url_delay": 500
                      }
                    }
                  }
                }
              }
            }
          },
          "202": {
            "description": "A new Task has been created to ingest the given transactions. The generated `task_id` can be used to check the Task's status",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1v2~1ingest~1accounts/post/responses/202/content/application~1json/schema"
                },
                "example": {
                  "operation_id": "v2_ingest_transactions_post",
                  "metadata": {
                    "task_id": "4cef424c-1d7f-4cab-8be2-aee7e1774a00",
                    "next_url": "/v2/ingest/status/4cef424c-1d7f-4cab-8be2-aee7e1774a00",
                    "next_url_delay": 500
                  }
                }
              }
            }
          },
          "400": {
            "description": "The server will not process the request due to a client error.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/paths/~1v2~1ingest~1accounts/post/responses/400/content/application~1json/schema/oneOf/0"
                    },
                    {
                      "type": "object",
                      "title": "Validation Errors",
                      "required": [
                        "operation_id",
                        "code_id",
                        "message",
                        "errors"
                      ],
                      "properties": {
                        "operation_id": {
                          "$ref": "#/paths/~1v1~1open-banking~1providers/get/responses/200/content/application~1json/schema/properties/operation_id"
                        },
                        "code_id": {
                          "type": "string",
                          "enum": [
                            "failed_validation"
                          ]
                        },
                        "message": {
                          "type": "string",
                          "description": "High level description on what has failed "
                        },
                        "errors": {
                          "type": "object",
                          "title": "Map_of_customer_IDs",
                          "description": "a map of customer IDs to transaction validation errors",
                          "properties": {
                            "missing_fields": {
                              "type": "object",
                              "title": "Map of transaction IDs",
                              "description": "A map of transaction IDs to missing fields array.\n\nIf the transaction ID was missing use the request transaction array index to identify it.\nSee example\n",
                              "additionalProperties": {
                                "$ref": "#/paths/~1v2~1ingest~1accounts/post/responses/400/content/application~1json/schema/oneOf/2/properties/errors/properties/missing_fields/additionalProperties"
                              }
                            },
                            "invalid_fields": {
                              "type": "object",
                              "title": "Map of transaction IDs",
                              "description": "A map of transaction IDs to invalid fields array.\n\nIf the transaction ID was missing use the request transaction array index to identify it.\nSee example\n",
                              "additionalProperties": {
                                "$ref": "#/paths/~1v2~1ingest~1accounts/post/responses/400/content/application~1json/schema/oneOf/2/properties/errors/properties/invalid_fields/additionalProperties"
                              }
                            }
                          }
                        }
                      },
                      "example": {
                        "operation_id": "enrich_transactions_post",
                        "code_id": "failed_validation",
                        "message": "validation failure(s) in request payload",
                        "errors": {
                          "1db8c4b5-e5ae-429e-947b-6a4616ffc717": {
                            "missing_fields": {
                              "8b13ac45-9fe6-4c17-8c6d-b60ab2b4edad": [
                                "description",
                                "customer_id"
                              ],
                              "ba466961-d623-4173-9001-2f6487a9a41e": [
                                "customer_id"
                              ],
                              "tx-1": [
                                "transaction_id"
                              ],
                              "578f24f2-5046-463a-bca6-239e0dfac7fa": [
                                "amount"
                              ]
                            },
                            "invalid_fields": {
                              "8b13ac45-9fe6-4c17-8c6d-b60ab2b4edad": [
                                "date"
                              ],
                              "ba466961-d623-4173-9001-2f6487a9a41e": [
                                "date"
                              ]
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized (BearerToken in 'Authorization' header fails the authentication)"
          },
          "503": {
            "description": "An unexpected error occurred on the enrichment server. Sync Only"
          },
          "504": {
            "description": "An unexpected timeout occurred on the enrichment server. Sync Only"
          },
          "5XX": {
            "description": "An unexpected error occurred on the server side"
          }
        },
        "callbacks": {
          "FPIIngestSucceededCallback": {
            "{$request.body#/redirect_url}": {
              "description": "Should the ingestion task succeed, this callback is sent to your configured 'First Party Data Ingestion Events' webhook URL on the completion of a Ingest Transactions task.\n",
              "post": {
                "security": [],
                "parameters": [
                  {
                    "$ref": "#/paths/~1v2~1ingest~1accounts/post/callbacks/FPIIngestFailedCallback/{$request.body#~1redirect_url}/post/parameters/0"
                  },
                  {
                    "$ref": "#/paths/~1v2~1ingest~1accounts/post/callbacks/FPIIngestFailedCallback/{$request.body#~1redirect_url}/post/parameters/1"
                  }
                ],
                "summary": "First Party Ingestion Succeeded Callback",
                "requestBody": {
                  "required": true,
                  "description": "Should the ingestion task succeed, this callback is sent to your configured 'First Party Data Ingestion Events' webhook URL on the completion of a Ingest Transactions task.",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/paths/~1v2~1ingest~1accounts/post/callbacks/FPIIngestSucceededCallback/{$request.body#~1redirect_url}/post/requestBody/content/application~1json/schema"
                      },
                      "examples": {
                        "Success": {
                          "description": "Successful ingestion",
                          "value": {
                            "data": {
                              "event": "first_party_ingester.ingest.succeeded",
                              "operation_id": "v2_ingest_accounts_post",
                              "task_id": "6d37e192-1fdb-407d-82c6-58ee38cb60db"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "responses": {
                  "200": {
                    "description": "Your server returns this code if it accepts the callback"
                  },
                  "300": {
                    "description": "The notification will not be retried, redirects will not be followed"
                  },
                  "400": {
                    "description": "The notification will not be retried"
                  },
                  "500": {
                    "description": "The request will be retried shortly. If it fails multiple times, we will stop attempting to deliver the notification for this single event.\n"
                  }
                }
              }
            }
          },
          "FPIIngestFailedCallback": {
            "{$request.body#/redirect_url}": {
              "description": "Should the ingestion task fail, this callback is sent to your configured 'First Party Data Ingestion Events' webhook URL on the completion of a Ingest Transactions task.\n",
              "post": {
                "security": [],
                "parameters": [
                  {
                    "$ref": "#/paths/~1v2~1ingest~1accounts/post/callbacks/FPIIngestFailedCallback/{$request.body#~1redirect_url}/post/parameters/0"
                  },
                  {
                    "$ref": "#/paths/~1v2~1ingest~1accounts/post/callbacks/FPIIngestFailedCallback/{$request.body#~1redirect_url}/post/parameters/1"
                  }
                ],
                "summary": "First Party Ingestion Failed Callback",
                "requestBody": {
                  "required": true,
                  "description": "Should the ingestion task fail, this callback is sent to your configured 'First Party Data Ingestion Events' webhook URL on the completion of a Ingest Transactions task.",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/paths/~1v2~1ingest~1accounts/post/callbacks/FPIIngestFailedCallback/{$request.body#~1redirect_url}/post/requestBody/content/application~1json/schema"
                      },
                      "examples": {
                        "Success": {
                          "description": "First Party Ingestion Failed",
                          "value": {
                            "data": {
                              "event": "first_party_ingester.ingest.failed",
                              "operation_id": "v2_ingest_transactions_post",
                              "task_id": "6d37e192-1fdb-407d-82c6-58ee38cb60db",
                              "result": "data_mapping_error"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "responses": {
                  "200": {
                    "description": "Your server returns this code if it accepts the callback"
                  },
                  "300": {
                    "description": "The notification will not be retried, redirects will not be followed"
                  },
                  "400": {
                    "description": "The notification will not be retried"
                  },
                  "500": {
                    "description": "The request will be retried shortly. If it fails multiple times, we will stop attempting to deliver the notification for this single event.\n"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/v1/oauth/token",
            "scopes": {}
          }
        },
        "description": "\nAuthentication flow:\n\n1. Perform OAuth2 Client Credentials authentication using API Credentials (`client_id`,`client_secret`) to obtain an `access_token` against `/v1/oauth/token` endpoint,\n2. Use `access_token` as Bearer Authorisation for every other API request,\n3. Include `X-Client-Id` (=client_id) within the header of every API request,\n4. Note that some of the requests may also require `X-Customer-Id` to be provided within the request header.\n\n### Examples\nObtain OAuth2 `access_token` and `refresh_token` using `grant_type=client_credentials` and HTTP Basic auth header\n\n```\ncurl --basic --user {{client_id}}:{{client_secret}} \\\n  -X POST https://api-sandbox.thisisbud.com/v1/oauth/token \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d grant_type=client_credentials\n```\n\nSuccessful response:\n```\n{\n  \"operation_id\": \"oauth_token_post\",\n  \"data\": {\n    \"access_token\": \"dd0c17e3fd6d2ce94aa091257a3ea393b4f9b5cf3d3e998f07dc9826da86ff15\",\n    \"token_type\": \"bearer\",\n    \"expires_in\": 3600,\n    \"refresh_token\": \"fac32cca7559d9f6e8f1dfe9a99c71fa1dcfeb482bedf287d7934d2667ae54b3\"\n  }\n}\n```\n\nRefresh `access_token` token using `refresh_token` against `/v1/oauth/token` endpoint with `grant_type=refresh_token`\n\n```\ncurl -X POST \\\n  https://api-sandbox.thisisbud.com/v1/oauth/token \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -H 'X-Client-Id: {{client_id}}' \\\n  -d 'grant_type=refresh_token&refresh_token={{refresh_token}}'\n```\n\nSuccessful response:\n```\n{\n    \"operation_id\": \"oauth_token_post\",\n    \"data\": {\n        \"access_token\": \"cc0c17e3fd6d2ce94aa091257a3ea393b4f9b5cf3d3e998f07dc9826da86ff94\",\n        \"token_type\": \"bearer\",\n        \"expires_in\": 3600,\n        \"refresh_token\": \"ffc30cca7559d9f6e8f1dfe9a99c71fa1dcfeb482bedf287d7934d2667ae54b3\"\n    }\n}\n```\n"
      }
    },
    "parameters": {
      "IngestAccountsContentType": {
        "in": "header",
        "name": "Content-Type",
        "required": true,
        "schema": {
          "type": "string",
          "enum": [
            "application/plaid-accounts-v1+json",
            "application/finicity-accounts-v1+json",
            "application/bud-accounts+json"
          ]
        }
      }
    },
    "schemas": {
      "IngestPlaidAccountsRequest": {
        "title": "Plaid V1 Accounts Request",
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/PlaidCustomerWithAccounts"
        }
      },
      "PlaidCustomerWithAccounts": {
        "title": "Customer With Accounts",
        "type": "object",
        "oneOf": [
          {
            "$ref": "#/paths/~1ingestion~1v3~1accounts~1close/post/requestBody/content/application~1json/schema/items/oneOf/0"
          },
          {
            "$ref": "#/paths/~1ingestion~1v3~1accounts~1close/post/requestBody/content/application~1json/schema/items/oneOf/1"
          }
        ],
        "required": [
          "accounts"
        ],
        "properties": {
          "accounts": {
            "type": "array",
            "description": "List of accounts that belongs to the customer.",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/PlaidCustomerAccount"
            }
          }
        }
      },
      "PlaidCustomerAccount": {
        "title": "Customer Account",
        "type": "object",
        "required": [
          "account_id",
          "name",
          "subtype"
        ],
        "properties": {
          "account_id": {
            "type": "string",
            "description": "Unique identifier for the account."
          },
          "balances": {
            "$ref": "#/components/schemas/PlaidAccountBalance"
          },
          "name": {
            "type": "string",
            "description": "The name of the account, either assigned by the user or by the financial institution itself"
          },
          "official_name": {
            "type": "string",
            "description": "The official name of the account as given by the financial institution"
          },
          "type": {
            "type": "string",
            "enum": [
              "investment",
              "credit",
              "depository",
              "loan",
              "brokerage",
              "other"
            ]
          },
          "subtype": {
            "type": "string",
            "enum": [
              "checking",
              "savings",
              "hsa",
              "cd",
              "money market",
              "paypal",
              "prepaid",
              "cash management",
              "ebt",
              "credit card",
              "auto",
              "business",
              "commercial",
              "construction",
              "consumer",
              "home equity",
              "loan",
              "mortgage",
              "overdraft",
              "line of credit",
              "student",
              "other",
              "529",
              "401a",
              "401k",
              "403b",
              "457b",
              "brokerage",
              "cash isa",
              "crypto exchange",
              "education savings account",
              "fixed annuity",
              "gic",
              "health reimbursement arrangement",
              "ira",
              "isa",
              "keogh",
              "lif",
              "life insurance",
              "lira",
              "lrif",
              "lrsp",
              "mutual fund",
              "non-taxable brokerage account",
              "other annuity",
              "pension",
              "prif",
              "profit sharing plan",
              "qshr",
              "rdsp",
              "resp",
              "retirement",
              "rlif",
              "roth",
              "roth 401k",
              "rrif",
              "rrsp",
              "sarsep",
              "sep ira",
              "simple ira",
              "sipp",
              "stock plan",
              "tfsa",
              "trust",
              "ugma",
              "utma",
              "variable annuity"
            ]
          }
        }
      },
      "PlaidAccountBalance": {
        "title": "Customer Account Balance",
        "type": "object",
        "required": [
          "current",
          "iso_currency_code",
          "last_updated_datetime"
        ],
        "properties": {
          "available": {
            "type": "number",
            "format": "double",
            "description": "The amount of funds available to be withdrawn from the account, as determined by the financial institution."
          },
          "current": {
            "type": "number",
            "format": "double",
            "description": "The amount of funds available to be withdrawn from the account, as determined by the financial institution."
          },
          "limit": {
            "type": "number",
            "format": "double",
            "description": "The amount of funds available to be withdrawn from the account, as determined by the financial institution."
          },
          "iso_currency_code": {
            "type": "string",
            "format": "currency",
            "description": "The ISO-4217 currency code of the balance"
          },
          "last_updated_datetime": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ) indicating the last time that the balance for the given account has been updated"
          }
        }
      },
      "IngestFinicityAccountsRequest": {
        "title": "Finicity V1 Accounts Request",
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/FinicityCustomerWithAccounts"
        }
      },
      "FinicityCustomerWithAccounts": {
        "title": "Customer With Accounts",
        "type": "object",
        "oneOf": [
          {
            "$ref": "#/paths/~1ingestion~1v3~1accounts~1close/post/requestBody/content/application~1json/schema/items/oneOf/0"
          },
          {
            "$ref": "#/paths/~1ingestion~1v3~1accounts~1close/post/requestBody/content/application~1json/schema/items/oneOf/1"
          }
        ],
        "required": [
          "accounts"
        ],
        "properties": {
          "accounts": {
            "type": "array",
            "description": "List of accounts that belongs to the customer.",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/FinicityCustomerAccount"
            }
          }
        }
      },
      "FinicityCustomerAccount": {
        "title": "Customer Account",
        "type": "object",
        "required": [
          "id",
          "name",
          "type",
          "institutionId",
          "currency",
          "balance",
          "balanceDate"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "The ID of the account."
          },
          "name": {
            "type": "string",
            "description": "The account name from the institution."
          },
          "type": {
            "type": "string",
            "description": "Finicity Account Types",
            "enum": [
              "checking",
              "savings",
              "cd",
              "moneyMarket",
              "creditCard",
              "lineOfCredit",
              "investment",
              "investmentTaxDeferred",
              "employeeStockPurchasePlan",
              "ira",
              "401k",
              "roth",
              "403b",
              "529plan",
              "rollover",
              "ugma",
              "utma",
              "keogh",
              "457plan"
            ]
          },
          "status": {
            "type": "string",
            "description": "The type of the account",
            "enum": [
              "active",
              "pending"
            ]
          },
          "institutionId": {
            "type": "string",
            "description": "The ID of the institution for this account."
          },
          "currency": {
            "type": "string",
            "format": "currency",
            "description": "ISO 4217 currency code"
          },
          "balance": {
            "type": "number",
            "format": "double",
            "description": "The cleared balance of the account as-of balanceDate."
          },
          "balanceDate": {
            "type": "number",
            "description": "A Unix Time timestamp showing when the balance was captured."
          },
          "detail": {
            "$ref": "#/components/schemas/FinicityCustomerAccountDetail"
          }
        }
      },
      "FinicityCustomerAccountDetail": {
        "title": "Customer Account Detail",
        "type": "object",
        "properties": {
          "availableBalanceAmount": {
            "type": "number",
            "format": "double",
            "description": "(Checking/Savings/CD/MoneyMarket) and (Mortgage/Loan) The available balance (typically the current balance with adjustments for any pending transactions)"
          },
          "creditMaxAmount": {
            "type": "number",
            "format": "double",
            "description": "The account’s credit limit"
          },
          "creditAvailableAmount": {
            "type": "number",
            "format": "double",
            "description": "The available credit (typically the credit limit minus the current balance)"
          }
        }
      }
    }
  }
}
````