CreatePaymentModel
Payment information for creating an order. Contains credit/debit card details and payment terms. For Finco-shaped orders, card fields (Chaiz.API.Models.CreatePaymentModel.AccountNumber, Chaiz.API.Models.CreatePaymentModel.CreditCardExpirationDateString, Chaiz.API.Models.CreatePaymentModel.CVC, Chaiz.API.Models.CreatePaymentModel.MethodType) may be omitted — the embedded Shift widget collects them on the frontend and the backend never sees them. Chaiz.API.Models.CreatePaymentModel.PaymentOption stays required because it drives plan-side pricing on both paths. Whole-model validation is enforced by !:CreateNewOrderModel.Validate.
- paymentType: string · PaymentOptionenum
Option requiredPayment option (installment plan). Required for both USAePay and Finco-shaped orders. Values: 0 = Monthly Payments, 2 = Pay in Full (one-time payment).
Possible values: Default (0) - Default, Half (1) - Half, Full (2) - Full
values- Default
- Half
- Full
- accountType: string | null
Number min length:13max length:16Format: credit-cardCredit or debit card number (13-16 digits). Required for USAePay-shaped orders; omitted for Finco-shaped orders where the Shift widget collects card data on the FE. For testing, use 4111111111111111 (Visa test card).
- creditType: string | null
Card Expiration Date String Card expiration date in MM/YYYY format. Required for USAePay-shaped orders; omitted for Finco-shaped orders. Must be a valid future date when supplied.
- cvcType: string | nullmin length:3max length:5
Pattern: ^\d+$Card security code (CVV/CVC). 3-5 digits. Required for most USAePay transactions; omitted for Finco-shaped orders.
- methodType: string · PaymentMethodTypeenum
Type Possible values: None (0) - None, VISA (1) - Visa, MASTERCARD (2) - Master Card, AmericanExpress (3) - American Express, Discover (4) - Discover, ACHSavings (5) - ACH Savings, ACHChecking (6) - ACH Checking
values- None
- V
I S A - M
A S T E R C A R D - American
Express - Discover
- A
C H Savings - A
C H Checking