Skip to content

Latest commit

 

History

History
107 lines (70 loc) · 5.08 KB

README.md

File metadata and controls

107 lines (70 loc) · 5.08 KB

Adjustments

(adjustments)

Overview

Available Operations

  • list - List adjustments associated with a Moov account.

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

  • get - Retrieve a specific adjustment associated with a Moov account.

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

list

List adjustments associated with a Moov account.

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.adjustments.list(account_id="27396e19-5d2d-4fba-876d-423579b4f37e")

    # Handle response
    print(res)

Parameters

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

Response

operations.ListAdjustmentsResponse

Errors

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

get

Retrieve a specific adjustment associated with a Moov account.

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.adjustments.get(account_id="7c43cb4c-5944-40f9-9bef-7925774b06b4", adjustment_id="244e9b18-1d97-4344-8a69-abf3c48078bc")

    # Handle response
    print(res)

Parameters

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

Response

operations.GetAdjustmentResponse

Errors

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