Customer

Customer associated with the checkout session. id is required. Other fields are optional values that checkout can use when present or collect when missing.

  • id
    Type: string
    min length:  
    3
    max length:  
    255
    required

    Your customer identifier

  • dateOfBirth
    Type: stringFormat: date nullable

    Optional value. Checkout can collect this when required by the selected method.

  • email
    Type: stringFormat: email nullable

    Optional value. Checkout can collect this when required by the selected method.

  • firstName
    Type: string nullable

    Optional value. Checkout can collect this when required by the selected method.

  • ip
    Type: string nullable

    Customer IP address

  • lastName
    Type: string nullable

    Optional value. Checkout can collect this when required by the selected method.

  • nationality
    Type: string Pattern: ^[A-Z]{2}$ nullable

    Optional ISO 3166-1 alpha-2 value. Checkout can collect this when required by the selected method.

  • phone
    Type: string nullable

    Optional value in E.164 format. Checkout can collect this when required by the selected method. MB WAY can also use this value.