Get Wallet History
GET /wallets/wallet-history/
The GET /wallets/wallet-history/
endpoint retrieves the transaction history for the user's wallet.
Parameters
This endpoint does not accept any parameters.
Responses
Code
Description
200
The request was successful. The response contains the wallet's transaction history.
Example Response:
[
{
"transaction_id": "12345",
"date": "2024-12-11T10:00:00Z",
"amount": 5000,
"currency": "USD",
"type": "credit",
"status": "completed",
"description": "Deposit to wallet"
},
{
"transaction_id": "12346",
"date": "2024-12-10T14:30:00Z",
"amount": -2000,
"currency": "USD",
"type": "debit",
"status": "completed",
"description": "Purchase of item"
}
]
Last updated