- 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 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.
package hello.world;
import io.moov.sdk.Moov;
import io.moov.sdk.models.components.Security;
import io.moov.sdk.models.operations.ListAdjustmentsResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
Moov sdk = Moov.builder()
.security(Security.builder()
.username("")
.password("")
.build())
.build();
ListAdjustmentsResponse res = sdk.adjustments().list()
.accountID("c054f3a6-d542-4310-a955-830739f800f0")
.call();
if (res.adjustments().isPresent()) {
System.out.println(res.adjustments().get());
}
}
}| Parameter | Type | Required | Description |
|---|---|---|---|
accountID |
String | ✔️ | N/A |
walletID |
Optional<String> | ➖ | A wallet ID to filter adjustments by. |
| Error Type | Status Code | Content Type |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | */* |
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.
package hello.world;
import io.moov.sdk.Moov;
import io.moov.sdk.models.components.Security;
import io.moov.sdk.models.operations.GetAdjustmentResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
Moov sdk = Moov.builder()
.security(Security.builder()
.username("")
.password("")
.build())
.build();
GetAdjustmentResponse res = sdk.adjustments().get()
.accountID("3ef4e658-8aaa-449f-a7a4-95a6839172a1")
.adjustmentID("cbe4a8e7-605f-4667-a308-1afde85cd7a5")
.call();
if (res.adjustment().isPresent()) {
System.out.println(res.adjustment().get());
}
}
}| Parameter | Type | Required | Description |
|---|---|---|---|
accountID |
String | ✔️ | N/A |
adjustmentID |
String | ✔️ | N/A |
| Error Type | Status Code | Content Type |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | */* |