Create sandbox transactions
POST /sandbox/transactions/create
Use the /sandbox/transactions/create endpoint to create new transactions for an existing Item. This endpoint can be used to add up to 10 transactions to any Item at a time.
This endpoint can only be used with Items that were created in the Sandbox environment using the user_transactions_dynamic test user. You can use this to add transactions to test the /transactions/get and /transactions/sync endpoints.
Request Body
Required
SandboxTransactionsCreateRequest defines the request schema for /sandbox/transactions/create
Parameters
client_id
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
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.
access_token
The access token associated with the Item data is being requested for.
transactions
List of transactions to be added
date_transacted
The date of the transaction, in ISO 8601 (YYYY-MM-DD) format. Transaction date must be the present date or a date up to 14 days in the past. Future dates are not allowed.
date_posted
The date the transaction posted, in ISO 8601 (YYYY-MM-DD) format. Posted date must be the present date or a date up to 14 days in the past. Future dates are not allowed.
amount
The transaction amount. Can be negative.
description
The transaction description.
iso_currency_code
The ISO-4217 format currency code for the transaction. Defaults to USD.
Response
SandboxTransactionsCreateResponse defines the response schema for /sandbox/transactions/create
Response Properties
request_id
A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.