Actions81
- Users Actions
- Organizations Actions
- Representatives Actions
- Bridge Actions
- Platforms Actions
- Tools Actions
- User Invites Actions
- Customers Actions
- Paykeys Actions
- Reports Actions
- Charge Actions
- Funding Events Actions
- Payments Actions
- Payout Actions
- Accounts Actions
- Get Account By Id
- put__v1_accounts_account_id
- Create Account
- get__v1_accounts
- post__v1_accounts_account_id_onboard
- post__v1_accounts_account_id_simulate
- patch__v1_internal_accounts_account_id
- get__v1_internal_accounts_account_id
- patch__v1_internal_accounts_account_id_status
- get__v1_internal_accounts_account_id_settings
- Capability Requests Actions
- Linked Bank Accounts Actions
Overview
This node operation simulates an account status change for a specified account in the "Accounts" resource. It is useful when you want to test or preview how changing the final status of an account (e.g., from onboarding to active) would behave without making permanent changes. For example, a user might simulate activating an account to verify workflows triggered by that status change or debug integration flows before applying real updates.
Properties
| Name | Meaning |
|---|---|
| Account Id | The unique identifier of the account to simulate the status change on. |
| Final Status | The target status to simulate for the account. Options: Onboarding, Active. |
| Request Id | Optional client-generated identifier to trace and debug this specific request. |
| Correlation Id | Optional client-generated identifier to trace and debug a series of related requests. |
Output
The node outputs JSON data representing the result of the simulation request. This typically includes details about the simulated account status and any relevant metadata returned by the API. The output does not include binary data.
Dependencies
- Requires an API key credential for authenticating with the external Straddle API.
- The base URL for API requests is dynamically set based on the configured environment credential.
- The node sends HTTP POST requests to the endpoint
/v1/accounts/{account_id}/simulatewith query parameters and headers as specified by the input properties.
Troubleshooting
- Missing or invalid Account Id: Ensure the Account Id is provided and correctly formatted; otherwise, the API will reject the request.
- Invalid Final Status value: Only "onboarding" or "active" are accepted. Using other values will cause errors.
- Authentication errors: Verify that the API key credential is valid and has appropriate permissions.
- Request tracing: Use the optional Request Id and Correlation Id properties to help debug issues by correlating logs on the API provider side.
- Network or connectivity issues: Confirm network access to the API endpoint and correct environment configuration.
Links and References
- Straddle API Documentation (hypothetical link)
- n8n HTTP Request Node documentation for understanding request routing and headers configuration.