GET
/
transactions
curl --request GET \
  --url https://api-staging.stablestack.xyz/api/transactions \
  --header 'x-api-key: <x-api-key>'
{
  "status": "success",
  "data": [
    {
      "id": "78f599ba-cddd-49fb-809a-246d0471d836",
      "sender_wallet_id": null,
      "receiver_wallet_id": null,
      "transaction_id": "IWGAHO83UD",
      "asset_code": "USDT",
      "amount": "12.00000000",
      "reference_id": "a988fc09-72e3-44f4-834d-2210cb4c9982",
      "status": "PENDING",
      "created_at": "2025-05-20T19:49:30.295Z",
      "updated_at": "2025-05-20T19:49:30.295Z",
      "crypto_transaction_id": null,
      "network": null,
      "transaction_type": "PAYOUT",
      "transaction_mode": "DEBIT",
      "exchange_rate": "1616.00",
      "withdrawal_recipient_name": "John Doe",
      "fee": "50.00",
      "balance": "0.00000000",
      "reason": "Withdraw to 1234567890/000004",
      "customer_id": null,
      "recipient_currency": "NGN",
      "recipient_country": "Nigeria",
      "bank_name": "Example Bank",
      "bank_code": "000004",
      "address": null,
      "bank_account": "1234567890"
    },
    {
      "id": "94f18946-9976-4b01-bbf2-7dda9f0c9fc7",
      "sender_wallet_id": null,
      "receiver_wallet_id": null,
      "transaction_id": "WDOG7EK8Q1",
      "asset_code": "USDT",
      "amount": "55.00000000",
      "reference_id": "e8131542-0d71-4d93-8415-d07d357145f6",
      "status": "PENDING",
      "created_at": "2025-05-19T08:55:58.220Z",
      "updated_at": "2025-05-19T08:55:58.220Z",
      "crypto_transaction_id": null,
      "network": null,
      "transaction_type": "PAYOUT",
      "transaction_mode": "DEBIT",
      "exchange_rate": "1611.74",
      "withdrawal_recipient_name": "Jane Smith",
      "fee": "50.00",
      "balance": "0.00000000",
      "reason": "Withdraw to 9876543210/000004",
      "customer_id": null,
      "recipient_currency": "NGN",
      "recipient_country": "Nigeria",
      "bank_name": "Sample Bank",
      "bank_code": "000004",
      "address": null,
      "bank_account": "9876543210"
    }
  ],
  "pagination": {
    "total": 2,
    "page": 1,
    "limit": 10,
    "totalPages": 1
  }
}

Retrieves a list of transactions associated with your account.

Key Features:

  • Supports filtering by transaction ID, customer ID, transaction type, mode, currency, date range, and status
  • Allows searching by transaction ID
  • Includes pagination metadata

Query Parameters:

  • customer_id: Filter by customer ID (uuid)
  • search: Search by transaction ID (partial or full match)
  • status: Filter by transaction status (pending, completed, reversed, failed.)
  • transaction_id: Filter by exact transaction ID
  • transaction_type: Filter by type (deposit, payout, internal transfer)
  • transaction_mode: Filter by mode (credit, debit)
  • currency: Filter by currency (usdc, usdt)
  • start_date: Filter by start date (format: YYYY-MM-DD)
  • end_date: Filter by end date (format: YYYY-MM-DD)
  • page: Page number (default: 1)
  • limit: Items per page (default: 10)

Headers

x-api-key
string
required

Query Parameters

customer_id
string
status
enum<string>
Available options:
PENDING,
COMPLETED,
REVERSED,
FAILED
transaction_id
string
transaction_type
enum<string>
Available options:
DEPOSIT,
PAYOUT,
INTERNAL TRANSFER
transaction_mode
enum<string>
Available options:
CREDIT,
DEBIT
currency
enum<string>
Available options:
USDC,
USDT
start_date
string
end_date
string
page
integer
Required range: x >= 1
limit
integer
Required range: 1 <= x <= 100

Response

200
application/json

Transactions retrieved successfully

The response is of type object.