Bank Transfer

bankTransferSweepList

POST
/bank_transfer/sweep/list

The /bank_transfer/sweep/list endpoint fetches information about the sweeps matching the given filters.

Authorization

PLAID-CLIENT-ID PLAID-SECRET Plaid-Version
PLAID-CLIENT-ID<token>

In: header

PLAID-SECRET<token>

In: header

Plaid-Version<token>

In: header

Request Body

application/json

BankTransferSweepListRequest defines the request schema for /bank_transfer/sweep/list

client_id?string

Your Plaid API client_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.

secret?string

Your Plaid API secret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.

origination_account_id?|

If multiple origination accounts are available, origination_account_id must be used to specify the account that the sweeps belong to.

start_id?|

Starting ID of sweeps to return.

Formatint32
Range0 <= value
start_time?|

The start datetime of sweeps to return (RFC 3339 format).

Formatdate-time
end_time?|

The end datetime of sweeps to return (RFC 3339 format).

Formatdate-time
count?|

The maximum number of sweeps to return.

Formatint32
Range1 <= value <= 25
Default25

Response Body

application/json

application/json

curl -X POST "https://example.com/bank_transfer/sweep/list" \  -H "Content-Type: application/json" \  -d '{}'
{  "sweeps": [    {      "id": 0,      "transfer_id": "460cbe92-2dcc-8eae-5ad6-b37d0ec90fd9",      "created_at": "2020-08-06T17:27:15Z",      "amount": "12.34",      "iso_currency_code": "USD",      "sweep_account": {        "account_number": "123456789",        "routing_number": "111111111"      }    }  ],  "request_id": "saKrIBuEB9qJZno"}