LogoLogo
WebsiteLoginStatus
API Reference
API Reference
  • Introduction
  • Introduction to GraphQL
    • What is GraphQL?
      • GraphQL Schema
      • Example Using GraphQL
    • Authentication
    • Queries
      • Example Query
    • Mutations
      • Example Mutation
    • Variables
    • Fields
  • Develop With inabit API
    • Getting Started
      • Authentication
      • inabit Postman Collection
    • Organizations
      • Organization Info
      • Organization ID
      • Organization Users
      • Organization Contacts
      • Organization Transactions
    • Wallets
      • Wallets Info
      • Create inabit Wallet
      • Edit Wallet Name
      • Generate Deposit Address
      • Fetch Deposit Address
      • Save Address to Whitelist
      • Archive / Unarchive Wallet
      • Disconnect Exchange Wallet
    • Contacts
      • Contact Info
      • Create New Contact
      • Update Contact
    • Transactions
      • Transaction Info
      • Create Transfer Request
      • Create Off Ramp Request
      • Create On Ramp Request
      • Create Exchange Swap
      • Create inabit Wallet Swap
      • Edit Transaction Note
    • Utilities
      • Fetch Financial Asset
      • Fetch Blockchains
  • Remote Approver App
    • Setup and Configuration
    • API Wallets Generation
    • Automate Signing Transactions
    • Webhooks
      • Notification Types
  • WHAT WE SUPPORT
    • Assets & Tokens
    • Blockchains
    • Exchanges
      • Binance
      • Kucoin
      • Kraken
  • Changelog
Powered by GitBook
On this page
  • Fetch Organization Transactions
  • Headers
  • Body (TransactionWhereUniqueInput object)
  • Response
  • Try it out!

Was this helpful?

Export as PDF
  1. Develop With inabit API
  2. Organizations

Organization Transactions

Retrieve all transactions in an organization, per organization ID.

Fetch Organization Transactions

Retrieve all transactions in a specific organization, according to an organization ID, Wallet ID and specific asset (ID).

query Transaction($where: TransactionWhereUniqueInput!) {
  transaction(where: $where) {
    id
    amount
    blockchain {
      name
      code
    }
    createdAt
    createdBy {
      fullName
    }
    fee
    note
    status {
      status
    }
    wallet {
      name
      id
    }
    financialAsset {
      code
    }
    isAccelerated
    priority
    rateUSD
    rateEUR
    kyt
  }
}

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body (TransactionWhereUniqueInput object)

Name
Type
Description

id*

string

Transaction ID

Example body:

{
  "where": {
    "id": "clllyfhdj00w9btqke47wsesf"
  }
}

Response

Return values:

Name
Type
Description

id

String

Transaction ID

amount

Integer

Transaction Amount

name (blockchain)

String

Blockchain Name

id (blockchain)

String

Blockchain ID

createdAt

String

Creation Time of Transaction

fullName (createdBy)

String

Full Name of the User Created the Transaction

fee

Integer

Fee Amount

note

String

Tranasaction Note (can be empty)

status

String

Status

name (wallet)

String

Wallet Name

id (wallet)

String

Wallet ID

code (financialAsset)

String

FinancialAsset Code (i.e - "ETH" / "BTC")

isAccelerated

Boolean

priority

String

Transaction Priority (Slow, Medium, Fast, etc.)

rateUSD

Integer

Asset Rate at the time of the transaction (in USD)

rateEUR

Integer

Asset Rate at the time of the Transaction (in Euro)

kyt

String

KYT (Know-Your-Transaction) risk score. 0 - Worst score 10 - Best Score

{
  "data": {
    "transaction": {
      "id": "clllyfhdj00w9btqke47wsesf",
      "amount": 941.93,
      "blockchain": {
        "name": "Ethereum",
        "code": "ETH"
      },
      "createdAt": "2023-08-22T06:58:14.071Z",
      "createdBy": null,
      "fee": 1.36,
      "note": "Voluptas nihil dolorem qui explicabo libero earum.",
      "status": {
        "status": "Pending"
      },
      "wallet": {
        "name": "Organization Wallet 4",
        "id": "clllyfexn00h0btqkyed7tgqg"
      },
      "financialAsset": {
        "code": "ETH"
      },
      "isAccelerated": false,
      "priority": "Fast",
      "rateUSD": 3640.44,
      "rateEUR": 3351.94,
      "kyt": 4
    }
  }
{
  "errors": [
    {
      "message": "Unauthorized",
      "extensions": {
        "code": "UNAUTHENTICATED",
        "response": {
          "statusCode": 401,
          "message": "Unauthorized"
        }
      }
    }
  ],
  "data": {
    "transaction": null
  }
}

Try it out!

PreviousOrganization ContactsNextWallets

Was this helpful?

Flag that indicates wether the transaction is . (true/false)

accelerated
Apollo Studio