Skip to main content
PATCH
/
deposit_sweep
/
{id}
Update a Deposit Sweep
curl --request PATCH \
  --url https://api.treasuryprime.com/deposit_sweep/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "threshold_balance": "125000.00"
}
'
{
  "account_id": "acct_abc123456",
  "bank_id": "bank_example",
  "created_at": "2023-04-27T15:26:58Z",
  "customer_email": "[email protected]",
  "customer_id": "psn_abc123456",
  "customer_identifier": "*6789",
  "id": "dsa_abc654321",
  "network": "network-name",
  "network_account_id": "abc123456",
  "opted_in": true,
  "sweep_balance": "2500.00",
  "threshold_balance": "125000.00",
  "updated_at": "2023-06-29T13:58:20Z"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Unique identifier for object

Body

application/json

The deposit_sweep to update

opted_in
boolean

Boolean identifying whether the account is currently opted in to the Enhanced FDIC insurance program

threshold_balance
string

Threshold balance over which funds should be reported to the deposit sweep network, with two decimal precision. Example: If the current_balance of an account was $20 and the threshold_balance was $15, a sweep balance of $5 would be reported to the network.

Response

200 - application/json

The deposit_sweep updated

account_id
string

ID of the Account associated with the Deposit Sweep object

bank_id
string

ID of the bank for the deposit sweep account

customer_email
string

Email address of the primary customer associated with the deposit sweep account. This is the email that would be used for enrollment in the deposit sweep network.

customer_id
string

ID of the primary customer (person or business) associated with the deposit sweep account. This is the customer that would be used for enrollment in the deposit sweep network.

customer_identifier
string

The identifier used with the deposit sweep network for the customer. This will be a masked TIN (for US entities with a TIN) or the unique portion of the customer ID (for foreign entities without a TIN).

id
string

Unique identifier for object

network
string

Name of the deposit sweep network associated with the object

network_account_id
string

Identifier used with the network for the deposit sweep account

opted_in
boolean

Boolean identifying whether the account is currently opted in to the Enhanced FDIC insurance program

sweep_balance
string

Current sweep balance reported to the deposit sweep network, with two decimal precision. This will be null when the account has not been reported to the network.

threshold_balance
string

Threshold balance over which funds should be reported to the deposit sweep network, with two decimal precision. Example: If the current_balance of an account was $20 and the threshold_balance was $15, a sweep balance of $5 would be reported to the network.