HomeGuidesAPIsReleasesDownloadsDeveloperEvents
Log In
Guides
These docs are for v2024.01. Click to read the latest docs for v2024.08.01.

SERVICE_CREDIT_CONTROL_PAYMENT_FAILURE

{
  "type" : "object",
  "properties" : {
    "customerId" : {
      "type" : "string"
    },
    "externalUniqueIdentifier" : {
      "type" : "string"
    },
    "username" : {
      "type" : "string"
    },
    "email" : {
      "type" : "string"
    },
    "title" : {
      "type" : "string"
    },
    "firstName" : {
      "type" : "string"
    },
    "lastName" : {
      "type" : "string"
    },
    "dateOfBirth" : {
      "type" : "string",
      "format" : "date-time"
    },
    "countryCode" : {
      "type" : "string"
    },
    "postCode" : {
      "type" : "string"
    },
    "consents" : {
      "type" : "object",
      "properties" : {
        "contactMethods" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "consentPrefs" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "customAttributes" : {
      "type" : "array",
      "items" : {
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string"
          },
          "value" : {
            "type" : "string"
          }
        }
      }
    },
    "referAFriend" : {
      "type" : "object",
      "properties" : {
        "code" : {
          "type" : "string"
        },
        "active" : {
          "type" : "boolean"
        }
      }
    },
    "product" : {
      "type" : "string"
    },
    "referrerId" : {
      "type" : "string"
    },
    "orderId" : {
      "type" : "number"
    },
    "billingAmount" : {
      "type" : "number"
    },
    "paymentMethod" : {
      "type" : "object",
      "id" : "urn:jsonschema:com:paywizard:services:bbragile:eventstream:model:data:common:paymentmethod:PaymentMethod",
      "properties" : {
        "paymentProvider" : {
          "type" : "string"
        },
        "paymentType" : {
          "type" : "string"
        },
        "maskedPAN" : {
          "type" : "string"
        },
        "expiryDate" : {
          "type" : "string",
          "format" : "date-time"
        }
      }
    },
    "billDate" : {
      "type" : "string",
      "format" : "date-time"
    },
    "minimumTermDuration" : {
      "type" : "integer"
    },
    "minimumTermUnit" : {
      "type" : "string"
    },
    "termEndDate" : {
      "type" : "string",
      "format" : "date-time"
    },
    "failureReason" : {
      "type" : "string"
    }
  },
  "required": ["customerId", "username", "email", "title", "firstName", "lastName", "countryCode", "consents", "product", "orderId", "billingAmount", "paymentMethod", "billDate"]
}