PaymentConnection:
  description: |
    A representation of the details required to establish a connection to the upstream 3rd party provider, such as Apple Pay, Google Pay or MobilePay Online, to authorize the payment for the payment transaction
  type: object
  required:
    - action
  properties:
    action:
      description: |
        Specifies the action required for authorizing the payment for the payment transaction through the upstream 3rd party provider
      $ref: 'initialization-action_v1.yaml#/INITIALIZATION_ACTION'
    url:
      description: |
        The URL to which the payment data must be sent
      $ref: '../../common/url/url_v1.yaml#/URL'
    method:
      description: |
        Specifies how to send the payment data to the url specified by `url`
      $ref: 'url-method_v1.yaml#/URL_METHOD'
    content_type:
      description: |
        The format for any payment data required by the url specified by `url`
      $ref: '../../common/url/content-type_v1.yaml#/CONTENT_TYPE'
    data:
      description: |
        Set of key-value pairs that must be sent to the url specified by `url` in accordance with the format specified by the content type.
      type: string
      additionalProperties:
        type: string