Reservations

(Deprecated) Get account reservations. Version 2022-06-01

Returns an array containing all reservations on a given account. This endpoint will deprecated soon. All partners must switch to the new version.

get/v1/accounts/{account_id}/reservations/old

Path parameters

account_idstring 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]'CARD_AUTHORIZATION' | 'SEPA_CREDIT_TRANSFER' | 'CLEARING_TRANSACTION' | 'INTRA_CUSTOMER_TRANSFER' | 'SEPA_CREDIT_BATCH' | 'SEIZURE' | 'SEPAInstantCreditTransfer'

Filters the returned reservations by type.

filter[id]string

Filters the returned reservations by ID.

filter[status]'OPEN' | 'RESOLVED'

Filters the reservations by status, e.g., OPEN.

sort'created_at' | '-created_at'

Sorts the returned reservations by created_at date.

Response

The operation was successful.

idstring

ID of the reservation.

reservation_type'CARD_AUTHORIZATION' | 'CLEARING_TRANSACTION' | 'INTRA_CUSTOMER_TRANSFER' | 'SEIZURE' | 'SEPA_CREDIT_BATCH' | 'SEPA_CREDIT_TRANSFER' | 'ProtectedAccountSeizure'

The type of reservation.

referencestring

Reference for the reservation.

status'OPEN' | 'RESOLVED'

The current status of the reservation. Possible values are OPEN and RESOLVED.

expires_atstring
expired_atstring
resolved_atstring
descriptionstring

Example response

[
  {
    "id": "b814e2213c5c45149945ed53422db0c4cres",
    "amount": {
      "value": 800,
      "unit": "cents",
      "currency": "EUR"
    },
    "reservation_type": "CARD_AUTHORIZATION",
    "reference": "c222a0b8-07ea-49be-83c1-68719be286e6",
    "status": "OPEN",
    "meta_info": {
      "cards": {
        "merchant": {
          "country_code": "DE",
          "category_code": "6011",
          "name": "BERLINER VOLKSBANK EG",
          "town": "TXL ABFLUG"
        },
        "original_amount": {
          "currency": "EUR",
          "value": 10,
          "fx_rate": 1
        },
        "pos_entry_mode": "CHIP",
        "trace_id": "651afb5beea67124d57be6dee27a2c5b7a241e58",
        "transaction_date": "2021-10-11",
        "transaction_time": "2021-10-11T22:33:26Z",
        "transaction_type": "PURCHASE",
        "wallet_type": "GOOGLE",
        "device_pan": "4537920000006141"
      }
    }
  }
]