Skip to content

Latest commit

 

History

History
130 lines (89 loc) · 14.4 KB

File metadata and controls

130 lines (89 loc) · 14.4 KB

WalletTransactions

Overview

Available Operations

  • list - List all the transactions associated with a particular Moov wallet.

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 - 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.

list

List all the transactions associated with a particular Moov wallet.

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.

Example Usage

from moovio_sdk import Moov
from moovio_sdk.models import components


with Moov(
    security=components.Security(
        username="",
        password="",
    ),
) as moov:

    res = moov.wallet_transactions.list(account_id="69e4529b-baf0-4f00-877b-123cfd9d6116", wallet_id="4f971587-62fe-42c9-bc61-7409d9c8660c", skip=60, count=20)

    # Handle response
    print(res)

Parameters

Parameter Type Required Description Example
account_id str ✔️ N/A
wallet_id str ✔️ N/A
skip Optional[int] N/A 60
count Optional[int] N/A 20
transaction_type Optional[components.WalletTransactionType] Optional parameter to filter by transaction type.
transaction_types List[components.WalletTransactionType] Optional, comma-separated parameter to filter by transaction types.
source_type Optional[components.WalletTransactionSourceType] Optional parameter to filter by source type (i.e. transfer, dispute, issuing-transaction).
source_id Optional[str] Optional parameter to filter by source ID.
status Optional[components.WalletTransactionStatus] Optional parameter to filter by status (pending or completed).
created_start_date_time date Optional date-time which inclusively filters all transactions created after this date-time.
created_end_date_time date Optional date-time which exclusively filters all transactions created before this date-time.
completed_start_date_time date Optional date-time which inclusively filters all transactions completed after this date-time.
completed_end_date_time date Optional date-time which exclusively filters all transactions completed before this date-time.
sweep_id Optional[str] Optional ID to filter for transactions accrued in a sweep.
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

operations.ListWalletTransactionsResponse

Errors

Error Type Status Code Content Type
errors.ListWalletTransactionsValidationError 422 application/json
errors.APIError 4XX, 5XX */*

get

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.

Example Usage

from moovio_sdk import Moov
from moovio_sdk.models import components


with Moov(
    security=components.Security(
        username="",
        password="",
    ),
) as moov:

    res = moov.wallet_transactions.get(account_id="f0b02d73-10dc-42e6-8030-fd78fcbc114f", wallet_id="03db97f6-c308-4595-8f43-fd247f1bd3f2", transaction_id="e0a32cf5-5758-49ba-83da-75bf02c9c6d7")

    # Handle response
    print(res)

Parameters

Parameter Type Required Description
account_id str ✔️ N/A
wallet_id str ✔️ N/A
transaction_id str ✔️ N/A
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

operations.GetWalletTransactionResponse

Errors

Error Type Status Code Content Type
errors.APIError 4XX, 5XX */*