cURL
curl --request GET \ --url https://api.example.com/api/v1/wallets/fiat/transactions/{transactionId} \ --header 'x-api-key: <x-api-key>'
{ "transactionId": "txn_abc123", "transactionType": "deposit", "walletId": "wal_xyz789", "accountNumber": "1234567890", "status": "completed", "amount": 50000, "fee": 0, "originator": { "accountNumber": "0987654321", "accountName": "JOHN DOE", "bankName": "GTBank" }, "narration": "Payment from John Doe", "reference": "FP-20240115-001", "createdAt": "2024-01-15T10:30:45Z" }
Retrieve details of a single wallet transaction
curl https://api-staging.fossapay.com/api/v1/wallets/fiat/transactions/txn_abc123 \ -H "x-api-key: fp_live_sk_xxxxxxxx"
const response = await fetch('https://api-staging.fossapay.com/api/v1/wallets/fiat/transactions/txn_abc123', { headers: { 'x-api-key': 'fp_live_sk_xxxxxxxx' } }); const transaction = await response.json();
import requests url = "https://api-staging.fossapay.com/api/v1/wallets/fiat/transactions/txn_abc123" headers = {"x-api-key": "fp_live_sk_xxxxxxxx"} response = requests.get(url, headers=headers) transaction = response.json()
deposit
withdrawal
Show properties
TRANSACTION_NOT_FOUND
UNAUTHORIZED