List transactions
curl --request GET \
--url https://api.proxyjam.com/public/v1/wallet/transactions \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.proxyjam.com/public/v1/wallet/transactions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.proxyjam.com/public/v1/wallet/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.proxyjam.com/public/v1/wallet/transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.proxyjam.com/public/v1/wallet/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.proxyjam.com/public/v1/wallet/transactions")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.proxyjam.com/public/v1/wallet/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"transactions": [
{
"id": "<string>",
"user_id": "<string>",
"wallet_id": "<string>",
"amount": 123,
"currency": "<string>",
"transaction_type": "<string>",
"status": "<string>",
"payment_method": "<string>",
"external_id": "<string>",
"description": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"total": 123
}Wallet
List transactions
Return a paginated list of wallet transactions.
GET
/
wallet
/
transactions
List transactions
curl --request GET \
--url https://api.proxyjam.com/public/v1/wallet/transactions \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.proxyjam.com/public/v1/wallet/transactions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.proxyjam.com/public/v1/wallet/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.proxyjam.com/public/v1/wallet/transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.proxyjam.com/public/v1/wallet/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.proxyjam.com/public/v1/wallet/transactions")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.proxyjam.com/public/v1/wallet/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"transactions": [
{
"id": "<string>",
"user_id": "<string>",
"wallet_id": "<string>",
"amount": 123,
"currency": "<string>",
"transaction_type": "<string>",
"status": "<string>",
"payment_method": "<string>",
"external_id": "<string>",
"description": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"total": 123
}Returns the transaction history for the authenticated user’s wallet, sorted by creation date descending.
Query parameters
integer
default:"100"
Number of results to return. Min
1, max 1000.integer
default:"0"
Number of results to skip for pagination.
Response
array
List of transaction objects.
Show TransactionResponse
Show TransactionResponse
string
Transaction UUID.
string
Owner’s user UUID.
string
Wallet UUID.
number
Transaction amount in USD. Positive for credits, negative for debits.
string
Always
USD.string
Type:
deposit, withdrawal, payment, refund.string
Status:
pending, completed, failed.string
Payment method used, if applicable.
string
Reference ID from external payment provider.
string
Human-readable description.
string
ISO 8601 timestamp.
string
ISO 8601 timestamp of last update.
integer
Total number of transactions returned.
Example
curl "https://api.proxyjam.com/public/v1/wallet/transactions?limit=5" \
-H "X-API-Key: pj_AbCdEf..."
from proxyjam import ProxyJamClient
# The Python SDK uses /wallets/{currency}/transactions under the hood.
with ProxyJamClient(api_key="pj_live_...") as proxyjam:
page = proxyjam.wallets.transactions("USD", limit=5)
for tx in page.transactions:
print(tx.created_at, tx.transaction_type, tx.amount_as_decimal())
print(f"total: {page.total}")
{
"transactions": [
{
"id": "txn-uuid-1",
"amount": 20.0,
"currency": "USD",
"transaction_type": "deposit",
"status": "completed",
"payment_method": "cryptocloud",
"description": "Wallet top-up via CryptoCloud",
"created_at": "2024-01-15T09:00:00Z",
"updated_at": "2024-01-15T09:01:30Z"
},
{
"id": "txn-uuid-2",
"amount": -7.0,
"currency": "USD",
"transaction_type": "payment",
"status": "completed",
"description": "Order order-uuid-here",
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2024-01-15T10:00:05Z"
}
],
"total": 2
}
⌘I