List sweep configs

List sweep configs associated with an account.
GET
/accounts/{accountID}/sweep-configs
cURL Go
1
2
curl -X GET "https://api.moov.io/accounts/{accountID}/sweep-configs" \
  -H "Authorization: Bearer {token}" \
1
2
3
4
5
mc, _ := moov.NewClient()

var accountID string

mc.ListSweepConfigs(ctx, accountID)
200 429
List of sweep configs.
[
  {
    "createdOn": "2019-08-24T14:15:22Z",
    "disabledOn": "2019-08-24T14:15:22Z",
    "lockedFields": [
      "status",
      "minimumBalance"
    ],
    "minimumBalance": "12.34",
    "pullPaymentMethod": {
      "disabledOn": "2019-08-24T14:15:22Z",
      "paymentMethodID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43"
    },
    "pushPaymentMethod": {
      "disabledOn": "2019-08-24T14:15:22Z",
      "paymentMethodID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43"
    },
    "statementDescriptor": "string",
    "status": "enabled",
    "sweepConfigID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
    "updatedOn": "2019-08-24T14:15:22Z",
    "walletID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43"
  }
]
Request was refused due to rate limiting.

Retry-After

number

Path parameters

accountID

string <uuid> required
ID of the account.

Response

application/json

createdOn

string<date-time> <=24 characters

disabledOn

string<date-time> <=24 characters

lockedFields

array
An array of fields that are locked. To request updates, please contact Moov support.

minimumBalance

string Pattern
An optional field to specify an amount to maintain in the wallet. This is a decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99. If not supplied, the default is 0.00.

pullPaymentMethod

object
The payment method used to pull funds from a bank account. An ach-debit-fund payment method is required.
The payment method used to push or pull funds to a bank account. The push payment method can only be ach-credit-standard or ach-credit-same-day. The pull payment method can only be ach-debit-fund.
right_key Show child attributes

disabledOn

string<date-time> <=24 characters

paymentMethodID

string<uuid> <=36 characters required
UUID

pushPaymentMethod

object
The payment method used to push funds to a bank account. ach-credit-standard or ach-credit-same-day is required.
The payment method used to push or pull funds to a bank account. The push payment method can only be ach-credit-standard or ach-credit-same-day. The pull payment method can only be ach-debit-fund.
right_key Show child attributes

disabledOn

string<date-time> <=24 characters

paymentMethodID

string<uuid> <=36 characters required
UUID

statementDescriptor

string
An optional override of the default 10 character ID used as the statement descriptor for sweep transfers.

status

string<enum>
Possible values: enabled, disabled

sweepConfigID

string<uuid> <=36 characters
UUID

updatedOn

string<date-time> <=24 characters

walletID

string<uuid> <=36 characters
UUID