Web safe bean for providing information about a CreditCard object Author: Kurt Stauffer Date: 10/24/13 Time: 3:26 PM Modified By: Susan Grey Modified On: 11/21/2017 Added a new field Issuing Bank.
| name | data type | constraints | description |
|---|---|---|---|
| id | number | ||
| clientId | number | ||
| number | string | ||
| expireDate | number | ||
| cvc | string | ||
| type | string | ||
| bank | string | ||
| name | string | ||
| title | string | ||
| phone | string | ||
| string | |||
| ghostCard | boolean | required boolean | |
| cardFront | string | ||
| cardBack | string | ||
| signature | boolean | required boolean | |
| payType | ServiceFeePayType | ||
| address1 | string | ||
| address2 | string | ||
| zip | string | ||
| city | string | ||
| region | Region |
Example
{
"id" : 12345,
"clientId" : 12345,
"number" : "...",
"expireDate" : 12345,
"cvc" : "...",
"type" : "...",
"bank" : "...",
"name" : "...",
"title" : "...",
"phone" : "...",
"email" : "...",
"ghostCard" : true,
"cardFront" : "...",
"cardBack" : "...",
"signature" : true,
"payType" : {
"code" : "...",
"name" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"address1" : "...",
"address2" : "...",
"zip" : "...",
"city" : "...",
"region" : {
"name" : "...",
"code" : "...",
"country" : {
"name" : "...",
"code" : "...",
"codeAlt" : "...",
"phoneCode" : 12345,
"position" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"position" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}
}