Skip to main content

List Transactions

This endpoint allows to list transactions.

Authorization:

bearer

HTTP: bearer

HTTP Authorization Scheme: bearer

Headers:
Authorization: APIKey {YOUR_API_KEY}

Endpoint

GET

/api/v2/transactions

Query parameters​

ParameterTypeDescription
pageintPage number (default: 1).
limitintNumber of items per page (default: 100).
searchstringSearch term (min 3, max 255 characters).
accountIdstring (uuid)Filter by account ID.
transactionTypestringFilter by type: crypto, bank, or trade.
statusstringFilter by transaction status (e.g., pending, completed, failed).
startDatestring (date-time)Inclusive lower bound on createdAt. Accepts RFC3339, 2006-01-02T15:04:05, or 2006-01-02. Values without an offset are treated as UTC; pass an RFC3339 offset (e.g., 2026-05-12T00:00:00-05:00) to filter in another timezone.
endDatestring (date-time)Inclusive upper bound on createdAt. Accepts the same formats as startDate; date-only values cover the entire UTC day. When both dates are provided, endDate must be strictly later than startDate.
coinstringFilter by coin (e.g., USD, USDC, BTC).

Response Sample (Trade Transaction)​

{
"data": [
{
"id": "11111111-2222-3333-4444-555555555555",
"reference": "client-ref-12345",
"accountId": "00000000-0000-0000-0000-000000000000",
"createdAt": "2025-01-15T10:30:00Z",
"transactionType": "trade",
"coins": ["USDC", "USD"],
"status": "completed",
"statusReason": "Trade executed successfully",
"statusHistory": [
{ "status": "completed", "statusReason": "Trade executed", "date": "2025-01-15T10:35:00Z" },
{ "status": "pending", "statusReason": "Trade submitted", "date": "2025-01-15T10:30:00Z" }
],
"account": {
"accountId": "00000000-0000-0000-0000-000000000000",
"email": "jwick@localhost"
},
"audit": {
"adminId": "00000000-0000-0000-0000-000000000000",
"admin": "agent@workspace",
"apiKey": false
},
"tradeTransactionDetails": {
"type": "market",
"product": "USDC-USD",
"side": "buy",
"quantity": 100.00,
"quantityCurrency": "USD",
"fee": 1.00,
"feeCurrency": "USD",
"quoteQuantity": 99.00,
"quoteCurrency": "USDC",
"rate": 1.00
}
}
],
"page": 1,
"limit": 10,
"total": 100
}

Response Sample (Bank Transaction)​

{
"data": [
{
"id": "22222222-3333-4444-5555-666666666666",
"reference": "bank-deposit-789",
"accountId": "00000000-0000-0000-0000-000000000000",
"createdAt": "2025-01-14T14:20:00Z",
"transactionType": "bank",
"coins": ["USD"],
"status": "pending",
"statusReason": "Awaiting processing",
"statusHistory": [
{ "status": "pending", "statusReason": "Deposit initiated", "date": "2025-01-14T14:20:00Z" }
],
"account": {
"accountId": "00000000-0000-0000-0000-000000000000",
"email": "jwick@localhost"
},
"audit": {
"adminId": "00000000-0000-0000-0000-000000000000",
"admin": "agent@workspace",
"apiKey": false
},
"bankTransactionDetails": {
"type": "deposit",
"coin": "USD",
"amount": 500.00,
"fee": 2.50,
"total": 502.50,
"instrumentType": "ach",
"transactionReference": "BW0000 123456",
"originatorName": "John Wick",
"senderAccountNumber": "1023456789",
"senderRoutingNumber": "100000000",
"senderBankName": "BlockWyre Bank"
}
}
],
"page": 1,
"limit": 10,
"total": 50
}

Response Schema​

FieldTypeDescription
pageintCurrent page number.
limitintNumber of items per page.
totalintTotal number of transactions.
dataarrayList of transactions.
data[].idstring (uuid)Unique transaction ID.
data[].referencestringClient reference.
data[].accountIdstring (uuid)Account ID.
data[].createdAtstring (datetime)Timestamp of creation (ISO 8601).
data[].transactionTypestringTransaction type: bank, crypto, or trade.
data[].coinsarray of stringsCoins involved in the transaction.
data[].statusstringTransaction status (e.g., pending, completed, failed).
data[].statusReasonstringReason for the current status.
data[].statusHistoryarrayHistory of status changes.
data[].accountobjectAccount summary.
data[].account.accountIdstring (uuid)Account ID.
data[].account.emailstringAccount email.
data[].auditobjectAudit information about who created the transaction.
data[].audit.adminIdstring (uuid)ID of the workspace admin who created the transaction (optional).
data[].audit.adminstringEmail of the workspace admin (optional).
data[].audit.apiKeybooleanWhether the transaction was created via API key.
data[].bankTransactionDetailsobjectBank transaction details (present when transactionType is bank).
data[].cryptoTransactionDetailsobjectCrypto transaction details (present when transactionType is crypto).
data[].tradeTransactionDetailsobjectTrade transaction details (present when transactionType is trade).

Bank Transaction Details​

FieldTypeDescription
typestringdeposit or withdrawal.
coinstringCurrency (e.g., USD).
amountdecimalTransaction amount.
feedecimalTransaction fee.
totaldecimalTotal amount (amount + fee).
instrumentTypestringInstrument type (e.g., ach, wire, swift).
transactionReferencestringTransaction reference number.
imadstringInternational money transfer ID (optional).
originatorNamestringName of the originator (optional).
senderAccountNumberstringSender account number (optional).
senderRoutingNumberstringSender routing number (optional).
senderSwiftCodestringSender SWIFT code (optional).
senderIbanstringSender IBAN (optional).
senderBankNamestringSender bank name (optional).
beneficiaryAccountNumberstringBeneficiary account number (optional).
beneficiaryRoutingNumberstringBeneficiary routing number (optional).
beneficiarySwiftCodestringBeneficiary SWIFT code (optional).
beneficiaryIbanstringBeneficiary IBAN (optional).
beneficiaryBankNamestringBeneficiary bank name (optional).
beneficiaryNamestringBeneficiary name (optional).
traceNumberstringACH trace number — NACHA equivalent of an IMAD for wires (optional).
addendaarray of stringsACH addenda records. For inbound credits via intermediaries (e.g. Wise) the actual sender's name is here; the originatorName only carries the intermediary (optional).

Crypto Transaction Details​

FieldTypeDescription
typestringdeposit or withdraw.
coinstringCoin identifier (e.g., USDT).
networkstringBlockchain network (e.g., ethereum).
amountdecimalTransaction amount.
feedecimalTransaction fee.
totaldecimalTotal amount.
networkFeedecimalNetwork fee (optional).
targetAddressstringTarget wallet address (optional).
txHashstringBlockchain transaction hash (optional).

Trade Transaction Details​

FieldTypeDescription
typestringTrade type (e.g., market).
productstringTrading pair (e.g., BTC-USD, USDC-MXN).
sidestringbuy or sell.
quantitydecimalQuantity of the base currency.
quantityCurrencystringBase currency.
feedecimalTrade fee.
feeCurrencystringFee currency.
quoteQuantitydecimalQuantity of the quote currency.
quoteCurrencystringQuote currency.
ratedecimalExchange rate.

Support and Resources​

If you need assistance or have any questions, our support team is here to help. You can contact our support team at support@blockwyre.com.

Stay Updated​

Stay up-to-date with the latest news, updates, and features from BlockWyre by following us on social media:

We are excited to have you on board and look forward to seeing how you leverage BlockWyre's powerful tools to enhance your financial operations. Happy integrating!