Adyen · JSON Structure

Notifications Close Account Response Structure

CloseAccountResponse schema from Adyen API

Type: object Properties: 5
PaymentsFinancial ServicesFintech

CloseAccountResponse is a JSON Structure definition published by Adyen, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

accountCode invalidFields pspReference resultCode status

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/notifications-close-account-response-structure.json",
  "description": "CloseAccountResponse schema from Adyen API",
  "type": "object",
  "properties": {
    "accountCode": {
      "x-addedInVersion": "5",
      "description": "The account code of the account that is closed.",
      "type": "string"
    },
    "invalidFields": {
      "x-addedInVersion": "5",
      "description": "Contains field validation errors that would prevent requests from being processed.",
      "items": {
        "$ref": "#/components/schemas/ErrorFieldType"
      },
      "type": "array"
    },
    "pspReference": {
      "description": "The reference of a request. Can be used to uniquely identify the request.",
      "type": "string"
    },
    "resultCode": {
      "description": "The result code.",
      "type": "string"
    },
    "status": {
      "x-addedInVersion": "2",
      "description": "The new status of the account.\n>Permitted values: `Active`, `Inactive`, `Suspended`, `Closed`.",
      "enum": [
        "Active",
        "Closed",
        "Inactive",
        "Suspended"
      ],
      "type": "string"
    }
  },
  "name": "CloseAccountResponse"
}