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": 2000,
  "availableBalanceDecimal": "12.987654321",
  "completedOn": "2019-08-24T14:15:22Z",
  "createdOn": "2019-08-24T14:15:22Z",
  "currency": "USD",
  "fee": 500,
  "feeDecimal": "12.987654321",
  "grossAmount": 1899,
  "grossAmountDecimal": "18.987654321",
  "memo": "string",
  "netAmount": 1299,
  "netAmountDecimal": "12.987654321",
  "sourceID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
  "sourceType": "transfer",
  "status": "pending",
  "sweepID": "f5f47bfa-fa5a-41f4-99eb-8671c1875b3f",
  "transactionID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
  "transactionType": "account-funding",
  "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
Total fees paid for the transaction. Same as fee, but a decimal-formatted numerical string that represents up to 9 decimal place precision. In USD for example, 12.987654321 is $12.987654321 and 0.9987634521 is $0.9987634521.

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
The total transaction amount. Same as grossAmount, but a decimal-formatted numerical string that represents up to 9 decimal place precision. In USD for example, 12.987654321 is $12.987654321 and 0.9987634521 is $0.9987634521.

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
Net amount is the gross amount less fees paid, and the amount that affects the wallet’s balance. Same as netAmount, but a decimal-formatted numerical string that represents up to 9 decimal place precision. In USD for example, 12.987654321 is $12.987654321 and 0.9987634521 is $0.9987634521.

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, adjustment

status

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

transactionID

string<uuid> <=36 characters required
UUID

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, adjustment

walletID

string<uuid> <=36 characters required
UUID

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
The wallet’s total available balance after recording a completed transaction. Same as availableBalance, but a decimal-formatted numerical string that represents up to 9 decimal place precision. In USD for example, 12.987654321 is $12.987654321 and 0.9987634521 is $0.9987634521.

completedOn

string<date-time> <=24 characters

sweepID

string<uuid> <=36 characters
The ID of the sweep this transaction is in.