Create an account

post/createAccount

Creates an account under an account holder. An account holder can have multiple accounts.

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

Request Parameters

accountHolderCodestringRequired

The code of Account Holder under which to create the account.

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.

payoutSchedulestring

The payout schedule for the account.

Possible values: DEFAULT, DAILY, DAILY_US, DAILY_EU, DAILY_AU, DAILY_SG, WEEKLY, WEEKLY_ON_TUE_FRI_MIDNIGHT, BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT, MONTHLY, HOLD.

HOLD prevents scheduled payouts, but you can still initiate payouts manually.

payoutScheduleReasonstring

The reason for the payout schedule choice.

This field is required when the payoutSchedule parameter is set to HOLD.

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