Update an account

post/updateAccount

Updates the description or payout schedule of an account.

Endpoint destination URL
https://cal-test.adyen.com/cal/services/Account/v6/updateAccount
Click to copy

Request Parameters

accountCodestringRequired

The code of the account to update.

bankAccountUUIDstring

The bankAccountUUID of the bank account held by the account holder to couple the account with. Scheduled payouts in currencies matching the currency of this bank account will be sent to this bank account. Payouts in different currencies will be sent to a matching bank account of the account holder.

descriptionstring

A description of the account, maximum 256 characters.You can use alphanumeric characters (A-Z, a-z, 0-9), white spaces, and underscores _.

metadataobject

A set of key and value pairs for general use by the merchant. The keys do not have specific names and may be used for storing miscellaneous data as desired.

Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.

payoutMethodCodestring

The payout method code held by the account holder to couple the account with. Scheduled card payouts will be sent using this payout method code.

payoutScheduleobject

The details of the payout schedule to which the account must be updated.

payoutSpeedstring

Speed at which payouts for this account are processed.

Possible values: STANDARD (default), SAME_DAY.

Response parameters

After submitting a call, you receive a response message to inform you that your request was received and processed.

Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.

HTTP Responses

  • 200 - OK

    The request has succeeded.

    Show moreShow less
  • 202 - Accepted

    The request has been accepted for processing, but the processing has not been completed.

    Show moreShow less
  • 400 - Bad Request

    A problem reading or understanding the request.

    Show moreShow less
  • 401 - Unauthorized

    Authentication required.

    Show moreShow less
  • 403 - Forbidden

    Insufficient permissions to process the request.

    Show moreShow less
  • 422 - Unprocessable Entity

    A request validation error.

    Show moreShow less
  • 500 - Internal Server Error

    The server could not process the request.

    Show moreShow less