GET
/
api
/
v1
/
transactions
/
wallet
/
{wallet_id}
Get Wallet Transactions
curl --request GET \
  --url https://hpay-api.host-sl.com/api/v1/transactions/wallet/{wallet_id} \
  --header 'api-key: <api-key>'
[
  {
    "id": "trans_111...",
    "wallet_id": "wall_789...",
    "recipient_wallet_id": "wall_000...",
    "amount": 20.0,
    "currency": "USD",
    "transaction_type": "transfer",
    "status": "completed",
    "created_at": "2025-01-16T12:00:00Z"
  },
  {
    "id": "trans_222...",
    "wallet_id": "wall_000...",
    "recipient_wallet_id": "wall_789...",
    "amount": 15.0,
    "currency": "USD",
    "transaction_type": "transfer",
    "status": "completed",
    "created_at": "2025-01-16T13:00:00Z"
  }
]
This endpoint returns all transactions where the specified wallet is either the sender or the recipient.

Path Parameters

wallet_id
string
required
The unique identifier of the wallet to fetch transactions for.

Response

The response is an array of transaction objects.
id
string
The unique identifier for the transaction.
amount
number
The transaction amount.
currency
string
The currency code.
transaction_type
string
The type of transaction.
status
string
The current status.
[
  {
    "id": "trans_111...",
    "wallet_id": "wall_789...",
    "recipient_wallet_id": "wall_000...",
    "amount": 20.0,
    "currency": "USD",
    "transaction_type": "transfer",
    "status": "completed",
    "created_at": "2025-01-16T12:00:00Z"
  },
  {
    "id": "trans_222...",
    "wallet_id": "wall_000...",
    "recipient_wallet_id": "wall_789...",
    "amount": 15.0,
    "currency": "USD",
    "transaction_type": "transfer",
    "status": "completed",
    "created_at": "2025-01-16T13:00:00Z"
  }
]
curl --request GET \
  --url https://hpay-api.host-sl.com/api/v1/transactions/wallet/YOUR_WALLET_ID \
  --header 'api-key: YOUR_API_KEY' \
  --header 'secret-key: YOUR_SECRET_KEY'