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 updates an existing account in the Straddle system by sending a PUT request to the endpoint /v1/accounts/{account_id}. It allows users to modify various details of a business account, such as its business profile, metadata, and external identifiers.
Common scenarios where this node is beneficial include:
- Keeping account information up-to-date when business details change.
- Adding or modifying custom metadata for better internal tracking.
- Synchronizing external system identifiers with Straddle accounts.
For example, if a company changes its support email or updates its industry classification, this node can be used to push those changes to Straddle.
Properties
| Name | Meaning |
|---|---|
| Account Id | The unique identifier of the account to update. |
| Request Id | Optional client-generated identifier to trace and debug a specific request. |
| Correlation Id | Optional client-generated identifier to trace and debug a series of related requests. |
| Business Profile | JSON object containing detailed business profile information including address, industry, and support channels. |
| Metadata | JSON object of user-defined key-value pairs for custom metadata associated with the account. |
| External Id | A unique string identifier for the account in your own database, used for cross-referencing purposes. |
Output
The node outputs the JSON response from the Straddle API after updating the account. This typically includes the updated account details reflecting the changes made.
The output json field contains the full account object with properties such as:
- Business profile (address, industry, support channels)
- Metadata key-value pairs
- External ID
- Status and verification details (if applicable)
No binary data output is produced by this node.
Dependencies
- Requires an API authentication token credential configured in n8n to authenticate requests to the Straddle API.
- The base URL for API requests depends on the environment specified in the credentials (e.g., sandbox or production).
- The node uses standard HTTP headers including
Accept: application/jsonandContent-Type: application/json.
Troubleshooting
- Missing or invalid Account Id: Ensure the
Account Idproperty is provided and correctly references an existing account; otherwise, the API will return an error. - Invalid JSON in Business Profile or Metadata: The
Business ProfileandMetadatafields expect valid JSON strings. Malformed JSON will cause parsing errors. - Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- API rate limits or network issues: These may cause request failures; check connectivity and API usage quotas.
- Unexpected API responses: Review the returned error messages for hints on required fields or validation issues.
Links and References
- Straddle API Documentation (for detailed API reference and schema definitions)
- n8n HTTP Request Node Documentation (for understanding how API calls are made within n8n)