Skip to main content

Get All Transactions

POST 

/api/v2/transactions/list

Get All Transactions

Request

Body

required
    limit Limitrequired

    Maximum number of records to return.

    offset Offsetrequired

    The offset from where to start fetching transactions.

    filters object
    textFilter Textfilter

    Full text search.

    types TransactionOperation[]

    Possible values: [TOP_UP, WITHDRAWAL, TRANSFER, CARD_PAYMENT]

    Filter by transaction type.

    statuses TransactionStatus[]

    Possible values: [PENDING, DECLINE, SUCCESS, REVERSAL, PARTIAL_REVERSAL, REFUND, INCOMING]

    Filter by transaction statuses.

    userIds uuid[]

    Filter by user ids.

    createdAtFrom date-time

    Default value: 1970-01-01T00:00:00Z

    Filter by the starting date (inclusive), filter is applied to createdAt field (Transaction scheme).

    createdAtTo date-time

    Default value: 2024-05-06T06:27:50Z

    Filter by the ending date (inclusive), filter is applied to createdAt field (Transaction scheme).

    sortBy object

    Fields to sort the results by.

    anyOf
  • Array [
  • string

  • ]
  • orderBy SortOrder[]

    Possible values: [ASC, DESC]

    Order of sorting (ascending/descending).

Responses

Successful Response

Schema
    items object[]required

    Array of transaction objects.

  • Array [
  • id uuidrequired

    The unique identifier of the transaction.

    userId uuidrequired

    The unique identifier of the user who initiated the transaction.

    createdAt date-timerequired

    Date and time when the transaction was created.

    type object

    An enumeration.

    amount Amountrequired

    The amount of the transaction, represented as a precise decimal value.

    currencyCode Currencycoderequired

    The currency code representing the currency of the transaction, such as USD, EUR, USDT, etc.

    status object

    An enumeration.

    direction object

    An enumeration.

    details object

    The direction of the transaction amount, indicating whether it's incoming, outgoing, or neutral.

    anyOf
    type object

    An enumeration.

    address Addressrequired

    The crypto address to which the top-up was made.

    transactionHash Transactionhashrequired

    The transaction hash of the top-up.

    currencyCode Currencycoderequired

    The currency code of the cryptocurrency used in the transaction.

    statusChangeReason Statuschangereasonrequired

    The reason for any status changes in the transaction.

  • ]
  • totalCount Totalcountrequired

    Total number of transactions corresponding to the filters.

Loading...