SERVICE_CREDIT_CONTROL_PAYMENT_SUCCESS
{
"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",
"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"
}
},
"required": ["customerId", "username", "email", "title", "firstName", "lastName", "countryCode", "consents", "product", "orderId", "billingAmount", "paymentMethod", "billDate"]
}
Updated 10 months ago