---
updatedAt: 2026-06-20T07:34:07.000Z
agentTools:
  projectIndex: https://docs.wirexapp.com/llms.txt
---

# Search activities

Performs full-text search over activities by predicate within the authenticated owner scope

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "response.ActivityAmount": {
        "properties": {
          "amount": {
            "description": "The amount of the activity, displayed at 6 fractional digits",
            "example": 100,
            "type": "number"
          },
          "amount_precise": {
            "description": "The same amount in base units of the asset, as a decimal string scaled by\ndecimals. Absent when the amount is an aggregate this API could not\nreproduce exactly — the float amount is then the only value available",
            "example": "100000000",
            "type": "string"
          },
          "currency": {
            "description": "ISO 4217 currency code of currency in which this amount is denominated (will be present only for fiat assets)",
            "example": "USD",
            "type": "string"
          },
          "decimals": {
            "description": "Number of fractional digits amount_precise is scaled by. Token decimals\nfor crypto assets, 18 for fiat. Absent whenever amount_precise is absent",
            "example": 6,
            "type": "integer"
          },
          "token_address": {
            "description": "Address of the token in which this amount is denominated (will be present only for crypto assets)",
            "example": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
            "type": "string"
          },
          "token_symbol": {
            "description": "Token symbol in which this amount is denominated (will be present only for crypto assets)",
            "example": "USDT",
            "type": "string"
          }
        },
        "required": [
          "amount"
        ],
        "type": "object"
      },
      "response.ActivityDirection": {
        "enum": [
          "Inbound",
          "Outbound",
          "Internal",
          "Invalid"
        ],
        "type": "string",
        "x-enum-comments": {
          "ActivityDirectionInvalid": "Upstream direction this API does not map"
        },
        "x-enum-varnames": [
          "ActivityDirectionInbound",
          "ActivityDirectionOutbound",
          "ActivityDirectionInternal",
          "ActivityDirectionInvalid"
        ]
      },
      "response.ActivityFeedResponse": {
        "properties": {
          "data": {
            "description": "The list of activity items",
            "items": {
              "$ref": "#/components/schemas/response.ActivityItemResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "response.ActivityItemResponse": {
        "properties": {
          "activity_steps": {
            "description": "Steps that this activity item should go through",
            "items": {
              "$ref": "#/components/schemas/response.ActivityStep"
            },
            "type": "array"
          },
          "chain_id": {
            "description": "ChainId identifies the chain this entry was recorded on. A feed that spans chains carries entries from several, and nothing else in the entry says which.",
            "example": 8453,
            "type": "integer"
          },
          "created_at": {
            "description": "Date the activity feed item was created\nRequired: true",
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          },
          "destination": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubject"
              }
            ],
            "description": "The destination subject of the activity feed item (e.g. recipient of the transaction, details of the merchant where card was used, etc.)"
          },
          "destination_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityAmount"
              }
            ],
            "description": "Amount that was received by destination subject"
          },
          "direction": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityDirection"
              }
            ],
            "description": "The direction of the activity feed item (Inbound - money was received, Outbound - money was sent)"
          },
          "fee_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityAmount"
              }
            ],
            "description": "Amount that was charged as fee for the activity"
          },
          "id": {
            "description": "Unique identifier of the activity feed item",
            "example": "00000000-0000-0000-0000-000000000001",
            "type": "string"
          },
          "operations": {
            "description": "List of operations that were performed in the activity feed item",
            "items": {
              "$ref": "#/components/schemas/response.ActivityOperation"
            },
            "type": "array"
          },
          "rate": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityRate"
              }
            ],
            "description": "Average rate that was effective for this activity"
          },
          "recipient": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityRecipient"
              }
            ],
            "description": "Recipient information of the activity. This would correlate to recipient entity in the system"
          },
          "reference": {
            "description": "Reference/comment for the activity feed item",
            "example": "Payment for the order #123",
            "type": "string"
          },
          "reward": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityReward"
              }
            ],
            "description": "Reward received as a result of this activity"
          },
          "rrn": {
            "description": "Retrieval reference number for card transactions",
            "example": "123456789012",
            "type": "string"
          },
          "source": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubject"
              }
            ],
            "description": "The source subject of the activity feed item (e.g. sender of the transaction, card that was used for the transaction, etc.)"
          },
          "source_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityAmount"
              }
            ],
            "description": "Amount that was charged from source subject"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityStatus"
              }
            ],
            "description": "Status of the activity feed item"
          },
          "status_reason": {
            "description": "Reason for the activity feed item status",
            "example": "Transaction failed",
            "type": "string"
          },
          "sub_type": {
            "description": "Subtype of the activity feed item",
            "example": "Payment",
            "type": "string"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityType"
              }
            ],
            "description": "Type of the activity feed item"
          },
          "user_address": {
            "description": "Address of the user that owns the activity feed item",
            "example": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
            "type": "string"
          }
        },
        "required": [
          "created_at",
          "destination",
          "direction",
          "id",
          "source",
          "status",
          "type",
          "user_address"
        ],
        "type": "object"
      },
      "response.ActivityOperation": {
        "properties": {
          "hash": {
            "description": "Hash of the operation (absent when the operation has no on-chain leg, e.g. a card authorization or clearing)",
            "example": "0x28da8dec81198cd43329c92ac5b7bcb048a48495bdbc69fc1c921da72fe42939",
            "type": "string"
          },
          "negative_balance": {
            "description": "Set while the operation holds the user's balance negative: it failed after its transaction\ncompleted and is in case management or loss acceptance. Absent otherwise",
            "example": true,
            "type": "boolean"
          },
          "operation_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityAmount"
              }
            ],
            "description": "Amount of the operation in crypto asset (absent when the operation has no crypto leg)"
          },
          "operation_id": {
            "description": "Id of the operation that can be matched to the authorization call (will be present only for card transactions)",
            "example": "00000000-0000-0000-0000-000000000001",
            "type": "string"
          },
          "operation_reason": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityOperationReason"
              }
            ],
            "description": "Reason for the operation execution (will be present only for card transactions)",
            "example": "Clearing"
          },
          "rate": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityRate"
              }
            ],
            "description": "Rate that was effective for this operation"
          },
          "resulting_balance": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityAmount"
              }
            ],
            "description": "Balance of the operation asset after the operation was applied, denominated\nin the same asset as operation_amount (absent when the operation has no crypto leg)"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityStatus"
              }
            ],
            "description": "Status of the operation (will be present only for v2 and above of the activity feed)"
          },
          "status_reason": {
            "description": "Reason for the operation status (will be present only for v2 and above of the activity feed)",
            "example": "Transaction failed",
            "type": "string"
          },
          "transaction_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityAmount"
              }
            ],
            "description": "Amount of the operation in fiat currency (absent when the upstream transaction currency is empty)"
          }
        },
        "type": "object"
      },
      "response.ActivityOperationReason": {
        "enum": [
          "Unspecified",
          "Authorization",
          "Reversal",
          "Clearing",
          "Representment",
          "Refund",
          "MoneySend",
          "CreditAdjustment",
          "DebitAdjustment",
          "ChargebackRefund",
          "ChargebackReversal"
        ],
        "type": "string",
        "x-enum-varnames": [
          "ActivityOperationReasonUnspecified",
          "ActivityOperationReasonAuthorization",
          "ActivityOperationReasonReversal",
          "ActivityOperationReasonClearing",
          "ActivityOperationReasonRepresentment",
          "ActivityOperationReasonRefund",
          "ActivityOperationReasonMoneySend",
          "ActivityOperationReasonCreditAdjustment",
          "ActivityOperationReasonDebitAdjustment",
          "ActivityOperationReasonChargebackRefund",
          "ActivityOperationReasonChargebackReversal"
        ]
      },
      "response.ActivityRate": {
        "properties": {
          "rate": {
            "description": "Rate of the token pair",
            "example": 1.2,
            "type": "number"
          },
          "ticker": {
            "description": "Ticker of the token pair",
            "example": "EUR/USDT",
            "type": "string"
          }
        },
        "required": [
          "rate",
          "ticker"
        ],
        "type": "object"
      },
      "response.ActivityRecipient": {
        "properties": {
          "id": {
            "description": "Id of the recipient",
            "example": "00000000-0000-0000-0000-000000000001",
            "type": "string"
          },
          "name": {
            "description": "Name of the recipient",
            "example": "John Doe",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "response.ActivityReward": {
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityAmount"
              }
            ],
            "description": "Amount of the reward transaction"
          },
          "description": {
            "description": "Human-readable description of the reward transaction",
            "example": "Cashback for card purchase",
            "type": "string"
          },
          "destination": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubject"
              }
            ],
            "description": "Where the reward was sent"
          },
          "details": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityRewardDetails"
              }
            ],
            "description": "Reward-type-specific details, <span style=\"color:red\">WOULD</span> be filled depending on the reward source"
          },
          "id": {
            "description": "Id of the reward transaction",
            "example": "00000000-0000-0000-0000-000000000001",
            "type": "string"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityStatus"
              }
            ],
            "description": "Status of the reward transaction"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityRewardType"
              }
            ],
            "description": "Type of the reward transaction"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "response.ActivityRewardCryptoback": {
        "properties": {
          "percent": {
            "description": "Percent of the spend that was returned as cryptoback",
            "example": 1.5,
            "type": "number"
          }
        },
        "type": "object"
      },
      "response.ActivityRewardDetails": {
        "properties": {
          "cryptoback": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityRewardCryptoback"
              }
            ],
            "description": "Cryptoback details, <span style=\"color:red\">WOULD</span> be filled when the reward originates from a cryptoback program"
          }
        },
        "type": "object"
      },
      "response.ActivityRewardType": {
        "enum": [
          "Cashback",
          "Bonus",
          "Invalid"
        ],
        "type": "string",
        "x-enum-comments": {
          "ActivityRewardTypeInvalid": "Upstream reward type this API does not map"
        },
        "x-enum-varnames": [
          "ActivityRewardTypeCashback",
          "ActivityRewardTypeBonus",
          "ActivityRewardTypeInvalid"
        ]
      },
      "response.ActivityStatus": {
        "enum": [
          "Pending",
          "Completed",
          "Failed",
          "Invalid"
        ],
        "type": "string",
        "x-enum-comments": {
          "ActivityStatusInvalid": "Upstream status this API does not map"
        },
        "x-enum-varnames": [
          "ActivityStatusPending",
          "ActivityStatusCompleted",
          "ActivityStatusFailed",
          "ActivityStatusInvalid"
        ]
      },
      "response.ActivityStep": {
        "properties": {
          "completed_at": {
            "description": "Time when the step was completed",
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          },
          "created_at": {
            "description": "Time when the step was created",
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          },
          "hash": {
            "description": "Hash of the step on chain",
            "example": "0x7e4f485273aebd152ba5e8dd0bf49066fadc046ba192b3a3f2e880218c3bc85a",
            "type": "string"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityStatus"
              }
            ],
            "description": "Status in which the step is currently in"
          },
          "status_reason": {
            "description": "Reason for the step status",
            "example": "InsufficientFunds",
            "type": "string"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityStepType"
              }
            ],
            "description": "Type of the step"
          }
        },
        "required": [
          "created_at",
          "status",
          "type"
        ],
        "type": "object"
      },
      "response.ActivityStepType": {
        "enum": [
          "Initiated",
          "CryptoIn",
          "CryptoOut",
          "BankIn",
          "BankOut",
          "CardIn",
          "CardOut",
          "Review",
          "Reversal",
          "Completed",
          "SyntheticWrap",
          "SyntheticUnwrap",
          "Trade",
          "IntentClaim",
          "IntentFill",
          "IntentResolve",
          "Invalid"
        ],
        "type": "string",
        "x-enum-comments": {
          "ActivityStepBankIn": "Fiat received from bank",
          "ActivityStepBankOut": "Fiat sent to bank",
          "ActivityStepCardIn": "Fiat received from merchant",
          "ActivityStepCardOut": "Fiat sent to merchant",
          "ActivityStepCompleted": "Transaction finalized",
          "ActivityStepCryptoIn": "Tokens credited to user",
          "ActivityStepCryptoOut": "Tokens debited from user",
          "ActivityStepInitiated": "Transaction started",
          "ActivityStepIntentClaim": "Intent claimed",
          "ActivityStepIntentFill": "Intent fill executed",
          "ActivityStepIntentResolve": "Intent resolved",
          "ActivityStepInvalid": "Upstream step type this API does not map",
          "ActivityStepReversal": "Transaction reversed",
          "ActivityStepReview": "Manual/compliance review",
          "ActivityStepSyntheticUnwrap": "Tokens unwrapped to regular tokens",
          "ActivityStepSyntheticWrap": "Tokens wrapped to synthetic tokens",
          "ActivityStepTrade": "Stablecoin exchange trade"
        },
        "x-enum-varnames": [
          "ActivityStepInitiated",
          "ActivityStepCryptoIn",
          "ActivityStepCryptoOut",
          "ActivityStepBankIn",
          "ActivityStepBankOut",
          "ActivityStepCardIn",
          "ActivityStepCardOut",
          "ActivityStepReview",
          "ActivityStepReversal",
          "ActivityStepCompleted",
          "ActivityStepSyntheticWrap",
          "ActivityStepSyntheticUnwrap",
          "ActivityStepTrade",
          "ActivityStepIntentClaim",
          "ActivityStepIntentFill",
          "ActivityStepIntentResolve",
          "ActivityStepInvalid"
        ]
      },
      "response.ActivitySubject": {
        "properties": {
          "bank_account": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubjectBankAccount"
              }
            ],
            "description": "Bank account subject of the activity, <span style=\"color:red\">WOULD</span> be filled for types **SepaBankAccount, FasterPaymentsBankAccount, AchBankAccount, SwiftBankAccount, SpeiBankAccount, PixBankAccount, FpsHkBankAccount, ImpsBankAccount, InstapayBankAccount, BiFastBankAccount, NipBankAccount, IppBankAccount, PseBankAccount, FedwireBankAccount, ChatsBankAccount, CipsBankAccount**"
          },
          "card": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubjectCard"
              }
            ],
            "description": "Card subject of the activity, <span style=\"color:red\">WOULD</span> be filled for types **Card and ExternalCard**"
          },
          "cross_chain_wallet": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubjectCrossChainWallet"
              }
            ],
            "description": "Cross-chain wallet subject of the activity, <span style=\"color:red\">WOULD</span> be filled for type **CrossChainWallet**"
          },
          "loan_position": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubjectLoanPosition"
              }
            ],
            "description": "Loan position subject of the activity, <span style=\"color:red\">WOULD</span> be filled for type **LoanPosition**"
          },
          "merchant": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubjectMerchant"
              }
            ],
            "description": "Merchant subject of the activity, <span style=\"color:red\">WOULD</span> be filled for type **Merchant**"
          },
          "referee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubjectReferee"
              }
            ],
            "description": "Referee subject of the activity, <span style=\"color:red\">WOULD</span> be filled for type **Referee**, the source of a **RewardPayout**"
          },
          "savings_account": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubjectSavingsAccount"
              }
            ],
            "description": "Savings account subject of the activity, <span style=\"color:red\">WOULD</span> be filled for type **SavingsAccount**"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubjectType"
              }
            ],
            "description": "Type of the subject"
          },
          "wallet": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivitySubjectWallet"
              }
            ],
            "description": "Wallet subject of the activity, <span style=\"color:red\">WOULD</span> be filled for types **Wallet and ExternalWallet**"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "response.ActivitySubjectBankAccount": {
        "properties": {
          "account_number": {
            "description": "Account number of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **FasterPayment, Ach, Imps, Instapay, BiFast, Nip, Pse, Fedwire, Chats, Cips**)",
            "example": "12345678",
            "type": "string"
          },
          "account_type": {
            "description": "Account type of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **Pse**)",
            "example": "SAVINGS",
            "type": "string"
          },
          "bank_code": {
            "description": "Bank code of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **FpsHk, Instapay, BiFast, Nip, Pse, Chats**)",
            "example": "012",
            "type": "string"
          },
          "bank_name": {
            "description": "Bank name of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **Imps, Instapay, BiFast, Nip, Ipp, Fedwire, Chats, Cips**)",
            "example": "HDFC Bank",
            "type": "string"
          },
          "bic": {
            "description": "BIC of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **Sepa and Swift**)",
            "example": "NWBKGB2L",
            "type": "string"
          },
          "clabe": {
            "description": "CLABE of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **SPEI**)",
            "example": "NWBKGB2L",
            "type": "string"
          },
          "document_number": {
            "description": "Document number of the account holder (<span style=\"color:red\">WOULD</span> be filled for types **Pse**)",
            "example": "1234567890",
            "type": "string"
          },
          "document_type": {
            "description": "Document type of the account holder (<span style=\"color:red\">WOULD</span> be filled for types **Pse**)",
            "example": "CC",
            "type": "string"
          },
          "fps_id": {
            "description": "FPS identifier of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **FpsHk**)",
            "example": "1234567",
            "type": "string"
          },
          "fps_id_type": {
            "description": "FPS identifier type of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **FpsHk**)",
            "example": "MOBILE",
            "type": "string"
          },
          "iban": {
            "description": "IBAN of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **Sepa, Swift, Ipp**)",
            "example": "GB29NWBK60161331926819",
            "type": "string"
          },
          "ifsc_code": {
            "description": "IFSC code of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **Imps**)",
            "example": "HDFC0000123",
            "type": "string"
          },
          "is_business": {
            "description": "Indicator of whether the account is a business account",
            "example": false,
            "type": "boolean"
          },
          "owner_name": {
            "description": "Name of the account holder",
            "example": "Alex Gray",
            "type": "string"
          },
          "pix_key": {
            "description": "Pix key of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **Pix**)",
            "example": "john.doe@example.com",
            "type": "string"
          },
          "pix_key_type": {
            "description": "Pix key type of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **Pix**)",
            "example": "EMAIL",
            "type": "string"
          },
          "routing_number": {
            "description": "Routing number of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **Ach, Fedwire**)",
            "example": "123456789",
            "type": "string"
          },
          "sort_code": {
            "description": "Sort code of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **FasterPayment**)",
            "example": "123456",
            "type": "string"
          },
          "swift_code": {
            "description": "SWIFT code of the bank account (<span style=\"color:red\">WOULD</span> be filled for types **Chats, Cips**)",
            "example": "HSBCHKHHHKH",
            "type": "string"
          }
        },
        "required": [
          "is_business",
          "owner_name"
        ],
        "type": "object"
      },
      "response.ActivitySubjectCard": {
        "properties": {
          "id": {
            "description": "Unique identifier of the card",
            "example": "00000000-0000-0000-0000-000000000001",
            "type": "string"
          },
          "pan_last": {
            "description": "Last digits of the card number",
            "example": "1234",
            "type": "string"
          },
          "payment_system": {
            "description": "Payment system which issued the card",
            "example": "Visa",
            "type": "string"
          },
          "topup_method": {
            "allOf": [
              {
                "$ref": "#/components/schemas/response.ActivityTopupMethod"
              }
            ],
            "description": "Method used to fund a card top-up",
            "enum": [
              "ExternalCard",
              "ApplePay",
              "GooglePay"
            ],
            "example": "ApplePay"
          }
        },
        "required": [
          "id",
          "pan_last"
        ],
        "type": "object"
      },
      "response.ActivitySubjectCrossChainWallet": {
        "properties": {
          "address": {
            "description": "Address of the wallet on the destination chain",
            "example": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
            "type": "string"
          },
          "tag": {
            "description": "Optional tag/memo for the transfer",
            "example": "123456",
            "type": "string"
          },
          "transport": {
            "description": "Transport / chain identifier used to reach the wallet",
            "example": "Ethereum",
            "type": "string"
          }
        },
        "required": [
          "address"
        ],
        "type": "object"
      },
      "response.ActivitySubjectLoanPosition": {
        "properties": {
          "id": {
            "description": "Unique identifier of the loan position",
            "example": "00000000-0000-0000-0000-000000000001",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "response.ActivitySubjectMerchant": {
        "properties": {
          "category": {
            "description": "Category of the merchant",
            "example": "Retail",
            "type": "string"
          },
          "full_address": {
            "description": "Full address of the merchant",
            "example": "123 Main St, San Francisco, CA, 94107, US",
            "type": "string"
          },
          "id": {
            "description": "Unique identifier of the merchant",
            "example": "00000000-0000-0000-0000-000000000001",
            "type": "string"
          },
          "latitude": {
            "description": "Latitude of the merchant",
            "example": "37.7749",
            "type": "string"
          },
          "logo_url": {
            "description": "URL to the merchant's logo",
            "example": "https://example.com/logo.png",
            "type": "string"
          },
          "longitude": {
            "description": "Longitude of the merchant",
            "example": "-122.4194",
            "type": "string"
          },
          "mcc": {
            "description": "Merchant category code",
            "example": "5411",
            "type": "string"
          },
          "name": {
            "description": "Name of the merchant",
            "example": "Amazon",
            "type": "string"
          },
          "phone_number": {
            "description": "Phone number of the merchant",
            "example": "+61405832003",
            "type": "string"
          },
          "website_url": {
            "description": "URL to the merchant's website",
            "example": "https://example.com",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "response.ActivitySubjectReferee": {
        "properties": {
          "referee_ref": {
            "description": "Opaque handle of the invitee the reward was earned from",
            "example": "7f3c1a9e-5b2d-4c8e-9f10-2a3b4c5d6e7f",
            "type": "string"
          }
        },
        "required": [
          "referee_ref"
        ],
        "type": "object"
      },
      "response.ActivitySubjectSavingsAccount": {
        "properties": {
          "id": {
            "description": "Unique identifier of the savings account",
            "example": "00000000-0000-0000-0000-000000000001",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "response.ActivitySubjectType": {
        "enum": [
          "Wallet",
          "Cards",
          "Merchant",
          "SepaBankAccount",
          "FasterPaymentBankAccount",
          "AchBankAccount",
          "SwiftBankAccount",
          "SpeiBankAccount",
          "ExternalCard",
          "ExternalWallet",
          "PixBankAccount",
          "FpsHkBankAccount",
          "ImpsBankAccount",
          "InstapayBankAccount",
          "BiFastBankAccount",
          "NipBankAccount",
          "IppBankAccount",
          "PseBankAccount",
          "FedwireBankAccount",
          "FedNowBankAccount",
          "ChatsBankAccount",
          "CipsBankAccount",
          "CrossChainWallet",
          "SavingsAccount",
          "LoanPosition",
          "Referee"
        ],
        "type": "string",
        "x-enum-varnames": [
          "ActivitySubjectTypeWallet",
          "ActivitySubjectTypeCard",
          "ActivitySubjectTypeMerchant",
          "ActivitySubjectTypeSepaBankAccount",
          "ActivitySubjectTypeFasterPaymentBankAccount",
          "ActivitySubjectTypeAchBankAccount",
          "ActivitySubjectTypeSwiftBankAccount",
          "ActivitySubjectTypeSpeiBankAccount",
          "ActivitySubjectTypeExternalCard",
          "ActivitySubjectTypeExternalWallet",
          "ActivitySubjectTypePixBankAccount",
          "ActivitySubjectTypeFpsHkBankAccount",
          "ActivitySubjectTypeImpsBankAccount",
          "ActivitySubjectTypeInstapayBankAccount",
          "ActivitySubjectTypeBiFastBankAccount",
          "ActivitySubjectTypeNipBankAccount",
          "ActivitySubjectTypeIppBankAccount",
          "ActivitySubjectTypePseBankAccount",
          "ActivitySubjectTypeFedwireBankAccount",
          "ActivitySubjectTypeFedNowBankAccount",
          "ActivitySubjectTypeChatsBankAccount",
          "ActivitySubjectTypeCipsBankAccount",
          "ActivitySubjectTypeCrossChainWallet",
          "ActivitySubjectTypeSavingsAccount",
          "ActivitySubjectTypeLoanPosition",
          "ActivitySubjectTypeReferee"
        ]
      },
      "response.ActivitySubjectWallet": {
        "properties": {
          "address": {
            "description": "Address of the wallet",
            "example": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
            "type": "string"
          }
        },
        "required": [
          "address"
        ],
        "type": "object"
      },
      "response.ActivityTopupMethod": {
        "enum": [
          "ExternalCard",
          "ApplePay",
          "GooglePay"
        ],
        "type": "string",
        "x-enum-varnames": [
          "ActivityTopupMethodExternalCard",
          "ActivityTopupMethodApplePay",
          "ActivityTopupMethodGooglePay"
        ]
      },
      "response.ActivityType": {
        "enum": [
          "Deposit",
          "Withdrawal",
          "Exchange",
          "Sepa",
          "FasterPayment",
          "AchPull",
          "AchPush",
          "Swift",
          "Spei",
          "CardTransaction",
          "ExternalCardTransaction",
          "Crypto",
          "CardFeesPayment",
          "YieldClaim",
          "CardTransfer",
          "Pix",
          "FpsHk",
          "Imps",
          "Instapay",
          "BiFast",
          "Nip",
          "Ipp",
          "Pse",
          "Fedwire",
          "FedNow",
          "Chats",
          "Cips",
          "SavingsTransaction",
          "LoanTransaction",
          "Cryptoback",
          "CardTopup",
          "RewardPayout",
          "Invalid"
        ],
        "type": "string",
        "x-enum-comments": {
          "ActivityTypeInvalid": "Upstream type this API does not map"
        },
        "x-enum-varnames": [
          "ActivityTypeDeposit",
          "ActivityTypeWithdrawal",
          "ActivityTypeExchange",
          "ActivityTypeSepa",
          "ActivityTypeFasterPayment",
          "ActivityTypeAchPull",
          "ActivityTypeAchPush",
          "ActivityTypeSwift",
          "ActivityTypeSpei",
          "ActivityTypeCardTransaction",
          "ActivityTypeExternalCardTransaction",
          "ActivityTypeCrypto",
          "ActivityCardFeesPayment",
          "ActivityTypeYieldClaim",
          "ActivityTypeCardTransfer",
          "ActivityTypePix",
          "ActivityTypeFpsHk",
          "ActivityTypeImps",
          "ActivityTypeInstapay",
          "ActivityTypeBiFast",
          "ActivityTypeNip",
          "ActivityTypeIpp",
          "ActivityTypePse",
          "ActivityTypeFedwire",
          "ActivityTypeFedNow",
          "ActivityTypeChats",
          "ActivityTypeCips",
          "ActivityTypeSavingsTransaction",
          "ActivityTypeLoanTransaction",
          "ActivityTypeCryptoback",
          "ActivityTypeCardTopup",
          "ActivityTypeRewardPayout",
          "ActivityTypeInvalid"
        ]
      },
      "response.ErrorCategory": {
        "properties": {
          "category": {
            "type": "string"
          },
          "grpc_status_code": {
            "type": "integer"
          },
          "http_status_code": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "response.ErrorDetails": {
        "properties": {
          "details": {
            "type": "string"
          },
          "key": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "response.ErrorResponse": {
        "properties": {
          "error_category": {
            "$ref": "#/components/schemas/response.ErrorCategory"
          },
          "error_description": {
            "type": "string"
          },
          "error_details": {
            "items": {
              "$ref": "#/components/schemas/response.ErrorDetails"
            },
            "type": "array"
          },
          "error_reason": {
            "example": "ErrorInvalidField",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "ChainId": {
        "description": "EIP-155 id of the chain that the request should be executed for (e.g. 1001996)",
        "in": "header",
        "name": "X-Chain-Id",
        "type": "apiKey"
      },
      "UserAddress": {
        "description": "Address of the crypto wallet associated with the user for whom the request should be executed.",
        "in": "header",
        "name": "X-User-Wallet",
        "type": "apiKey"
      },
      "WirexPartnerToken": {
        "description": "Token obtained using Wirex Partner Credentials grant flow. Please see [Authentication](doc:authentication) Server-to-Server Authentication section",
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      },
      "WirexUserToken": {
        "description": "Wirex issued JWT token that can be obtained by following [Authentication](doc:authentication) User Token Issuance section",
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "contact": {
      "email": "company@wirexpaychain.com",
      "name": "API Support Team"
    },
    "description": "The **Wirex BaaS API** enables partners to deliver non-custodial financial services directly to their retail users. Through a single integration, partners can onboard users, verify identities, issue smart wallet–linked cards, and enable crypto-backed bank transfers—without ever handling fiat or taking custody of user funds.</br>All transactions are powered by **user-owned smart wallets**, ensuring security, transparency, and full user control. Wirex acts as the infrastructure provider, so you can focus on building exceptional user experiences while we handle the heavy lifting.",
    "title": "Wirex Retail BaaS API",
    "version": "1.0"
  },
  "openapi": "3.0.3",
  "paths": {
    "/api/v2/activity/search": {
      "get": {
        "description": "Performs full-text search over activities by predicate within the authenticated owner scope",
        "parameters": [
          {
            "description": "PageNumber number",
            "in": "query",
            "name": "page_number",
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Size of the page. If no page size is provided, default page size is used (25).",
            "in": "query",
            "name": "page_size",
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Free-text search predicate scoped to the authenticated owner.\nRequired. Must satisfy activitySearchPredicateRegex.",
            "in": "query",
            "name": "predicate",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Sort parameter - \"name\" for ascending name sort (default) or \"usage\" for descending usage count sort",
            "in": "query",
            "name": "sort",
            "schema": {
              "enum": [
                "name",
                "usage"
              ],
              "type": "string"
            },
            "x-enum-varnames": [
              "SortOrderName",
              "SortOrderUsage"
            ]
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/response.ActivityFeedResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/response.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/response.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "WirexUserToken": []
          },
          {
            "ChainId": [],
            "UserAddress": [],
            "WirexPartnerToken": []
          }
        ],
        "summary": "Search activities",
        "tags": [
          "Activity Feed"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api-baas.wirexapp.com"
    },
    {
      "url": "https://api-baas.wirexapp.tech"
    }
  ],
  "tags": [
    {
      "description": "The **Activity Feed APIs** enable partners to access a detailed, chronological view of a retail user's actions within the platform. These APIs provide transparency into key transactional and operational events, helping partners deliver real-time insights and enhanced user experiences.\n\n### Key Features:\n\n- **Comprehensive Activity Tracking**:\n    - Access a full history of user activity, including payments, transfers, and operational events.\n    - Ensure transparency across key user interactions with the platform.\n\n- **Event Filtering & Categorization**:\n    - Filter activities by action type (e.g., card payment, bank transfer) and activity subject (e.g., card, account).\n    - Enable tailored views of user behavior for reporting or support use cases.\n\n- **Chronological Feed Structure**:\n    - Events are presented in a time-ordered format for clear activity timelines.\n    - Easily integrate with user dashboards or support tools.\n\n- **Real-Time Synchronization**:\n    - Designed for near real-time updates to reflect the most recent user actions.\n    - Ideal for monitoring recent transactions or building dynamic activity interfaces.\n\n---\n\nWith the Activity Feed APIs, partners gain a powerful tool to monitor user behavior, enhance visibility into platform usage, and build features that promote trust, engagement, and support responsiveness.",
      "name": "Activity Feed"
    }
  ],
  "x-readme": {}
}
```