# (Deprecated) Get account reservations. Version 2022-06-01 (deprecated) Returns an array containing all reservations on a given account. This endpoint will deprecated soon. All partners must switch to the new version. Endpoint: GET /v1/accounts/{account_id}/reservations/old Version: 1.0 ## Path parameters: - `account_id` (string, required) ## Query parameters: - `page[number]` (string) Returns a specific page of results. - `page[size];` (string) Determines the size of each page of results. - `filter[reservation_type]` (string) Filters the returned reservations by type. Enum: "CARD_AUTHORIZATION", "SEPA_CREDIT_TRANSFER", "CLEARING_TRANSACTION", "INTRA_CUSTOMER_TRANSFER", "SEPA_CREDIT_BATCH", "SEIZURE", "SEPAInstantCreditTransfer" - `filter[id]` (string) Filters the returned reservations by ID. Example: "162ddd7e-790c-5963-908f-4cedfd30f9a1" - `filter[status]` (string) Filters the reservations by status, e.g., OPEN. Enum: "OPEN", "RESOLVED" - `sort` (string) Sorts the returned reservations by created_at date. Enum: "created_at", "-created_at" ## Response 200 fields (application/json): - `id` (string) ID of the reservation. Example: "b814e2213c5c45149945ed53422db0c4cres" - `amount` (object) Amount of the reservation (in Euro cents). - `amount.value` (integer) Example: 800 - `amount.unit` (string) Example: "cents" - `amount.currency` (string) Example: "EUR" - `reservation_type` (string) The type of reservation. Enum: "CARD_AUTHORIZATION", "CLEARING_TRANSACTION", "INTRA_CUSTOMER_TRANSFER", "SEIZURE", "SEPA_CREDIT_BATCH", "SEPA_CREDIT_TRANSFER", "ProtectedAccountSeizure" - `reference` (string) Reference for the reservation. Example: "c222a0b8-07ea-49be-83c1-68719be286e6" - `status` (string) The current status of the reservation. Possible values are and . Enum: "OPEN", "RESOLVED" - `meta_info` (object) An object containing all meta information related to the reservation. - `meta_info.cards` (object) Object containing all metadata related to the card used to make the reservation. - `meta_info.cards.card_id` (string) Solaris ID of the card used to create the reservation. - `meta_info.cards.merchant` (object) Object containing all metadata related to the merchant with whom the transaction was conducted. - `meta_info.cards.merchant.id` (string) The ID that the merchant provided to their acquirer. - `meta_info.cards.merchant.country_code` (string) Two-letter code of the country where the merchant is based. Example: "DE" - `meta_info.cards.merchant.category_code` (string) The [Merchant Category Code (MCC)](https://www.citibank.com/tts/solutions/commercial-cards/assets/docs/govt/Merchant-Category-Codes.pdf) of the merchant. Example: "6011" - `meta_info.cards.merchant.post_code` (string) Postal code where the merchant is based. - `meta_info.cards.merchant.state` (string) State where the merchant is based. - `meta_info.cards.merchant.street_address` (string) Street address of the merchant. - `meta_info.cards.merchant.name` (string) The name of the merchant. Example: "BERLINER VOLKSBANK EG" - `meta_info.cards.merchant.town` (string) Town where the merchant is based. Example: "TXL ABFLUG" - `meta_info.cards.original_amount` (object) The amount of the reservation (in Euro cents) combined with the foreign exchange rate. - `meta_info.cards.original_amount.fx_rate` (integer) Example: 1 - `meta_info.cards.original_amount.fx_markup` (integer) Example: 7.3165 - `meta_info.cards.original_amount.issuer_fee` (integer) - `meta_info.cards.pos_entry_mode` (string) The POS entry mode used for the reservation. Enum: "ECOMMERCE", "CREDENTIAL_ON_FILE", "MANUAL_PAN_ENTRY", "UNKNOWN", "CHIP", "CONTACTLESS", "MAG_STRIPE" - `meta_info.cards.trace_id` (string) ID used to link the authorization and the settlement. Note that Solaris cannot guarantee that this will always match. Example: "651afb5beea67124d57be6dee27a2c5b7a241e58" - `meta_info.cards.transaction_date` (string) Date when the transaction occurred. Example: "2021-10-11" - `meta_info.cards.transaction_time` (string) Date and time when the transaction occurred (UTC format). Example: "2021-10-11T22:33:26Z" - `meta_info.cards.transaction_type` (string) The type of the credit card transaction. Enum: "PURCHASE", "ATM_WITHDRAWAL" - `meta_info.cards.auth_code` (string) Code generated by Solaris to confirm the authorization of a settlement. - `meta_info.cards.terminal_id` (string) (Legacy) Merchant ID for the terminal used for payment. - `meta_info.cards.acquirer_id` (string) An identification code (up to 11 characters) of the acquiring institution. - `meta_info.cards.wallet_type` (string) Name of a digital wallet. if the internal ID doesn't match known to Solaris. Empty string () if the transaction does not come from a wallet. Enum: "APPLE", "GOOGLE", "SAMSUNG" - `meta_info.cards.device_pan` (string) Reference to the device's token in that wallet Example: "4537920000006141" - `expires_at` (string) - `expired_at` (string) - `resolved_at` (string) - `description` (string) ## Response 400 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "400" - `code` (string) Example: "build_pagination_headers_failure" - `title` (string) Example: "Failed to build pagination headers." - `detail` (string) Example: "Cannot connect to database." ## Response 404 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "404" - `code` (string) Example: "model_not_found" - `title` (string) Example: "Model Not Found" - `detail` (string) Example: "Couldn't find 'Account' for id 'DE24112233445566'." ## Response 500 fields (application/json): - `id` (string) Example: "e8915041-9d8c-4d96-9dd1-04e8522ecdbf" - `status` (string) Example: "500" - `code` (string) Example: "generic_error" - `title` (string) Example: "Generic Error" - `detail` (string) Example: "There was an error."