Retrieve a wallet transaction

Get details on a specific wallet transaction.

Read our wallet transactions guide to learn more.

To access this endpoint using an access token you’ll need to specify the /accounts/{accountID}/wallets.read scope.

GET
/accounts/{accountID}/wallets/{walletID}/transactions/{transactionID}
cURL Go
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)
200 401 403 404 429 500 504
The request completed successfully.
A transaction that funds or deducts from the wallet.
{
  "availableBalance": 0,
  "availableBalanceDecimal": "string",
  "completedOn": "2019-08-24T14:15:22Z",
  "createdOn": "2019-08-24T14:15:22Z",
  "currency": "USD",
  "fee": 0,
  "feeDecimal": "string",
  "feeIDs": [
    "string"
  ],
  "grossAmount": 0,
  "grossAmountDecimal": "string",
  "memo": "string",
  "netAmount": 0,
  "netAmountDecimal": "string",
  "sourceID": "796d94ae-21b4-48b3-a176-cc893ab6498c",
  "sourceType": "transfer",
  "status": "pending",
  "sweepID": "23e0361a-ef0e-4fa5-8f73-7ca3157a2f85",
  "transactionID": "757f874e-e934-4bb8-bf5c-073c384eeee6",
  "transactionType": "account-funding",
  "walletID": "0eb7d670-c252-422a-892d-002136c358e0"
}

x-request-id

string <uuid> required
A unique identifier used to trace requests.
The request contained missing or expired authentication.

x-request-id

string <uuid> required
A unique identifier used to trace requests.
The user is not authorized to make the request.

x-request-id

string <uuid> required
A unique identifier used to trace requests.
The requested resource was not found.

x-request-id

string <uuid> required
A unique identifier used to trace requests.
Request was refused due to rate limiting.

x-request-id

string <uuid> required
A unique identifier used to trace requests.
The request failed due to an unexpected error.

x-request-id

string <uuid> required
A unique identifier used to trace requests.
The request failed because a downstream service failed to respond.

x-request-id

string <uuid> required
A unique identifier used to trace requests.

Headers

x-moov-version

string
API version

Specify an API version.

API versioning follows the format vYYYY.QQ.BB, where

  • YYYY is the year
  • QQ is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
  • BB is the build number, starting at .01, for subsequent builds in the same quarter.
    • For example, v2024.01.00 is the initial release of the first quarter of 2024.

The latest version represents the most recent development state. It may include breaking changes and should be treated as a beta release.

Default: v2024.01.00

Path parameters

accountID

string <uuid> required

walletID

string <uuid> required

transactionID

string <uuid> required

Response

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

createdOn

string<date-time> required

currency

string 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
Possible values: transfer, dispute, issuing-card-transaction, issuing-authorization, sweep, adjustment, fee

status

string<enum> required
Possible values: pending, completed, canceled, failed

transactionID

string<uuid> required

transactionType

string<enum> required
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> required

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>

feeIDs

array
The IDs of the fees paid for the transaction.

sweepID

string<uuid>