Get a sweep
POST https://{{env_url}}/transfer/sweep/get
Use the /sandbox/transfer/simulate
endpoint to simulate a transfer event in the Sandbox environment. Note that while an event will be simulated and will appear when using endpoints such as /transfer/event/sync
or /transfer/event/list
, no transactions will actually take place and funds will not move between accounts, even within the Sandbox.
Request Body
{"client_id"=>"{{client_id}}", "secret"=>"{{secret_key}}", "sweep_id"=>"SWEEP_ID_GOES_HERE"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"sweep":{"id":"d5394a4d-0b04-4a02-9f4a-7ca5c0f52f9d","created":"2020-08-06T17:27:15Z","amount":"12.34","iso_currency_code":"USD"},"request_id":"saKrIBuEB9qJZno"}