Get a sweep config

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

var accountID string
var sweepConfigID string

mc.GetSweepConfig(ctx, accountID, sweepConfigID)
200 429
Details of a sweep config.
{
  "createdOn": "2024-08-24T14:15:22Z",
  "disabledOn": "2024-08-24T14:15:22Z",
  "minimumBalance": "12.34",
  "pullPaymentMethod": {
    "disabledOn": "2024-08-24T14:15:22Z",
    "paymentMethodID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43"
  },
  "pushPaymentMethod": {
    "disabledOn": "2024-08-24T14:15:22Z",
    "paymentMethodID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43"
  },
  "statementDescriptor": "string",
  "status": "enabled",
  "sweepConfigID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
  "updatedOn": "2024-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.

sweepConfigID

string <uuid> required
ID of the sweep config

Response

application/json

createdOn

string<date-time> <=24 characters required

minimumBalance

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

pushPaymentMethod

object required
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 v4

status

string<enum> required
Possible values: enabled, disabled

sweepConfigID

string<uuid> <=36 characters required
UUID v4

updatedOn

string<date-time> <=24 characters required

walletID

string<uuid> <=36 characters required
UUID v4

disabledOn

string<date-time> <=24 characters

lockedFields

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

statementDescriptor

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