Skip to main content

Update an Account

PUT 

/v2/accounts/:accountID

Update the information contained on an account.

Request

Path Parameters

    accountID stringrequired

    The ID of the account you want to retrieve.

Body

    data object
    oneOf
    type stringrequired

    Default value: account

    Specifies the the type of object. Set this value to account.

    name stringrequired

    Specifies the name of the account.

    legal_name stringrequired

    Specifies the legal name of the account.

    registration_id string

    Specifies the registration ID. If specified, this field is checked for uniqueness.

    external_ref string

    The unique attribute associated with the account. For example, this could be an external reference from a separate company system. The maximum length is 2048 characters. Default is null.

Responses

OK

Schema
    data
    id string

    The unique identifier for an Account.

    type string

    Default value: account

    The type of the object returned. Always use account.

    name string

    The name of the account.

    legal_name string

    The legal name of the account.

    registration_id string

    The registration ID of the account. The maximum character limit for this field is 63.

    external_ref string

    The optional external ID reference. For example, this could be an external reference from a separate company system. The maximum length is 2048 characters. Default is null.

    meta object
    timestamps object
    created_at date-time

    The date the account is created.

    updated_at date-time

    The date the account is last updated.

    links object
    self uri

    A URL to the specific resource.

Loading...