Update Round-Up Enrollment

Use /v1/roundup/:id (PATCH) to update the configuration of an existing round-up enrollment. Any subset of the configuration fields may be supplied; omitted fields are left unchanged. effectiveStartDate can be changed only while the enrollment has not started counting yet, and never to a time in the past. For enrollments that track a linked institution account, counting starts at UTC midnight of the start day, so both the current and the new start must be on a later UTC day than today. Sending the current value unchanged is allowed and has no effect. Use the update status endpoint to pause, resume, or close an enrollment.

Path Params
string
required

PATCH /v1/roundup/:id Parameter

Body Params

PATCH /v1/roundup/:id Request body

string
enum

How each round-up contribution is calculated: round_to_nearest_dollar, fixed_amount_per_transaction, or round_to_nearest_dollar_plus_boost.

Allowed:
double
≤ 10000000

For fixed_amount_per_transaction mode, the flat amount contributed per eligible transaction.

double
≤ 10000000

For round_to_nearest_dollar_plus_boost mode, the additional amount added to each round-to-nearest-dollar contribution.

string
Defaults to USD

ISO 4217 three-letter currency code for the enrollment. Defaults to USD.

eligibleCategories
array

Optional list of Spidr transaction categories or subcategories eligible for round-ups. Supported only for linked_institution_account tracking; rejected when any tracking account is spidr (use eligibleMccCodes instead). When omitted or empty, all categories are eligible.

eligibleCategories
eligibleMccCodes
array of strings

Optional list of merchant category codes (MCCs) eligible for round-ups. Supported only for spidr tracking; rejected when any tracking account is linked_institution_account, because linked bank transactions don't carry an MCC (use eligibleCategories instead). When omitted or empty, all MCCs are eligible.

eligibleMccCodes
string
enum

How often accumulated round-ups are swept and transferred: daily, weekly, biweekly, or monthly.

Allowed:
int64
1 to 28

Day the sweep runs within the cadence period. For weekly and biweekly cadences this is the day of week (1-7); for monthly it is the day of month (1-28).

double
≤ 10000000

Optional cap on the total round-up amount swept per cadence period.

double
0 to 10000000

Optional minimum accumulated amount required before a sweep runs. Periods below this amount are skipped.

int64
0 to 6

Optional number of days to hold ACH-funded amounts before transferring to receiving accounts. Must be at least the receiving product's configured minimum, and no more than 6. The upper bound is the window in which an undelivered sweep is automatically retried, so a longer hold would leave the funds sitting on the hub account with no automatic retry left.

date-time
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(([+-]\d{2}:\d{2})|Z)$

When round-ups start counting (ISO-8601). Only purchases on or after this time are rounded up. Linked institution accounts report only a purchase date, so for them every purchase dated on the start's UTC day counts. Must not be in the past; omit it to start immediately. On update it can be changed only while the current start is still in the future, and the new value must not be in the past. For enrollments that track a linked institution account, both the current and the new start must be on a later UTC day than today. Sending the current value unchanged is allowed and has no effect.

trackingAccounts
array of objects
length ≥ 1

Accounts whose transactions are monitored to accumulate round-ups. At least one is required.

trackingAccounts
string
enum
required

Type of tracking account: spidr for a Spidr account, or linked_institution_account for an externally linked account.

Allowed:
string
required

ID of the account whose transactions are tracked for round-ups.

fundingAccounts
array of objects
length ≥ 1

Accounts debited to fund each sweep. At least one is required.

fundingAccounts
string
enum
required

Type of funding account: spidr for a Spidr account, or ach_account for an external ACH account.

Allowed:
string
required

ID of the account debited to fund round-up sweeps.

double
≤ 10000000

Optional cap on the amount drawn from this funding account per cadence period.

double
0 to 10000000

Optional minimum balance that must remain in this funding account; sweeps will not draw the balance below this amount.

double
required
≤ 100

Percentage (greater than 0, up to 100) of each sweep funded from this account. Percentages across funding accounts should total 100.

receivingAccounts
array of objects
length ≥ 1

Accounts credited with the swept round-up funds. At least one is required.

receivingAccounts
string
enum
required

Type of receiving account. Currently only spidr is supported.

Allowed:
string
required

ID of the account credited with swept round-up funds.

double
required
≤ 100

Percentage (greater than 0, up to 100) of each sweep allocated to this receiving account. Percentages across receiving accounts should total 100.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json