CreatePaymentModel

Payment information for creating an order. Contains credit/debit card details and payment terms.

  • accountNumber
    Type: string
    min length:  
    13
    max length:  
    16
    Format: credit-card
    required

    Credit or debit card number (13-16 digits). Required. For testing, use 4111111111111111 (Visa test card).

  • creditCardExpirationDateString
    Type: string
    required

    Card expiration date in MM/YYYY format. Required. Must be a valid future date.

  • methodType
    Type: string · PaymentMethodTypeenum
    required

    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
    • VISA
    • MASTERCARD
    • AmericanExpress
    • Discover
    • ACHSavings
    • ACHChecking
  • paymentOption
    Type: string · PaymentOptionenum
    required

    Possible values: Default (0) - Default, Half (1) - Half, Full (2) - Full

    values
    • Default
    • Half
    • Full
  • cvc
    Type: string | null
    min length:  
    3
    max length:  
    5
    Pattern: ^\d+$

    Card security code (CVV/CVC). 3-5 digits. Required for most transactions.