Name | Description | Type | Additional information | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WorkOrderId |
Represents the Id of the work order to attach a successful payment to |
integer |
Minimum value: 1 |
||||||||||||||||||||||||||
CompanyId |
Represents the Id of the company the payment will be placed for. |
integer |
Required Minimum value: 1 |
||||||||||||||||||||||||||
ExpiryDate |
Expiration date of the credit card. Only month and year are used. |
date |
Required |
||||||||||||||||||||||||||
BillingAddress |
The billing address of the credit card being validated.
|
Address |
Required |
||||||||||||||||||||||||||
CardHolderName |
The name on the card. |
string |
Required String length: inclusive between 1 and 30 |
||||||||||||||||||||||||||
CardNumber |
The account number on the credit card. Must be a valid AMEX, Visa, MC, or Discover account number |
string |
Required |
||||||||||||||||||||||||||
Cvv2 |
The CVV2 code for the credit card.
|
string |
Required String length: inclusive between 1 and 4 |
||||||||||||||||||||||||||
PhoneNumber |
PhoneNumber associated with the credit card |
string |
Required Must be an acceptably formed phone number String length: inclusive between 0 and 14 |
||||||||||||||||||||||||||
PhoneType |
Type of phone number provided |
PhoneType |
Required |
||||||||||||||||||||||||||
EmailAddress |
Email address of the person responsible for the credit card. |
string |
Required String length: inclusive between 0 and 30 |
||||||||||||||||||||||||||
CurrencyCode |
What currency to make the charge in. |
string |
Required |
||||||||||||||||||||||||||
Username |
Name of user authorizing the charge |
string |
Required String length: inclusive between 1 and 100 |
||||||||||||||||||||||||||
ChargeAmountNatural |
Amount to charge on the card in CurrencyCode currency. |
decimal number |
Required Range: inclusive between 0.01 and 999999.99 |
||||||||||||||||||||||||||
SecurityKey |
Security key for this transaction. Base64 encoding of the MD5 hash of "UserName:PrivateKey:MMddyyyy" in UTF8.
"WEB-API-USER:WEB-API-SECRET:08092017" would result in "YnQXrdS22L03ftjKHaExBg==" for a SecurityKey. |
string |
Required |