List Wallet Transactions
Retrieve a list of all transactions related to a wallet.
The response fields vary depending on the type of the transaction. See Transaction Types.
Nota
This endpoint replaces the deprecated endpoint - GET /v1/user/:wallet/transactions
Rapyd no longer supports the deprecated endpoint.
ewallet
ID of the wallet. String starting with ewallet_.
balance
The updated wallet balance after successful completion of the transaction.
currency
Three-letter ISO 4217 code for the currency of the transactions.
end_date
Timestamp of the last transaction, in Unix time.
ending_before
The ID of the wallet transaction created after the last wallet transaction you want to retrieve. String starting with wt_.
page_number
Page number to retrieve.
page_size
Number of results per page.
start_date
Timestamp of the first transaction, in Unix time.
starting_after
The ID of the wallet transaction created before the first wallet transaction you want to retrieve. String starting with wt_.
type
Type of transaction.
Code Samples
.NET
using System; namespace RapydApiRequestSample { class Program { static void Main(string[] args) { try { string wallet = "ewallet_5d228399661dac92968ace74f7aa00c6"; string result = RapydApiRequestSample.Utilities.MakeRequest("GET", $"/v1/user/{wallet}/transactions"); Console.WriteLine(result); } catch (Exception e) { Console.WriteLine("Error completing request: " + e.Message); } } } }
JavaScript
const makeRequest = require('<path-to-your-utility-file>/utilities').makeRequest; async function main() { try { const result = await makeRequest( 'GET', '/v1/user/ewallet_5d228399661dac92968ace74f7aa00c6/transactions' ); console.log(result); } catch (error) { console.error('Error completing request', error); } }
PHP
<?php $path = $_SERVER['DOCUMENT_ROOT']; $path .= "/<path-to-your-utility-file>/utilities.php"; include($path); try { $object = make_request('get', '/v1/user/ewallet_5d228399661dac92968ace74f7aa00c6/transactions'); var_dump($object); } catch(Exception $e) { echo "Error: $e"; } ?>
Python
from pprint import pprint from utilities import make_request wallet = 'ewallet_5d228399661dac92968ace74f7aa00c6' results = make_request(method='get', path=f'/v1/user/{wallet}/transactions') pprint(results)
/v1/ewallets/:ewallet/transactions
List Wallet Transactions
curl -X get 'https://sandboxapi.rapyd.net/v1/ewallets/ewallet_c1943cfeda5f98247ab117e5d2648861/transactions' \ -H 'access_key: your-access-key-here' \ -H 'Content-Type: application/json' \ -H 'salt: your-random-string-here' \ -H 'signature: your-calculated-signature-here' \ -H 'timestamp: your-unix-timestamp-here'
{ "status": { "error_code": "", "status": "SUCCESS", "message": "", "response_code": "", "operation_id": "cb8163af-6942-4f1e-849b-7d54f621be05" }, "data": [ { "id": "wt_bbd5578112e0e74740f71690d648a7d3", "currency": "USD", "amount": 9.99, "ewallet_id": "ewallet_c1943cfeda5f98247ab117e5d2648861", "type": "payment_funds_in", "subtype": null, "balance_type": "available_balance", "balance": 191254.92, "created_at": 1763462541, "status": "CLOSED", "reason": "", "metadata": {} }, { "id": "wt_dddf02617216003e2fb47020c4653264", "currency": "USD", "amount": 14.35, "ewallet_id": "ewallet_c1943cfeda5f98247ab117e5d2648861", "type": "payment_funds_in", "subtype": null, "balance_type": "available_balance", "balance": 191244.93, "created_at": 1763460569, "status": "CLOSED", "reason": "", "metadata": {} } ] }
List Wallet Transactions by Type
curl -X get 'https://sandboxapi.rapyd.net/v1/ewallets/ewallet_c1943cfeda5f98247ab117e5d2648861/transactions?type=payment_funds_in&page_size=2&page_number=1' \ -H 'access_key: your-access-key-here' \ -H 'Content-Type: application/json' \ -H 'salt: your-random-string-here' \ -H 'signature: your-calculated-signature-here' \ -H 'timestamp: your-unix-timestamp-here'
{ "status": { "error_code": "", "status": "SUCCESS", "message": "", "response_code": "", "operation_id": "9eb50757-e079-49e4-aebd-abc30ff32d77" }, "data": [ { "id": "wt_bbd5578112e0e74740f71690d648a7d3", "currency": "USD", "amount": 9.99, "ewallet_id": "ewallet_c1943cfeda5f98247ab117e5d2648861", "type": "payment_funds_in", "subtype": null, "balance_type": "available_balance", "balance": 191254.92, "created_at": 1763462541, "status": "CLOSED", "reason": "", "metadata": {} }, { "id": "wt_dddf02617216003e2fb47020c4653264", "currency": "USD", "amount": 14.35, "ewallet_id": "ewallet_c1943cfeda5f98247ab117e5d2648861", "type": "payment_funds_in", "subtype": null, "balance_type": "available_balance", "balance": 191244.93, "created_at": 1763460569, "status": "CLOSED", "reason": "", "metadata": {} } ] }