Accounts

Update an account

Changed on

Updates an existing account's information. This endpoint allows you to update various account details during onboarding or after the account has been created.

put/v1/accounts/{account_id}

Request

  • Base URL
    https://sandbox.straddle.com
  • URL
    https://sandbox.straddle.com/v1/accounts/{account_id}
  • Auth
    HTTP bearer

Path parameters

account_idstring uuid required

Headers

request-idstring

Optional client generated identifier to trace and debug a request.

correlation-idstring

Optional client generated identifier to trace and debug a series of requests.

idempotency-keystring

Optional client generated value to use for idempotent requests.

Request body

metadataobject nullable

Up to 20 additional user-defined key-value pairs. Useful for storing additional information about the account in a structured format.

external_idstring nullable

Unique identifier for the account in your database, used for cross-referencing between Straddle and your systems.

Response

OK

response_type'object' | 'array' | 'error' | 'none' required

Indicates the structure of the returned content.

  • "object" means the data field contains a single JSON object.
  • "array" means the data field contains an array of objects.
  • "error" means the data field contains an error object with details of the issue.
  • "none" means no data is returned.

Changes

    • breaking

      removed the required property /// from the response with the status (media type: text/plain)

    • breaking

      removed the required property /// from the response with the status (media type: application/json)

    • breaking

      removed the required property /// from the response with the status (media type: text/json)

    • breaking

      removed the required property /// from the response with the status (media type: text/plain)

    • breaking

      removed the required property /// from the response with the status (media type: application/json)

    • breaking

      removed the required property /// from the response with the status (media type: text/json)

    • warning

      removed the request property // (media type: application/json)

    • warning

      removed the request property // (media type: text/json)

    • warning

      removed the request property // (media type: application/*+json)

    • warning

      removed the request property // (media type: application/json)

    • warning

      removed the request property // (media type: text/json)

    • warning

      removed the request property // (media type: application/*+json)

    • warning

      removed the request property // (media type: application/json)

    • warning

      removed the request property // (media type: text/json)

    • warning

      removed the request property // (media type: application/*+json)

    • warning

      removed the optional property /// from the response with the status (media type: text/plain)

    • warning

      removed the optional property /// from the response with the status (media type: application/json)

    • warning

      removed the optional property /// from the response with the status (media type: text/json)

    • breaking

      added the new required request property // (media type: application/json)

    • breaking

      added the new required request property // (media type: text/json)

    • breaking

      added the new required request property // (media type: application/*+json)

    • breaking

      added the new required request property // (media type: application/json)

    • breaking

      added the new required request property // (media type: text/json)

    • breaking

      added the new required request property // (media type: application/*+json)

    • info

      added the new optional request property // (media type: application/json)

    • info

      added the new optional request property // (media type: text/json)

    • info

      added the new optional request property // (media type: application/*+json)

    • info

      added the optional property /// to the response with the status (media type: text/plain)

    • info

      added the optional property /// to the response with the status (media type: application/json)

    • info

      added the optional property /// to the response with the status (media type: text/json)

    • info

      added the required property /// to the response with the status (media type: text/plain)

    • info

      added the required property /// to the response with the status (media type: application/json)

    • info

      added the required property /// to the response with the status (media type: text/json)

    • info

      added the required property /// to the response with the status (media type: text/plain)

    • info

      added the required property /// to the response with the status (media type: application/json)

    • info

      added the required property /// to the response with the status (media type: text/json)