cURL
curl --request POST \ --url https://api.treasuryprime.com/deposit_sweep \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "account_id": "acct_11hryybpgdc399", "network": "network-name", "opted_in": true, "threshold_balance": "250000.00" }'
{ "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" }
Was this page helpful?