Listing bank deposits

GET /api/public/v1/transactions/bank_deposits

This endpoint returns a list of all bank deposit transactions.

Headers

Name
Value

Content-Type

application/vnd.api+json

Authorization

Bearer <api_key>

URL Parameters

Name
Description

order

Order in which the list of transactions should be returned. Can be created_at.

order_type

Order type. Can be either asc or desc.

page

Page for which you want to return transactions.

per_page

Number of transactions per page to return.

Response

{
  "data": [
    {
      "id": "9a53eecf-2cad-4e01-99e2-135d68a47c0b",
      "type": "transactions",
      "attributes": {
        "createdAt": "2024-12-10T12:14:04.295Z",
        "simplifiedState": "completed",
        "transactionType": "BankDepositTransaction",
        "amount": "1.40",
        "reference": "dbc43033-7692-4e6e-bdcb-3e4d7aafd5f4"
      },
      "relationships": {
        "account": {
          "meta": {
            "included": false
          }
        },
        "transactionDetails": {
          "data": {
            "type": "bank_deposit_transactions",
            "id": "9a53eecf-2cad-4e01-99e2-135d68a47c0b"
          }
        }
      }
    }
  ],
  "included": [
    {
      "id": "9a53eecf-2cad-4e01-99e2-135d68a47c0b",
      "type": "bank_deposit_transactions",
      "attributes": {
        "createdAt": "2024-12-10T12:12:49.639Z",
        "updatedAt": "2024-12-10T12:12:49.639Z",
        "state": "completed",
        "currency": "EUR",
        "amount": "1.40"
      },
      "relationships": {
        "account": {
          "data": {
            "type": "accounts",
            "id": "acd50522-de49-4aaa-a183-dc046ff27fd5"
          }
        }
      }
    },
    {
      "id": "acd50522-de49-4aaa-a183-dc046ff27fd5",
      "type": "accounts",
      "attributes": {
        "currencyCode": "EUR",
        "balance": "25609.70",
        "currencyType": "fiat"
      },
      "relationships": {
        "company": {
          "meta": {
            "included": false
          }
        },
        "networks": {
          "meta": {
            "included": false
          }
        }
      }
    }
  ],
  "meta": {
    "page": "1",
    "per_page": "1",
    "total": 6
  },
  "jsonapi": {
    "version": "1.0"
  }
}

Last updated