Retrieve a wallet transaction

Get details on a specific wallet transaction. Read our wallet transactions guide to learn more.

To use this endpoint from a browser, you’ll need to specify the /accounts/{accountID}/wallets.read scope when generating a token.
GET
/accounts/{accountID}/wallets/{walletID}/transactions/{transactionID}
cURL Go JavaScript
1
2
curl -X GET "https://api.moov.io/accounts/{accountID}/wallets/{walletID}/transactions/{transactionID}" \
  -H "Authorization: Bearer {token}" \
1
2
3
4
5
6
7
mc, _ := moov.NewClient()

var accountID string
var walletID string
var transactionID string

mc.GetWalletTransaction(ctx, accountID, walletID, transactionID)
1
2
3
const moov = new Moov(credentialsObject);

moov.wallets.getTransaction(accountID, walletID, transactionID);
200 404 429
Transaction associated with the wallet.
A transaction that funds or deducts from the wallet.
{
  "availableBalance": 1204,
  "availableBalanceDecimal": "12.987654321",
  "completedOn": "2000-01-23T04:56:07.000Z",
  "createdOn": "2000-01-23T04:56:07.000Z",
  "currency": "USD",
  "fee": 500,
  "feeDecimal": "12.987654321",
  "grossAmount": 1200,
  "grossAmountDecimal": "12.987654321",
  "memo": "memo",
  "netAmount": 700,
  "netAmountDecimal": "12.987654321",
  "sourceID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
  "sweepID": "f5f47bfa-fa5a-41f4-99eb-8671c1875b3f",
  "transactionID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
  "walletID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43"
}
Empty response for unauthorized or any other returned http status code.
Request was refused due to rate limiting.

Retry-After

number

Path parameters

accountID

string <uuid> required
ID of the account.

walletID

string <uuid> required
ID of the wallet

transactionID

string <uuid> required
ID associated with the wallet transaction.

Response

application/json
A transaction that funds or deducts from the wallet.

createdOn

string<date-time> <=24 characters required

currency

string <=3 characters required Pattern
A 3-letter ISO 4217 currency code.

fee

integer<int64> required
Total fees paid for the transaction. The value is in the smallest unit of the specified currency. In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.

feeDecimal

string required Pattern
A decimal-formatted numerical string that represents up to 9 decimal place precision.

grossAmount

integer<int64> required
The total transaction amount. The amount is in the smallest unit of the specified currency. In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.

grossAmountDecimal

string required Pattern
A decimal-formatted numerical string that represents up to 9 decimal place precision.

memo

string required
Detailed description of the transaction.

netAmount

integer<int64> required
Net amount is the gross amount less fees paid, and the amount that affects the wallet’s balance. The amount is in the smallest unit of the specified currency. In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.

netAmountDecimal

string required Pattern
A decimal-formatted numerical string that represents up to 9 decimal place precision.

sourceID

string<uuid> required
The ID of the Moov object to which this transaction is related.

sourceType

string<enum> required
Wallet transaction source type.
Possible values: transfer, dispute, issuing-card-transaction, issuing-authorization, sweep

status

string<enum> required
Wallet transaction status.
Possible values: pending, completed, canceled, failed

transactionID

string<uuid> <=36 characters required
UUID v4

transactionType

string<enum> required
Wallet transaction type
Possible values: account-funding, ach-reversal, auto-sweep, card-payment, card-decline, card-reversal, cash-out, dispute, dispute-reversal, facilitator-fee, issuing-refund, issuing-transaction, issuing-transaction-adjustment, issuing-auth-hold, issuing-auth-release, issuing-decline, moov-fee, payment, payout, refund, refund-failure, rtp-failure, top-up, wallet-transfer

walletID

string<uuid> <=36 characters required
UUID v4

availableBalance

integer<int64>
The wallet’s total available balance after recording a completed transaction. The value is in the smallest unit of the specified currency. In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.

availableBalanceDecimal

string Pattern
A decimal-formatted numerical string that represents up to 9 decimal place precision.

completedOn

string<date-time> <=24 characters

sweepID

string<uuid> <=36 characters
UUID v4