TRANSACTIONS Endpoints

Get list of all transactions

get
Authorizations
Query parameters
pagenumber · min: 1OptionalDefault: 1
limitnumber · min: 10OptionalDefault: 10
namestring · enumOptionalPossible values:
sortstring · enumOptional

Sorting for create datetime

Default: descendingPossible values:
Responses
200

Success

application/json
get
GET /transactions HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "list": [
    {
      "id": "eaa264e3-d1c0-4a6d-93f0-5b58210436c7",
      "referenceId": "text",
      "type": "outgoing",
      "amount": 1,
      "amountType": "net",
      "status": "processing",
      "statusNote": "Deposit successfully executed",
      "timestampCreated": "2020-11-26 11:39:17.852765 +03:00",
      "timestampUpdated": "2020-11-26 11:39:17.852765 +03:00",
      "operations": [
        {
          "id": 1,
          "type": "deposit",
          "status": "processing",
          "addressSource": "bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc",
          "addressDestination": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
          "currency": "BTC",
          "amount": 1,
          "serviceFee": "text",
          "amountFinal": 1,
          "txHash": "cb2939fae04a903dc46d547e608cbd11d2086f2dd4b6550c6b99c5c14db76af8"
        }
      ]
    }
  ],
  "pagination": {
    "currentPage": 3,
    "limitItems": 15,
    "totalItems": 90,
    "totalPages": 6
  }
}

Get specific transaction data

get
Authorizations
Path parameters
idstringRequired
Responses
200

Success

application/json
get
GET /transactions/{id} HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "id": "eaa264e3-d1c0-4a6d-93f0-5b58210436c7",
  "referenceId": "text",
  "type": "outgoing",
  "amount": 1,
  "amountType": "net",
  "status": "processing",
  "statusNote": "Deposit successfully executed",
  "timestampCreated": "2020-11-26 11:39:17.852765 +03:00",
  "timestampUpdated": "2020-11-26 11:39:17.852765 +03:00",
  "operations": [
    {
      "id": 1,
      "type": "deposit",
      "status": "processing",
      "addressSource": "bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc",
      "addressDestination": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
      "currency": "BTC",
      "amount": 1,
      "serviceFee": "text",
      "amountFinal": 1,
      "txHash": "cb2939fae04a903dc46d547e608cbd11d2086f2dd4b6550c6b99c5c14db76af8"
    }
  ]
}

Last updated