InitializeAuthenticationRequest:
  description: A representation of the payment details provided by the consumer for strong authentication of a payment transaction using 3D Secure or equivalent
  type: object
  required:
    - payment_details
  properties:
    payment_details:
      description: The payment details provided by the consumer, generally the entered card details but may be a 3rd party wallet such as MobilePay Online
      $ref: '../../common/payment-details/payment-details_v1.yaml#/PaymentDetails'

InitializeAuthenticationResponse:
  description: A representation of the details required to progress the 3D Secure process for strong consumer authentication
  type: object
  required:
    - version
    - acs_url
    - notification_url
  properties:
    version:
      description: The version of the 3D Secure protocol that is supported by the consumer's payment card
      type: string
      minLength: 3
      maxLength: 7
      example: 2.2.0
    acs_url:
      description: The URL to the Access Control Server (ACS), which will be used to create a fingerprint of the consumer's browser as part of the 3D Secure process for strong consumer authentication (SCA).
      type: string
      format: uri
      minLength: 1
      maxLength: 256
      example: https://secure5.arcot.com/acspage/cap?RID=35325&VAA=B
    request_data:
      description: |-
        The base64 encoded request data that must be sent to the Access Control Server (ACS).
        This needs to be sent to the ACS in the `threeDSMethodData` field for 3D Secure v2 and in the `pareq` field for 3D Secure v1.
      type: string
      example: eNpdU8tymzAU3ecrvMumYz1AgD2yZnDsTpMZx06TRdudLK5skhiIgNjust/Tr+qXVMIm4DDDoHvuOdKZexB/2hqA2SOo2oC4Ggz4AspSbmCQJpPrSELAZKApSOyFkWYaY+brJAq0pzTQa6ewmlX8Hd4aRZDoKMIs8WXiK2/NvIAFDPwwoRrCkV6fFVbzDqZM80yQIR5SjtqybRcyE4xFPmUhoZiGhPkRRw5tGQswaiuzqgUsJNXb9PZeMBpYFUfnsuvvwNzOBKa4fTg6QR0lkzsQ84PcFa/AUVN1TZXXWWWOgmLrpS26dm1exbaqijFC+/1+CKddhrnZII5cs7WOPnvnq9oBZf+wQ5qIxSzed+/8uPj9QO6flb98iiccOUbHT2QF1hlhmODRgARj6o0Z46jBezPaOd/i35+/hH7x7ATOQMconJf4hBLqKH2kN43aGMjUUYxCN4626ghwKPIMrMbm+7HuGYZSCevPfT4m83kQ/ObbRcCqsnHls7V++fVAHoPlnb/9eVMuVz+m8fzrNN5MXOwN6cJHaoMiETkZSbvUOGr3t0e7v7i5A+h8CcQVR5cX5D/FxN2u