Accounts

Close an account

Changed on

Closes an account. If an account is closed, you cannot process transactions, pay out its funds, or reopen it. If payments are made to a closed account, the payments are sent to your liable account.

post/closeAccount

Request

  • Base URL
    https://cal-test.adyen.com/cal/services/Account/v5
  • URL
    https://cal-test.adyen.com/cal/services/Account/v5/closeAccount
  • Auth
    • HTTP basic
    • or API key in header X-API-Key

Request body

accountCodestring required

The code of account to be closed.

Response

OK - the request has succeeded.

accountCodestring

The account code of the account that is closed.

pspReferencestring

The reference of a request. Can be used to uniquely identify the request.

resultCodestring

The result code.

status'Active' | 'Closed' | 'Inactive' | 'Suspended'

The new status of the account.

Permitted values: Active, Inactive, Suspended, Closed.

Changes

    • warning

      added the new linkedViasVirtualAccount enum value to the /// response property for the response status

    • warning

      added the new linkedViasVirtualAccount enum value to the /// response property for the response status

    • warning

      added the new payoutMethod enum value to the /// response property for the response status

    • warning

      added the new payoutMethod enum value to the /// response property for the response status