Reading Transfers and Transfer events
API reference for Transfer read and Transfer event endpoints and webhooks
| Reading Transfers | |
|---|---|
/transfer/get | Retrieve information about a transfer |
/transfer/list | Retrieve a list of transfers and their statuses |
/transfer/event/list | Retrieve a list of transfer events |
/transfer/event/sync | Sync transfer events |
/transfer/sweep/get | Retrieve information about a sweep |
/transfer/sweep/list | Retrieve a list of sweeps |
| Webhooks | |
|---|---|
TRANSFER_EVENTS_UPDATE | New transfer events available |
Endpoints
/transfer/get
Retrieve a transfer
The /transfer/get endpoint fetches information about the transfer corresponding to the given transfer_id.
Request fields and example
client_idclient_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.secretsecret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.transfer_id1const request: TransferGetRequest = {2 transfer_id: '460cbe92-2dcc-8eae-5ad6-b37d0ec90fd9',3};4try {5 const response = await plaidClient.transferGet(request);6 const transfer = response.data.transfer;7} catch (error) {8 // handle error9}Response fields and example
transferidauthorization_idach_classCodes supported for credits:
ccd, ppd
Codes supported for debits: ccd, tel, web"ccd" - Corporate Credit or Debit - fund transfer between two corporate bank accounts"ppd" - Prearranged Payment or Deposit - the transfer is part of a pre-existing relationship with a consumer, e.g. bill payment"tel" - Telephone-Initiated Entry"web" - Internet-Initiated Entry - debits from a consumer’s account where their authorization is obtained over the Internetccd, ppd, tel, webaccount_idaccount_id corresponding to the end-user account that will be debited or credited.funding_account_idtypedebit or credit. A debit indicates a transfer of money into the origination account; a credit indicates a transfer of money out of the origination account.debit, credituserlegal_namephone_numberemail_addressaddressstreetcityregionpostal_codecountryamount/transfer/authorization/create, specify the maximum amount to authorize. When calling /transfer/create, specify the exact amount of the transfer, up to a maximum of the amount authorized. If this field is left blank when calling /transfer/create, the maximum amount authorized in the authorization_id will be sent.descriptioncreated2006-01-02T15:04:05Zdate-time statuspending: A new transfer was created; it is in the pending state.
posted: The transfer has been successfully submitted to the payment network.
settled: Credits are available to be withdrawn or debits have been deducted from the Plaid linked account.
cancelled: The transfer was cancelled by the client.
failed: The transfer failed, no funds were moved.
returned: A posted transfer was returned.pending, posted, settled, cancelled, failed, returnedsweep_statusunswept: The transfer hasn't been swept yet.
swept: The transfer was swept to the sweep account.
swept_settled: Credits are available to be withdrawn or debits have been deducted from the customer’s business checking account.
return_swept: The transfer was returned, funds were pulled back or pushed back to the sweep account.
null: The transfer will never be swept (e.g. if the transfer is cancelled or returned before being swept)null, unswept, swept, swept_settled, return_sweptnetworkFor transfers submitted as
ach, the next-day cutoff is 5:30 PM Eastern Time.For transfers submitted as
same-day-ach, the same-day cutoff is 3:30 PM Eastern Time. If the transfer is submitted after this cutoff but before the next-day cutoff, it will be sent over next-day rails and will not incur same-day charges; this will apply to both legs of the transfer if applicable.For transfers submitted as
rtp, Plaid will automatically route between Real Time Payment rail by TCH or FedNow rails as necessary. If a transfer is submitted as rtp and the counterparty account is not eligible for RTP, the /transfer/authorization/create request will fail with an INVALID_FIELD error code. To pre-check to determine whether a counterparty account can support RTP, call /transfer/capabilities/get before calling /transfer/authorization/create.ach, same-day-ach, rtp, wirewire_detailsmessage_to_beneficiarycancellabletrue, you can still cancel this transfer.failure_reason"failed" or "returned". Null value otherwise.ach_return_codeR01. A return code will be provided if and only if the transfer status is returned. For a full listing of ACH return codes, see Transfer errors.descriptionmetadataiso_currency_codestandard_return_windowdate unauthorized_return _windowdate expected_settlement _datedate originator_client_idrefundsidtransfer_idamountstatuspending: A new refund was created; it is in the pending state.
posted: The refund has been successfully submitted to the payment network.
settled: Credits have been refunded to the Plaid linked account.
cancelled: The refund was cancelled by the client.
failed: The refund has failed.
returned: The refund was returned.pending, posted, cancelled, failed, settled, returnedfailure_reason"failed" or "returned". Null value otherwise.ach_return_codeR01. A return code will be provided if and only if the refund status is returned. For a full listing of ACH return codes, see Transfer errors.descriptioncreated2006-01-02T15:04:05Zdate-time network_trace_idFor
ach or same-day-ach transfers, this is the ACH trace number.
For wire transfers, this is the IMAD (Input Message Accountability Data) number.
The field will remain null for transfers on other rails.recurring_transfer_idexpected_sweep _settlement_schedulereturned. Only applies to ACH debit transfers.sweep_settlement_datedate swept_settled_amountsweep_settlement_date.credit_funds_sourceSpecifies the source of funds for the transfer. Only valid for
credit transfers, and defaults to sweep if not specified. This field is not specified for debit transfers.sweep - Sweep funds from your funding account
prefunded_rtp_credits - Use your prefunded RTP credit balance with Plaid
prefunded_ach_credits - Use your prefunded ACH credit balance with Plaidsweep, prefunded_rtp_credits, prefunded_ach_credits, nullfacilitator_feetransfer.amount and distribute to the platform’s Ledger balance as a facilitator fee (decimal string with two digits of precision e.g. "10.00"). The remainder will go to the end-customer’s Ledger balance. This must be less than or equal to the transfer.amount.network_trace_idFor
ach or same-day-ach transfers, this is the ACH trace number.
For wire transfers, this is the IMAD (Input Message Accountability Data) number.
The field will remain null for transfers on other rails.request_id1{2 "transfer": {3 "account_id": "3gE5gnRzNyfXpBK5wEEKcymJ5albGVUqg77gr",4 "funding_account_id": "8945fedc-e703-463d-86b1-dc0607b55460",5 "ach_class": "ppd",6 "amount": "12.34",7 "cancellable": true,8 "created": "2020-08-06T17:27:15Z",9 "description": "Desc",10 "guarantee_decision": null,11 "guarantee_decision_rationale": null,12 "failure_reason": {13 "ach_return_code": "R13",14 "description": "Invalid ACH routing number"15 },16 "id": "460cbe92-2dcc-8eae-5ad6-b37d0ec90fd9",17 "authorization_id": "c9f90aa1-2949-c799-e2b6-ea05c89bb586",18 "metadata": {19 "key1": "value1",20 "key2": "value2"21 },22 "network": "ach",23 "origination_account_id": "",24 "originator_client_id": null,25 "refunds": [],26 "status": "pending",27 "type": "credit",28 "iso_currency_code": "USD",29 "standard_return_window": "2020-08-07",30 "unauthorized_return_window": "2020-10-07",31 "expected_settlement_date": "2020-08-04",32 "user": {33 "email_address": "acharleston@email.com",34 "legal_name": "Anne Charleston",35 "phone_number": "510-555-0128",36 "address": {37 "street": "123 Main St.",38 "city": "San Francisco",39 "region": "CA",40 "postal_code": "94053",41 "country": "US"42 }43 },44 "recurring_transfer_id": null,45 "credit_funds_source": "sweep",46 "facilitator_fee": "1.23",47 "network_trace_id": null48 },49 "request_id": "saKrIBuEB9qJZno"50}Was this helpful?
/transfer/list
List transfers
Use the /transfer/list endpoint to see a list of all your transfers and their statuses. Results are paginated; use the count and offset query parameters to retrieve the desired transfers.
Request fields and example
client_idclient_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.secretsecret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.start_date2019-12-06T22:35:49Z)date-time end_date2019-12-06T22:35:49Z)date-time count1 25 25 offset0 0 originator_client_idfunding_account_idfunding_account_id.1const request: TransferListRequest = {2 start_date: '2019-12-06T22:35:49Z',3 end_date: '2019-12-12T22:35:49Z',4 count: 14,5 offset: 2,6 origination_account_id: '8945fedc-e703-463d-86b1-dc0607b55460',7};8try {9 const response = await plaidClient.transferList(request);10 const transfers = response.data.transfers;11 for (const transfer of transfers) {12 // iterate through transfers13 }14} catch (error) {15 // handle error16}Response fields and example
transfersidauthorization_idach_classCodes supported for credits:
ccd, ppd
Codes supported for debits: ccd, tel, web"ccd" - Corporate Credit or Debit - fund transfer between two corporate bank accounts"ppd" - Prearranged Payment or Deposit - the transfer is part of a pre-existing relationship with a consumer, e.g. bill payment"tel" - Telephone-Initiated Entry"web" - Internet-Initiated Entry - debits from a consumer’s account where their authorization is obtained over the Internetccd, ppd, tel, webaccount_idaccount_id corresponding to the end-user account that will be debited or credited.funding_account_idtypedebit or credit. A debit indicates a transfer of money into the origination account; a credit indicates a transfer of money out of the origination account.debit, credituserlegal_namephone_numberemail_addressaddressstreetcityregionpostal_codecountryamount/transfer/authorization/create, specify the maximum amount to authorize. When calling /transfer/create, specify the exact amount of the transfer, up to a maximum of the amount authorized. If this field is left blank when calling /transfer/create, the maximum amount authorized in the authorization_id will be sent.descriptioncreated2006-01-02T15:04:05Zdate-time statuspending: A new transfer was created; it is in the pending state.
posted: The transfer has been successfully submitted to the payment network.
settled: Credits are available to be withdrawn or debits have been deducted from the Plaid linked account.
cancelled: The transfer was cancelled by the client.
failed: The transfer failed, no funds were moved.
returned: A posted transfer was returned.pending, posted, settled, cancelled, failed, returnedsweep_statusunswept: The transfer hasn't been swept yet.
swept: The transfer was swept to the sweep account.
swept_settled: Credits are available to be withdrawn or debits have been deducted from the customer’s business checking account.
return_swept: The transfer was returned, funds were pulled back or pushed back to the sweep account.
null: The transfer will never be swept (e.g. if the transfer is cancelled or returned before being swept)null, unswept, swept, swept_settled, return_sweptnetworkFor transfers submitted as
ach, the next-day cutoff is 5:30 PM Eastern Time.For transfers submitted as
same-day-ach, the same-day cutoff is 3:30 PM Eastern Time. If the transfer is submitted after this cutoff but before the next-day cutoff, it will be sent over next-day rails and will not incur same-day charges; this will apply to both legs of the transfer if applicable.For transfers submitted as
rtp, Plaid will automatically route between Real Time Payment rail by TCH or FedNow rails as necessary. If a transfer is submitted as rtp and the counterparty account is not eligible for RTP, the /transfer/authorization/create request will fail with an INVALID_FIELD error code. To pre-check to determine whether a counterparty account can support RTP, call /transfer/capabilities/get before calling /transfer/authorization/create.ach, same-day-ach, rtp, wirewire_detailsmessage_to_beneficiarycancellabletrue, you can still cancel this transfer.failure_reason"failed" or "returned". Null value otherwise.ach_return_codeR01. A return code will be provided if and only if the transfer status is returned. For a full listing of ACH return codes, see Transfer errors.descriptionmetadataiso_currency_codestandard_return_windowdate unauthorized_return _windowdate expected_settlement _datedate originator_client_idrefundsidtransfer_idamountstatuspending: A new refund was created; it is in the pending state.
posted: The refund has been successfully submitted to the payment network.
settled: Credits have been refunded to the Plaid linked account.
cancelled: The refund was cancelled by the client.
failed: The refund has failed.
returned: The refund was returned.pending, posted, cancelled, failed, settled, returnedfailure_reason"failed" or "returned". Null value otherwise.ach_return_codeR01. A return code will be provided if and only if the refund status is returned. For a full listing of ACH return codes, see Transfer errors.descriptioncreated2006-01-02T15:04:05Zdate-time network_trace_idFor
ach or same-day-ach transfers, this is the ACH trace number.
For wire transfers, this is the IMAD (Input Message Accountability Data) number.
The field will remain null for transfers on other rails.recurring_transfer_idexpected_sweep _settlement_schedulereturned. Only applies to ACH debit transfers.sweep_settlement_datedate swept_settled_amountsweep_settlement_date.credit_funds_sourceSpecifies the source of funds for the transfer. Only valid for
credit transfers, and defaults to sweep if not specified. This field is not specified for debit transfers.sweep - Sweep funds from your funding account
prefunded_rtp_credits - Use your prefunded RTP credit balance with Plaid
prefunded_ach_credits - Use your prefunded ACH credit balance with Plaidsweep, prefunded_rtp_credits, prefunded_ach_credits, nullfacilitator_feetransfer.amount and distribute to the platform’s Ledger balance as a facilitator fee (decimal string with two digits of precision e.g. "10.00"). The remainder will go to the end-customer’s Ledger balance. This must be less than or equal to the transfer.amount.network_trace_idFor
ach or same-day-ach transfers, this is the ACH trace number.
For wire transfers, this is the IMAD (Input Message Accountability Data) number.
The field will remain null for transfers on other rails.request_id1{2 "transfers": [3 {4 "account_id": "3gE5gnRzNyfXpBK5wEEKcymJ5albGVUqg77gr",5 "funding_account_id": "8945fedc-e703-463d-86b1-dc0607b55460",6 "ach_class": "ppd",7 "amount": "12.34",8 "cancellable": true,9 "created": "2019-12-09T17:27:15Z",10 "description": "Desc",11 "guarantee_decision": null,12 "guarantee_decision_rationale": null,13 "failure_reason": {14 "ach_return_code": "R13",15 "description": "Invalid ACH routing number"16 },17 "id": "460cbe92-2dcc-8eae-5ad6-b37d0ec90fd9",18 "authorization_id": "c9f90aa1-2949-c799-e2b6-ea05c89bb586",19 "metadata": {20 "key1": "value1",21 "key2": "value2"22 },23 "network": "ach",24 "origination_account_id": "",25 "originator_client_id": null,26 "refunds": [],27 "status": "pending",28 "type": "credit",29 "iso_currency_code": "USD",30 "standard_return_window": "2020-08-07",31 "unauthorized_return_window": "2020-10-07",32 "expected_settlement_date": "2020-08-04",33 "user": {34 "email_address": "acharleston@email.com",35 "legal_name": "Anne Charleston",36 "phone_number": "510-555-0128",37 "address": {38 "street": "123 Main St.",39 "city": "San Francisco",40 "region": "CA",41 "postal_code": "94053",42 "country": "US"43 }44 },45 "recurring_transfer_id": null,46 "credit_funds_source": "sweep",47 "facilitator_fee": "1.23",48 "network_trace_id": null49 }50 ],51 "request_id": "saKrIBuEB9qJZno"52}Was this helpful?
/transfer/event/list
List transfer events
Use the /transfer/event/list endpoint to get a list of transfer events based on specified filter criteria.
Request fields and example
client_idclient_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.secretsecret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.start_date2019-12-06T22:35:49Z)date-time end_date2019-12-06T22:35:49Z)date-time transfer_idaccount_idtransfer_typedebit or credit. A debit indicates a transfer of money into your origination account; a credit indicates a transfer of money out of your origination account.debit, credit, nullevent_typespending, cancelled, failed, posted, settled, returned, swept, swept_settled, return_swept, sweep.pending, sweep.posted, sweep.settled, sweep.returned, sweep.failedsweep_idcountcount, the most recent events will be returned.25 25 1 offsetcount=25 and offset=0, the first 25 events will be returned. When count=25 and offset=25, the next 25 events will be returned.0 0 originator_client_idfunding_account_idfunding_account_id.1const request: TransferEventListRequest = {2 start_date: '2019-12-06T22:35:49Z',3 end_date: '2019-12-12T22:35:49Z',4 transfer_id: '460cbe92-2dcc-8eae-5ad6-b37d0ec90fd9',5 account_id: '3gE5gnRzNyfXpBK5wEEKcymJ5albGVUqg77gr',6 transfer_type: 'credit',7 event_types: ['pending', 'posted'],8 count: 14,9 offset: 2,10 origination_account_id: '8945fedc-e703-463d-86b1-dc0607b55460',11};12try {13 const response = await plaidClient.transferEventList(request);14 const events = response.data.transfer_events;15 for (const event of events) {16 // iterate through events17 }18} catch (error) {19 // handle error20}Response fields and example
transfer_eventsevent_id0 timestamp2006-01-02T15:04:05Z.date-time event_typesweep represents events for Plaid Ledger sweeps.pending: A new transfer was created; it is in the pending state.cancelled: The transfer was cancelled by the client.failed: The transfer failed, no funds were moved.posted: The transfer has been successfully submitted to the payment network.settled: Credits are available to be withdrawn or debits have been deducted from the Plaid linked account.returned: A posted transfer was returned.swept: The transfer was swept to / from the sweep account.swept_settled: Credits are available to be withdrawn or debits have been deducted from the customer’s business checking account.return_swept: Due to the transfer being returned, funds were pulled from or pushed back to the sweep account.sweep.pending: A new ledger sweep was created; it is in the pending state.sweep.posted: The ledger sweep has been successfully submitted to the payment network.sweep.settled: The transaction has settled in the funding account. This means that funds withdrawn from Plaid Ledger balance have reached the funding account, or funds to be deposited into the Plaid Ledger Balance have been pulled, and the hold period has begun.sweep.returned: A posted ledger sweep was returned.sweep.failed: The ledger sweep failed, no funds were moved.refund.pending: A new refund was created; it is in the pending state.refund.cancelled: The refund was cancelled.refund.failed: The refund failed, no funds were moved.refund.posted: The refund has been successfully submitted to the payment network.refund.settled: The refund transaction has settled in the Plaid linked account.refund.returned: A posted refund was returned.refund.swept: The refund was swept from the sweep account.refund.return_swept: Due to the refund being returned, funds were pushed back to the sweep account.pending, cancelled, failed, posted, settled, returned, swept, swept_settled, return_swept, sweep.pending, sweep.posted, sweep.settled, sweep.returned, sweep.failedaccount_idfunding_account_idtransfer_idnull for Plaid Ledger Sweep events.transfer_typedebit or credit. A debit indicates a transfer of money into the origination account; a credit indicates a transfer of money out of the origination account. This field is omitted for Plaid Ledger Sweep events.debit, credittransfer_amountfailure_reason"failed" or "returned". Null value otherwise.ach_return_codeR01. A return code will be provided if and only if the transfer status is returned. For a full listing of ACH return codes, see Transfer errors.descriptionsweep_idsweep_amountswept or return_swept for this transfer (decimal string with two digits of precision e.g. "-5.50").refund_idoriginator_client_idrequest_id1{2 "transfer_events": [3 {4 "account_id": "3gE5gnRzNyfXpBK5wEEKcymJ5albGVUqg77gr",5 "funding_account_id": "8945fedc-e703-463d-86b1-dc0607b55460",6 "transfer_amount": "12.34",7 "transfer_id": "460cbe92-2dcc-8eae-5ad6-b37d0ec90fd9",8 "transfer_type": "credit",9 "event_id": 1,10 "event_type": "posted",11 "failure_reason": null,12 "origination_account_id": "",13 "originator_client_id": "569ed2f36b3a3a021713abc1",14 "refund_id": null,15 "sweep_amount": null,16 "sweep_id": null,17 "timestamp": "2019-12-09T17:27:15Z"18 }19 ],20 "request_id": "mdqfuVxeoza6mhu"21}Was this helpful?
/transfer/event/sync
Sync transfer events
/transfer/event/sync allows you to request up to the next 25 transfer events that happened after a specific event_id. Use the /transfer/event/sync endpoint to guarantee you have seen all transfer events.
Request fields and example
client_idclient_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.secretsecret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.after_idevent_id fetched via the sync endpoint, or 0 initially.0 count25 1 25 1const request: TransferEventListRequest = {2 after_id: 4,3 count: 22,4};5try {6 const response = await plaidClient.transferEventSync(request);7 const events = response.data.transfer_events;8 for (const event of events) {9 // iterate through events10 }11} catch (error) {12 // handle error13}Response fields and example
transfer_eventsevent_id0 timestamp2006-01-02T15:04:05Z.date-time event_typesweep represents events for Plaid Ledger sweeps.pending: A new transfer was created; it is in the pending state.cancelled: The transfer was cancelled by the client.failed: The transfer failed, no funds were moved.posted: The transfer has been successfully submitted to the payment network.settled: Credits are available to be withdrawn or debits have been deducted from the Plaid linked account.returned: A posted transfer was returned.swept: The transfer was swept to / from the sweep account.swept_settled: Credits are available to be withdrawn or debits have been deducted from the customer’s business checking account.return_swept: Due to the transfer being returned, funds were pulled from or pushed back to the sweep account.sweep.pending: A new ledger sweep was created; it is in the pending state.sweep.posted: The ledger sweep has been successfully submitted to the payment network.sweep.settled: The transaction has settled in the funding account. This means that funds withdrawn from Plaid Ledger balance have reached the funding account, or funds to be deposited into the Plaid Ledger Balance have been pulled, and the hold period has begun.sweep.returned: A posted ledger sweep was returned.sweep.failed: The ledger sweep failed, no funds were moved.refund.pending: A new refund was created; it is in the pending state.refund.cancelled: The refund was cancelled.refund.failed: The refund failed, no funds were moved.refund.posted: The refund has been successfully submitted to the payment network.refund.settled: The refund transaction has settled in the Plaid linked account.refund.returned: A posted refund was returned.refund.swept: The refund was swept from the sweep account.refund.return_swept: Due to the refund being returned, funds were pushed back to the sweep account.pending, cancelled, failed, posted, settled, returned, swept, swept_settled, return_swept, sweep.pending, sweep.posted, sweep.settled, sweep.returned, sweep.failedaccount_idfunding_account_idtransfer_idnull for Plaid Ledger Sweep events.transfer_typedebit or credit. A debit indicates a transfer of money into the origination account; a credit indicates a transfer of money out of the origination account. This field is omitted for Plaid Ledger Sweep events.debit, credittransfer_amountfailure_reason"failed" or "returned". Null value otherwise.ach_return_codeR01. A return code will be provided if and only if the transfer status is returned. For a full listing of ACH return codes, see Transfer errors.descriptionsweep_idsweep_amountswept or return_swept for this transfer (decimal string with two digits of precision e.g. "-5.50").refund_idoriginator_client_idrequest_id1{2 "transfer_events": [3 {4 "account_id": "3gE5gnRzNyfXpBK5wEEKcymJ5albGVUqg77gr",5 "funding_account_id": "8945fedc-e703-463d-86b1-dc0607b55460",6 "transfer_amount": "12.34",7 "transfer_id": "460cbe92-2dcc-8eae-5ad6-b37d0ec90fd9",8 "transfer_type": "credit",9 "event_id": 1,10 "event_type": "pending",11 "failure_reason": null,12 "origination_account_id": "",13 "originator_client_id": null,14 "refund_id": null,15 "sweep_amount": null,16 "sweep_id": null,17 "timestamp": "2019-12-09T17:27:15Z"18 }19 ],20 "request_id": "mdqfuVxeoza6mhu"21}Was this helpful?
/transfer/sweep/get
Retrieve a sweep
The /transfer/sweep/get endpoint fetches a sweep corresponding to the given sweep_id.
Request fields and example
client_idclient_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.secretsecret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.sweep_id1const request: TransferSweepGetRequest = {2 sweep_id: '8c2fda9a-aa2f-4735-a00f-f4e0d2d2faee',3};4try {5 const response = await plaidClient.transferSweepGet(request);6 const sweep = response.data.sweep;7} catch (error) {8 // handle error9}Response fields and example
sweepA sweep is associated with many sweep events (events of type
swept or return_swept) which can be retrieved by invoking the /transfer/event/list endpoint with the corresponding sweep_id.swept events occur when the transfer amount is credited or debited from your sweep account, depending on the type of the transfer. return_swept events occur when a transfer is returned and Plaid undoes the credit or debit.The total sum of the
swept and return_swept events is equal to the amount of the sweep Plaid creates and matches the amount of the entry on your sweep account ledger.idfunding_account_idcreateddate-time amountIf amount is not present, the sweep was net-settled to zero and outstanding debits and credits between the sweep account and Plaid are balanced.
iso_currency_codesettleddate status"pending" - The sweep is currently pending
"posted" - The sweep has been posted
"settled" - The sweep has settled
"returned" - The sweep has been returned
"failed" - The sweep has failedpending, posted, settled, returned, failed, nulltrigger"manual" - The sweep is created manually by the customer
"incoming" - The sweep is created by incoming funds flow (e.g. Incoming Wire)
"balance_threshold" - The sweep is created by balance threshold setting
"automatic_aggregate" - The sweep is created by the Plaid automatic aggregation process. These funds did not pass through the Plaid Ledger balance.manual, incoming, balance_threshold, automatic_aggregatedescriptionnetwork_trace_idFor
ach or same-day-ach transfers, this is the ACH trace number.
For wire transfers, this is the IMAD (Input Message Accountability Data) number.
The field will remain null for transfers on other rails.request_id1{2 "sweep": {3 "id": "8c2fda9a-aa2f-4735-a00f-f4e0d2d2faee",4 "funding_account_id": "8945fedc-e703-463d-86b1-dc0607b55460",5 "created": "2020-08-06T17:27:15Z",6 "amount": "12.34",7 "iso_currency_code": "USD",8 "settled": "2020-08-07",9 "status": "settled",10 "network_trace_id": "123456789012345"11 },12 "request_id": "saKrIBuEB9qJZno"13}Was this helpful?
/transfer/sweep/list
List sweeps
The /transfer/sweep/list endpoint fetches sweeps matching the given filters.
Request fields and example
client_idclient_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.secretsecret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.start_datedate-time end_datedate-time count1 25 25 offset0 0 amountstatus"pending" - The sweep is currently pending
"posted" - The sweep has been posted
"settled" - The sweep has settled
"returned" - The sweep has been returned
"failed" - The sweep has failedpending, posted, settled, returned, failed, nulloriginator_client_idfunding_account_idfunding_account_id.transfer_idtransfer_id.trigger"manual" - The sweep is created manually by the customer
"incoming" - The sweep is created by incoming funds flow (e.g. Incoming Wire)
"balance_threshold" - The sweep is created by balance threshold setting
"automatic_aggregate" - The sweep is created by the Plaid automatic aggregation process. These funds did not pass through the Plaid Ledger balance.manual, incoming, balance_threshold, automatic_aggregate1const request: TransferSweepListRequest = {2 start_date: '2019-12-06T22:35:49Z',3 end_date: '2019-12-12T22:35:49Z',4 count: 14,5 offset: 2,6};7try {8 const response = await plaidClient.transferSweepList(request);9 const sweeps = response.data.sweeps;10 for (const sweep of sweeps) {11 // iterate through sweeps12 }13} catch (error) {14 // handle error15}Response fields and example
sweepsidfunding_account_idcreateddate-time amountIf amount is not present, the sweep was net-settled to zero and outstanding debits and credits between the sweep account and Plaid are balanced.
iso_currency_codesettleddate status"pending" - The sweep is currently pending
"posted" - The sweep has been posted
"settled" - The sweep has settled
"returned" - The sweep has been returned
"failed" - The sweep has failedpending, posted, settled, returned, failed, nulltrigger"manual" - The sweep is created manually by the customer
"incoming" - The sweep is created by incoming funds flow (e.g. Incoming Wire)
"balance_threshold" - The sweep is created by balance threshold setting
"automatic_aggregate" - The sweep is created by the Plaid automatic aggregation process. These funds did not pass through the Plaid Ledger balance.manual, incoming, balance_threshold, automatic_aggregatedescriptionnetwork_trace_idFor
ach or same-day-ach transfers, this is the ACH trace number.
For wire transfers, this is the IMAD (Input Message Accountability Data) number.
The field will remain null for transfers on other rails.request_id1{2 "sweeps": [3 {4 "id": "d5394a4d-0b04-4a02-9f4a-7ca5c0f52f9d",5 "funding_account_id": "8945fedc-e703-463d-86b1-dc0607b55460",6 "created": "2019-12-09T17:27:15Z",7 "amount": "-12.34",8 "iso_currency_code": "USD",9 "settled": "2019-12-10",10 "status": "settled",11 "originator_client_id": null12 }13 ],14 "request_id": "saKrIBuEB9qJZno"15}Was this helpful?
Webhooks
TRANSFER_EVENTS_UPDATE
Fired when new transfer events are available. Receiving this webhook indicates you should fetch the new events from /transfer/event/sync.
webhook_typeTRANSFERwebhook_codeTRANSFER_EVENTS_UPDATEenvironmentdevelopment, sandbox, production1{2 "webhook_type": "TRANSFER",3 "webhook_code": "TRANSFER_EVENTS_UPDATE",4 "environment": "production"5}