CreditCardPaymentViewModel
Object that contains the payment information for a generic payment record where client can set the payment type. Optional.
| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentDate |
The payment date. |
date |
Required |
| Amount |
The payment amount. If you are creating a recorded payment for a return order, the payment amount should be negative. |
decimal number |
Required |
| Last4CCNumber |
Last 4 digits of the credit card number. Optional. |
string |
None. |
| ExpirationDateMMYY |
Expiration date of the credit card. Use a MMYY format. Optional. |
string |
None. |
| CardHolderName |
Credit card holder name. Optional. |
string |
None. |
| Address1 |
Credit card address 1. Optional. |
string |
None. |
| Address2 |
Credit card address 2. Optional. |
string |
None. |
| City |
Credit card city. Optional. |
string |
None. |
| State |
Credit card city. Optional. |
string |
None. |
| Country |
Credit card country. Optional. |
string |
None. |
| PostalCode |
Credit card postal code. Optional. |
string |
None. |
| AuthorizationCode |
The Authorization Code returned from the processor. This can be used later to process voids or refunds if needed. Optional. |
string |
None. |
| TransactionID |
The transaction ID returned from the processor. This can be used later to process voids or refunds if needed. Optional. |
string |
None. |
| ReferenceNumber |
This is the reference number from the processor. |
string |
None. |
| CreditCardAccountId |
Identifier of the credit card account to associate to this payment record. |
string |
Required |
| CreditCardType |
Credit card type. |
CreditCardType |
None. |
| OrderID |
Order # to apply payment to |
integer |
None. |