GET
/
api
/
v1
/
transactions
/
{transaction_id}
Get Transaction
curl --request GET \
  --url https://hpay-api.host-sl.com/api/v1/transactions/{transaction_id} \
  --header 'api-key: <api-key>'
{
  "id": "trans_123abc...",
  "wallet_id": "wall_789xyz...",
  "recipient_wallet_id": null,
  "amount": 50.0,
  "currency": "USD",
  "transaction_type": "deposit",
  "payment_method": "card",
  "status": "completed",
  "stripe_fee": 1.75,
  "monime_fee": 0,
  "application_fee": 1.0,
  "description": "Card deposit",
  "reference_id": "pi_3Qe...",
  "created_at": "2025-01-16T10:00:00Z",
  "updated_at": "2025-01-16T10:05:00Z"
}
This endpoint allows you to fetch the full details of a single transaction using its unique identifier.

Path Parameters

transaction_id
string
required
The unique identifier of the transaction to retrieve.

Response

id
string
The unique identifier for the transaction.
wallet_id
string
The ID of the primary wallet involved.
recipient_wallet_id
string
The ID of the recipient wallet (for transfers).
amount
number
The transaction amount.
currency
string
The currency code.
transaction_type
string
The type of transaction (deposit, withdrawal, transfer, etc.).
status
string
The current status of the transaction.
description
string
A brief description of the transaction.
reference_id
string
Provider-specific reference ID (e.g., Stripe or Monime).
created_at
string
The timestamp when the transaction was created.
{
  "id": "trans_123abc...",
  "wallet_id": "wall_789xyz...",
  "recipient_wallet_id": null,
  "amount": 50.0,
  "currency": "USD",
  "transaction_type": "deposit",
  "payment_method": "card",
  "status": "completed",
  "stripe_fee": 1.75,
  "monime_fee": 0,
  "application_fee": 1.0,
  "description": "Card deposit",
  "reference_id": "pi_3Qe...",
  "created_at": "2025-01-16T10:00:00Z",
  "updated_at": "2025-01-16T10:05:00Z"
}
curl --request GET \
  --url https://hpay-api.host-sl.com/api/v1/transactions/YOUR_TRANSACTION_ID \
  --header 'api-key: YOUR_API_KEY' \
  --header 'secret-key: YOUR_SECRET_KEY'