GET
/
deposit_sweep
curl --request GET \
  --url https://api.treasuryprime.com/deposit_sweep \
  --header 'Authorization: Basic <encoded-value>'
{
  "data": [
    {
      "account_id": "acct_abc123456",
      "bank_id": "bank_example",
      "created_at": "2023-04-27T15:26:58Z",
      "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.

Response

200 - application/json
A list of deposit_sweep elements

The response is of type any.