ChargeInfo
This class is used as a common data model to capture payment information and process credit card payments using Magentrix API.
The payment can be processed through Stripe, Authorize.Net or Moneris providers.
Below is a list of Properties of this class:
Properties
| Name | Type | Description |
|---|
| Amount* | decimal | Charge Amount |
| CardCvc* | string | Credit Card's security code (usually the 3 digits in the back of the card) |
| CardNumber* | string | Credit Card number |
| City | string | City of the billing address |
| Country | string | Country of the billing address |
| Currency* | string | 3 character ISO code, e.g: USD or CAD |
| Description | string | Description that goes with the payment |
| Email | string | Email address of the billing contact |
| ExpMonth* | int | Month the card is expiring |
| ExpYear* | int | The year the card is expiring. |
| Invoice | string | A reference number for the payment (only applicable to Auth.net) |
| Firstname* | string | First Name of the billing contact |
| Lastname* | string | Last Name of the billing contact |
| PaymentProfileId | string | |
| Phone | string | Phone number of billing contact |
| State | string | State/Province of the billing address |
| Street1 | string | Street of billing address |
| Street2 | string | Street of billing address |
| Token | string | |
| ZipCode | string | Zip or Postal code of the billing address |