openapi: 3.2.0
info:
  title: Orders
  description: An order represents a payment between two or more parties. Use the
    Orders API to create, update, retrieve, authorize, and capture orders.
  version: "2.36"
servers:
  - url: https://api-m.sandbox.paypal.com
    description: PayPal API Sandbox
tags:
  - name: externalcallback
    description: PayPal will use the callback url defined in the create order
      request to send merchants shipping address and shipping options data while
      the buyer is in the PayPal checkout.
  - name: orders
    description: Use the `/orders` resource to create, update, retrieve, authorize,
      capture and track orders.
  - name: trackers
    description: Use the `/trackers` resource to update and retrieve tracking
      information for PayPal orders.
  - name: certs
    description: Use the `/certs` resource to retrieve the public certificates
      needed to verify PayPal callback request signatures.
externalDocs:
  url: ../doc/USERGUIDE.md
paths:
  /v2/checkout/orders:
    post:
      operationId: orders.create
      summary: Create order
      description: Creates an order. Merchants and partners can add Level 2 and 3 data
        to payments to reduce risk and payment processing costs. For more
        information about processing payments, see <a
        href="https://developer.paypal.com/docs/checkout/advanced/processing/">checkout</a>
        or <a
        href="https://developer.paypal.com/docs/multiparty/checkout/advanced/processing/">multiparty
        checkout</a>.<blockquote><strong>Note:</strong> For error handling and
        troubleshooting, see <a
        href="https://developer.paypal.com/api/rest/reference/orders/v2/errors/#create-order">Orders
        v2 errors</a>.</blockquote>
      tags:
        - orders
      security:
        - Oauth2:
            - https://uri.paypal.com/services/payments/payment
            - https://uri.paypal.com/services/payments/orders/deprecating-jssdk-migration-for-limited-merchants
      parameters:
        - $ref: "#/components/parameters/paypal_request_id"
        - name: PayPal-Partner-Attribution-Id
          description: PayPal Partner can send a PayPal-Partner-Attribution-Id request
            header with the value that they have been assigned by the PayPal
            Partner program. This value is known as a BN Code. In order to
            reward such partners (through partner programs), all the activities
            (including API calls) that they are doing on behalf of the merchants
            need to be tracked.
          in: header
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 36
            pattern: ^[\S\s]*$
        - $ref: "#/components/parameters/paypal_client_metadata_id"
        - name: Prefer
          description: The preferred server response upon successful completion of the
            request. Value is:<ul><li><code>return=minimal</code>. The server
            returns a minimal response to optimize communication between the API
            caller and the server. A minimal response includes the
            <code>id</code>, <code>status</code> and HATEOAS
            links.</li><li><code>return=representation</code>. The server
            returns a complete resource representation, including the current
            state of the resource.</li></ul>
          in: header
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 25
            pattern: ^[a-zA-Z=,-]*$
            default: return=minimal
          examples:
            samples_orders_create_samples_orders_create_orders_with_shipping_type_pickup_in_store:
              summary: Create Order - Buy Online Pickup In Store Shipping Type
              description: Creates an order with minimal parameters and contains the Buy
                Online Pickup in Store-related fields.
              value: return=representation
            samples_orders_create_create_orders_with_venmo_app_switch_pickup_in_store:
              summary: Create Order - Buy Online Pickup In Store Shipping Type
              description: Creates an order with venmo payment source and contains the Buy
                Online Pickup in Store-related fields.
              value: return=representation
        - $ref: "#/components/parameters/authorization"
        - $ref: "#/components/parameters/paypal_auth_assertion"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/order_request"
            examples:
              samples_orders_create_samples_orders_create_00_orders_create:
                summary: Create Order - PayPal Wallet as Payment Source, Resulting in
                  PAYER_ACTION_REQUIRED Response
                description: Creates a new order. API caller receives payer-action link.
                value:
                  intent: CAPTURE
                  payment_source:
                    paypal:
                      experience_context:
                        payment_method_preference: IMMEDIATE_PAYMENT_REQUIRED
                        landing_page: LOGIN
                        shipping_preference: GET_FROM_FILE
                        user_action: PAY_NOW
                        return_url: https://example.com/returnUrl
                        cancel_url: https://example.com/cancelUrl
                  purchase_units:
                    - invoice_id: "90210"
                      amount:
                        currency_code: USD
                        value: "230.00"
                        breakdown:
                          item_total:
                            currency_code: USD
                            value: "220.00"
                          shipping:
                            currency_code: USD
                            value: "10.00"
                      items:
                        - name: T-Shirt
                          description: Super Fresh Shirt
                          unit_amount:
                            currency_code: USD
                            value: "20.00"
                          quantity: "1"
                          category: PHYSICAL_GOODS
                          sku: sku01
                          image_url: https://example.com/static/images/items/1/tshirt_green.jpg
                          url: https://example.com/url-to-the-item-being-purchased-1
                          upc:
                            type: UPC-A
                            code: "123456789012"
                        - name: Shoes
                          description: Running, Size 10.5
                          sku: sku02
                          unit_amount:
                            currency_code: USD
                            value: "100.00"
                          quantity: "2"
                          category: PHYSICAL_GOODS
                          image_url: https://example.com/static/images/items/1/shoes_running.jpg
                          url: https://example.com/url-to-the-item-being-purchased-2
                          upc:
                            type: UPC-A
                            code: "987654321012"
              error_samples_orders_create_error_samples_orders_create_422_unprocessable_entity_missing_pickup_address:
                summary: Create Order - 422 Unprocessable Entity Error - Missing Pickup Address
                description: "This code sample attempts to create an order but the shipping
                  address is required and `shipping.type` is set to
                  PICKUP_FROM_PERSON "
                value:
                  intent: AUTHORIZE
                  payment_source:
                    paypal:
                      experience_context:
                        return_url: https://www.example.com/returnURL
                        cancel_url: https://www.example.com/cancelURL
                        shipping_preference: SET_PROVIDED_ADDRESS
                  purchase_units:
                    - reference_id: PUHF
                      amount:
                        currency_code: USD
                        value: "100.00"
                      shipping:
                        type: PICKUP_FROM_PERSON
              samples_orders_create_samples_orders_create_authorize_single_step_paypal_with_vault_id_and_stored_credentials_usage_pattern:
                summary: Create and authorize an order for a PayPal wallet vaulted account
                  holder passing a usage pattern indicator using stored
                  credentials (Single Shot).
                description: Creates an order and authorizes payment with a PayPal wallet vault
                  id as the payment source and a usage pattern (billing
                  indicator) RECURRING_PREPAID passed using stored credentials.
                value:
                  intent: AUTHORIZE
                  purchase_units:
                    - amount:
                        currency_code: USD
                        value: "100.00"
                  payment_source:
                    paypal:
                      vault_id: 2w915838hr181240m
                      stored_credential:
                        payment_initiator: MERCHANT
                        usage: SUBSEQUENT
                        usage_pattern: RECURRING_PREPAID
              samples_orders_create_samples_orders_create_orders_with_shipping_type_pickup_in_store:
                summary: Create Order - Buy Online Pickup In Store Shipping Type
                description: Creates an order with minimal parameters and contains the Buy
                  Online Pickup in Store-related fields.
                value:
                  intent: AUTHORIZE
                  purchase_units:
                    - reference_id: PUHF
                      amount:
                        currency_code: USD
                        value: "50.00"
                      payee:
                        email_address: merchant@example.com
                      shipping:
                        address:
                          address_line_1: 123 Townsend St
                          address_line_2: Floor 6
                          admin_area_2: San Francisco
                          admin_area_1: CA
                          postal_code: "94107"
                          country_code: US
                        type: PICKUP_IN_STORE
              samples_orders_create_samples_orders_create_simple:
                summary: Create Order - Minimal Request and Response
                description: Creates an order with only required parameters. By default, uses
                  the minimal representation.
                value:
                  intent: CAPTURE
                  purchase_units:
                    - amount:
                        currency_code: USD
                        value: "100.00"
              samples_orders_create_create_orders_with_venmo_app_switch_pickup_in_store:
                summary: Create Order - Buy Online Pickup In Store Shipping Type
                description: Creates an order with venmo payment source and contains the Buy
                  Online Pickup in Store-related fields.
                value:
                  intent: AUTHORIZE
                  purchase_units:
                    - reference_id: PUHF
                      amount:
                        currency_code: USD
                        value: "50.00"
                      payee:
                        email_address: merchant@example.com
                      shipping:
                        address:
                          address_line_1: 123 Townsend St
                          address_line_2: Floor 6
                          admin_area_2: San Francisco
                          admin_area_1: CA
                          postal_code: "94107"
                          country_code: US
                        type: PICKUP_IN_STORE
              samples_orders_create_orders_create_authorize_paypal_wallet_app_switch_with_return_cancel_app_url:
                summary: Create and Authorize an order with PayPal Wallet and App Switch with
                  return, cancel and fallback app URLs
                description: Creates a new order and authorizes the payment using PayPal wallet
                  with App Switch. Merchant provides separate return_app_url and
                  cancel_app_url for native app redirection, which PayPal uses
                  as-is without appending /success or /cancel.
                value:
                  intent: AUTHORIZE
                  purchase_units:
                    - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                      amount:
                        currency_code: USD
                        value: "100.00"
                  payment_source:
                    paypal:
                      email_address: customer@example.com
                      experience_context:
                        payment_method_preference: IMMEDIATE_PAYMENT_REQUIRED
                        brand_name: EXAMPLE INC
                        locale: en-US
                        landing_page: LOGIN
                        user_action: PAY_NOW
                        return_url: https://example.com/returnUrl
                        cancel_url: https://example.com/cancelUrl
                        app_switch_context:
                          native_app:
                            return_app_url: https://example.com/merchant_app/return
                            cancel_app_url: https://example.com/merchant_app/cancel
                            os_type: IOS
                            os_version: 17.3.1
              samples_orders_create_orders_create_paypal_wallet_app_switch_android_low_ram_device_blocked:
                summary: Create and Authorize an order with PayPal Wallet where App Switch is
                  Ineligible on a Low RAM Android Device
                description: Creates a new order with PayPal Wallet App Switch on a low RAM
                  Android device (Samsung Galaxy A16 5G, SM-A166U, 4 GB total
                  RAM). The merchant passes device metadata in device_info
                  within app_switch_context. XOOS evaluates the device against
                  the Elmo RAM threshold (default 400 MB) and model blocklist
                  (SM-A166 prefix). The device fails both checks — available RAM
                  is below the threshold and the model prefix is on the
                  blocklist — so app_switch_eligibility is returned as false.
                  The merchant must fall back to browser-based checkout using
                  the returned payer-action URL.
                value:
                  intent: AUTHORIZE
                  purchase_units:
                    - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                      amount:
                        currency_code: USD
                        value: "100.00"
                  payment_source:
                    paypal:
                      email_address: customer@example.com
                      experience_context:
                        payment_method_preference: IMMEDIATE_PAYMENT_REQUIRED
                        brand_name: EXAMPLE INC
                        locale: en-US
                        landing_page: LOGIN
                        user_action: PAY_NOW
                        return_url: https://example.com/returnUrl
                        cancel_url: https://example.com/cancelUrl
                        app_switch_context:
                          native_app:
                            return_app_url: https://example.com/merchant_app/return
                            cancel_app_url: https://example.com/merchant_app/cancel
                            os_type: ANDROID
                            os_version: "14"
      responses:
        "200":
          description: A successful response to an idempotent request returns the HTTP
            `200 OK` status code with a JSON response body that shows order
            details.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order"
              examples:
                samples_orders_create_samples_orders_create_00_orders_create:
                  summary: Create Order - PayPal Wallet as Payment Source, Resulting in
                    PAYER_ACTION_REQUIRED Response
                  description: Creates a new order. API caller receives payer-action link.
                  value:
                    id: 5O190127TN364715T
                    status: PAYER_ACTION_REQUIRED
                    payment_source:
                      paypal: {}
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
                      - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
                        rel: payer-action
                        method: GET
                samples_orders_create_orders_create_authorize_paypal_wallet_app_switch_with_return_cancel_app_url:
                  summary: Create and Authorize an order with PayPal Wallet and App Switch with
                    return, cancel and fallback app URLs
                  description: Creates a new order and authorizes the payment using PayPal wallet
                    with App Switch. Merchant provides separate return_app_url
                    and cancel_app_url for native app redirection, which PayPal
                    uses as-is without appending /success or /cancel.
                  value:
                    id: 5O190127TN364715T
                    status: PAYER_ACTION_REQUIRED
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
                      - href: https://www.paypal.com/app-switch-checkout?token=5O190127TN364715T
                        rel: payer-action
                        method: GET
                samples_orders_create_orders_create_paypal_wallet_app_switch_android_low_ram_device_blocked:
                  summary: Create and Authorize an order with PayPal Wallet where App Switch is
                    Ineligible on a Low RAM Android Device
                  description: Creates a new order with PayPal Wallet App Switch on a low RAM
                    Android device (Samsung Galaxy A16 5G, SM-A166U, 4 GB total
                    RAM). The merchant passes device metadata in device_info
                    within app_switch_context. XOOS evaluates the device against
                    the Elmo RAM threshold (default 400 MB) and model blocklist
                    (SM-A166 prefix). The device fails both checks — available
                    RAM is below the threshold and the model prefix is on the
                    blocklist — so app_switch_eligibility is returned as false.
                    The merchant must fall back to browser-based checkout using
                    the returned payer-action URL.
                  value:
                    id: 5O190127TN364715T
                    status: PAYER_ACTION_REQUIRED
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
                      - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
                        rel: payer-action
                        method: GET
        "201":
          description: 'A successful request returns the HTTP `201 Created` status code
            and a JSON response body that includes by default a minimal response
            with the ID, status, and HATEOAS links. If you require the complete
            order resource representation, you must pass the <a
            href="https://developer.paypal.com/docs/api/orders/v2/#orders-create-header-parameters"><code>Prefer:
            return=representation</code> request header</a>. This header value
            is not the default.'
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order"
              examples:
                samples_orders_create_samples_orders_create_authorize_single_step_paypal_with_vault_id_and_stored_credentials_usage_pattern:
                  summary: Create and authorize an order for a PayPal wallet vaulted account
                    holder passing a usage pattern indicator using stored
                    credentials (Single Shot).
                  description: Creates an order and authorizes payment with a PayPal wallet vault
                    id as the payment source and a usage pattern (billing
                    indicator) RECURRING_PREPAID passed using stored
                    credentials.
                  value:
                    id: 8K832279M55989614
                    intent: AUTHORIZE
                    status: COMPLETED
                    payment_source:
                      paypal:
                        email_address: buyer@paypal.com
                        account_id: XQHSN372NGSP2
                        account_status: UNVERIFIED
                        name:
                          given_name: Tom
                          surname: Business
                        phone_number:
                          national_number: "8127081430"
                        address:
                          country_code: US
                        stored_credential:
                          payment_initiator: MERCHANT
                          usage: SUBSEQUENT
                          usage_pattern: RECURRING_PREPAID
                    purchase_units:
                      - reference_id: default
                        amount:
                          currency_code: USD
                          value: "100.00"
                        payee:
                          email_address: seller@paypal.com
                          merchant_id: Q7C9N6S4YRQXG
                        shipping:
                          name:
                            full_name: Tom Business
                          address:
                            address_line_1: 123 Fake St.
                            admin_area_2: Baton Rouge
                            admin_area_1: LA
                            postal_code: "70802"
                            country_code: US
                        payments:
                          authorizations:
                            - status: CREATED
                              id: 7X550106NA4440028
                              amount:
                                currency_code: USD
                                value: "100.00"
                              seller_protection:
                                status: ELIGIBLE
                                dispute_categories:
                                  - UNAUTHORIZED_TRANSACTION
                              expiration_time: 2024-06-05T18:46:54Z
                              links:
                                - href: https://api-m.paypal.com/v2/payments/authorizations/7X550106NA4440028
                                  rel: self
                                  method: GET
                                - href: https://api-m.paypal.com/v2/payments/authorizations/7X550106NA4440028/capture
                                  rel: capture
                                  method: POST
                                - href: https://api-m.paypal.com/v2/payments/authorizations/7X550106NA4440028/void
                                  rel: void
                                  method: POST
                                - href: https://api-m.paypal.com/v2/checkout/orders/8K832279M55989614
                                  rel: up
                                  method: GET
                              create_time: 2024-05-07T18:46:54Z
                              update_time: 2024-05-07T18:46:54Z
                    payer:
                      name:
                        given_name: Tom
                        surname: Business
                      email_address: buyer@paypal.com
                      payer_id: XQHSN372NGSP2
                      phone:
                        phone_number:
                          national_number: "8127081430"
                      address:
                        country_code: US
                    create_time: 2024-05-07T18:46:15Z
                    update_time: 2024-05-07T18:46:54Z
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/8K832279M55989614
                        rel: self
                        method: GET
                samples_orders_create_samples_orders_create_orders_with_shipping_type_pickup_in_store:
                  summary: Create Order - Buy Online Pickup In Store Shipping Type
                  description: Creates an order with minimal parameters and contains the Buy
                    Online Pickup in Store-related fields.
                  value:
                    id: 4SP74185RW2405200
                    intent: AUTHORIZE
                    purchase_units:
                      - reference_id: PUHF
                        amount:
                          currency_code: USD
                          value: "50.00"
                        payee:
                          email_address: merchant@example.com
                        shipping:
                          address:
                            address_line_1: 123 Townsend St
                            address_line_2: Floor 6
                            admin_area_2: San Francisco
                            admin_area_1: CA
                            postal_code: "94107"
                            country_code: US
                          type: PICKUP_IN_STORE
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200
                        rel: self
                        method: GET
                      - href: https://www.paypal.com/checkoutnow?token=4SP74185RW2405200
                        rel: approve
                        method: GET
                      - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200
                        rel: edit
                        method: PATCH
                      - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200/authorize
                        rel: authorize
                        method: POST
                    status: CREATED
                samples_orders_create_samples_orders_create_simple:
                  summary: Create Order - Minimal Request and Response
                  description: Creates an order with only required parameters. By default, uses
                    the minimal representation.
                  value:
                    id: 5O190127TN364715T
                    status: CREATED
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
                      - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
                        rel: approve
                        method: GET
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: edit
                        method: PATCH
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T/capture
                        rel: capture
                        method: POST
                samples_orders_create_create_orders_with_venmo_app_switch_pickup_in_store:
                  summary: Create Order - Buy Online Pickup In Store Shipping Type
                  description: Creates an order with venmo payment source and contains the Buy
                    Online Pickup in Store-related fields.
                  value:
                    id: 4SP74185RW2405200
                    intent: AUTHORIZE
                    purchase_units:
                      - reference_id: PUHF
                        amount:
                          currency_code: USD
                          value: "50.00"
                        payee:
                          email_address: merchant@example.com
                        shipping:
                          address:
                            address_line_1: 123 Townsend St
                            address_line_2: Floor 6
                            admin_area_2: San Francisco
                            admin_area_1: CA
                            postal_code: "94107"
                            country_code: US
                          type: PICKUP_IN_STORE
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200
                        rel: self
                        method: GET
                      - href: https://www.paypal.com/checkoutnow?token=4SP74185RW2405200
                        rel: approve
                        method: GET
                      - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200
                        rel: edit
                        method: PATCH
                      - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200/authorize
                        rel: authorize
                        method: POST
                    status: CREATED
        "202":
          description: The request has been accepted for processing, but the processing
            has not been completed yet. The server returns the HTTP `202
            Accepted` status code to indicate that the request is valid and will
            be handled asynchronously.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order"
        "400":
          description: Request is not well-formed, syntactically incorrect, or violates
            schema.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_orders_create_error_samples_orders_create_400_bad_request:
                  summary: Create Order - 400 Bad Request Error - Purchase Unit is Empty
                  description: This code sample attempts to create an order with empty purchase
                    units. The request fails.
                  value:
                    name: INVALID_REQUEST
                    message: Request is not well-formed, syntactically incorrect, or violates
                      schema.
                    debug_id: 10398537340c8
                    details:
                      - field: /purchase_units
                        value: "[]"
                        location: body
                        issue: INVALID_ARRAY_MIN_ITEMS
                        description: The number of items in an array parameter is too small.
                    links:
                      - href: https://developer.paypal.com/api/orders/v2/#error-INVALID_ARRAY_MIN_ITEMS
                        rel: information_link
        "401":
          $ref: "#/components/responses/401_error_response"
        "403":
          $ref: "#/components/responses/403_error_response"
        "422":
          description: The requested action could not be performed, semantically
            incorrect, or failed business validation.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_orders_create_error_samples_orders_create_422_unprocessable_entity_missing_pickup_address:
                  summary: Create Order - 422 Unprocessable Entity Error - Missing Pickup Address
                  description: "This code sample attempts to create an order but the shipping
                    address is required and `shipping.type` is set to
                    PICKUP_FROM_PERSON "
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - field: /purchase_units/@reference_id=='PUHF'/shipping/address
                        issue: MISSING_SHIPPING_ADDRESS
                        description: The shipping address is required when
                          `shipping_preference=SET_PROVIDED_ADDRESS`.
                    message: The requested action could not be performed, semantically incorrect, or
                      failed business validation.
                    debug_id: f200264a4e02a
                    links:
                      - href: https://developer.paypal.com/api/rest/reference/orders/v2/errors/#MISSING_SHIPPING_ADDRESS
                        rel: information_link
                        method: GET
        "500":
          $ref: "#/components/responses/500_error_response"
        default:
          $ref: "#/components/responses/default_response"
      x-exampleFlows:
        - title: Create Order - PayPal Wallet as Payment Source, Resulting in
            PAYER_ACTION_REQUIRED Response
          description: Creates a new order. API caller receives payer-action link.
          parameter_examples:
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_create_samples_orders_create_00_orders_create
          response_example: responses/200/content/application~1json/examples/samples_orders_create_samples_orders_create_00_orders_create
        - title: Create and authorize an order for a PayPal wallet vaulted account holder
            passing a usage pattern indicator using stored credentials (Single
            Shot).
          description: Creates an order and authorizes payment with a PayPal wallet vault
            id as the payment source and a usage pattern (billing indicator)
            RECURRING_PREPAID passed using stored credentials.
          parameter_examples:
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_create_samples_orders_create_authorize_single_step_paypal_with_vault_id_and_stored_credentials_usage_pattern
          response_example: responses/201/content/application~1json/examples/samples_orders_create_samples_orders_create_authorize_single_step_paypal_with_vault_id_and_stored_credentials_usage_pattern
        - title: Create Order - Minimal Request and Response
          description: Creates an order with only required parameters. By default, uses
            the minimal representation.
          parameter_examples:
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_create_samples_orders_create_simple
          response_example: responses/201/content/application~1json/examples/samples_orders_create_samples_orders_create_simple
        - title: Create Order - Buy Online Pickup In Store Shipping Type
          description: Creates an order with minimal parameters and contains the Buy
            Online Pickup in Store-related fields.
          parameter_examples:
            - parameters/@name=='Authorization'/examples/bearer
            - parameters/@name=='Prefer'/examples/samples_orders_create_samples_orders_create_orders_with_shipping_type_pickup_in_store
          request_body_example: requestBody/content/application~1json/examples/samples_orders_create_samples_orders_create_orders_with_shipping_type_pickup_in_store
          response_example: responses/201/content/application~1json/examples/samples_orders_create_samples_orders_create_orders_with_shipping_type_pickup_in_store
        - title: Create Order - 400 Bad Request Error - Purchase Unit is Empty
          description: This code sample attempts to create an order with empty purchase
            units. The request fails.
          parameter_examples:
            - parameters/@name=='Authorization'/examples/bearer
            - parameters/@name=='Prefer'/examples/samples_orders_create_samples_orders_create_order_mixed_cart_with_shipping_options_bwp_unknown_status
          response_example: responses/400/content/application~1json/examples/error_samples_orders_create_error_samples_orders_create_400_bad_request
        - title: Create Order - 422 Unprocessable Entity Error - Missing Pickup Address
          description: "This code sample attempts to create an order but the shipping
            address is required and `shipping.type` is set to PICKUP_FROM_PERSON
            "
          parameter_examples:
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/error_samples_orders_create_error_samples_orders_create_422_unprocessable_entity_missing_pickup_address
          response_example: responses/422/content/application~1json/examples/error_samples_orders_create_error_samples_orders_create_422_unprocessable_entity_missing_pickup_address
        - title: Create Order - Buy Online Pickup In Store Shipping Type
          description: Creates an order with venmo payment source and contains the Buy
            Online Pickup in Store-related fields.
          parameter_examples:
            - parameters/@name=='Prefer'/examples/samples_orders_create_create_orders_with_venmo_app_switch_pickup_in_store
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_create_create_orders_with_venmo_app_switch_pickup_in_store
          response_example: responses/201/content/application~1json/examples/samples_orders_create_create_orders_with_venmo_app_switch_pickup_in_store
        - title: Create and Authorize an order with PayPal Wallet and App Switch with
            return, cancel and fallback app URLs
          description: Creates a new order and authorizes the payment using PayPal wallet
            with App Switch. Merchant provides separate return_app_url and
            cancel_app_url for native app redirection, which PayPal uses as-is
            without appending /success or /cancel.
          parameter_examples:
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_create_orders_create_authorize_paypal_wallet_app_switch_with_return_cancel_app_url
          response_example: responses/200/content/application~1json/examples/samples_orders_create_orders_create_authorize_paypal_wallet_app_switch_with_return_cancel_app_url
        - title: Create and Authorize an order with PayPal Wallet where App Switch is
            Ineligible on a Low RAM Android Device
          description: Creates a new order with PayPal Wallet App Switch on a low RAM
            Android device (Samsung Galaxy A16 5G, SM-A166U, 4 GB total RAM).
            The merchant passes device metadata in device_info within
            app_switch_context. XOOS evaluates the device against the Elmo RAM
            threshold (default 400 MB) and model blocklist (SM-A166 prefix). The
            device fails both checks — available RAM is below the threshold and
            the model prefix is on the blocklist — so app_switch_eligibility is
            returned as false. The merchant must fall back to browser-based
            checkout using the returned payer-action URL.
          parameter_examples:
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_create_orders_create_paypal_wallet_app_switch_android_low_ram_device_blocked
          response_example: responses/200/content/application~1json/examples/samples_orders_create_orders_create_paypal_wallet_app_switch_android_low_ram_device_blocked
  /v2/checkout/orders/{id}:
    get:
      operationId: orders.get
      summary: Show order details
      description: Shows details for an order, by
        ID.<blockquote><strong>Note:</strong> For error handling and
        troubleshooting, see <a
        href="https://developer.paypal.com/api/rest/reference/orders/v2/errors/#get-order">Orders
        v2 errors</a>.</blockquote>
      tags:
        - orders
      security:
        - Oauth2:
            - https://uri.paypal.com/services/payments/payment
            - https://uri.paypal.com/services/payments/orders/deprecating-jssdk-migration-for-limited-merchants
      parameters:
        - name: id
          description: The ID of the order for which to show details.
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 36
            pattern: ^[A-Z0-9]+$
          examples:
            samples_orders_get_00_orders_get:
              summary: Get Order - Show Order Details After Customer Approval
              description: Shows order details immediately after customer approval.
              value: 5O190127TN364715T
        - $ref: "#/components/parameters/authorization"
        - $ref: "#/components/parameters/paypal_auth_assertion"
        - name: fields
          description: A comma-separated list of fields that should be returned for the
            order. Valid filter field is `payment_source`.
          in: query
          required: false
          schema:
            type: string
            minLength: 0
            maxLength: 2147483647
            pattern: ^[a-z_]*$
      responses:
        "200":
          description: A successful request returns the HTTP `200 OK` status code and a
            JSON response body that shows order details.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order"
              examples:
                samples_orders_get_00_orders_get:
                  summary: Get Order - Show Order Details After Customer Approval
                  description: Shows order details immediately after customer approval.
                  value:
                    id: 5O190127TN364715T
                    status: APPROVED
                    intent: CAPTURE
                    payment_source:
                      paypal:
                        name:
                          given_name: John
                          surname: Doe
                        email_address: customer@example.com
                        account_id: QYR5Z8XDVJNXQ
                    purchase_units:
                      - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                        amount:
                          currency_code: USD
                          value: "100.00"
                    payer:
                      name:
                        given_name: John
                        surname: Doe
                      email_address: customer@example.com
                      payer_id: QYR5Z8XDVJNXQ
                    create_time: 2018-04-01T21:18:49Z
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
                      - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
                        rel: approve
                        method: GET
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: edit
                        method: PATCH
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T/capture
                        rel: capture
                        method: POST
        "401":
          $ref: "#/components/responses/401_error_response"
        "403":
          $ref: "#/components/responses/403_error_response"
        "404":
          $ref: "#/components/responses/404_error_response"
        "500":
          $ref: "#/components/responses/500_error_response"
        default:
          $ref: "#/components/responses/default_response"
      x-exampleFlows:
        - title: Get Order - Show Order Details After Customer Approval
          description: Shows order details immediately after customer approval.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_get_00_orders_get
            - parameters/@name=='Authorization'/examples/bearer
          response_example: responses/200/content/application~1json/examples/samples_orders_get_00_orders_get
        - title: Get Order - 404 Not Found Error - Order Not Found
          description: This code sample attempts to show details for an order, by ID, but
            the request fails because the order is not found.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_get_00_orders_get
          response_example: responses/404/content/application~1json/examples/generic
    patch:
      operationId: orders.patch
      summary: Update order
      description: "Updates an order with a `CREATED` or `APPROVED` status. You cannot
        update an order with the `COMPLETED` status.<br/><br/>To make an update,
        you must provide a `reference_id`. If you omit this value with an order
        that contains only one purchase unit, PayPal sets the value to `default`
        which enables you to use the path:
        <code>\\\"/purchase_units/@reference_id=='default'/{attribute-or-object}\
        \\\"</code>. Merchants and partners can add Level 2 and 3 data to
        payments to reduce risk and payment processing costs. For more
        information about processing payments, see <a
        href=\"https://developer.paypal.com/docs/checkout/advanced/processing/\
        \">checkout</a> or <a
        href=\"https://developer.paypal.com/docs/multiparty/checkout/advanced/p\
        rocessing/\">multiparty checkout</a>.<blockquote><strong>Note:</strong>
        For error handling and troubleshooting, see <a
        href=\"https://developer.paypal.com/api/rest/reference/orders/v2/errors\
        /#patch-order\">Orders v2 errors</a>.</blockquote>Patchable attributes
        or
        objects:<br/><br/><table><thead><th>Attribute</th><th>Op</th><th>Notes<\
        /th></thead><tbody><tr><td><code>intent</code></td><td>replace</td><td>\
        </td></tr><tr><td><code>payer</code></td><td>replace, add</td><td>Using
        replace op for <code>payer</code> will replace the whole
        <code>payer</code> object with the value sent in
        request.</td></tr><tr><td><code>purchase_units</code></td><td>replace,
        add</td><td></td></tr><tr><td><code>purchase_units[].custom_id</code></\
        td><td>replace, add,
        remove</td><td></td></tr><tr><td><code>purchase_units[].description</co\
        de></td><td>replace, add,
        remove</td><td></td></tr><tr><td><code>purchase_units[].payee.email</co\
        de></td><td>replace</td><td></td></tr><tr><td><code>purchase_units[].sh\
        ipping.name</code></td><td>replace,
        add</td><td></td></tr><tr><td><code>purchase_units[].shipping.email_add\
        ress</code></td><td>replace,
        add</td><td></td></tr><tr><td><code>purchase_units[].shipping.phone_num\
        ber</code></td><td>replace,
        add</td><td></td></tr><tr><td><code>purchase_units[].shipping.options</\
        code></td><td>replace,
        add</td><td></td></tr><tr><td><code>purchase_units[].shipping.address</\
        code></td><td>replace,
        add</td><td></td></tr><tr><td><code>purchase_units[].shipping.type</cod\
        e></td><td>replace,
        add</td><td></td></tr><tr><td><code>purchase_units[].soft_descriptor</c\
        ode></td><td>replace,
        remove</td><td></td></tr><tr><td><code>purchase_units[].amount</code></\
        td><td>replace</td><td></td></tr><tr><td><code>purchase_units[].items</\
        code></td><td>replace, add,
        remove</td><td></td></tr><tr><td><code>purchase_units[].invoice_id</cod\
        e></td><td>replace, add,
        remove</td><td></td></tr><tr><td><code>purchase_units[].payment_instruc\
        tion</code></td><td>replace</td><td></td></tr><tr><td><code>purchase_un\
        its[].payment_instruction.disbursement_mode</code></td><td>replace</td>\
        <td>By default, <code>disbursement_mode</code> is
        <code>INSTANT</code>.</td></tr><tr><td><code>purchase_units[].payment_i\
        nstruction.payee_receivable_fx_rate_id</code></td><td>replace, add,
        remove</td><td></td></tr><tr><td><code>purchase_units[].payment_instruc\
        tion.platform_fees</code></td><td>replace, add,
        remove</td><td></td></tr><tr><td><code>purchase_units[].supplementary_d\
        ata.airline</code></td><td>replace, add,
        remove</td><td></td></tr><tr><td><code>purchase_units[].supplementary_d\
        ata.card</code></td><td>replace, add,
        remove</td><td></td></tr><tr><td><code>application_context.client_confi\
        guration</code></td><td>replace, add</td><td></td></tr></tbody></table>"
      tags:
        - orders
      security:
        - Oauth2:
            - https://uri.paypal.com/services/payments/payment
            - https://uri.paypal.com/services/payments/orders/deprecating-jssdk-migration-for-limited-merchants
      parameters:
        - name: id
          description: The ID of the order to update.
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 36
            pattern: ^[A-Z0-9]+$
          examples:
            samples_orders_patch_00_orders_patch:
              summary: Patch Order - Add Shipping Address
              description: Updates an order to add shipping address to purchase unit.
              value: 5O190127TN364715T
            samples_orders_patch_add_items_and_replace_amount:
              summary: Patch Order - Add Items and Replace Amount
              description: Updates an order to add items to and replace the amount within a
                purchase unit. The amount breakdown with an item total is added
                to reflect the newly added items. Whenever the quantity or price
                of items is modified in an order with a PATCH, the
                purchase_units.amount must also be updated.
              value: 5O190127TN364715T
            samples_orders_patch_replace_amount:
              summary: Patch Order - Replace Amount
              description: Updates an order to revise the amount, adding the cost of shipping,
                to a purchase unit.
              value: 5O190127TN364715T
            error_samples_orders_patch_422_payer_patch_not_allowed:
              summary: Patch Order - 422 Unprocessable Entity Error - Payer Patch Not Allowed
              description: This code sample attempts to update an order with a payer object.
                The request fails since buyer has already approved.
              value: 5O190127TN364715T
        - $ref: "#/components/parameters/authorization"
        - $ref: "#/components/parameters/paypal_auth_assertion"
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/patch_request"
            examples:
              samples_orders_patch_00_orders_patch:
                summary: Patch Order - Add Shipping Address
                description: Updates an order to add shipping address to purchase unit.
                value:
                  - op: replace
                    path: /purchase_units/@reference_id=='PUHF'/shipping/address
                    value:
                      address_line_1: 2211 N First Street
                      address_line_2: Building 17
                      admin_area_2: San Jose
                      admin_area_1: CA
                      postal_code: "95131"
                      country_code: US
              samples_orders_patch_add_items_and_replace_amount:
                summary: Patch Order - Add Items and Replace Amount
                description: Updates an order to add items to and replace the amount within a
                  purchase unit. The amount breakdown with an item total is
                  added to reflect the newly added items. Whenever the quantity
                  or price of items is modified in an order with a PATCH, the
                  purchase_units.amount must also be updated.
                value:
                  - op: add
                    path: /purchase_units/@reference_id=='PUHF'/items
                    value:
                      - name: T-Shirt
                        description: Green XL
                        sku: sku01
                        unit_amount:
                          currency_code: USD
                          value: "90.00"
                        tax:
                          currency_code: USD
                          value: "10.00"
                        quantity: "1"
                        category: PHYSICAL_GOODS
                      - name: Shoes
                        description: Running, Size 10.5
                        sku: sku02
                        unit_amount:
                          currency_code: USD
                          value: "45.00"
                        tax:
                          currency_code: USD
                          value: "5.00"
                        quantity: "2"
                        category: PHYSICAL_GOODS
                  - op: replace
                    path: /purchase_units/@reference_id=='PUHF'/amount
                    value:
                      currency_code: USD
                      value: "205.00"
                      breakdown:
                        item_total:
                          currency_code: USD
                          value: "180.00"
                        shipping:
                          currency_code: USD
                          value: "5.00"
                        handling:
                          currency_code: USD
                          value: "0.00"
                        tax_total:
                          currency_code: USD
                          value: "20.00"
                        shipping_discount:
                          currency_code: USD
                          value: "0.00"
              samples_orders_patch_replace_amount:
                summary: Patch Order - Replace Amount
                description: Updates an order to revise the amount, adding the cost of shipping,
                  to a purchase unit.
                value:
                  - op: replace
                    path: /purchase_units/@reference_id=='PUHF'/amount
                    value:
                      currency_code: USD
                      value: "200.00"
                      breakdown:
                        item_total:
                          currency_code: USD
                          value: "180.00"
                        shipping:
                          currency_code: USD
                          value: "20.00"
              error_samples_orders_patch_422_payer_patch_not_allowed:
                summary: Patch Order - 422 Unprocessable Entity Error - Payer Patch Not Allowed
                description: This code sample attempts to update an order with a payer object.
                  The request fails since buyer has already approved.
                value:
                  - op: add
                    path: /payer
                    value:
                      name:
                        given_name: TestFirst
                        surname: TestLast
                      email_address: payee@example.com
                      phone:
                        phone_number:
                          national_number: "19876543210"
                      address:
                        address_line_1: 2211 North First Street
                        address_line_2: Floor 6
                        admin_area_2: San Jose
                        admin_area_1: CA
                        postal_code: "95126"
                        country_code: US
      responses:
        "204":
          $ref: "#/components/responses/204_response"
        "400":
          description: Request is not well-formed, syntactically incorrect, or violates
            schema.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_orders_patch_400_invalid_shipping_address:
                  summary: Patch Order - 400 Bad Request Error - Shipping Address Invalid
                  description: This code sample attempts to update an the shipping address with an
                    invalid value. The request fails.
                  value:
                    name: INVALID_REQUEST
                    details:
                      - field: /purchase_units/@reference_id=='Reference ID 2'/shipping/address
                        value: x
                        location: body
                        issue: INVALID_PARAMETER_SYNTAX
                        description: The value of a field does not conform to the expected format.
                    message: Request is not well-formed, syntactically incorrect, or violates
                      schema.
                    debug_id: f087ef02ffdb6
                    links:
                      - href: https://developer.paypal.com/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX
                        rel: information_link
                        method: GET
        "401":
          $ref: "#/components/responses/401_error_response"
        "403":
          $ref: "#/components/responses/403_error_response"
        "404":
          $ref: "#/components/responses/404_error_response"
        "422":
          description: The requested action could not be performed, semantically
            incorrect, or failed business validation.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_orders_patch_422_payer_patch_not_allowed:
                  summary: Patch Order - 422 Unprocessable Entity Error - Payer Patch Not Allowed
                  description: This code sample attempts to update an order with a payer object.
                    The request fails since buyer has already approved.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - field: /payer
                        issue: PAYER_PATCH_NOT_ALLOWED
                        description: Payer path patch is not allowed after payer has approved the order.
                        location: body
                    message: The requested action could not be performed, semantically incorrect, or
                      failed business validation.
                    debug_id: 90957fca61718
                    links:
                      - href: https://developer.paypal.com/api/orders/v2/#error-PAYER_PATCH_NOT_ALLOWED
                        rel: information_link
                        method: GET
        "500":
          $ref: "#/components/responses/500_error_response"
        default:
          $ref: "#/components/responses/default_response"
      x-exampleFlows:
        - title: Patch Order - Add Shipping Address
          description: Updates an order to add shipping address to purchase unit.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_patch_00_orders_patch
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_patch_00_orders_patch
        - title: Patch Order - Replace Amount
          description: Updates an order to revise the amount, adding the cost of shipping,
            to a purchase unit.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_patch_replace_amount
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_patch_replace_amount
        - title: Patch Order - Add Items and Replace Amount
          description: Updates an order to add items to and replace the amount within a
            purchase unit. The amount breakdown with an item total is added to
            reflect the newly added items. Whenever the quantity or price of
            items is modified in an order with a PATCH, the
            purchase_units.amount must also be updated.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_patch_add_items_and_replace_amount
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_patch_add_items_and_replace_amount
        - title: Patch Order - 400 Bad Request Error - Shipping Address Invalid
          description: This code sample attempts to update an the shipping address with an
            invalid value. The request fails.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_patch_replace_amount_with_discount_breakdown
            - parameters/@name=='Authorization'/examples/bearer
          response_example: responses/400/content/application~1json/examples/error_samples_orders_patch_400_invalid_shipping_address
        - title: Patch Order - 422 Unprocessable Entity Error - Payer Patch Not Allowed
          description: This code sample attempts to update an order with a payer object.
            The request fails since buyer has already approved.
          parameter_examples:
            - parameters/@name=='id'/examples/error_samples_orders_patch_422_payer_patch_not_allowed
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/error_samples_orders_patch_422_payer_patch_not_allowed
          response_example: responses/422/content/application~1json/examples/error_samples_orders_patch_422_payer_patch_not_allowed
  /v2/checkout/orders/{id}/confirm-payment-source:
    post:
      operationId: orders.confirm
      summary: Confirm the Order
      description: Payer confirms their intent to pay for the the Order with the given
        payment source.
      tags:
        - orders
      security:
        - Oauth2:
            - https://uri.paypal.com/services/payments/payment
            - https://uri.paypal.com/services/payments/initiatepayment
            - https://uri.paypal.com/services/payments/orders/client_sdk_orders_api
      parameters:
        - $ref: "#/components/parameters/paypal_client_metadata_id"
        - name: id
          description: The ID of the order for which the payer confirms their intent to pay.
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 36
            pattern: ^[A-Z0-9]+$
          examples:
            samples_orders_confirm_00_orders_confirm:
              summary: Confirm Order - PayPal Wallet Resulting in Payer Action Required
              description: The API Caller is adding or changing the PayPal wallet
                payment_source on an Order after the Order has been created.
                Orders status transitions to PAYER_ACTION_REQUIRED.
              value: 5O190127TN364715T
            error_samples_orders_confirm_422_unprocessable_entity_paypal_wallet_vault_id_payment_source_mismatch:
              summary: Confirm Order - 422 Unprocessable Entity Error -Using Card Vault ID for
                a PayPal Wallet Payment Source
              description: Attempt to Confirm PayPal Wallet for an order with card vault id.
                The request fails with a MISMATCHED_VAULT_ID_TO_PAYMENT_SOURCE
                error.
              value: 5O190127TN364715T
        - $ref: "#/components/parameters/authorization"
        - $ref: "#/components/parameters/paypal_auth_assertion"
        - name: Prefer
          description: The preferred server response upon successful completion of the
            request. Value is:<ul><li><code>return=minimal</code>. The server
            returns a minimal response to optimize communication between the API
            caller and the server. A minimal response includes the
            <code>id</code>, <code>status</code> and HATEOAS
            links.</li><li><code>return=representation</code>. The server
            returns a complete resource representation, including the current
            state of the resource.</li></ul>
          in: header
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 25
            pattern: ^[a-zA-Z=]*$
            default: return=minimal
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/confirm_order_request"
            examples:
              samples_orders_confirm_00_orders_confirm:
                summary: Confirm Order - PayPal Wallet Resulting in Payer Action Required
                description: The API Caller is adding or changing the PayPal wallet
                  payment_source on an Order after the Order has been created.
                  Orders status transitions to PAYER_ACTION_REQUIRED.
                value:
                  payment_source:
                    paypal:
                      name:
                        given_name: John
                        surname: Doe
                      email_address: customer@example.com
                      experience_context:
                        payment_method_preference: IMMEDIATE_PAYMENT_REQUIRED
                        brand_name: EXAMPLE INC
                        locale: en-US
                        landing_page: LOGIN
                        shipping_preference: SET_PROVIDED_ADDRESS
                        user_action: PAY_NOW
                        return_url: https://example.com/returnUrl
                        cancel_url: https://example.com/cancelUrl
              error_samples_orders_confirm_422_unprocessable_entity_paypal_wallet_vault_id_payment_source_mismatch:
                summary: Confirm Order - 422 Unprocessable Entity Error -Using Card Vault ID for
                  a PayPal Wallet Payment Source
                description: Attempt to Confirm PayPal Wallet for an order with card vault id.
                  The request fails with a MISMATCHED_VAULT_ID_TO_PAYMENT_SOURCE
                  error.
                value:
                  payment_source:
                    paypal:
                      vault_id: 8kk845
      responses:
        "200":
          description: A successful request indicates that the payment source was added to
            the Order. A successful request returns the HTTP `200 OK` status
            code with a JSON response body that shows order details.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order"
              examples:
                samples_orders_confirm_00_orders_confirm:
                  summary: Confirm Order - PayPal Wallet Resulting in Payer Action Required
                  description: The API Caller is adding or changing the PayPal wallet
                    payment_source on an Order after the Order has been created.
                    Orders status transitions to PAYER_ACTION_REQUIRED.
                  value:
                    id: 5O190127TN364715T
                    status: PAYER_ACTION_REQUIRED
                    payment_source:
                      paypal:
                        name:
                          given_name: John
                          surname: Doe
                        email_address: customer@example.com
                    payer:
                      name:
                        given_name: John
                        surname: Doe
                      email_address: customer@example.com
                    links:
                      - href: https://api.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
                      - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
                        rel: payer-action
                        method: GET
        "400":
          description: Request is not well-formed, syntactically incorrect, or violates
            schema.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_orders_confirm_400_bad_request_missing_required_parameter:
                  summary: Confirm Order - 400 Bad Request Error - Missing Required Parameter -
                    Payment Source
                  description: This code sample attempts to confirm an order, but the payment
                    source is missing. The request fails.
                  value:
                    name: INVALID_REQUEST
                    details:
                      - field: /payment_source
                        issue: MISSING_REQUIRED_PARAMETER
                        description: A required field or parameter is missing.
                        location: body
                    message: Request is not well-formed, syntactically incorrect, or violates
                      schema.
                    debug_id: 90957fca61718
                    links:
                      - href: https://developer.paypal.com/api/orders/v2/#error-MISSING_REQUIRED_PARAMETER
                        rel: information_link
                        method: GET
        "401":
          $ref: "#/components/responses/401_error_response"
        "403":
          $ref: "#/components/responses/403_error_response"
        "422":
          description: The requested action could not be performed, semantically
            incorrect, or failed business validation.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_orders_confirm_422_unprocessable_entity_paypal_wallet_vault_id_payment_source_mismatch:
                  summary: Confirm Order - 422 Unprocessable Entity Error -Using Card Vault ID for
                    a PayPal Wallet Payment Source
                  description: Attempt to Confirm PayPal Wallet for an order with card vault id.
                    The request fails with a
                    MISMATCHED_VAULT_ID_TO_PAYMENT_SOURCE error.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - field: /payment_source/paypal/vault_id
                        location: body
                        issue: MISMATCHED_VAULT_ID_TO_PAYMENT_SOURCE
                        description: The vault_id does not match the payment_source provided. Please
                          verify that the vault_id token used refers to the
                          matching payment_source and try again. For example, a
                          PayPal token cannot be passed in the vault_id field in
                          the payment_source.card object.
                    message: The requested action could not be performed, semantically incorrect, or
                      failed business validation.
                    debug_id: 90957fca61718
                    links:
                      - href: https://developer.paypal.com/docs/api/orders/v2/#error-MISMATCHED_VAULT_ID_TO_PAYMENT_SOURCE
                        rel: information_link
                        method: GET
        "500":
          $ref: "#/components/responses/500_error_response"
        default:
          $ref: "#/components/responses/default_response"
      x-exampleFlows:
        - title: Confirm Order - PayPal Wallet Resulting in Payer Action Required
          description: The API Caller is adding or changing the PayPal wallet
            payment_source on an Order after the Order has been created. Orders
            status transitions to PAYER_ACTION_REQUIRED.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_confirm_00_orders_confirm
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_confirm_00_orders_confirm
          response_example: responses/200/content/application~1json/examples/samples_orders_confirm_00_orders_confirm
        - title: Confirm Order - 400 Bad Request Error - Missing Required Parameter -
            Payment Source
          description: This code sample attempts to confirm an order, but the payment
            source is missing. The request fails.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_confirm_apm_payment_source_klarna
            - parameters/@name=='Authorization'/examples/bearer
          response_example: responses/400/content/application~1json/examples/error_samples_orders_confirm_400_bad_request_missing_required_parameter
        - title: Confirm Order - 403 Forbidden Error -  Invalid PayPal Wallet Vault ID
          description: This code sample attempts to confirm an order but the PayPal wallet
            vault ID was not found. The request fails.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_confirm_apm_payment_source_klarna
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_confirm_apm_payment_source_klarna
          response_example: responses/403/content/application~1json/examples/generic
        - title: Confirm Order - 404 Not Found Error - Resource Not Found
          description: This code sample attempts to confirm an order but the specified
            order is not found. The request fails.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_confirm_00_orders_confirm
          request_body_example: requestBody/content/application~1json/examples/samples_orders_confirm_00_orders_confirm
        - title: Confirm Order - 422 Unprocessable Entity Error -Using Card Vault ID for a
            PayPal Wallet Payment Source
          description: Attempt to Confirm PayPal Wallet for an order with card vault id.
            The request fails with a MISMATCHED_VAULT_ID_TO_PAYMENT_SOURCE
            error.
          parameter_examples:
            - parameters/@name=='id'/examples/error_samples_orders_confirm_422_unprocessable_entity_paypal_wallet_vault_id_payment_source_mismatch
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/error_samples_orders_confirm_422_unprocessable_entity_paypal_wallet_vault_id_payment_source_mismatch
          response_example: responses/422/content/application~1json/examples/error_samples_orders_confirm_422_unprocessable_entity_paypal_wallet_vault_id_payment_source_mismatch
        - title: Confirm Order - 500 Internal Server Error - A system error has occurred
          description: This code sample attempts to confirm an order, but a system error
            occurred. The request fails. The same request body may be reused by
            the API Caller to retry.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_confirm_apm_payment_source_klarna
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_confirm_apm_payment_source_klarna
          response_example: responses/500/content/application~1json/examples/generic
  /v2/checkout/orders/{id}/authorize:
    post:
      operationId: orders.authorize
      summary: Authorize payment for order
      description: Authorizes payment for an order. To successfully authorize payment
        for an order, the buyer must first approve the order or a valid
        payment_source must be provided in the request. A buyer can approve the
        order upon being redirected to the rel:approve URL that was returned in
        the HATEOAS links in the create order
        response.<blockquote><strong>Note:</strong> For error handling and
        troubleshooting, see <a
        href="https://developer.paypal.com/api/rest/reference/orders/v2/errors/#authorize-order">Orders
        v2 errors</a>.</blockquote>
      tags:
        - orders
      security:
        - Oauth2:
            - https://uri.paypal.com/services/payments/payment
            - https://uri.paypal.com/services/payments/orders/deprecating-jssdk-migration-for-limited-merchants
      parameters:
        - $ref: "#/components/parameters/paypal_request_id"
        - name: Prefer
          description: The preferred server response upon successful completion of the
            request. Value is:<ul><li><code>return=minimal</code>. The server
            returns a minimal response to optimize communication between the API
            caller and the server. A minimal response includes the
            <code>id</code>, <code>status</code> and HATEOAS
            links.</li><li><code>return=representation</code>. The server
            returns a complete resource representation, including the current
            state of the resource.</li></ul>
          in: header
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 25
            pattern: ^[a-zA-Z=,-]*$
            default: return=minimal
        - $ref: "#/components/parameters/paypal_client_metadata_id"
        - name: id
          description: The ID of the order for which to authorize.
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 36
            pattern: ^[A-Z0-9]+$
          examples:
            samples_orders_authorize_00_orders_authorize:
              summary: Authorize Order - PayPal Wallet as Payment Source
              description: Authorize payment for an order after PayPal wallet approval. By
                default, uses the minimal representation.
              value: 5O190127TN364715T
            error_samples_orders_authorize_422_payer_action_required_cib_psd2_sca_ba_in_sc:
              summary: Authorize Order - 422 - Payer Action Required
              description: This code sample attempts to authorize payment for an order that
                was created by the api caller and the payment could not be
                processed due to PSD2 SCA compliance requirement.
              value: 9SY02093A2309081P
            error_samples_orders_authorize_422_unprocessable_entity_payment_denied:
              summary: Authorize Order - 422 Unprocessable Entity Error - Payment Denied
              description: This code sample attempts to authorize an order, but the payment is
                denied by PayPal. This can occur due to various reasons such as
                insufficient funds, expired card, incorrect payment information,
                or payment gateway issues.
              value: 5O190127TN364715T
            samples_orders_authorize_idempotent:
              summary: Authorize Order - Idempotent Response with PayPal Wallet
              description: Authorizes payment for an order with the same idempotency key. By
                default, uses the minimal representation.
              value: 5O190127TN364715T
            samples_orders_authorize_paypal_wallet_vault_id:
              summary: Authorize Order - PayPal Wallet Vault ID
              description: Authorizes payment for an order through a previously acquired vault
                id for a PayPal wallet. By default, uses the minimal
                representation.
              value: 5O190127TN364715T
        - $ref: "#/components/parameters/authorization"
        - $ref: "#/components/parameters/paypal_auth_assertion"
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/order_authorize_request"
            examples:
              samples_orders_authorize_00_orders_authorize:
                summary: Authorize Order - PayPal Wallet as Payment Source
                description: Authorize payment for an order after PayPal wallet approval. By
                  default, uses the minimal representation.
                value: {}
              error_samples_orders_authorize_422_payer_action_required_cib_psd2_sca_ba_in_sc:
                summary: Authorize Order - 422 - Payer Action Required
                description: This code sample attempts to authorize payment for an order that
                  was created by the api caller and the payment could not be
                  processed due to PSD2 SCA compliance requirement.
                value: {}
              error_samples_orders_authorize_422_unprocessable_entity_payment_denied:
                summary: Authorize Order - 422 Unprocessable Entity Error - Payment Denied
                description: This code sample attempts to authorize an order, but the payment is
                  denied by PayPal. This can occur due to various reasons such
                  as insufficient funds, expired card, incorrect payment
                  information, or payment gateway issues.
                value:
                  payment_source:
                    card:
                      vault_id: 8cg02452we902502k
              samples_orders_authorize_idempotent:
                summary: Authorize Order - Idempotent Response with PayPal Wallet
                description: Authorizes payment for an order with the same idempotency key. By
                  default, uses the minimal representation.
                value: {}
              samples_orders_authorize_paypal_wallet_vault_id:
                summary: Authorize Order - PayPal Wallet Vault ID
                description: Authorizes payment for an order through a previously acquired vault
                  id for a PayPal wallet. By default, uses the minimal
                  representation.
                value:
                  payment_source:
                    paypal:
                      vault_id: nkq2y9g
      responses:
        "200":
          description: A successful response to an idempotent request returns the HTTP
            `200 OK` status code with a JSON response body that shows authorized
            payment details.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order_authorize_response"
              examples:
                samples_orders_authorize_idempotent:
                  summary: Authorize Order - Idempotent Response with PayPal Wallet
                  description: Authorizes payment for an order with the same idempotency key. By
                    default, uses the minimal representation.
                  value:
                    id: 5O190127TN364715T
                    status: COMPLETED
                    payment_source:
                      paypal:
                        name:
                          given_name: John
                          surname: Doe
                        account_status: VERIFIED
                        email_address: customer@example.com
                        account_id: QYR5Z8XDVJNXQ
                    purchase_units:
                      - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                        shipping:
                          address:
                            address_line_1: 2211 N First Street
                            address_line_2: Building 17
                            admin_area_2: San Jose
                            admin_area_1: CA
                            postal_code: "95131"
                            country_code: US
                        payments:
                          authorizations:
                            - id: 0AW2184448108334S
                              status: CREATED
                              amount:
                                currency_code: USD
                                value: "100.00"
                              seller_protection:
                                status: ELIGIBLE
                                dispute_categories:
                                  - ITEM_NOT_RECEIVED
                                  - UNAUTHORIZED_TRANSACTION
                              expiration_time: 2018-05-01T21:20:49Z
                              create_time: 2018-04-01T21:20:49Z
                              update_time: 2018-04-01T21:20:49Z
                              links:
                                - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S
                                  rel: self
                                  method: GET
                                - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/capture
                                  rel: capture
                                  method: POST
                                - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/void
                                  rel: void
                                  method: POST
                                - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/reauthorize
                                  rel: reauthorize
                                  method: POST
                    payer:
                      name:
                        given_name: John
                        surname: Doe
                      email_address: customer@example.com
                      payer_id: QYR5Z8XDVJNXQ
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
        "201":
          description: 'A successful response to a non-idempotent request returns the HTTP
            `201 Created` status code with a JSON response body that shows
            authorized payment details. If a duplicate response is retried,
            returns the HTTP `200 OK` status code. By default, the response is
            minimal. If you need the complete resource representation, you must
            pass the <a
            href="https://developer.paypal.com/docs/api/orders/v2/#orders-authorize-header-parameters"><code>Prefer:
            return=representation</code> request header</a>.'
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order_authorize_response"
              examples:
                samples_orders_authorize_00_orders_authorize:
                  summary: Authorize Order - PayPal Wallet as Payment Source
                  description: Authorize payment for an order after PayPal wallet approval. By
                    default, uses the minimal representation.
                  value:
                    id: 5O190127TN364715T
                    status: COMPLETED
                    payment_source:
                      paypal:
                        name:
                          given_name: John
                          surname: Doe
                        email_address: customer@example.com
                        account_id: QYR5Z8XDVJNXQ
                    purchase_units:
                      - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                        payments:
                          authorizations:
                            - id: 3C679366HH908993F
                              status: CREATED
                              amount:
                                currency_code: USD
                                value: "100.00"
                              seller_protection:
                                status: ELIGIBLE
                                dispute_categories:
                                  - ITEM_NOT_RECEIVED
                                  - UNAUTHORIZED_TRANSACTION
                              expiration_time: 2021-10-08T23:37:39Z
                              links:
                                - href: https://api-m.paypal.com/v2/payments/authorizations/5O190127TN364715T
                                  rel: self
                                  method: GET
                                - href: https://api-m.paypal.com/v2/payments/authorizations/5O190127TN364715T/capture
                                  rel: capture
                                  method: POST
                                - href: https://api-m.paypal.com/v2/payments/authorizations/5O190127TN364715T/void
                                  rel: void
                                  method: POST
                                - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                                  rel: up
                                  method: GET
                    payer:
                      name:
                        given_name: John
                        surname: Doe
                      email_address: customer@example.com
                      payer_id: QYR5Z8XDVJNXQ
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
                samples_orders_authorize_paypal_wallet_vault_id:
                  summary: Authorize Order - PayPal Wallet Vault ID
                  description: Authorizes payment for an order through a previously acquired vault
                    id for a PayPal wallet. By default, uses the minimal
                    representation.
                  value:
                    id: 5O190127TN364715T
                    status: COMPLETED
                    payment_source:
                      paypal:
                        name:
                          given_name: John
                          surname: Doe
                        email_address: customer@example.com
                        account_id: QYR5Z8XDVJNXQ
                        account_status: VERIFIED
                    purchase_units:
                      - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                        shipping:
                          address:
                            address_line_1: 2211 N First Street
                            address_line_2: Building 17
                            admin_area_2: San Jose
                            admin_area_1: CA
                            postal_code: "95131"
                            country_code: US
                        payments:
                          authorizations:
                            - id: 0AW2184448108334S
                              status: CREATED
                              amount:
                                currency_code: USD
                                value: "100.00"
                              seller_protection:
                                status: ELIGIBLE
                                dispute_categories:
                                  - ITEM_NOT_RECEIVED
                                  - UNAUTHORIZED_TRANSACTION
                              expiration_time: 2022-01-29T21:20:49Z
                              create_time: 2021-12-29T21:20:49Z
                              update_time: 2021-12-29T21:20:49Z
                              links:
                                - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S
                                  rel: self
                                  method: GET
                                - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/capture
                                  rel: capture
                                  method: POST
                                - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/void
                                  rel: void
                                  method: POST
                                - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/reauthorize
                                  rel: reauthorize
                                  method: POST
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
        "202":
          description: The request has been accepted for processing, but the processing
            has not been completed yet. The server returns the HTTP `202
            Accepted` status code to indicate that the request is valid and will
            be handled asynchronously.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order_authorize_response"
        "207":
          description: The request was successfully processed, but the result contains
            mixed outcomes. When an order includes multiple purchase units, the
            server returns the HTTP `207 Multi-Status` code to indicate that one
            or more purchase units were processed successfully while others
            failed. The response body provides the processing result for each
            purchase unit.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order_authorize_response"
        "400":
          description: Request is not well-formed, syntactically incorrect, or violates
            schema.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
        "401":
          $ref: "#/components/responses/401_error_response"
        "403":
          $ref: "#/components/responses/403_error_response"
        "404":
          $ref: "#/components/responses/404_error_response"
        "409":
          description: The request could not be completed due to a conflict with the
            current state of the resource. The HTTP `409 Conflict` status code
            is returned when the requested operation is not allowed because the
            order or one or more purchase units are in a state that prevents the
            operation.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
        "422":
          description: The requested action could not be performed, semantically
            incorrect, or failed business validation.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_orders_authorize_422_payer_action_required_cib_psd2_sca_ba_in_sc:
                  summary: Authorize Order - 422 - Payer Action Required
                  description: This code sample attempts to authorize payment for an order that
                    was created by the api caller and the payment could not be
                    processed due to PSD2 SCA compliance requirement.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - issue: PAYER_ACTION_REQUIRED
                        description: Transaction cannot complete successfully, instruct the buyer to
                          return to PayPal.
                    message: The requested action could not be performed, semantically incorrect, or
                      failed business validation.
                    debug_id: f63fbc340a6ce
                    links:
                      - href: https://developer.paypal.com/api/orders/v2/#error-PAYER_ACTION_REQUIRED
                        rel: information_link
                        method: GET
                      - href: https://www.paypal.com/checkoutnow?token=9SY02093A2309081P
                        rel: payer-action
                        method: GET
                error_samples_orders_authorize_422_unprocessable_entity_payment_denied:
                  summary: Authorize Order - 422 Unprocessable Entity Error - Payment Denied
                  description: This code sample attempts to authorize an order, but the payment is
                    denied by PayPal. This can occur due to various reasons such
                    as insufficient funds, expired card, incorrect payment
                    information, or payment gateway issues.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - issue: PAYMENT_DENIED
                        description: PayPal has declined to process this transaction.
                    message: The requested action could not be performed, semantically incorrect, or
                      failed business validation.
                    debug_id: eb476257836d9
                    links:
                      - href: https://developer.paypal.com/docs/api/orders/v2/#error-PAYMENT_DENIED
                        rel: information_link
                        method: GET
        "500":
          $ref: "#/components/responses/500_error_response"
        default:
          $ref: "#/components/responses/default_response"
      x-exampleFlows:
        - title: Authorize Order - PayPal Wallet as Payment Source
          description: Authorize payment for an order after PayPal wallet approval. By
            default, uses the minimal representation.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_authorize_00_orders_authorize
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          response_example: responses/201/content/application~1json/examples/samples_orders_authorize_00_orders_authorize
        - title: Authorize Order - Idempotent Response with PayPal Wallet
          description: Authorizes payment for an order with the same idempotency key. By
            default, uses the minimal representation.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_authorize_idempotent
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          response_example: responses/200/content/application~1json/examples/samples_orders_authorize_idempotent
        - title: Authorize Order - PayPal Wallet Vault ID
          description: Authorizes payment for an order through a previously acquired vault
            id for a PayPal wallet. By default, uses the minimal representation.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_authorize_paypal_wallet_vault_id
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_authorize_paypal_wallet_vault_id
          response_example: responses/201/content/application~1json/examples/samples_orders_authorize_paypal_wallet_vault_id
        - title: Authorize Order - 403 Forbidden Error - Charity is not confirmed
          description: This code sample attempts to authorize a donation order, but
            charity is not confirmed.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_authorize_paypal_billing_agreement_id
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_authorize_paypal_billing_agreement_id
          response_example: responses/403/content/application~1json/examples/generic
        - title: Authorize Order - 422 - Payer Action Required
          description: This code sample attempts to authorize payment for an order that
            was created by the api caller and the payment could not be processed
            due to PSD2 SCA compliance requirement.
          parameter_examples:
            - parameters/@name=='id'/examples/error_samples_orders_authorize_422_payer_action_required_cib_psd2_sca_ba_in_sc
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/error_samples_orders_authorize_422_payer_action_required_cib_psd2_sca_ba_in_sc
          response_example: responses/422/content/application~1json/examples/error_samples_orders_authorize_422_payer_action_required_cib_psd2_sca_ba_in_sc
        - title: Authorize Order - 422 Unprocessable Entity Error - Payment Denied
          description: This code sample attempts to authorize an order, but the payment is
            denied by PayPal. This can occur due to various reasons such as
            insufficient funds, expired card, incorrect payment information, or
            payment gateway issues.
          parameter_examples:
            - parameters/@name=='id'/examples/error_samples_orders_authorize_422_unprocessable_entity_payment_denied
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/error_samples_orders_authorize_422_unprocessable_entity_payment_denied
          response_example: responses/422/content/application~1json/examples/error_samples_orders_authorize_422_unprocessable_entity_payment_denied
  /v2/checkout/orders/{id}/capture:
    post:
      operationId: orders.capture
      summary: Capture payment for order
      description: Captures payment for an order. To successfully capture payment for
        an order, the buyer must first approve the order or a valid
        payment_source must be provided in the request. A buyer can approve the
        order upon being redirected to the rel:approve URL that was returned in
        the HATEOAS links in the create order
        response.<blockquote><strong>Note:</strong> For error handling and
        troubleshooting, see <a
        href="https://developer.paypal.com/api/rest/reference/orders/v2/errors/#capture-order">Orders
        v2 errors</a>.</blockquote>
      tags:
        - orders
      security:
        - Oauth2:
            - https://uri.paypal.com/services/payments/payment
            - https://uri.paypal.com/services/payments/orders/deprecating-jssdk-migration-for-limited-merchants
      parameters:
        - $ref: "#/components/parameters/paypal_request_id"
        - name: Prefer
          description: The preferred server response upon successful completion of the
            request. Value is:<ul><li><code>return=minimal</code>. The server
            returns a minimal response to optimize communication between the API
            caller and the server. A minimal response includes the
            <code>id</code>, <code>status</code> and HATEOAS
            links.</li><li><code>return=representation</code>. The server
            returns a complete resource representation, including the current
            state of the resource.</li></ul>
          in: header
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 25
            pattern: ^[a-zA-Z=,-]*$
            default: return=minimal
        - $ref: "#/components/parameters/paypal_client_metadata_id"
        - name: id
          description: The ID of the order for which to capture a payment.
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 36
            pattern: ^[A-Z0-9]+$
          examples:
            samples_orders_capture_00_orders_capture:
              summary: Capture Order - PayPal Wallet as Payment Source
              description: Captures payment for an order after wallet approval. By default,
                uses the minimal representation.
              value: 5O190127TN364715T
            error_samples_orders_capture_422_payer_action_required_cib_psd2_sca_ba_in_sc:
              summary: Capture Order - 422 - Payer Action Required
              description: This code sample attempts to capture payment for an order that was
                created by the api caller and the payment could not be processed
                due to PSD2 SCA compliance requirement.
              value: 5O190127TN364715T
            error_samples_orders_capture_422_unprocessable_entity:
              summary: Capture Order - 422 Unprocessable Entity Error - Action Does Not Match
                Intent
              description: This code sample attempts to capture payment for an order that was
                created with `intent=AUTHORIZE`. The operation is incorrect.
              value: 5O190127TN364715T
            samples_orders_capture_vault_wallet:
              summary: Capture Order - Minimal Representation with PayPal Wallet Vault ID
              description: The partner captures payment for an order after PayPal Wallet
                approval. By default, uses the minimal representation.
              value: 5O190127TN364715T
            samples_orders_capture_wallet_idempotent:
              summary: Capture Order - Idempotent Response with PayPal Wallet
              description: Captures payment for an order after wallet approval with the same
                idempotency key. By default, uses the minimal representation.
              value: 5O190127TN364715T
        - $ref: "#/components/parameters/authorization"
        - $ref: "#/components/parameters/paypal_auth_assertion"
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/order_capture_request"
            examples:
              samples_orders_capture_00_orders_capture:
                summary: Capture Order - PayPal Wallet as Payment Source
                description: Captures payment for an order after wallet approval. By default,
                  uses the minimal representation.
                value: {}
              error_samples_orders_capture_422_payer_action_required_cib_psd2_sca_ba_in_sc:
                summary: Capture Order - 422 - Payer Action Required
                description: This code sample attempts to capture payment for an order that was
                  created by the api caller and the payment could not be
                  processed due to PSD2 SCA compliance requirement.
                value: {}
              error_samples_orders_capture_422_unprocessable_entity:
                summary: Capture Order - 422 Unprocessable Entity Error - Action Does Not Match
                  Intent
                description: This code sample attempts to capture payment for an order that was
                  created with `intent=AUTHORIZE`. The operation is incorrect.
                value: {}
              samples_orders_capture_vault_wallet:
                summary: Capture Order - Minimal Representation with PayPal Wallet Vault ID
                description: The partner captures payment for an order after PayPal Wallet
                  approval. By default, uses the minimal representation.
                value: {}
              samples_orders_capture_wallet_idempotent:
                summary: Capture Order - Idempotent Response with PayPal Wallet
                description: Captures payment for an order after wallet approval with the same
                  idempotency key. By default, uses the minimal representation.
                value: {}
      responses:
        "200":
          description: A successful response to an idempotent request returns the HTTP
            `200 OK` status code with a JSON response body that shows captured
            payment details.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order"
              examples:
                samples_orders_capture_wallet_idempotent:
                  summary: Capture Order - Idempotent Response with PayPal Wallet
                  description: Captures payment for an order after wallet approval with the same
                    idempotency key. By default, uses the minimal
                    representation.
                  value:
                    id: 5O190127TN364715T
                    status: COMPLETED
                    payment_source:
                      paypal:
                        name:
                          given_name: John
                          surname: Doe
                        email_address: customer@example.com
                        account_id: QYR5Z8XDVJNXQ
                        account_status: VERIFIED
                    purchase_units:
                      - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                        shipping:
                          address:
                            address_line_1: 2211 N First Street
                            address_line_2: Building 17
                            admin_area_2: San Jose
                            admin_area_1: CA
                            postal_code: "95131"
                            country_code: US
                        payments:
                          captures:
                            - id: 3C679366HH908993F
                              status: COMPLETED
                              amount:
                                currency_code: USD
                                value: "100.00"
                              seller_protection:
                                status: ELIGIBLE
                                dispute_categories:
                                  - ITEM_NOT_RECEIVED
                                  - UNAUTHORIZED_TRANSACTION
                              final_capture: true
                              disbursement_mode: INSTANT
                              seller_receivable_breakdown:
                                gross_amount:
                                  currency_code: USD
                                  value: "100.00"
                                paypal_fee:
                                  currency_code: USD
                                  value: "3.00"
                                net_amount:
                                  currency_code: USD
                                  value: "97.00"
                              create_time: 2018-04-01T21:20:49Z
                              update_time: 2018-04-01T21:20:49Z
                              links:
                                - href: https://api-m.paypal.com/v2/payments/captures/3C679366HH908993F
                                  rel: self
                                  method: GET
                                - href: https://api-m.paypal.com/v2/payments/captures/3C679366HH908993F/refund
                                  rel: refund
                                  method: POST
                    payer:
                      name:
                        given_name: John
                        surname: Doe
                      email_address: customer@example.com
                      payer_id: QYR5Z8XDVJNXQ
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
        "201":
          description: 'A successful response to a non-idempotent request returns the HTTP
            `201 Created` status code with a JSON response body that shows
            captured payment details. If a duplicate response is retried,
            returns the HTTP `200 OK` status code. By default, the response is
            minimal. If you need the complete resource representation, pass the
            <a
            href="https://developer.paypal.com/docs/api/orders/v2/#orders-authorize-header-parameters"><code>Prefer:
            return=representation</code> request header</a>.'
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order"
              examples:
                samples_orders_capture_00_orders_capture:
                  summary: Capture Order - PayPal Wallet as Payment Source
                  description: Captures payment for an order after wallet approval. By default,
                    uses the minimal representation.
                  value:
                    id: 5O190127TN364715T
                    status: COMPLETED
                    payment_source:
                      paypal:
                        name:
                          given_name: John
                          surname: Doe
                        email_address: customer@example.com
                        account_id: QYR5Z8XDVJNXQ
                    purchase_units:
                      - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                        shipping:
                          address:
                            address_line_1: 2211 N First Street
                            address_line_2: Building 17
                            admin_area_2: San Jose
                            admin_area_1: CA
                            postal_code: "95131"
                            country_code: US
                        payments:
                          captures:
                            - id: 3C679366HH908993F
                              status: COMPLETED
                              amount:
                                currency_code: USD
                                value: "100.00"
                              seller_protection:
                                status: ELIGIBLE
                                dispute_categories:
                                  - ITEM_NOT_RECEIVED
                                  - UNAUTHORIZED_TRANSACTION
                              final_capture: true
                              disbursement_mode: INSTANT
                              seller_receivable_breakdown:
                                gross_amount:
                                  currency_code: USD
                                  value: "100.00"
                                paypal_fee:
                                  currency_code: USD
                                  value: "3.00"
                                net_amount:
                                  currency_code: USD
                                  value: "97.00"
                              create_time: 2018-04-01T21:20:49Z
                              update_time: 2018-04-01T21:20:49Z
                              links:
                                - href: https://api-m.paypal.com/v2/payments/captures/3C679366HH908993F
                                  rel: self
                                  method: GET
                                - href: https://api-m.paypal.com/v2/payments/captures/3C679366HH908993F/refund
                                  rel: refund
                                  method: POST
                    payer:
                      name:
                        given_name: John
                        surname: Doe
                      email_address: customer@example.com
                      payer_id: QYR5Z8XDVJNXQ
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
                samples_orders_capture_vault_wallet:
                  summary: Capture Order - Minimal Representation with PayPal Wallet Vault ID
                  description: The partner captures payment for an order after PayPal Wallet
                    approval. By default, uses the minimal representation.
                  value:
                    id: 5O190127TN364715T
                    status: COMPLETED
                    payment_source:
                      paypal:
                        attributes:
                          vault:
                            id: m6yd4yw
                            status: CREATED
                    purchase_units:
                      - reference_id: refernece_id_1001
                        shipping:
                          name:
                            full_name: William Chris
                          address:
                            address_line_1: 500 Hillside Street
                            address_line_2: "#100"
                            admin_area_2: San Jose
                            admin_area_1: CA
                            postal_code: "95131"
                            country_code: US
                        payments:
                          captures:
                            - id: 54986457XR262021N
                              status: COMPLETED
                              amount:
                                currency_code: USD
                                value: "31.01"
                              final_capture: true
                              disbursement_mode: INSTANT
                              seller_protection:
                                status: ELIGIBLE
                                dispute_categories:
                                  - ITEM_NOT_RECEIVED
                                  - UNAUTHORIZED_TRANSACTION
                              seller_receivable_breakdown:
                                gross_amount:
                                  currency_code: USD
                                  value: "31.01"
                                platform_fees:
                                  - amount:
                                      currency_code: USD
                                      value: "10.01"
                                    payee:
                                      merchant_id: J8NCBBULP5JH2
                                net_amount:
                                  currency_code: USD
                                  value: "21.00"
                              invoice_id: invoice_id_380358551C5240203
                              custom_id: custom_id_1001
                              links:
                                - href: https://api-m.paypal.com/v2/payments/captures/54986457XR262021N
                                  rel: self
                                  method: GET
                                - href: https://api-m.paypal.com/v2/payments/captures/54986457XR262021N/refund
                                  rel: refund
                                  method: POST
                                - href: https://api-m.paypal.com/v2/checkout/orders/12645781RH9888226
                                  rel: up
                                  method: GET
                              create_time: 2020-06-08T23:11:34Z
                              update_time: 2020-06-08T23:11:34Z
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
                      - href: https://api-m.paypal.com/v2/vault/payment-tokens/m6yd4yw
                        rel: payment-token
                        method: GET
        "202":
          description: The request has been accepted for processing, but the processing
            has not been completed yet. The server returns the HTTP `202
            Accepted` status code to indicate that the request is valid and will
            be handled asynchronously.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order"
        "207":
          description: The request was successfully processed, but the result contains
            mixed outcomes. When an order includes multiple purchase units, the
            server returns the HTTP `207 Multi-Status` code to indicate that one
            or more purchase units were processed successfully while others
            failed. The response body provides the processing result for each
            purchase unit.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order"
        "400":
          description: Request is not well-formed, syntactically incorrect, or violates
            schema.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
        "401":
          $ref: "#/components/responses/401_error_response"
        "403":
          $ref: "#/components/responses/403_error_response"
        "404":
          $ref: "#/components/responses/404_error_response"
        "409":
          description: The request could not be completed due to a conflict with the
            current state of the resource. The HTTP `409 Conflict` status code
            is returned when the requested operation is not allowed because the
            order or one or more purchase units are in a state that prevents the
            operation.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
        "422":
          description: The requested action could not be performed, semantically
            incorrect, or failed business validation.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_orders_capture_422_payer_action_required_cib_psd2_sca_ba_in_sc:
                  summary: Capture Order - 422 - Payer Action Required
                  description: This code sample attempts to capture payment for an order that was
                    created by the api caller and the payment could not be
                    processed due to PSD2 SCA compliance requirement.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - issue: PAYER_ACTION_REQUIRED
                        description: Transaction cannot complete successfully, instruct the buyer to
                          return to PayPal.
                    message: The requested action could not be performed, semantically incorrect, or
                      failed business validation.
                    debug_id: f63fbc340a6ce
                    links:
                      - href: https://developer.paypal.com/api/orders/v2/#error-PAYER_ACTION_REQUIRED
                        rel: information_link
                        method: GET
                      - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
                        rel: payer-action
                        method: GET
                error_samples_orders_capture_422_unprocessable_entity:
                  summary: Capture Order - 422 Unprocessable Entity Error - Action Does Not Match
                    Intent
                  description: This code sample attempts to capture payment for an order that was
                    created with `intent=AUTHORIZE`. The operation is incorrect.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - location: body
                        issue: ACTION_DOES_NOT_MATCH_INTENT
                        description: The order was created with an intent of `AUTHORIZE`. To complete
                          authorization, use
                          `/v2/checkout/orders/{order_id}/authorize`. Or,
                          alternately create an order with an intent of
                          `CAPTURE`.
                    message: The requested action could not be performed, semantically incorrect, or
                      failed business validation.
                    debug_id: 90957fca61718
                    links:
                      - href: https://developer.paypal.com/api/orders/v2/#error-ACTION_DOES_NOT_MATCH_INTENT
                        rel: information_link
                        method: GET
        "500":
          $ref: "#/components/responses/500_error_response"
        default:
          $ref: "#/components/responses/default_response"
      x-exampleFlows:
        - title: Capture Order - PayPal Wallet as Payment Source
          description: Captures payment for an order after wallet approval. By default,
            uses the minimal representation.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_capture_00_orders_capture
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          response_example: responses/201/content/application~1json/examples/samples_orders_capture_00_orders_capture
        - title: Capture Order - Idempotent Response with PayPal Wallet
          description: Captures payment for an order after wallet approval with the same
            idempotency key. By default, uses the minimal representation.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_capture_wallet_idempotent
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          response_example: responses/200/content/application~1json/examples/samples_orders_capture_wallet_idempotent
        - title: Capture Order - Minimal Representation with PayPal Wallet Vault ID
          description: The partner captures payment for an order after PayPal Wallet
            approval. By default, uses the minimal representation.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_capture_vault_wallet
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          response_example: responses/201/content/application~1json/examples/samples_orders_capture_vault_wallet
        - title: Capture Order - 403 Forbidden Error - Invalid Card Vault ID
          description: This code sample attempts to capture an order that was created with
            the `CAPTURE` intent but the card vault id can not be found. The
            request fails.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_capture_bank_ach_debit_verified_account_customer_id_vault_instruction_vaulted
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
            - parameters/@name=='Prefer'/examples/samples_orders_capture_bank_ach_debit_verified_account_customer_id_vault_instruction_vaulted
          request_body_example: requestBody/content/application~1json/examples/samples_orders_capture_bank_ach_debit_verified_account_customer_id_vault_instruction_vaulted
          response_example: responses/403/content/application~1json/examples/generic
        - title: Capture Order - 404 Not Found Error - Resource Not Found
          description: This code sample attempts to capture an order but the specified
            order is not found. The request fails.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_capture_bank_ach_debit_verified_account_customer_id_vault_instruction_vaulted
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
            - parameters/@name=='Prefer'/examples/samples_orders_capture_bank_ach_debit_verified_account_customer_id_vault_instruction_vaulted
          request_body_example: requestBody/content/application~1json/examples/samples_orders_capture_bank_ach_debit_verified_account_customer_id_vault_instruction_vaulted
          response_example: responses/404/content/application~1json/examples/generic
        - title: Capture Order - 422 - Payer Action Required
          description: This code sample attempts to capture payment for an order that was
            created by the api caller and the payment could not be processed due
            to PSD2 SCA compliance requirement.
          parameter_examples:
            - parameters/@name=='id'/examples/error_samples_orders_capture_422_payer_action_required_cib_psd2_sca_ba_in_sc
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/error_samples_orders_capture_422_payer_action_required_cib_psd2_sca_ba_in_sc
          response_example: responses/422/content/application~1json/examples/error_samples_orders_capture_422_payer_action_required_cib_psd2_sca_ba_in_sc
        - title: Capture Order - 422 Unprocessable Entity Error - Action Does Not Match
            Intent
          description: This code sample attempts to capture payment for an order that was
            created with `intent=AUTHORIZE`. The operation is incorrect.
          parameter_examples:
            - parameters/@name=='id'/examples/error_samples_orders_capture_422_unprocessable_entity
            - parameters/@name=='PayPal-Request-Id'/examples/request_id
            - parameters/@name=='Authorization'/examples/bearer
          response_example: responses/422/content/application~1json/examples/error_samples_orders_capture_422_unprocessable_entity
  /v2/checkout/orders/{id}/track:
    post:
      operationId: orders.track.create
      summary: Add tracking information for an Order.
      description: Adds tracking information for an Order.
      tags:
        - orders
      security:
        - Oauth2:
            - https://uri.paypal.com/services/payments/payment
      parameters:
        - name: id
          description: The ID of the order that the tracking information is associated with.
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 36
            pattern: ^[A-Z0-9]+$
          examples:
            samples_orders_track_create_complete_request:
              summary: Add Tracking to Order - Carrier Information and Items Breakdown
              description: Adds tracking information for a PayPal order.
              value: 5O190127TN364715T
            samples_orders_track_create_idempotent_complete_request:
              summary: Add Tracking to Order - Idempotent Response
              description: Adds tracking information for a PayPal Order with the same capture
                id & tracking number. Idempotency for trackers is based on the
                capture_id and tracking_number combination sent in the request
                body.
              value: 5O190127TN364715T
            error_samples_orders_track_create_track_create_422_unprocessable_entity_invalid_capture_status:
              summary: Add Tracking to Order - 422 Unprocessable Entity Error - Invalid
                Capture Status.
              description: This code sample attempts to add tracking information for a PayPal
                order but the request fails as capture status is invalid.
              value: 5O190127TN364715T
        - $ref: "#/components/parameters/authorization"
        - $ref: "#/components/parameters/paypal_auth_assertion"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/order_tracker_request"
            examples:
              samples_orders_track_create_complete_request:
                summary: Add Tracking to Order - Carrier Information and Items Breakdown
                description: Adds tracking information for a PayPal order.
                value:
                  capture_id: 8MC585209K746392H
                  tracking_number: "443844607820"
                  carrier: FEDEX
                  notify_payer: false
                  items:
                    - name: T-Shirt
                      sku: sku02
                      quantity: "1"
                      upc:
                        type: UPC-A
                        code: "012345678901"
                      image_url: https://www.example.com/example.jpg
                      url: https://www.example.com/example
              samples_orders_track_create_idempotent_complete_request:
                summary: Add Tracking to Order - Idempotent Response
                description: Adds tracking information for a PayPal Order with the same capture
                  id & tracking number. Idempotency for trackers is based on the
                  capture_id and tracking_number combination sent in the request
                  body.
                value:
                  capture_id: 8MC585209K746392H
                  tracking_number: "443844607820"
                  carrier: FEDEX
                  notify_payer: false
                  items:
                    - name: T-Shirt
                      sku: sku01
                      quantity: "1"
                      upc:
                        type: UPC-A
                        code: "012345678901"
                      image_url: https://www.example.com/example.jpg
                      url: https://www.example.com/example
              error_samples_orders_track_create_track_create_422_unprocessable_entity_invalid_capture_status:
                summary: Add Tracking to Order - 422 Unprocessable Entity Error - Invalid
                  Capture Status.
                description: This code sample attempts to add tracking information for a PayPal
                  order but the request fails as capture status is invalid.
                value:
                  capture_id: 8MC585209K746392H
                  tracking_number: "443844607820"
                  carrier: FEDEX
      responses:
        "200":
          description: A successful response to an idempotent request returns the HTTP
            `200 OK` status code with a JSON response body that shows tracker
            details.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order"
              examples:
                samples_orders_track_create_idempotent_complete_request:
                  summary: Add Tracking to Order - Idempotent Response
                  description: Adds tracking information for a PayPal Order with the same capture
                    id & tracking number. Idempotency for trackers is based on
                    the capture_id and tracking_number combination sent in the
                    request body.
                  value:
                    id: 5O190127TN364715T
                    status: COMPLETED
                    purchase_units:
                      - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                        items:
                          - name: Air Jordan Shoe
                            sku: sku01
                            quantity: "1"
                            unit_amount:
                              currency_code: USD
                              value: "50.00"
                          - name: T-Shirt
                            sku: sku02
                            quantity: "1"
                            unit_amount:
                              currency_code: USD
                              value: "50.00"
                        shipping:
                          trackers:
                            - id: 8MC585209K746392H-443844607820
                              links:
                                - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                                  rel: up
                                  method: GET
                                - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T/trackers/8MC585209K746392H-443844607820
                                  rel: edit
                                  method: PATCH
                              create_time: 2022-08-12T21:20:49Z
                              update_time: 2022-08-12T21:20:49Z
                        payments:
                          captures:
                            - id: 8MC585209K746392H
                              status: COMPLETED
                              amount:
                                currency_code: USD
                                value: "100.00"
                              seller_protection:
                                status: NOT_ELIGIBLE
                              final_capture: true
                              seller_receivable_breakdown:
                                gross_amount:
                                  currency_code: USD
                                  value: "100.00"
                                paypal_fee:
                                  currency_code: USD
                                  value: "3.00"
                                net_amount:
                                  currency_code: USD
                                  value: "97.00"
                              create_time: 2018-04-01T21:20:49Z
                              update_time: 2018-04-01T21:20:49Z
                              links:
                                - href: https://api-m.paypal.com/v2/payments/captures/8MC585209K746392H
                                  rel: self
                                  method: GET
                                - href: https://api-m.paypal.com/v2/payments/captures/8MC585209K746392H/refund
                                  rel: refund
                                  method: POST
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
        "201":
          description: A successful response to a non-idempotent request returns the HTTP
            `201 Created` status code with a JSON response body that shows
            tracker details. If a duplicate response is retried, returns the
            HTTP `200 OK` status code.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order"
              examples:
                samples_orders_track_create_complete_request:
                  summary: Add Tracking to Order - Carrier Information and Items Breakdown
                  description: Adds tracking information for a PayPal order.
                  value:
                    id: 5O190127TN364715T
                    status: COMPLETED
                    purchase_units:
                      - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                        items:
                          - name: Air Jordan Shoe
                            sku: sku01
                            quantity: "1"
                            unit_amount:
                              currency_code: USD
                              value: "50.00"
                          - name: T-Shirt
                            sku: sku02
                            quantity: "1"
                            unit_amount:
                              currency_code: USD
                              value: "50.00"
                        shipping:
                          trackers:
                            - id: 8MC585209K746392H-443844607820
                              links:
                                - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                                  rel: up
                                  method: GET
                                - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T/trackers/8MC585209K746392H-443844607820
                                  rel: edit
                                  method: PATCH
                              create_time: 2022-08-12T21:20:49Z
                              update_time: 2022-08-12T21:20:49Z
                        payments:
                          captures:
                            - id: 8MC585209K746392H
                              status: COMPLETED
                              amount:
                                currency_code: USD
                                value: "100.00"
                              seller_protection:
                                status: NOT_ELIGIBLE
                              final_capture: true
                              seller_receivable_breakdown:
                                gross_amount:
                                  currency_code: USD
                                  value: "100.00"
                                paypal_fee:
                                  currency_code: USD
                                  value: "3.00"
                                net_amount:
                                  currency_code: USD
                                  value: "97.00"
                              create_time: 2018-04-01T21:20:49Z
                              update_time: 2018-04-01T21:20:49Z
                              links:
                                - href: https://api-m.paypal.com/v2/payments/captures/8MC585209K746392H
                                  rel: self
                                  method: GET
                                - href: https://api-m.paypal.com/v2/payments/captures/8MC585209K746392H/refund
                                  rel: refund
                                  method: POST
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: self
                        method: GET
        "400":
          description: Request is not well-formed, syntactically incorrect, or violates
            schema.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_orders_track_create_track_create_400_missing_parameter:
                  summary: Add Tracking to Order - 400 Bad Request - Missing Required Parameter
                  description: This code sample attempts to add tracking information for a PayPal
                    order but required parameter capture id is not passed.
                  value:
                    name: INVALID_REQUEST
                    message: Request is not well-formed, syntactically incorrect, or violates
                      schema.
                    debug_id: 360ee42996992
                    details:
                      - field: /capture_id
                        issue: MISSING_REQUIRED_PARAMETER
                        description: A required field / parameter is missing.
                        location: body
                    links:
                      - href: https://developer.paypal.com/api/orders/v2/#error-MISSING_REQUIRED_PARAMETER
                        rel: information_link
        "401":
          $ref: "#/components/responses/401_error_response"
        "403":
          $ref: "#/components/responses/403_error_response"
        "404":
          $ref: "#/components/responses/404_error_response"
        "422":
          description: The requested action could not be performed, semantically
            incorrect, or failed business validation.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_orders_track_create_track_create_422_unprocessable_entity_invalid_capture_status:
                  summary: Add Tracking to Order - 422 Unprocessable Entity Error - Invalid
                    Capture Status.
                  description: This code sample attempts to add tracking information for a PayPal
                    order but the request fails as capture status is invalid.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    message: The requested action could not be performed, semantically incorrect, or
                      failed business validation.
                    debug_id: 360ee42996992
                    details:
                      - issue: CAPTURE_STATUS_NOT_VALID
                        description: Invalid capture status. Tracker information can only be added to
                          captures in `COMPLETED` state.
                    links:
                      - href: https://developer.paypal.com/docs/api/orders/v2/#error-CAPTURE_STATUS_NOT_VALID
                        rel: information_link
                        method: GET
        "500":
          $ref: "#/components/responses/500_error_response"
        default:
          $ref: "#/components/responses/default_response"
      x-exampleFlows:
        - title: Add Tracking to Order - Carrier Information and Items Breakdown
          description: Adds tracking information for a PayPal order.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_track_create_complete_request
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_track_create_complete_request
          response_example: responses/201/content/application~1json/examples/samples_orders_track_create_complete_request
        - title: Add Tracking to Order - Idempotent Response
          description: Adds tracking information for a PayPal Order with the same capture
            id & tracking number. Idempotency for trackers is based on the
            capture_id and tracking_number combination sent in the request body.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_track_create_idempotent_complete_request
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_track_create_idempotent_complete_request
          response_example: responses/200/content/application~1json/examples/samples_orders_track_create_idempotent_complete_request
        - title: Add Tracking to Order - 400 Bad Request - Missing Required Parameter
          description: This code sample attempts to add tracking information for a PayPal
            order but required parameter capture id is not passed.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_track_create_idempotent_complete_request
            - parameters/@name=='Authorization'/examples/bearer
          response_example: responses/400/content/application~1json/examples/error_samples_orders_track_create_track_create_400_missing_parameter
        - title: Add Tracking to Order - 403 Forbidden - No Permission for the Order
          description: This code sample attempts to add tracking information for a Paypal
            Order, but the API caller does not have permission to act on this
            resource.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_track_create_idempotent_complete_request
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_track_create_idempotent_complete_request
          response_example: responses/403/content/application~1json/examples/generic
        - title: Add Tracking to Order - 422 Unprocessable Entity Error - Invalid Capture
            Status.
          description: This code sample attempts to add tracking information for a PayPal
            order but the request fails as capture status is invalid.
          parameter_examples:
            - parameters/@name=='id'/examples/error_samples_orders_track_create_track_create_422_unprocessable_entity_invalid_capture_status
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/error_samples_orders_track_create_track_create_422_unprocessable_entity_invalid_capture_status
          response_example: responses/422/content/application~1json/examples/error_samples_orders_track_create_track_create_422_unprocessable_entity_invalid_capture_status
        - title: Add Tracking to Order - 500 Internal Server Error
          description: This code sample attempts to add tracking information for a PayPal
            Order but the request fails due to an internal server error.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_orders_track_create_idempotent_complete_request
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_orders_track_create_idempotent_complete_request
          response_example: responses/500/content/application~1json/examples/generic
  /v2/checkout/orders/{id}/trackers/{tracker_id}:
    patch:
      operationId: orders.trackers.patch
      summary: Update or cancel tracking information for an order
      description: Updates or cancels the tracking information for a PayPal order, by
        ID. Updatable attributes or
        objects:<br/><br/><table><thead><th>Attribute</th><th>Op</th><th>Notes</th></thead><tbody></tr><tr><td><code>items</code></td><td>replace</td><td>Using
        replace op for <code>items</code> will replace the entire
        <code>items</code> object with the value sent in
        request.</td></tr><tr><td><code>notify_payer</code></td><td>replace,
        add</td><td></td></tr><tr><td><code>status</code></td><td>replace</td><td>Only
        patching status to CANCELLED is currently
        supported.</td></tr></tbody></table>
      tags:
        - trackers
      security:
        - Oauth2:
            - https://uri.paypal.com/services/payments/payment
      parameters:
        - name: id
          description: The ID of the order that the tracking information is associated with.
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 36
            pattern: ^[A-Z0-9]+$
          examples:
            samples_order_track_patch_example:
              value: 5O190127TN364715T
              summary: Example id value
              description: An example value for the id parameter.
        - name: tracker_id
          description: The order tracking ID.
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 36
            pattern: ^[A-Z0-9]+$
          examples:
            samples_order_track_patch_example:
              value: 8MC585209K746392H443844607820
              summary: Example tracker_id value
              description: An example value for the tracker_id parameter.
        - $ref: "#/components/parameters/authorization"
        - $ref: "#/components/parameters/paypal_auth_assertion"
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/patch_request"
            examples:
              samples_order_track_patch_orders_trackers_patch_add_notify-payer:
                summary: Patch Tracking Information - Add Notification for a Shipment.
                description: Updates an order tracking information to add notification for a
                  shipment.
                value:
                  - op: add
                    path: /notify_payer
                    value: true
              samples_order_track_patch_orders_trackers_patch_replace_status:
                summary: Patch Tracking Information - Replace the Status of the Tracker.
                description: Updates order tracking information to replace the existing status
                  with a new status.
                value:
                  - op: replace
                    path: /status
                    value: CANCELLED
              error_samples_order_track_patch_trackers_patch_422_cannot_patch_cancelled_tracker:
                summary: Patch Tracking Information - 422 UNPROCESSABLE ENTITY Error - Cannot
                  patch cancelled tracker.
                description: This code sample attempts to update an order's Tracking information
                  but the request fails as the tracker had been previously
                  transitioned into the "cancelled" state.
                value:
                  - op: replace
                    path: items
                    value:
                      - name: T-Shirt
                        sku: sku01
                        quantity: "1"
                        upc:
                          type: UPC-A
                          code: upc001
                        image_url: https://www.example.com/example1.jpg
                        url: https://www.example.com/example
                      - name: NeoPhone
                        sku: sku02
                        quantity: "2"
                        upc:
                          type: UPC-A
                          code: upc002
                        image_url: https://www.example.com/example2.jpg
                        url: https://www.example.com/example
      responses:
        "204":
          $ref: "#/components/responses/204_response"
        "400":
          description: Request is not well-formed, syntactically incorrect, or violates
            schema.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_order_track_patch_trackers_patch_400_invalid_patch_value:
                  summary: Patch Tracking Information - 400 Bad Request Error - Invalid Request.
                  description: This code sample attempts to update an order tracking information
                    to replace notify_payer, but the request fails due to
                    invalid value in the request.
                  value:
                    name: INVALID_REQUEST
                    message: Request is not well-formed, syntactically incorrect, or violates
                      schema.
                    debug_id: 2f541ace12987
                    details:
                      - field: /notify_payer
                        issue: INVALID_PARAMETER_VALUE
                        description: The value of a field is invalid.
                        location: body
                    links:
                      - href: https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_VALUE
                        rel: information_link
                        method: GET
        "401":
          $ref: "#/components/responses/401_error_response"
        "403":
          $ref: "#/components/responses/403_error_response"
        "404":
          $ref: "#/components/responses/404_error_response"
        "422":
          description: The requested action could not be performed, semantically
            incorrect, or failed business validation.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                error_samples_order_track_patch_trackers_patch_422_cannot_patch_cancelled_tracker:
                  summary: Patch Tracking Information - 422 UNPROCESSABLE ENTITY Error - Cannot
                    patch cancelled tracker.
                  description: This code sample attempts to update an order's Tracking information
                    but the request fails as the tracker had been previously
                    transitioned into the "cancelled" state.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    message: The requested action could not be performed, semantically incorrect, or
                      failed business validation.
                    debug_id: 3178dbf457625
                    details:
                      - field: path
                        value: /status
                        location: body
                        issue: CANNOT_PATCH_CANCELLED_TRACKER
                        description: Cancelled trackers cannot be modified.
                    links:
                      - href: https://developer.paypal.com/docs/api/orders/v2/#error-NOT_PATCHABLE
                        rel: information_link
                        method: GET
        "500":
          $ref: "#/components/responses/500_error_response"
        default:
          $ref: "#/components/responses/default_response"
      x-exampleFlows:
        - title: Patch Tracking Information - Replace the Status of the Tracker.
          description: Updates order tracking information to replace the existing status
            with a new status.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_order_track_patch_example
            - parameters/@name=='tracker_id'/examples/samples_order_track_patch_example
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_order_track_patch_orders_trackers_patch_replace_status
        - title: Patch Tracking Information - Add Notification for a Shipment.
          description: Updates an order tracking information to add notification for a
            shipment.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_order_track_patch_example
            - parameters/@name=='tracker_id'/examples/samples_order_track_patch_example
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_order_track_patch_orders_trackers_patch_add_notify-payer
        - title: Patch Tracking Information - 400 Bad Request Error - Invalid Request.
          description: This code sample attempts to update an order tracking information
            to replace notify_payer, but the request fails due to invalid value
            in the request.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_order_track_patch_example
            - parameters/@name=='tracker_id'/examples/samples_order_track_patch_example
            - parameters/@name=='Authorization'/examples/bearer
          response_example: responses/400/content/application~1json/examples/error_samples_order_track_patch_trackers_patch_400_invalid_patch_value
        - title: Patch Tracking Information - 403 Forbidden.
          description: This code sample attempts to update an Order Tracking information,
            but the API caller does not have permission to act on this resource.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_order_track_patch_example
            - parameters/@name=='tracker_id'/examples/samples_order_track_patch_example
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_order_track_patch_orders_trackers_patch_add_notify-payer
          response_example: responses/403/content/application~1json/examples/generic
        - title: Patch Tracking Information - 404 Not Found Error - Tracker ID Not Found.
          description: This code sample attempts to update an Order Tracking information
            but the request fails as specified tracker id is not found.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_order_track_patch_example
            - parameters/@name=='tracker_id'/examples/samples_order_track_patch_example
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_order_track_patch_orders_trackers_patch_add_notify-payer
          response_example: responses/404/content/application~1json/examples/generic
        - title: Patch Tracking Information - 422 UNPROCESSABLE ENTITY Error - Cannot
            patch cancelled tracker.
          description: This code sample attempts to update an order's Tracking information
            but the request fails as the tracker had been previously
            transitioned into the "cancelled" state.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_order_track_patch_example
            - parameters/@name=='tracker_id'/examples/samples_order_track_patch_example
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/error_samples_order_track_patch_trackers_patch_422_cannot_patch_cancelled_tracker
          response_example: responses/422/content/application~1json/examples/error_samples_order_track_patch_trackers_patch_422_cannot_patch_cancelled_tracker
        - title: Patch Tracking Information - 500 Internal Server Error.
          description: This code sample attempts to update an Order Tracking information
            but the request fails due to an internal server error.
          parameter_examples:
            - parameters/@name=='id'/examples/samples_order_track_patch_example
            - parameters/@name=='tracker_id'/examples/samples_order_track_patch_example
            - parameters/@name=='Authorization'/examples/bearer
          request_body_example: requestBody/content/application~1json/examples/samples_order_track_patch_orders_trackers_patch_add_notify-payer
          response_example: responses/500/content/application~1json/examples/generic
  /v2/checkout/orders/order-update-callback:
    post:
      operationId: server.callback
      summary: Receive updated order information via callback URL
      description: The documentation for this 'endpoint' is different from the other
        endpoints under v2 Orders. For this endpoint the role of client and
        server is reversed. The client sending the request is PayPal, and the
        server sending the response is the merchant. In the request, PayPal will
        send the buyer's redacted shipping address and selected shipping option
        to the callback URL defined the create order request. The response from
        the merchant will update the Orders resource.
      tags:
        - externalcallback
      security:
        - Oauth2:
            - https://uri.paypal.com/services/payments/payment
      parameters:
        - $ref: "#/components/parameters/authorization"
        - $ref: "#/components/parameters/paypal_transmission_id"
        - $ref: "#/components/parameters/paypal_transmission_time"
        - $ref: "#/components/parameters/paypal_cert_url"
        - $ref: "#/components/parameters/paypal_transmission_sig"
        - $ref: "#/components/parameters/paypal_auth_algo"
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/order_update_callback_request"
            examples:
              samples_orders_shippingOptionsExternalCallback_shipping_address_callback_address_alone:
                summary: Shipping Options Callback Request - Shipping Address Only Event
                description: The PayPal callback server sends request with a buyer's shipping
                  address, and the purchase_units of the order, to the merchant
                  listener URL. The request payload is an example of the event
                  that will be sent as soon as the buyer is presented with the
                  "PayPal Buyer Approval" page. The merchant responds with a the
                  appropriate tax calculation for the shipping address, and a
                  list of available shipping options.
                value:
                  id: 8HFTASDATTV
                  shipping_address:
                    country_code: US
                    admin_area_1: TX
                    admin_area_2: Dallas
                    postal_code: "75001"
                  purchase_units:
                    - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                      amount:
                        currency_code: USD
                        value: "100.00"
              samples_orders_shippingOptionsExternalCallback_shipping_address_callback_with_address_and_options:
                summary: Shipping Options Callback Request - Shipping Address and Shipping
                  Options Event
                description: The PayPal callback server sends request with a buyer's shipping
                  address, the shipping option the buyer selected, and the
                  purchase_units of the order, to the merchant listener URL. The
                  merchant responds with a the appropriate tax calculation and
                  breakdown for the given address and shipping option
                  combination.
                value:
                  id: 5O190127TN364715T
                  shipping_address:
                    country_code: US
                    admin_area_1: TX
                    admin_area_2: Dallas
                    postal_code: "75001"
                  shipping_option:
                    id: "2"
                    amount:
                      currency_code: USD
                      value: "20.00"
                    type: SHIPPING
                    label: USPS Priority Shipping
                    selected: true
                  purchase_units:
                    - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                      amount:
                        currency_code: USD
                        value: "100.00"
      responses:
        "200":
          description: The callback to merchant was successful.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order_update_callback_response"
              examples:
                samples_orders_shippingOptionsExternalCallback_shipping_address_callback_address_alone:
                  summary: Shipping Options Callback Request - Shipping Address Only Event
                  description: The PayPal callback server sends request with a buyer's shipping
                    address, and the purchase_units of the order, to the
                    merchant listener URL. The request payload is an example of
                    the event that will be sent as soon as the buyer is
                    presented with the "PayPal Buyer Approval" page. The
                    merchant responds with a the appropriate tax calculation for
                    the shipping address, and a list of available shipping
                    options.
                  value:
                    id: 8HFTASDATTV
                    purchase_units:
                      reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                      amount:
                        currency_code: USD
                        value: "105.00"
                        breakdown:
                          item_total:
                            currency_code: USD
                            value: "100.00"
                          tax_total:
                            currency_code: USD
                            value: "5.00"
                          shipping:
                            currency_code: USD
                            value: "0.00"
                      shipping_options:
                        - id: "1"
                          amount:
                            currency_code: USD
                            value: "0.00"
                          type: SHIPPING
                          label: Free Shipping
                          selected: true
                        - id: "2"
                          amount:
                            currency_code: USD
                            value: "7.00"
                          type: SHIPPING
                          label: USPS Priority Shipping
                          selected: false
                        - id: "3"
                          amount:
                            currency_code: USD
                            value: "10.00"
                          type: SHIPPING
                          label: 1-Day Shipping
                          selected: false
                samples_orders_shippingOptionsExternalCallback_shipping_address_callback_with_address_and_options:
                  summary: Shipping Options Callback Request - Shipping Address and Shipping
                    Options Event
                  description: The PayPal callback server sends request with a buyer's shipping
                    address, the shipping option the buyer selected, and the
                    purchase_units of the order, to the merchant listener URL.
                    The merchant responds with a the appropriate tax calculation
                    and breakdown for the given address and shipping option
                    combination.
                  value:
                    id: 8HFTASDATTV
                    purchase_units:
                      reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
                      amount:
                        currency_code: USD
                        value: "125.00"
                        breakdown:
                          item_total:
                            currency_code: USD
                            value: "100.00"
                          tax_total:
                            currency_code: USD
                            value: "5.00"
                          shipping:
                            currency_code: USD
                            value: "20.00"
                      shipping_options:
                        - id: "1"
                          amount:
                            currency_code: USD
                            value: "0.00"
                          type: SHIPPING
                          label: Free Shipping
                          selected: false
                        - id: "2"
                          amount:
                            currency_code: USD
                            value: "20.00"
                          type: SHIPPING
                          label: USPS Priority Shipping
                          selected: true
                        - id: "3"
                          amount:
                            currency_code: USD
                            value: "10.00"
                          type: SHIPPING
                          label: 1-Day Shipping
                          selected: false
        "400":
          description: The request is not well-formed, is syntactically incorrect, or
            violates the schema.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order_update_callback_error_response"
        "401":
          description: Authentication failed due to missing authorization header or
            invalid authentication credentials. For callbacks, authentication is
            performed via signature verification of PayPal transmission headers.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order_update_callback_error_response"
        "403":
          $ref: "#/components/responses/403_error_response"
        "422":
          description: The requested action could not be completed, was semantically
            incorrect, or failed business validation.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/order_update_callback_error_response"
              examples:
                error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_ADDRESS_ERROR:
                  summary: Shipping Options Callback - 422 Unprocessable Entity - ADDRESS_ERROR
                  description: This code sample attempts to retrieves the shipping options for an
                    order, but the request fails because the address is not
                    accepted by the merchant.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - issue: ADDRESS_ERROR
                error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_COUNTRY_ERROR:
                  summary: Shipping Options Callback - 422 Unprocessable Entity - COUNTRY_ERROR
                  description: This code sample attempts to retrieves the shipping options for an
                    order, but the request fails because the merchant doesnt
                    ship to the country provided.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - issue: COUNTRY_ERROR
                error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_METHOD_UNAVAILABLE:
                  summary: Shipping Options Callback - 422 Unprocessable Entity -
                    METHOD_UNAVAILABLE
                  description: This code sample attempts to retrieves the shipping options for an
                    order, but the request fails because the merchant support
                    the shipping option provided.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - issue: METHOD_UNAVAILABLE
                error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_STATE_ERROR:
                  summary: Shipping Options Callback - 422 Unprocessable Entity - STATE_ERROR
                  description: This code sample attempts to retrieves the shipping options for an
                    order, but the request fails because the merchant doesnt
                    ship to this state.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - issue: STATE_ERROR
                error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_STORE_UNAVAILABLE:
                  summary: Shipping Options Callback - 422 Unprocessable Entity -
                    STORE_UNAVAILABLE
                  description: This code sample attempts to retrieves the shipping options for an
                    order, but the request fails because part of the item is not
                    available in the store.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - issue: STORE_UNAVAILABLE
                error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_ZIP_ERROR:
                  summary: Shipping Options Callback - 422 Unprocessable Entity - ZIP_ERROR
                  description: This code sample attempts to retrieves the shipping options for an
                    order, but the request fails because the merchant doesnt
                    ship to this state.
                  value:
                    name: UNPROCESSABLE_ENTITY
                    details:
                      - issue: ZIP_ERROR
        "500":
          $ref: "#/components/responses/500_error_response"
        default:
          $ref: "#/components/responses/default_response"
      x-exampleFlows:
        - title: Shipping Options Callback Request - Shipping Address Only Event
          description: The PayPal callback server sends request with a buyer's shipping
            address, and the purchase_units of the order, to the merchant
            listener URL. The request payload is an example of the event that
            will be sent as soon as the buyer is presented with the "PayPal
            Buyer Approval" page. The merchant responds with a the appropriate
            tax calculation for the shipping address, and a list of available
            shipping options.
          parameter_examples:
            - parameters/@name=='PayPal-Transmission-Id'/examples/transmission_id
            - parameters/@name=='PayPal-Transmission-Time'/examples/transmission_time
            - parameters/@name=='PayPal-Cert-Url'/examples/cert_url
            - parameters/@name=='PayPal-Transmission-Sig'/examples/transmission_sig
            - parameters/@name=='PayPal-Auth-Algo'/examples/auth_algo
          request_body_example: requestBody/content/application~1json/examples/samples_orders_shippingOptionsExternalCallback_shipping_address_callback_address_alone
          response_example: responses/200/content/application~1json/examples/samples_orders_shippingOptionsExternalCallback_shipping_address_callback_address_alone
        - title: Shipping Options Callback Request - Shipping Address and Shipping Options
            Event
          description: The PayPal callback server sends request with a buyer's shipping
            address, the shipping option the buyer selected, and the
            purchase_units of the order, to the merchant listener URL. The
            merchant responds with a the appropriate tax calculation and
            breakdown for the given address and shipping option combination.
          parameter_examples:
            - parameters/@name=='PayPal-Transmission-Id'/examples/transmission_id
            - parameters/@name=='PayPal-Transmission-Time'/examples/transmission_time
            - parameters/@name=='PayPal-Cert-Url'/examples/cert_url
            - parameters/@name=='PayPal-Transmission-Sig'/examples/transmission_sig
            - parameters/@name=='PayPal-Auth-Algo'/examples/auth_algo
          request_body_example: requestBody/content/application~1json/examples/samples_orders_shippingOptionsExternalCallback_shipping_address_callback_with_address_and_options
          response_example: responses/200/content/application~1json/examples/samples_orders_shippingOptionsExternalCallback_shipping_address_callback_with_address_and_options
        - title: Shipping Options Callback - 422 Unprocessable Entity - ADDRESS_ERROR
          description: This code sample attempts to retrieves the shipping options for an
            order, but the request fails because the address is not accepted by
            the merchant.
          parameter_examples:
            - parameters/@name=='PayPal-Transmission-Id'/examples/transmission_id
            - parameters/@name=='PayPal-Transmission-Time'/examples/transmission_time
            - parameters/@name=='PayPal-Cert-Url'/examples/cert_url
            - parameters/@name=='PayPal-Transmission-Sig'/examples/transmission_sig
            - parameters/@name=='PayPal-Auth-Algo'/examples/auth_algo
          request_body_example: requestBody/content/application~1json/examples/samples_orders_shippingOptionsExternalCallback_shipping_address_callback_with_address_and_options
          response_example: responses/422/content/application~1json/examples/error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_ADDRESS_ERROR
        - title: Shipping Options Callback - 422 Unprocessable Entity - COUNTRY_ERROR
          description: This code sample attempts to retrieves the shipping options for an
            order, but the request fails because the merchant doesnt ship to the
            country provided.
          parameter_examples:
            - parameters/@name=='PayPal-Transmission-Id'/examples/transmission_id
            - parameters/@name=='PayPal-Transmission-Time'/examples/transmission_time
            - parameters/@name=='PayPal-Cert-Url'/examples/cert_url
            - parameters/@name=='PayPal-Transmission-Sig'/examples/transmission_sig
            - parameters/@name=='PayPal-Auth-Algo'/examples/auth_algo
          request_body_example: requestBody/content/application~1json/examples/samples_orders_shippingOptionsExternalCallback_shipping_address_callback_with_address_and_options
          response_example: responses/422/content/application~1json/examples/error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_COUNTRY_ERROR
        - title: Shipping Options Callback - 422 Unprocessable Entity - METHOD_UNAVAILABLE
          description: This code sample attempts to retrieves the shipping options for an
            order, but the request fails because the merchant support the
            shipping option provided.
          parameter_examples:
            - parameters/@name=='PayPal-Transmission-Id'/examples/transmission_id
            - parameters/@name=='PayPal-Transmission-Time'/examples/transmission_time
            - parameters/@name=='PayPal-Cert-Url'/examples/cert_url
            - parameters/@name=='PayPal-Transmission-Sig'/examples/transmission_sig
            - parameters/@name=='PayPal-Auth-Algo'/examples/auth_algo
          request_body_example: requestBody/content/application~1json/examples/samples_orders_shippingOptionsExternalCallback_shipping_address_callback_with_address_and_options
          response_example: responses/422/content/application~1json/examples/error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_METHOD_UNAVAILABLE
        - title: Shipping Options Callback - 422 Unprocessable Entity - STATE_ERROR
          description: This code sample attempts to retrieves the shipping options for an
            order, but the request fails because the merchant doesnt ship to
            this state.
          parameter_examples:
            - parameters/@name=='PayPal-Transmission-Id'/examples/transmission_id
            - parameters/@name=='PayPal-Transmission-Time'/examples/transmission_time
            - parameters/@name=='PayPal-Cert-Url'/examples/cert_url
            - parameters/@name=='PayPal-Transmission-Sig'/examples/transmission_sig
            - parameters/@name=='PayPal-Auth-Algo'/examples/auth_algo
          request_body_example: requestBody/content/application~1json/examples/samples_orders_shippingOptionsExternalCallback_shipping_address_callback_with_address_and_options
          response_example: responses/422/content/application~1json/examples/error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_STATE_ERROR
        - title: Shipping Options Callback - 422 Unprocessable Entity - STORE_UNAVAILABLE
          description: This code sample attempts to retrieves the shipping options for an
            order, but the request fails because part of the item is not
            available in the store.
          parameter_examples:
            - parameters/@name=='PayPal-Transmission-Id'/examples/transmission_id
            - parameters/@name=='PayPal-Transmission-Time'/examples/transmission_time
            - parameters/@name=='PayPal-Cert-Url'/examples/cert_url
            - parameters/@name=='PayPal-Transmission-Sig'/examples/transmission_sig
            - parameters/@name=='PayPal-Auth-Algo'/examples/auth_algo
          request_body_example: requestBody/content/application~1json/examples/samples_orders_shippingOptionsExternalCallback_shipping_address_callback_with_address_and_options
          response_example: responses/422/content/application~1json/examples/error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_STORE_UNAVAILABLE
        - title: Shipping Options Callback - 422 Unprocessable Entity - ZIP_ERROR
          description: This code sample attempts to retrieves the shipping options for an
            order, but the request fails because the merchant doesnt ship to
            this state.
          parameter_examples:
            - parameters/@name=='PayPal-Transmission-Id'/examples/transmission_id
            - parameters/@name=='PayPal-Transmission-Time'/examples/transmission_time
            - parameters/@name=='PayPal-Cert-Url'/examples/cert_url
            - parameters/@name=='PayPal-Transmission-Sig'/examples/transmission_sig
            - parameters/@name=='PayPal-Auth-Algo'/examples/auth_algo
          request_body_example: requestBody/content/application~1json/examples/samples_orders_shippingOptionsExternalCallback_shipping_address_callback_with_address_and_options
          response_example: responses/422/content/application~1json/examples/error_samples_orders_shippingOptionsExternalCallback_external_callback_shipping_options_callback_422_ZIP_ERROR
  /v2/checkout/callback/certs/{cert_id}:
    get:
      operationId: certs.get
      summary: Get public callback verification certificate
      description: Returns the public X.509 certificate (PEM-encoded) for the
        specified certificate id. Merchants use this certificate to verify the
        signature of PayPal callback requests.
      tags:
        - externalcallback
        - certs
      parameters:
        - name: cert_id
          description: The certificate identifier. A 16-character lowercase hexadecimal
            string used to identify the signing certificate.
          in: path
          required: true
          schema:
            type: string
            minLength: 16
            maxLength: 16
            pattern: ^[0-9a-f]+$
          examples:
            certificate_id:
              value: d01361aa2b87337f
              summary: Example certificate ID
              description: A 16-character lowercase hexadecimal string that identifies the
                requested certificate.
      responses:
        "200":
          description: A successful request returns the HTTP `200 OK` status code and a
            plain text response body that contains the PEM-encoded public
            certificate for verifying callback request signatures.
          content:
            application/json:
              schema:
                type: string
                description: PEM-encoded X.509 public certificate.
                minLength: 1
                maxLength: 8192
                pattern: ^[\S\s]*$
              examples:
                certs_get_200:
                  summary: Get Certificate - 200 Success
                  description: Successful retrieval of the PEM certificate.
                  value: "-----BEGIN CERTIFICATE-----\r

                    MIIHXzCCBkegAwIBAgIQAxJN5DSYOQAuQZSJU29v6zANBgkqhkiG9w0BAQs\
                    FADB1MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFw\
                    YDVQQLExB3d3cuZGlnaWNlcnQuY29tMTQwMgYDVQQDEytEaWdpQ2VydCBTS\
                    EEyIEV4dGVuZGVkIFZhbGlkYXRpb24gU2VydmVyIENBMB4XDTI2MDIyNzAw\
                    MDAwMFoXDTI2MDQxNDIzNTk1OVowgdsxEzARBgsrBgEEAYI3PAIBAxMCVVM\
                    xGTAXBgsrBgEEAYI3PAIBAhMIRGVsYXdhcmUxHTAbBgNVBA8MFFByaXZhdG\
                    UgT3JnYW5pemF0aW9uMRAwDgYDVQQFEwczMDE0MjY3MQswCQYDVQQGEwJVU\
                    zETMBEGA1UECBMKQ2FsaWZvcm5pYTERMA8GA1UEBxMIU2FuIEpvc2UxFTAT\
                    BgNVBAoTDFBheVBhbCwgSW5jLjEsMCoGA1UEAxMjbWVzc2FnZXZlcmlmaWN\
                    hdGlvbmNlcnRzLnBheXBhbC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDw\
                    AwggEKAoIBAQCQL4UYfyaj8pdQYOy31q2ECUEpHFKz/vXa0UMzwJrBGmdok\
                    5sMtE6ShUaGOO2JVUdhdnFro2HdR0dmCe4sSHrHmL/58bpHsAhgZNtDdTY8\
                    ifm95b5rRKeG9aYLT9fcG+4qcp5lRNT6DxQJ9YFfK6fy5Ae15AP6Oad+Z85\
                    dWcOS4Exm1hTzhwqoU1PcOm/a1cAtkBUdFehblWKPNWbOhaLGJZJwn7XYgQ\
                    LLxDeUY9mY4OhePYJuYrhGsrbH9giVgGH307ZMBsjMNjYtPnPNKzt3lsBUP\
                    RC+V45KcrWBBaqqGUolh9mM2bPpp7D2P9ON8eotoUb+vg09Jo9GDvczYDfp\
                    AgMBAAGjggOCMIIDfjAfBgNVHSMEGDAWgBQ901Cl1qCt7vNKYApl0yHU+Pj\
                    WDzAdBgNVHQ4EFgQUv50CWLYHZK7qXjn4O9yDMndc4wQwLgYDVR0RBCcwJY\
                    IjbWVzc2FnZXZlcmlmaWNhdGlvbmNlcnRzLnBheXBhbC5jb20wSgYDVR0gB\
                    EMwQTALBglghkgBhv1sAgEwMgYFZ4EMAQEwKTAnBggrBgEFBQcCARYbaHR0\
                    cDovL3d3dy5kaWdpY2VydC5jb20vQ1BTMA4GA1UdDwEB/wQEAwIFoDAdBgN\
                    VHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwdQYDVR0fBG4wbDA0oDKgMI\
                    YuaHR0cDovL2NybDMuZGlnaWNlcnQuY29tL3NoYTItZXYtc2VydmVyLWczL\
                    mNybDA0oDKgMIYuaHR0cDovL2NybDQuZGlnaWNlcnQuY29tL3NoYTItZXYt\
                    c2VydmVyLWczLmNybDCBiAYIKwYBBQUHAQEEfDB6MCQGCCsGAQUFBzABhhh\
                    odHRwOi8vb2NzcC5kaWdpY2VydC5jb20wUgYIKwYBBQUHMAKGRmh0dHA6Ly\
                    9jYWNlcnRzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydFNIQTJFeHRlbmRlZFZhb\
                    GlkYXRpb25TZXJ2ZXJDQS5jcnQwDAYDVR0TAQH/BAIwADCCAX8GCisGAQQB\
                    1nkCBAIEggFvBIIBawFpAHYAZBHEbKQS7KeJHKICLgC8q08oB9QeNSer6v7\
                    VA8l9zfAAAAGcnkTDmgAABAMARzBFAiEAr/QMXEJsayhVJLOIevxM9jUUbr\
                    BPz20gu0zuT0YYsw8CIDlcyK2WYBJArRP7uB8KzH2wsBik6j6DgBbe/UNoK\
                    6b7AHcADleUvPOuqT4zGyyZB7P3kN+bwj1xMiXdIaklrGHFTiEAAAGcnkTD\
                    nAAABAMASDBGAiEA4nXFbxXfPRLH5hB7Ew6rbHg9FR7JsCM32dFeNuauJ8k\
                    CIQDwqhVhR0aJc+MoRBfr3+7J/xadcU9akQgqRk4HXDt9wgB2AEmcm2neHX\
                    zs/DbezYdkprhbrwqHgBnRVVL76esp3fjDAAABnJ5Ew6kAAAQDAEcwRQIhA\
                    KKaCt2+XIKnNv6AwiNxGbrTq2AXmRaMxlBz4sfflzl8AiAlaS5k3fdqYJDE\
                    OSmY6jZuP5wpSDOsJKsCFwkwE0HzfzANBgkqhkiG9w0BAQsFAAOCAQEA0IC\
                    51Rq9b8PQGnJOJEUuJnV8pbM8JxnVXZW0iicU1cQcCVD69whgpJUka+GZrJ\
                    CiWQErpFkw+AUZE83oVk/XfxbHZZnTiyqFgynsOEyerDkvlZuPmhBtudsbH\
                    6gZkFOQCRUysOkBmeyxLFb1h8B/kFeHgYeEoAJUv7FbBsCDONGjonjDrJqv\
                    l7xKLMOBWWmJuW9NjzQ36MUHjrGASK4WZO8SDj6k7rRRQa1Zs8VbPG3xkCi\
                    65QaPdmtBIASy2Ov5qrpXAQqLnt9hiQ7Hn9XRQUxGrzrXLmmHVHY9ISr6xD\
                    NOXbU2MwWbIwhbyXTrmWhmzBHaLGKaeOp33vZ5yccyfg==\r

                    -----END CERTIFICATE-----"
        "400":
          description: Request is not well-formed, syntactically incorrect, or violates
            schema.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error"
              examples:
                certs_get_400_format:
                  summary: Get Certificate - 400 Invalid Format
                  description: Certificate id has invalid format
                  value:
                    name: INVALID_REQUEST
                    message: Request is not well-formed, syntactically incorrect, or violates
                      schema.
                    debug_id: b6b3c3a2e1234
                    details:
                      - field: cert_id
                        value: "!!!!!!!!!!!!!!!!"
                        location: path
                        issue: INVALID_PARAMETER_SYNTAX
                        description: The value of a field does not conform to the expected format.
                certs_get_400_length:
                  summary: Get Certificate - 400 Invalid Length
                  description: Certificate id has invalid length
                  value:
                    name: INVALID_REQUEST
                    message: Request is not well-formed, syntactically incorrect, or violates
                      schema.
                    debug_id: b6b3c3a2e1234
                    details:
                      - field: cert_id
                        value: abc123
                        location: path
                        issue: INVALID_STRING_LENGTH
                        description: The value of a field is either too short or too long.
        "401":
          $ref: "#/components/responses/401_error_response"
        "403":
          $ref: "#/components/responses/403_error_response"
        "404":
          $ref: "#/components/responses/404_error_response"
        "500":
          $ref: "#/components/responses/500_error_response"
        default:
          $ref: "#/components/responses/default_response"
      x-exampleFlows:
        - title: Get Public Certificate
          description: Retrieve the PEM-encoded public certificate for verifying PayPal
            callback request signatures.
          parameter_examples:
            - parameters/@name=='cert_id'/examples/certificate_id
          response_example: responses/200/content/application~1json/examples/certs_get_200
        - title: Get Public Certificate - 400 Invalid Request - Invalid Certificate ID
            Format
          description: Certificate id has invalid format or length.
          parameter_examples:
            - parameters/@name=='cert_id'/examples/certificate_id
          response_example: responses/400/content/application~1json/examples/certs_get_400_format
        - title: Get Public Certificate - 400 Invalid Request - Invalid Certificate ID
            Length
          description: Certificate id has invalid format or length.
          parameter_examples:
            - parameters/@name=='cert_id'/examples/certificate_id
          response_example: responses/400/content/application~1json/examples/certs_get_400_length
components:
  securitySchemes:
    Oauth2:
      type: oauth2
      description: Oauth 2.0 authentication
      flows:
        clientCredentials:
          tokenUrl: /api/oauth-proxy
          scopes:
            https://uri.paypal.com/services/payments/payment: Manage payments and checkout workflow.
            https://uri.paypal.com/services/payments/payment/reference-transaction: Permission to initiate reference transaction
            https://uri.paypal.com/services/payments/initiatepayment: Initiates payments and checkout workflows.
            https://uri.paypal.com/services/payments/orders/deprecating-jssdk-migration-for-limited-merchants:
              Allows client-side integration on Create, Get, Patch, Authorize &
              Capture Order endpoints.
            https://uri.paypal.com/services/payments/orders/client_sdk_orders_api:
              Enables secure client-side integration on confirm payment source
              endpoint
            https://uri.paypal.com/services/payments/orders/provision-card: Manage card provisioning merchants.
  parameters:
    paypal_request_id:
      name: PayPal-Request-Id
      in: header
      description: A unique ID identifying the request header for idempotency purposes.
      required: false
      schema:
        description: A unique ID identifying the request header for idempotency purposes.
        type: string
        minLength: 1
        maxLength: 10000
        pattern: ^.*$
      examples:
        request_id:
          summary: A request id.
          description: A paypal-request-id header with a randomized value.
          value: 17e81d06-77ab-11e8-adc0-fa71639ebebc
    paypal_client_metadata_id:
      name: PayPal-Client-Metadata-Id
      in: header
      description: A GUID value originating from Fraudnet and Dyson passed from
        external API clients via HTTP header. The value is used by Risk
        decisions to correlate calls which, in turn, might result in lower
        decline rates..
      required: false
      schema:
        $ref: "#/components/schemas/guid"
      examples:
        guid:
          summary: A GUID.
          description: A paypal-client-metadata-id header with a randomized value.
          value: 1295065d-6f34-42dc-ac65-fac0c86af250
    authorization:
      name: Authorization
      in: header
      description: Holds authorization information for external API calls.
      required: false
      schema:
        $ref: "#/components/schemas/standard_header_schema"
      examples:
        bearer:
          summary: Bearer authorization.
          description: An authorization header with information for the Bearer
            authorization scheme. The authorization parameter value is
            randomized for this example.
          value: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
    paypal_auth_assertion:
      name: PayPal-Auth-Assertion
      in: header
      description: Header for an API client-provided JWT assertion that identifies the
        merchant. Establishing the consent to act-on-behalf of a merchant is a
        prerequisite for using this header.
      required: false
      schema:
        description: Header for an API client-provided JWT assertion that identifies the
          merchant. Establishing the consent to act-on-behalf of a merchant is a
          prerequisite for using this header.
        type: string
        minLength: 1
        maxLength: 10000
        pattern: ^.*$
      examples:
        auth_assertion:
          summary: An auth assertion.
          description: A paypal-auth-assertion header with a randomized value.
          value: eyJhbGciOiJub25lIn0.eyJlbWFpbCI6Im15QGVtYWlsLmNvbSJ9
    paypal_transmission_id:
      name: PayPal-Transmission-Id
      in: header
      description: The unique ID of the HTTP transmission.
      required: true
      schema:
        description: The unique ID of the HTTP transmission.
        type: string
        minLength: 1
        maxLength: 50
        pattern: ^(?!\d+$)\w+\S+$
      examples:
        transmission_id:
          summary: A transmission ID.
          description: A paypal-transmission-id header with a unique transmission
            identifier.
          value: 69cd13f0-d67a-11e5-baa3-778b53f4ae55
    paypal_transmission_time:
      name: PayPal-Transmission-Time
      in: header
      description: The date and time of the HTTP transmission, in [Internet date and
        time format](https://tools.ietf.org/html/rfc3339#section-5.6).
      required: true
      schema:
        $ref: "#/components/schemas/date_time"
      examples:
        transmission_time:
          summary: A transmission time.
          description: A paypal-transmission-time header with an RFC 3339 date-time value.
          value: 2016-02-18T20:01:35Z
    paypal_cert_url:
      name: PayPal-Cert-Url
      in: header
      description: The URL to the X.509 public key certificate. The merchant downloads
        the certificate from this URL and uses it to verify the signature.
      required: true
      schema:
        description: The URL from which the merchant downloads the X.509 public key
          certificate.
        type: string
        format: uri
        minLength: 1
        maxLength: 500
      examples:
        cert_url:
          summary: A certificate URL.
          description: A paypal-cert-url header with a URL the merchant uses to download
            the public certificate.
          value: https://api-m.paypal.com/v1/notifications/certs/CERT-1234567890
    paypal_transmission_sig:
      name: PayPal-Transmission-Sig
      in: header
      description: The PayPal-generated asymmetric signature.
      required: true
      schema:
        description: The PayPal-generated asymmetric signature.
        type: string
        minLength: 1
        maxLength: 500
        pattern: ^(?!\d+$)\w+\S+$
      examples:
        transmission_sig:
          summary: A transmission signature.
          description: A paypal-transmission-sig header with a signature value.
          value: lmI95Jx3Y9nhR5SJWlHVIWpg4AgFk7n9bCHSRxbrd8A9zrhdu2rMyFrmz+Zjh3s3boXB07VXCXUZy/UFzUlnGJn0wDugt7FlSvdKeIJenLRemUxYCPVoEZzg9VFNqOa48gMkvF+XTpxBeUx/kWy6B5cp7GkT2+pOowfRK7OaynuxUoKW3JcMWw272VKjLTtTAShncla7tGF+55rxyt2KNZIIqxNMJ48RDZheGU5w1npu9dZHnPgTXB9iomeVRoD8O/jhRpnKsGrDschyNdkeh81BJJMH4Ctc6lnCCquoP/GzCzz33MMsNdid7vL/NIWaCsekQpW26FpWPi/tfj8nLA==
    paypal_auth_algo:
      name: PayPal-Auth-Algo
      in: header
      description: The algorithm that PayPal uses to generate the signature and that
        the merchant can use to verify the signature.
      required: false
      schema:
        description: The algorithm the merchant uses to verify the signature.
        type: string
        minLength: 1
        maxLength: 100
        pattern: ^[a-zA-Z0-9]+$
      examples:
        auth_algo:
          summary: An auth algorithm.
          description: A paypal-auth-algo header with an algorithm identifier.
          value: SHA256withRSA
  schemas:
    guid:
      title: GUID
      description: A Globally Unique Identifier (GUID) value.
      type: string
      minLength: 1
      maxLength: 68
      pattern: ^[A-Za-z0-9-{}(),]*$
    standard_header_schema:
      title: Schema Object for standard headers
      description: Standard headers are generally less restrictive in structure due to
        historical precedent across browsers, etc. This is a common schema for
        use in defining most standard headers.
      type: string
      minLength: 1
      maxLength: 16000
      pattern: ^.*$
    checkout_payment_intent:
      title: checkout_payment_intent
      description: The intent to either capture payment immediately or authorize a
        payment for an order after order creation.
      type: string
      enum:
        - CAPTURE
        - AUTHORIZE
      oneOf:
        - type: string
          enum:
            - CAPTURE
          description: The merchant intends to capture payment immediately after the
            customer makes a payment.
        - type: string
          enum:
            - AUTHORIZE
          description: The merchant intends to authorize a payment and place funds on hold
            after the customer makes a payment. Authorized payments are best
            captured within three days of authorization but are available to
            capture for up to 29 days. After the three-day honor period, the
            original authorized payment expires and you must re-authorize the
            payment. You must make a separate request to capture payments on
            demand. This intent is not supported when you have more than one
            `purchase_unit` within your order.
    processing_instruction:
      title: Processing Instruction
      description: The instruction to process an order.
      type: string
      enum:
        - ORDER_COMPLETE_ON_PAYMENT_APPROVAL
      default: NO_INSTRUCTION
      oneOf:
        - type: string
          enum:
            - ORDER_COMPLETE_ON_PAYMENT_APPROVAL
          description: "API Caller expects the Order to be auto completed (i.e. for PayPal
            to authorize or capture depending on the intent) on completion of
            payer approval. This option is not relevant for payment_source that
            typically do not require a payer approval or interaction. This
            option is currently only available for the following payment_source:
            Alipay, BANCOMAT Pay, Bancontact, BLIK, boletobancario, eps,
            giropay, GrabPay, iDEAL, MB WAY Multibanco, MyBank, OXXO, P24, PayU,
            PUI, SafetyPay, SatisPay, Swish, Sofort, Trustly, Verkkopankki,
            WeChat Pay"
    email:
      title: email
      description: The internationalized email
        address.<blockquote><strong>Note:</strong> Up to 64 characters are
        allowed before and 255 characters are allowed after the <code>@</code>
        sign. However, the generally accepted maximum length for an email
        address is 254 characters. The pattern verifies that an unquoted
        <code>@</code> sign exists.</blockquote>
      type: string
      minLength: 3
      maxLength: 254
      pattern: ^.*(?:[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*|(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-zA-Z0-9-]*[a-zA-Z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\]).*$
    account_id:
      title: PayPal Account Identifier
      description: The account identifier for a PayPal account.
      type: string
      minLength: 13
      maxLength: 13
      pattern: ^[2-9A-HJ-NP-Z]{13}$
    payer_base:
      title: payer_base
      description: The customer who approves and pays for the order. The customer is
        also known as the payer.
      type: object
      properties:
        email_address:
          allOf:
            - $ref: "#/components/schemas/email"
            - description: The email address of the payer.
        payer_id:
          allOf:
            - $ref: "#/components/schemas/account_id"
            - description: The PayPal-assigned ID for the payer.
              readOnly: true
    name:
      title: Name
      description: The name of the party.
      type: object
      properties:
        prefix:
          description: The prefix, or title, to the party's name.
          type: string
          minLength: 0
          maxLength: 140
          pattern: ^[\S\s]*$
        given_name:
          description: When the party is a person, the party's given, or first, name.
          type: string
          minLength: 0
          maxLength: 140
          pattern: ^[\S\s]*$
        surname:
          description: When the party is a person, the party's surname or family name.
            Also known as the last name. Required when the party is a person.
            Use also to store multiple surnames including the matronymic, or
            mother's, surname.
          type: string
          minLength: 0
          maxLength: 140
          pattern: ^[\S\s]*$
        middle_name:
          description: When the party is a person, the party's middle name. Use also to
            store multiple middle names including the patronymic, or father's,
            middle name.
          type: string
          minLength: 0
          maxLength: 140
          pattern: ^[\S\s]*$
        suffix:
          description: The suffix for the party's name.
          type: string
          minLength: 0
          maxLength: 140
          pattern: ^[\S\s]*$
        full_name:
          description: When the party is a person, the party's full name.
          type: string
          minLength: 0
          maxLength: 300
          pattern: ^[\S\s]*$
    phone_type:
      title: Phone Type
      description: The phone type.
      type: string
      enum:
        - FAX
        - HOME
        - MOBILE
        - OTHER
        - PAGER
      oneOf:
        - type: string
          enum:
            - FAX
          description: Fax number.
        - type: string
          enum:
            - HOME
          description: Home phone number.
        - type: string
          enum:
            - MOBILE
          description: Mobile phone number.
        - type: string
          enum:
            - OTHER
          description: Other phone number.
        - type: string
          enum:
            - PAGER
          description: Pager number.
    phone:
      title: Phone
      description: The phone number, in its canonical international [E.164 numbering
        plan format](https://www.itu.int/rec/T-REC-E.164/en).
      type: object
      required:
        - country_code
        - national_number
      properties:
        country_code:
          title: country_calling_code
          description: The country calling code (CC), in its canonical international
            [E.164 numbering plan
            format](https://www.itu.int/rec/T-REC-E.164/en). The combined length
            of the CC and the national number must not be greater than 15
            digits. The national number consists of a national destination code
            (NDC) and subscriber number (SN).
          type: string
          minLength: 1
          maxLength: 3
          pattern: ^[0-9]{1,3}?$
        national_number:
          description: The national number, in its canonical international [E.164
            numbering plan format](https://www.itu.int/rec/T-REC-E.164/en). The
            combined length of the country calling code (CC) and the national
            number must not be greater than 15 digits. The national number
            consists of a national destination code (NDC) and subscriber number
            (SN).
          type: string
          minLength: 1
          maxLength: 14
          pattern: ^[0-9]{1,14}?$
        extension_number:
          description: The extension number.
          type: string
          minLength: 1
          maxLength: 15
          pattern: ^[0-9]{1,15}?$
    phone_with_type:
      title: phone_with_type
      description: The phone information.
      type: object
      required:
        - phone_number
      properties:
        phone_type:
          $ref: "#/components/schemas/phone_type"
        phone_number:
          allOf:
            - $ref: "#/components/schemas/phone"
            - description: The phone number, in its canonical international [E.164 numbering
                plan format](https://www.itu.int/rec/T-REC-E.164/en). Supports
                only the `national_number` property.
    date_no_time:
      description: The stand-alone date, in [Internet date and time
        format](https://tools.ietf.org/html/rfc3339#section-5.6). To represent
        special legal values, such as a date of birth, you should use dates with
        no associated time or time-zone data. Whenever possible, use the
        standard `date_time` type. This regular expression does not validate all
        dates. For example, February 31 is valid and nothing is known about leap
        years.
      type: string
      minLength: 10
      maxLength: 10
      pattern: ^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$
    tax_info:
      title: tax_info
      description: The tax ID of the customer. The customer is also known as the
        payer. Both `tax_id` and `tax_id_type` are required.
      type: object
      required:
        - tax_id
        - tax_id_type
      properties:
        tax_id:
          description: The customer's tax ID value.
          type: string
          minLength: 1
          maxLength: 14
          pattern: ^.*([a-zA-Z0-9]).*$
        tax_id_type:
          description: The customer's tax ID type.
          type: string
          enum:
            - BR_CPF
            - BR_CNPJ
          oneOf:
            - type: string
              enum:
                - BR_CPF
              description: The individual tax ID type, typically is 11 characters long.
            - type: string
              enum:
                - BR_CNPJ
              description: The business tax ID type, typically is 14 characters long.
    country_code:
      description: The [2-character ISO 3166-1
        code](/api/rest/reference/country-codes/) that identifies the country or
        region.<blockquote><strong>Note:</strong> The country code for Great
        Britain is <code>GB</code> and not <code>UK</code> as used in the
        top-level domain names for that country. Use the `C2` country code for
        China worldwide for comparable uncontrolled price (CUP) method, bank
        card, and cross-border transactions.</blockquote>
      type: string
      minLength: 2
      maxLength: 2
      pattern: ^([A-Z]{2}|C2)$
    address_portable:
      title: Portable Postal Address (Medium-Grained)
      description: "The portable international postal address. Maps to
        [AddressValidationMetadata](https://github.com/googlei18n/libaddressinp\
        ut/wiki/AddressValidationMetadata) and HTML 5.1 [Autofilling form
        controls: the autocomplete
        attribute](https://www.w3.org/TR/html51/sec-forms.html#autofilling-form\
        -controls-the-autocomplete-attribute)."
      type: object
      required:
        - country_code
      properties:
        address_line_1:
          description: The first line of the address, such as number and street, for
            example, `173 Drury Lane`. Needed for data entry, and Compliance and
            Risk checks. This field needs to pass the full address.
          type: string
          minLength: 0
          maxLength: 300
          pattern: ^[\S\s]*$
        address_line_2:
          description: The second line of the address, for example, a suite or apartment
            number.
          type: string
          minLength: 0
          maxLength: 300
          pattern: ^[\S\s]*$
        address_line_3:
          description: The third line of the address, if needed. Examples include a street
            complement for Brazil, direction text, such as `next to Walmart`, or
            a landmark in an Indian address.
          type: string
          minLength: 0
          maxLength: 100
          pattern: ^[\S\s]*$
        admin_area_4:
          description: The neighborhood, ward, or district. This is smaller than
            `admin_area_level_3` or `sub_locality`. Value is:<ul><li>The postal
            sorting code that is used in Guernsey and many French territories,
            such as French Guiana.</li><li>The fine-grained administrative
            levels in China.</li></ul>
          type: string
          minLength: 0
          maxLength: 100
          pattern: ^[\S\s]*$
        admin_area_3:
          description: The sub-locality, suburb, neighborhood, or district. This is
            smaller than `admin_area_level_2`. Value is:<ul><li>Brazil. Suburb,
            *bairro*, or neighborhood.</li><li>India. Sub-locality or district.
            Street name information isn't always available, but a sub-locality
            or district can be a very small area.</li></ul>
          type: string
          minLength: 0
          maxLength: 100
          pattern: ^[\S\s]*$
        admin_area_2:
          description: A city, town, or village. Smaller than `admin_area_level_1`.
          type: string
          minLength: 0
          maxLength: 120
          pattern: ^[\S\s]*$
        admin_area_1:
          description: The highest-level sub-division in a country, which is usually a
            province, state, or ISO-3166-2 subdivision. This data is formatted
            for postal delivery, for example, `CA` and not `California`. Value,
            by country, is:<ul><li>UK. A county.</li><li>US. A
            state.</li><li>Canada. A province.</li><li>Japan. A
            prefecture.</li><li>Switzerland. A *kanton*.</li></ul>
          type: string
          minLength: 0
          maxLength: 300
          pattern: ^[\S\s]*$
        postal_code:
          description: The postal code, which is the ZIP code or equivalent. Typically
            required for countries with a postal code or an equivalent. See
            [postal code](https://en.wikipedia.org/wiki/Postal_code).
          type: string
          minLength: 0
          maxLength: 60
          pattern: ^[\S\s]*$
        country_code:
          $ref: "#/components/schemas/country_code"
        address_details:
          title: Address Details
          description: The non-portable additional address details include fine-grain
            address information for Compliance, Risk, and other scenarios. This
            isn't portable with common third-party and open source applications.
            This can include data that is redundant with core fields. For
            example, `address_portable.address_line_1` is usually a combination
            of `address_details.street_number`, `street_name`, and
            `street_type`.
          type: object
          properties:
            street_number:
              description: The street number.
              type: string
              minLength: 0
              maxLength: 100
              pattern: ^[\S\s]*$
            street_name:
              description: The street name. Just `Drury` in `Drury Lane`.
              type: string
              minLength: 0
              maxLength: 100
              pattern: ^[\S\s]*$
            street_type:
              description: The street type. For example, avenue, boulevard, road, or
                expressway.
              type: string
              minLength: 0
              maxLength: 100
              pattern: ^[\S\s]*$
            delivery_service:
              description: The delivery service. Post office box, bag number, or post office
                name.
              type: string
              minLength: 0
              maxLength: 100
              pattern: ^[\S\s]*$
            building_name:
              description: A named locations that represents the premise. Usually a building
                name or number or collection of buildings with a common name or
                number. For example, <code>Craven House</code>.
              type: string
              minLength: 0
              maxLength: 100
              pattern: ^[\S\s]*$
            sub_building:
              description: The first-order entity below a named building or location that
                represents the sub-premise. Usually a single building within a
                collection of buildings with a common name. Can be a flat,
                story, floor, room, or apartment.
              type: string
              minLength: 0
              maxLength: 100
              pattern: ^[\S\s]*$
    country_code-2:
      description: The [two-character ISO 3166-1
        code](/api/rest/reference/country-codes/) that identifies the country or
        region.<blockquote><strong>Note:</strong> The country code for Great
        Britain is <code>GB</code> and not <code>UK</code> as used in the
        top-level domain names for that country. Use the `C2` country code for
        China worldwide for comparable uncontrolled price (CUP) method, bank
        card, and cross-border transactions.</blockquote>
      type: string
      minLength: 2
      maxLength: 2
      pattern: ^([A-Z]{2}|C2)$
    payer:
      title: payer
      description: The customer who approves and pays for the order. The customer is
        also known as the payer.
      type: object
      allOf:
        - $ref: "#/components/schemas/payer_base"
        - type: object
          properties:
            name:
              allOf:
                - $ref: "#/components/schemas/name"
                - description: The name of the payer. Supports only the `given_name` and `surname`
                    properties.
                  not:
                    anyOf:
                      - required:
                          - prefix
                      - required:
                          - middle_name
                      - required:
                          - suffix
                      - required:
                          - alternate_full_name
                      - required:
                          - full_name
            phone:
              allOf:
                - $ref: "#/components/schemas/phone_with_type"
                - description: The phone number of the customer. Available only when you enable
                    the **Contact Telephone Number** option in the <a
                    href="https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-website-payments">**Profile
                    & Settings**</a> for the merchant's PayPal account. The
                    `phone.phone_number` supports only `national_number`.
            birth_date:
              allOf:
                - $ref: "#/components/schemas/date_no_time"
                - description: The birth date of the payer in `YYYY-MM-DD` format.
            tax_info:
              allOf:
                - $ref: "#/components/schemas/tax_info"
                - description: The tax information of the payer. Required only for Brazilian
                    payer's. Both `tax_id` and `tax_id_type` are required.
            address:
              allOf:
                - $ref: "#/components/schemas/address_portable"
                - description: The address of the payer. Supports only the `address_line_1`,
                    `address_line_2`, `admin_area_1`, `admin_area_2`,
                    `postal_code`, and `country_code` properties. Also referred
                    to as the billing address of the customer.
                  not:
                    anyOf:
                      - required:
                          - address_line_3
                      - required:
                          - admin_area_3
                      - required:
                          - admin_area_4
                      - required:
                          - address_details
    currency_code:
      description: The [three-character ISO-4217 currency
        code](/api/rest/reference/currency-codes/) that identifies the currency.
      type: string
      minLength: 3
      maxLength: 3
      pattern: ^[\S\s]*$
    money:
      title: Money
      description: The currency and amount for a financial transaction, such as a
        balance or payment due.
      type: object
      required:
        - currency_code
        - value
      properties:
        currency_code:
          $ref: "#/components/schemas/currency_code"
        value:
          description: The value, which might be:<ul><li>An integer for currencies like
            `JPY` that are not typically fractional.</li><li>A decimal fraction
            for currencies like `TND` that are subdivided into
            thousandths.</li></ul>For the required number of decimal places for
            a currency code, see [Currency
            Codes](/api/rest/reference/currency-codes/).
          type: string
          minLength: 0
          maxLength: 32
          pattern: ^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$
    discount_with_breakdown:
      title: discount_with_breakdown
      description: The discount amount and currency code. For list of supported
        currencies and decimal precision, see the PayPal REST APIs <a
        href="/docs/integration/direct/rest/currency-codes/">Currency Codes</a>.
      type: object
      allOf:
        - $ref: "#/components/schemas/money"
        - type: object
    amount_breakdown:
      title: amount_breakdown
      description: The breakdown of the amount. Breakdown provides details such as
        total item amount, total tax amount, shipping, handling, insurance, and
        discounts, if any.
      type: object
      properties:
        item_total:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The subtotal for all items. Required if the request includes
                `purchase_units[].items[].unit_amount`. Must equal the sum of
                `(items[].unit_amount * items[].quantity)` for all items.
                <code>item_total.value</code> can not be a negative number.
        shipping:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The shipping fee for all items within a given `purchase_unit`.
                <code>shipping.value</code> can not be a negative number.
        handling:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The handling fee for all items within a given `purchase_unit`.
                <code>handling.value</code> can not be a negative number.
        tax_total:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The total tax for all items. Required if the request includes
                `purchase_units.items.tax`. Must equal the sum of `(items[].tax
                * items[].quantity)` for all items. <code>tax_total.value</code>
                can not be a negative number.
        insurance:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The insurance fee for all items within a given `purchase_unit`.
                <code>insurance.value</code> can not be a negative number.
        shipping_discount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The shipping discount for all items within a given `purchase_unit`.
                <code>shipping_discount.value</code> can not be a negative
                number.
        discount:
          allOf:
            - $ref: "#/components/schemas/discount_with_breakdown"
            - description: The discount for all items within a given `purchase_unit`.
                <code>discount.value</code> can not be a negative number.
    amount_with_breakdown:
      title: amount_with_breakdown
      description: The total order amount with an optional breakdown that provides
        details, such as the total item amount, total tax amount, shipping,
        handling, insurance, and discounts, if any.<br/>If you specify
        `amount.breakdown`, the amount equals `item_total` plus `tax_total` plus
        `shipping` plus `handling` plus `insurance` minus `shipping_discount`
        minus discount.<br/>The amount must be a positive number. For listed of
        supported currencies and decimal precision, see the PayPal REST APIs <a
        href="/docs/integration/direct/rest/currency-codes/">Currency Codes</a>.
      type: object
      allOf:
        - $ref: "#/components/schemas/money"
        - type: object
          properties:
            breakdown:
              $ref: "#/components/schemas/amount_breakdown"
    payee_base:
      title: payee_base
      description: The details for the merchant who receives the funds and fulfills
        the order. The merchant is also known as the payee.
      type: object
      properties:
        email_address:
          allOf:
            - $ref: "#/components/schemas/email"
            - description: The email address of merchant.
        merchant_id:
          allOf:
            - $ref: "#/components/schemas/account_id"
            - description: The encrypted PayPal account ID of the merchant.
    payee:
      title: payee
      description: The merchant who receives the funds and fulfills the order. The
        merchant is also known as the payee.
      type: object
      allOf:
        - $ref: "#/components/schemas/payee_base"
        - type: object
    platform_fee:
      title: platform_fee
      description: The platform or partner fee, commission, or brokerage fee that is
        associated with the transaction. Not a separate or isolated transaction
        leg from the external perspective. The platform fee is limited in scope
        and is always associated with the original payment for the purchase
        unit.
      type: object
      required:
        - amount
      properties:
        amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - title: amount
              description: The fee for this transaction.
        payee:
          allOf:
            - $ref: "#/components/schemas/payee_base"
            - title: payee
              description: The recipient of the fee for this transaction.
    disbursement_mode:
      title: disbursement_mode
      description: The funds that are held on behalf of the merchant.
      type: string
      enum:
        - INSTANT
        - DELAYED
      default: INSTANT
      oneOf:
        - type: string
          enum:
            - INSTANT
          description: The funds are released to the merchant immediately.
        - type: string
          enum:
            - DELAYED
          description: The funds are held for a finite number of days. The actual duration
            depends on the region and type of integration. You can release the
            funds through a referenced payout. Otherwise, the funds disbursed
            automatically after the specified duration.
    payment_instruction:
      title: payment_instruction
      description: Any additional payment instructions to be consider during payment
        processing. This processing instruction is applicable for Capturing an
        order or Authorizing an Order.
      type: object
      properties:
        platform_fees:
          description: An array of various fees, commissions, tips, or donations. This
            field is only applicable to merchants that been enabled for PayPal
            Complete Payments Platform for Marketplaces and Platforms
            capability.
          type: array
          minItems: 0
          maxItems: 1
          items:
            allOf:
              - $ref: "#/components/schemas/platform_fee"
              - title: platform_fee
        disbursement_mode:
          allOf:
            - $ref: "#/components/schemas/disbursement_mode"
            - description: The funds that are held payee by the marketplace/platform. This
                field is only applicable to merchants that been enabled for
                PayPal Complete Payments Platform for Marketplaces and Platforms
                capability.
        payee_pricing_tier_id:
          description: This field is only enabled for selected merchants/partners to use
            and provides the ability to trigger a specific pricing rate/plan for
            a payment transaction. The list of eligible 'payee_pricing_tier_id'
            would be provided to you by your Account Manager. Specifying values
            other than the one provided to you by your account manager would
            result in an error.
          type: string
          minLength: 1
          maxLength: 20
          pattern: ^.*$
        payee_receivable_fx_rate_id:
          description: FX identifier generated returned by PayPal to be used for payment
            processing in order to honor FX rate (for eligible integrations) to
            be used when amount is settled/received into the payee account.
          type: string
          minLength: 1
          maxLength: 4000
          pattern: ^.*$
    universal_product_code:
      title: universal_product_code
      description: The Universal Product Code of the item.
      type: object
      required:
        - code
        - type
      properties:
        type:
          title: Universal Product Code Type
          description: The Universal Product Code type.
          type: string
          enum:
            - UPC-A
            - UPC-B
            - UPC-C
            - UPC-D
            - UPC-E
            - UPC-2
            - UPC-5
          oneOf:
            - type: string
              enum:
                - UPC-A
              description: ""
            - type: string
              enum:
                - UPC-B
              description: ""
            - type: string
              enum:
                - UPC-C
              description: ""
            - type: string
              enum:
                - UPC-D
              description: ""
            - type: string
              enum:
                - UPC-E
              description: ""
            - type: string
              enum:
                - UPC-2
              description: ""
            - type: string
              enum:
                - UPC-5
              description: ""
        code:
          description: The UPC product code of the item.
          type: string
          minLength: 6
          maxLength: 17
          pattern: ^[0-9]{0,17}$
    pricing_scheme:
      title: pricing_scheme
      description: The pricing scheme details.
      type: object
      required:
        - pricing_model
      properties:
        price:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The price the customer will be charged based on the pricing model
        pricing_model:
          description: The pricing model for the billing cycle.
          type: string
          enum:
            - FIXED
            - VARIABLE
            - AUTO_RELOAD
          oneOf:
            - type: string
              enum:
                - FIXED
              description: A fixed pricing scheme where the customer is charged a fixed
                amount.
            - type: string
              enum:
                - VARIABLE
              description: A variable pricing scheme where the customer is charged a variable
                amount.
            - type: string
              enum:
                - AUTO_RELOAD
              description: A auto-reload pricing scheme where the customer is charged a fixed
                amount for reload.
        reload_threshold_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The threshold amount on which the reload charge would be triggered.
                This will be associated with the account-balance where if the
                account-balance goes below this amount then customer would incur
                reload charge.
    billing_cycle:
      title: billing_cycle
      description: The billing cycle providing details of the billing frequency,
        amount, duration and if the billing cycle is a free, discounted or
        regular billing cycle. The sequence of the billing cycle will be in the
        following order - free trial billing cycle(s), discounted trial billing
        cycle(s), regular billing cycle(s).
      type: object
      required:
        - tenure_type
      properties:
        tenure_type:
          description: The tenure type of the billing cycle identifies if the billing
            cycle is a trial(free or discounted) or regular billing cycle.
          type: string
          enum:
            - REGULAR
            - TRIAL
          oneOf:
            - type: string
              enum:
                - REGULAR
              description: A regular billing cycle to identify recurring charges for the
                billing agreement.
            - type: string
              enum:
                - TRIAL
              description: A trial billing cycle to identify free or discounted charge for the
                billing agreement. Free trails will not have a price object in
                pricing scheme where as a discounted trial would have a
                discounted price compared to regular billing cycle.
        pricing_scheme:
          allOf:
            - $ref: "#/components/schemas/pricing_scheme"
            - description: The active pricing scheme for this billing cycle. A free trial
                billing cycle does not require a pricing scheme.
        total_cycles:
          description: The number of times this billing cycle gets executed. Trial billing
            cycles can only be executed a finite number of times (value between
            <code>1</code> and <code>999</code> for <code>total_cycles</code>).
            Regular billing cycles can be executed infinite times (value of
            <code>0</code> for <code>total_cycles</code>) or a finite number of
            times (value between <code>1</code> and <code>999</code> for
            <code>total_cycles</code>).
          type: integer
          minimum: 0
          maximum: 999
          default: 1
        sequence:
          description: The order in which this cycle is to run among other billing cycles.
            For example, a trial billing cycle has a `sequence` of `1` while a
            regular billing cycle has a `sequence` of `2`, so that trial cycle
            runs before the regular cycle.
          type: integer
          minimum: 1
          maximum: 3
          default: 1
        start_date:
          allOf:
            - $ref: "#/components/schemas/date_no_time"
            - description: The start date for the billing cycle, in YYYY-MM-DD. This field
                should be not be provided if the billing cycle starts at the
                time of checkout. When this field is not provided, the billing
                cycle amount will be included in any data validations confirming
                that the total provided by the merchant match the sum of
                individual items due at the time of checkout. Only one billing
                cycle (with sequence equal to 1) can have a no start date.
    order_billing_plan:
      title: order_billing_plan
      description: Metadata for merchant-managed recurring billing plans. Valid only
        during the saved payment method token or billing agreement creation.
      type: object
      required:
        - billing_cycles
      properties:
        billing_cycles:
          description: An array of billing cycles for trial billing and regular billing. A
            plan can have at most two trial cycles and only one regular cycle.
          type: array
          minItems: 1
          maxItems: 3
          items:
            $ref: "#/components/schemas/billing_cycle"
        setup_fee:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The setup fee for the recurring plan. Ensure its part of the item
                amount.
        name:
          description: Name of the recurring plan.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^[A-Za-z0-9() +',.:-]+$
    item_request:
      title: item_request
      description: The details for the items to be purchased.
      type: object
      required:
        - name
        - quantity
        - unit_amount
      properties:
        name:
          description: The item name or title. <blockquote>This field supports up to 3000
            characters, but <strong>any content beyond 127 characters (including
            spaces) will be truncated. The 127 character limit is reflected in
            the response</strong> representation of this field</blockquote>.
          type: string
          minLength: 1
          maxLength: 3000
          pattern: ^[\S\s]*$
        unit_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The item price or rate per unit. If you specify
                <code>unit_amount</code>,
                <code>purchase_units[].amount.breakdown.item_total</code> is
                required. Must equal <code>unit_amount * quantity</code> for all
                items. <code>unit_amount.value</code> can not be a negative
                number.
        tax:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The item tax for each unit. If <code>tax</code> is specified,
                <code>purchase_units[].amount.breakdown.tax_total</code> is
                required. Must equal <code>tax * quantity</code> for all items.
                <code>tax.value</code> can not be a negative number.
        quantity:
          description: The item quantity. Must be a whole number.
          type: string
          minLength: 0
          maxLength: 10
          pattern: ^[1-9][0-9]{0,9}$
        description:
          description: <blockquote>This field supports up to 4000 characters, but
            <strong>any content beyond 2048 characters (including spaces) will
            be truncated. The 2048 character limit is reflected in the
            response</strong> representation of this field</blockquote>.
          type: string
          minLength: 0
          maxLength: 4000
          pattern: ^[\S\s]*$
        sku:
          description: The stock keeping unit (SKU) for the item.
          type: string
          minLength: 0
          maxLength: 127
          pattern: ^[\S\s]*$
        url:
          description: The URL to the item being purchased. Visible to buyer and used in
            buyer experiences.
          type: string
          minLength: 1
          maxLength: 2048
          format: uri
        category:
          description: The item category type.
          type: string
          enum:
            - DIGITAL_GOODS
            - PHYSICAL_GOODS
            - DONATION
          oneOf:
            - type: string
              enum:
                - DIGITAL_GOODS
              description: Goods that are stored, delivered, and used in their electronic
                format. This value is not currently supported for API callers
                that leverage the <a
                href="https://www.paypal.com/us/webapps/mpp/commerce-platform">PayPal
                for Commerce Platform</a> product.
            - type: string
              enum:
                - PHYSICAL_GOODS
              description: A tangible item that can be shipped with proof of delivery.
            - type: string
              enum:
                - DONATION
              description: A contribution or gift for which no good or service is exchanged,
                usually to a not for profit organization.
        image_url:
          description: "The URL of the item's image. Supported image formats: JPEG (.jpg,
            .jpeg), PNG (.png), GIF (.gif)."
          type: string
          minLength: 1
          maxLength: 2048
          format: uri
        upc:
          allOf:
            - $ref: "#/components/schemas/universal_product_code"
            - description: The Universal Product Code of the item.
        billing_plan:
          $ref: "#/components/schemas/order_billing_plan"
    email_address:
      description: The internationalized email
        address.<blockquote><strong>Note:</strong> Up to 64 characters are
        allowed before and 255 characters are allowed after the <code>@</code>
        sign. However, the generally accepted maximum length for an email
        address is 254 characters. The pattern verifies that an unquoted
        <code>@</code> sign exists.</blockquote>
      type: string
      minLength: 3
      maxLength: 254
      pattern: ^(?:[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[A-Za-z0-9-]*[A-Za-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$
    shipping_type:
      title: shipping_type
      description: A classification for the method of purchase fulfillment.
      type: string
      enum:
        - SHIPPING
        - PICKUP
        - PICKUP_IN_STORE
        - PICKUP_FROM_PERSON
      default: SHIPPING
      oneOf:
        - type: string
          enum:
            - SHIPPING
          description: The payer intends to receive the items at a specified address.
        - type: string
          enum:
            - PICKUP
          description: "DEPRECATED. To ensure that seller protection is correctly
            assigned, please use 'PICKUP_IN_STORE' or 'PICKUP_FROM_PERSON'
            instead. Currently, this field indicates that the payer intends to
            pick up the items at a specified address (ie. a store address). "
        - type: string
          enum:
            - PICKUP_IN_STORE
          description: The payer intends to pick up the item(s) from the payee's physical
            store. Also termed as BOPIS, "Buy Online, Pick-up in Store". Seller
            protection is provided with this option.
        - type: string
          enum:
            - PICKUP_FROM_PERSON
          description: The payer intends to pick up the item(s) from the payee in person.
            Also termed as BOPIP, "Buy Online, Pick-up in Person". Seller
            protection is not available, since the payer is receiving the item
            from the payee in person, and can validate the item prior to
            payment.
    date_time:
      description: The date and time, in [Internet date and time
        format](https://tools.ietf.org/html/rfc3339#section-5.6). Seconds are
        required while fractional seconds are
        optional.<blockquote><strong>Note:</strong> The regular expression
        provides guidance but does not reject all invalid dates.</blockquote>
      type: string
      minLength: 20
      maxLength: 64
      pattern: ^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$
    shipping_option:
      title: shipping_option
      description: The options that the payee or merchant offers to the payer to ship
        or pick up their items.
      type: object
      required:
        - id
        - label
        - selected
      properties:
        id:
          description: A unique ID that identifies a payer-selected shipping option.
          type: string
          minLength: 0
          maxLength: 127
          pattern: ^[\S\s]*$
        label:
          description: A description that the payer sees, which helps them choose an
            appropriate shipping option. For example, `Free Shipping`, `USPS
            Priority Shipping`, `Expédition prioritaire USPS`, or `USPS yōuxiān
            fā huò`. Localize this description to the payer's locale.
          type: string
          minLength: 0
          maxLength: 127
          pattern: ^[\S\s]*$
        type:
          allOf:
            - $ref: "#/components/schemas/shipping_type"
            - description: A classification for the method of purchase fulfillment.
        amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The shipping cost for the selected option.
        selected:
          description: If the API request sets `selected = true`, it represents the
            shipping option that the payee or merchant expects to be
            pre-selected for the payer when they first view the
            `shipping.options` in the PayPal Checkout experience. As part of the
            response if a `shipping.option` contains `selected=true`, it
            represents the shipping option that the payer selected during the
            course of checkout with PayPal. Only one `shipping.option` can be
            set to `selected=true`.
          type: boolean
    shipping_detail:
      title: shipping_detail
      description: The shipping details.
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/name"
            - description: The name of the person to whom to ship the items. Supports only the
                `full_name` property.
              not:
                anyOf:
                  - required:
                      - prefix
                  - required:
                      - given_name
                  - required:
                      - surname
                  - required:
                      - middle_name
                  - required:
                      - suffix
                  - required:
                      - alternate_full_name
        email_address:
          allOf:
            - $ref: "#/components/schemas/email_address"
            - description: The email address of the recipient of the shipped items, which may
                belong to either the payer, or an alternate contact, for
                delivery.
        phone_number:
          allOf:
            - $ref: "#/components/schemas/phone"
            - description: The phone number of the recipient of the shipped items, which may
                belong to either the payer, or an alternate contact, for
                delivery. [Format - canonical international [E.164 numbering
                plan](https://www.itu.int/rec/T-REC-E.164/en)]
              not:
                required:
                  - extension_number
        type:
          title: Fulfillment Type
          description: A classification for the method of purchase fulfillment (e.g
            shipping, in-store pickup, etc). Either `type` or `options` may be
            present, but not both.
          type: string
          enum:
            - SHIPPING
            - PICKUP_IN_PERSON
            - PICKUP_IN_STORE
            - PICKUP_FROM_PERSON
          default: SHIPPING
          oneOf:
            - type: string
              enum:
                - SHIPPING
              description: The payer intends to receive the items at a specified address.
            - type: string
              enum:
                - PICKUP_IN_PERSON
              description: DEPRECATED. Please use "PICKUP_FROM_PERSON" instead.
            - type: string
              enum:
                - PICKUP_IN_STORE
              description: The payer intends to pick up the item(s) from the payee's physical
                store. Also termed as BOPIS, "Buy Online, Pick-up in Store".
                Seller protection is provided with this option.
            - type: string
              enum:
                - PICKUP_FROM_PERSON
              description: The payer intends to pick up the item(s) from the payee in person.
                Also termed as BOPIP, "Buy Online, Pick-up in Person". Seller
                protection is not available, since the payer is receiving the
                item from the payee in person, and can validate the item prior
                to payment.
        options:
          description: An array of shipping options that the payee or merchant offers to
            the payer to ship or pick up their items.
          type: array
          minItems: 0
          maxItems: 30
          items:
            allOf:
              - $ref: "#/components/schemas/shipping_option"
              - title: shipping_option
                description: The option that the payee or merchant offers to the payer to ship
                  or pick up their items.
        address:
          allOf:
            - $ref: "#/components/schemas/address_portable"
            - description: The address of the person to whom to ship the items. Supports only
                the `address_line_1`, `address_line_2`, `admin_area_1`,
                `admin_area_2`, `postal_code`, and `country_code` properties.
                `admin_area_1` is required for addresses located in Argentina,
                Brazil, China, Canada, India, Indonesia, Japan, Mexico,
                Thailand, and the United States.
              not:
                anyOf:
                  - required:
                      - address_line_3
                  - required:
                      - admin_area_3
                  - required:
                      - admin_area_4
                  - required:
                      - address_details
    level_2_card_processing_data:
      title: level_2
      description: The level 2 card processing data collections. If your merchant
        account has been configured for Level 2 processing this field will be
        passed to the processor on your behalf. Please contact your PayPal
        Technical Account Manager to define level 2 data for your business.
      type: object
      properties:
        invoice_id:
          description: Use this field to pass a purchase identification value of up to 127
            ASCII characters. The length of this field will be adjusted to meet
            network specifications (25chars for Visa and Mastercard, 17chars for
            Amex), and the original invoice ID will still be displayed in your
            existing reports.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^[\w‘\-.,":;\!?]*$
        tax_total:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: >
                Use this field to break down the amount of tax included in the
                total purchase amount. The value provided here will not add to
                the total purchase amount. The value can't be negative, and in
                most cases, it must be greater than zero in order to qualify for
                lower interchange rates. 
                 Value, by country, is:

                    UK. A county.
                    US. A state.
                    Canada. A province.
                    Japan. A prefecture.
                    Switzerland. A kanton.
    item_without_category_tax_or_amount:
      title: item
      description: The details for the items to be purchased.
      type: object
      required:
        - name
        - quantity
      properties:
        name:
          description: The item name or title.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^[\S\s]*$
        quantity:
          description: The item quantity. Must be a whole number.
          type: string
          minLength: 0
          maxLength: 10
          pattern: ^[1-9][0-9]{0,9}$
        description:
          description: The detailed item description.
          type: string
          minLength: 0
          maxLength: 2048
          pattern: ^[\S\s]*$
        sku:
          description: The stock keeping unit (SKU) for the item.
          type: string
          minLength: 0
          maxLength: 127
          pattern: ^[\S\s]*$
        url:
          description: The URL to the item being purchased. Visible to buyer and used in
            buyer experiences.
          type: string
          minLength: 1
          maxLength: 2048
          format: uri
        image_url:
          description: "The URL of the item's image. Supported image formats: JPEG (.jpg,
            .jpeg), PNG (.png), GIF (.gif)."
          type: string
          minLength: 1
          maxLength: 2048
          format: uri
        upc:
          allOf:
            - $ref: "#/components/schemas/universal_product_code"
            - description: The Universal Product Code of the item.
        billing_plan:
          $ref: "#/components/schemas/order_billing_plan"
    line_item:
      title: line_item
      description: The line items for this purchase. If your merchant account has been
        configured for Level 3 processing this field will be passed to the
        processor on your behalf.
      type: object
      allOf:
        - $ref: "#/components/schemas/item_without_category_tax_or_amount"
        - type: object
          properties:
            unit_amount:
              allOf:
                - $ref: "#/components/schemas/money"
                - description: The item price or rate per unit. Must equal <code>unit_amount *
                    quantity</code> for all items.
                    <code>unit_amount.value</code> can not be a negative number.
            tax:
              allOf:
                - $ref: "#/components/schemas/money"
                - description: The item tax for each unit. Must equal <code>tax * quantity</code>
                    for all items. <code>tax.value</code> can not be a negative
                    number.
            commodity_code:
              description: Code used to classify items purchased and track the total amount
                spent across various categories of products and services.
                Different corporate purchasing organizations may use different
                standards, but the United Nations Standard Products and Services
                Code (UNSPSC) is frequently used.
              type: string
              minLength: 1
              maxLength: 12
              pattern: ^[a-zA-Z0-9_'.-]*$
            discount_amount:
              allOf:
                - $ref: "#/components/schemas/money"
                - description: Use this field to break down the discount amount included in the
                    total purchase amount. The value provided here will not add
                    to the total purchase amount. The value cannot be negative.
            total_amount:
              allOf:
                - $ref: "#/components/schemas/money"
                - description: The subtotal for all items. Must equal the sum of
                    (items[].unit_amount * items[].quantity) for all items.
                    item_total.value can not be a negative number.
            unit_of_measure:
              description: "Unit of measure is a standard used to express the magnitude of a
                quantity in international trade. Most commonly used (but not
                limited to) examples are: Acre (ACR), Ampere (AMP), Centigram
                (CGM), Centimetre (CMT), Cubic inch (INQ), Cubic metre (MTQ),
                Fluid ounce (OZA), Foot (FOT), Hour (HUR), Item (ITM), Kilogram
                (KGM), Kilometre (KMT), Kilowatt (KWT), Liquid gallon (GLL),
                Liter (LTR), Pounds (LBS), Square foot (FTK)."
              type: string
              minLength: 1
              maxLength: 12
              pattern: ^[a-zA-Z0-9_'.-]*$
    level_3_card_processing_data:
      title: level_3
      description: The level 3 card processing data collections, If your merchant
        account has been configured for Level 3 processing this field will be
        passed to the processor on your behalf. Please contact your PayPal
        Technical Account Manager to define level 3 data for your business.
      type: object
      properties:
        shipping_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: Use this field to break down the shipping cost included in the
                total purchase amount. The value provided here will not add to
                the total purchase amount. The value cannot be negative.
        duty_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: Use this field to break down the duty amount included in the total
                purchase amount. The value provided here will not add to the
                total purchase amount. The value cannot be negative.
        discount_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: Use this field to break down the discount amount included in the
                total purchase amount. The value provided here will not add to
                the total purchase amount. The value cannot be negative.
        shipping_address:
          allOf:
            - $ref: "#/components/schemas/address_portable"
            - description: The address of the person to whom to ship the items. Supports only
                the `address_line_1`, `address_line_2`, `admin_area_1`,
                `admin_area_2`, `postal_code`, and `country_code` properties.
              not:
                anyOf:
                  - required:
                      - address_line_3
                  - required:
                      - admin_area_3
                  - required:
                      - admin_area_4
                  - required:
                      - address_details
        ships_from_postal_code:
          description: Use this field to specify the postal code of the shipping location.
          type: string
          minLength: 1
          maxLength: 60
          pattern: ^[a-zA-Z0-9_'.-]*$
        line_items:
          description: A list of the items that were purchased with this payment. If your
            merchant account has been configured for Level 3 processing this
            field will be passed to the processor on your behalf.
          type: array
          minItems: 1
          maxItems: 100
          items:
            allOf:
              - $ref: "#/components/schemas/line_item"
              - title: line_item
    card_supplementary_data:
      title: card_supplementary_data
      description: Merchants and partners can add Level 2 and 3 data to payments to
        reduce risk and payment processing costs. For more information about
        processing payments, see <a
        href="https://developer.paypal.com/docs/checkout/advanced/processing/">checkout</a>
        or <a
        href="https://developer.paypal.com/docs/multiparty/checkout/advanced/processing/">multiparty
        checkout</a>.
      type: object
      properties:
        level_2:
          $ref: "#/components/schemas/level_2_card_processing_data"
        level_3:
          $ref: "#/components/schemas/level_3_card_processing_data"
    ip_address:
      title: IP Address
      description: An Internet Protocol address (IP address). This address assigns a
        numerical label to each device that is connected to a computer network
        through the Internet Protocol. Supports IPv4 and IPv6 addresses.
      type: string
      minLength: 7
      maxLength: 39
      pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z]|[A-Za-z][A-Za-z0-9\-]*[A-Za-z0-9])$|^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$
    participant_metadata:
      title: participant_metadata
      description: Profile information of the sender or receiver.
      type: object
      properties:
        ip_address:
          allOf:
            - $ref: "#/components/schemas/ip_address"
            - description: The consumer's IP address, which can be represented in either IPv4
                or IPv6 format.
    risk_supplementary_data:
      title: risk_supplementary_data
      description: Additional information necessary to evaluate the risk profile of a
        transaction.
      type: object
      properties:
        customer:
          $ref: "#/components/schemas/participant_metadata"
    supplementary_data:
      title: supplementary_data
      description: Supplementary data about a payment. This object passes information
        that can be used to improve risk assessments and processing costs, for
        example, by providing Level 2 and Level 3 payment data.
      type: object
      properties:
        card:
          allOf:
            - $ref: "#/components/schemas/card_supplementary_data"
            - description: Merchants and partners can add Level 2 and 3 data to payments to
                reduce risk and payment processing costs. For more information
                about processing payments, see <a
                href="https://developer.paypal.com/docs/checkout/advanced/processing/">checkout</a>
                or <a
                href="https://developer.paypal.com/docs/multiparty/checkout/advanced/processing/">multiparty
                checkout</a>.
        risk:
          allOf:
            - $ref: "#/components/schemas/risk_supplementary_data"
            - description: Merchants and partners can add additional customer parameters that
                can help with better fraud protection and reduced risk for
                unbranded card payments.
    purchase_unit_request:
      title: Purchase Unit Request
      description: The purchase unit request. Includes required information for the
        payment contract.
      type: object
      required:
        - amount
      properties:
        reference_id:
          description: The API caller-provided external ID for the purchase unit. Required
            for multiple purchase units when you must update the order through
            `PATCH`. If you omit this value and the order contains only one
            purchase unit, PayPal sets this value to `default`.
          type: string
          minLength: 1
          maxLength: 256
          pattern: ^[\S\s]*$
        amount:
          allOf:
            - $ref: "#/components/schemas/amount_with_breakdown"
            - description: The total order amount with an optional breakdown that provides
                details, such as the total item amount, total tax amount,
                shipping, handling, insurance, and discounts, if any.<br/>If you
                specify `amount.breakdown`, the amount equals `item_total` plus
                `tax_total` plus `shipping` plus `handling` plus `insurance`
                minus `shipping_discount` minus discount.<br/>The amount must be
                a positive number. The `amount.value` field supports up to 15
                digits preceding the decimal. For a list of supported
                currencies, decimal precision, and maximum charge amount, see
                the PayPal REST APIs <a
                href="https://developer.paypal.com/api/rest/reference/currency-codes/">Currency
                Codes</a>.
        payee:
          allOf:
            - $ref: "#/components/schemas/payee"
            - description: The merchant who receives payment for this transaction.
        payment_instruction:
          $ref: "#/components/schemas/payment_instruction"
        description:
          description: <blockquote>This field supports up to 3,000 characters, but
            <strong>any content beyond 127 characters (including spaces) will be
            truncated. The 127 character limit is reflected in the
            response</strong> representation of this field.</blockquote>The
            purchase description. The maximum length of the character is
            dependent on the type of characters used. The character length is
            specified assuming a US ASCII character. Depending on type of
            character; (e.g. accented character, Japanese characters) the number
            of characters that that can be specified as input might not equal
            the permissible max length.
          type: string
          minLength: 1
          maxLength: 3000
          pattern: ^[\S\s]*$
        custom_id:
          description: The API caller-provided external ID. Used to reconcile client
            transactions with PayPal transactions. Appears in transaction and
            settlement reports but is not visible to the payer.
          type: string
          minLength: 1
          maxLength: 255
          pattern: ^[\S\s]*$
        invoice_id:
          description: The API caller-provided external invoice number for this order.
            Appears in both the payer's transaction history and the emails that
            the payer receives. invoice_id values are required to be unique
            within each merchant account by default. Although the uniqueness
            validation is configurable, disabling this behavior will remove the
            account's ability to use invoice_id in other APIs as an identifier.
            It is highly recommended to keep a unique invoice_id for each Order.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^[\S\s]*$
        soft_descriptor:
          description: "<blockquote>This field supports up to 127 characters, but
            <strong>any content beyond 22 characters (including spaces) will be
            truncated. The 22 character limit is reflected in the
            response</strong> representation of this field.</blockquote>The soft
            descriptor is the dynamic text used to construct the statement
            descriptor that appears on a payer's card statement.<br><br>If an
            Order is paid using the \"PayPal Wallet\", the statement descriptor
            will appear in following format on the payer's card statement:
            <code><var>PAYPAL_prefix</var>+(space)+<var>merchant_descriptor</va\
            r>+(space)+
            <var>soft_descriptor</var></code><blockquote><strong>Note:</strong>
            The merchant descriptor is the descriptor of the merchant’s payment
            receiving preferences which can be seen by logging into the merchant
            account
            https://www.sandbox.paypal.com/businessprofile/settings/info/edit</\
            blockquote>The <code>PAYPAL</code> prefix uses 8 characters. Only
            the first 22 characters will be displayed in the statement. <br>For
            example, if:<ul><li>The PayPal prefix toggle is <code>PAYPAL
            *</code>.</li><li>The merchant descriptor in the profile is
            <code>Janes Gift</code>.</li><li>The soft descriptor is
            <code>800-123-1234</code>.</li></ul>Then, the statement descriptor
            on the card is <code>PAYPAL * Janes Gift 80</code>."
          type: string
          minLength: 1
          maxLength: 1000
          pattern: ^[\S\s]*$
        items:
          description: An array of items that the customer purchases from the merchant.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            allOf:
              - $ref: "#/components/schemas/item_request"
              - title: item
                description: The item.
        shipping:
          allOf:
            - $ref: "#/components/schemas/shipping_detail"
            - description: The name and address of the person to whom to ship the items.
        supplementary_data:
          allOf:
            - $ref: "#/components/schemas/supplementary_data"
            - description: Contains Supplementary Data.
    language:
      description: The [language tag](https://tools.ietf.org/html/bcp47#section-2) for
        the language in which to localize the error-related strings, such as
        messages, issues, and suggested actions. The tag is made up of the [ISO
        639-2 language
        code](https://www.loc.gov/standards/iso639-2/php/code_list.php), the
        optional [ISO-15924 script
        tag](https://www.unicode.org/iso15924/codelists.html), and the [ISO-3166
        alpha-2 country code](/api/rest/reference/country-codes/) or [M49 region
        code](https://unstats.un.org/unsd/methodology/m49/).
      type: string
      minLength: 2
      maxLength: 10
      pattern: ^[a-z]{2}(?:-[A-Z][a-z]{3})?(?:-(?:[A-Z]{2}|[0-9]{3}))?$
    url:
      description: Describes the URL.
      type: string
      minLength: 0
      maxLength: 2147483647
      format: uri
    experience_context_base:
      title: experience_context_base
      description: Customizes the payer experience during the approval process for the
        payment.
      type: object
      properties:
        brand_name:
          description: The label that overrides the business name in the PayPal account on
            the PayPal site. The pattern is defined by an external party and
            supports Unicode.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^.*$
        locale:
          allOf:
            - $ref: "#/components/schemas/language"
            - description: The BCP 47-formatted locale of pages that the PayPal payment
                experience shows. PayPal supports a five-character code. For
                example, `da-DK`, `he-IL`, `id-ID`, `ja-JP`, `no-NO`, `pt-BR`,
                `ru-RU`, `sv-SE`, `th-TH`, `zh-CN`, `zh-HK`, or `zh-TW`.
        shipping_preference:
          description: The location from which the shipping address is derived.
          type: string
          enum:
            - GET_FROM_FILE
            - NO_SHIPPING
            - SET_PROVIDED_ADDRESS
          default: GET_FROM_FILE
          oneOf:
            - type: string
              enum:
                - GET_FROM_FILE
              description: Get the customer-provided shipping address on the PayPal site.
            - type: string
              enum:
                - NO_SHIPPING
              description: Redacts the shipping address from the PayPal site. Recommended for
                digital goods.
            - type: string
              enum:
                - SET_PROVIDED_ADDRESS
              description: Merchant sends the shipping address using
                purchase_units.shipping.address. The customer cannot change this
                address on the PayPal site.
        return_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer is redirected after the customer
                approves the payment.
              format: uri
        cancel_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer is redirected after the customer cancels
                the payment.
              format: uri
    instrument_id:
      description: The identifier of the instrument.
      type: string
      minLength: 1
      maxLength: 256
      pattern: ^[A-Za-z0-9-_.+=]+$
    date_year_month:
      description: The year and month, in ISO-8601 `YYYY-MM` date format. See
        [Internet date and time
        format](https://tools.ietf.org/html/rfc3339#section-5.6).
      type: string
      minLength: 7
      maxLength: 7
      pattern: ^[0-9]{4}-(0[1-9]|1[0-2])$
    card_brand:
      title: card_brand
      description: The card network or brand. Applies to credit, debit, gift, and
        payment cards.
      type: string
      enum:
        - VISA
        - MASTERCARD
        - DISCOVER
        - AMEX
        - SOLO
        - JCB
        - STAR
        - DELTA
        - SWITCH
        - MAESTRO
        - CB_NATIONALE
        - CONFIGOGA
        - CONFIDIS
        - ELECTRON
        - CETELEM
        - CHINA_UNION_PAY
        - DINERS
        - ELO
        - HIPER
        - HIPERCARD
        - RUPAY
        - GE
        - SYNCHRONY
        - EFTPOS
        - CARTE_BANCAIRE
        - STAR_ACCESS
        - PULSE
        - NYCE
        - ACCEL
        - UNKNOWN
      oneOf:
        - type: string
          enum:
            - VISA
          description: Visa card.
        - type: string
          enum:
            - MASTERCARD
          description: Mastercard card.
        - type: string
          enum:
            - DISCOVER
          description: Discover card.
        - type: string
          enum:
            - AMEX
          description: American Express card.
        - type: string
          enum:
            - SOLO
          description: Solo debit card.
        - type: string
          enum:
            - JCB
          description: Japan Credit Bureau card.
        - type: string
          enum:
            - STAR
          description: Military Star card.
        - type: string
          enum:
            - DELTA
          description: Delta Airlines card.
        - type: string
          enum:
            - SWITCH
          description: Switch credit card.
        - type: string
          enum:
            - MAESTRO
          description: Maestro credit card.
        - type: string
          enum:
            - CB_NATIONALE
          description: Carte Bancaire (CB) credit card.
        - type: string
          enum:
            - CONFIGOGA
          description: Configoga credit card.
        - type: string
          enum:
            - CONFIDIS
          description: Confidis credit card.
        - type: string
          enum:
            - ELECTRON
          description: Visa Electron credit card.
        - type: string
          enum:
            - CETELEM
          description: Cetelem credit card.
        - type: string
          enum:
            - CHINA_UNION_PAY
          description: China union pay credit card.
        - type: string
          enum:
            - DINERS
          description: The Diners Club International banking and payment services
            capability network owned by Discover Financial Services (DFS), one
            of the most recognized brands in US financial services.
        - type: string
          enum:
            - ELO
          description: The Brazilian Elo card payment network.
        - type: string
          enum:
            - HIPER
          description: The Hiper - Ingenico ePayment network.
        - type: string
          enum:
            - HIPERCARD
          description: The Brazilian Hipercard payment network that's widely accepted in
            the retail market.
        - type: string
          enum:
            - RUPAY
          description: The RuPay payment network.
        - type: string
          enum:
            - GE
          description: The GE Credit Union 3Point card payment network.
        - type: string
          enum:
            - SYNCHRONY
          description: The Synchrony Financial (SYF) payment network.
        - type: string
          enum:
            - EFTPOS
          description: The Electronic Fund Transfer At Point of Sale(EFTPOS) Debit card
            payment network.
        - type: string
          enum:
            - CARTE_BANCAIRE
          description: The Carte Bancaire payment network.
        - type: string
          enum:
            - STAR_ACCESS
          description: The Star Access payment network.
        - type: string
          enum:
            - PULSE
          description: The Pulse payment network.
        - type: string
          enum:
            - NYCE
          description: The NYCE payment network.
        - type: string
          enum:
            - ACCEL
          description: The Accel payment network.
        - type: string
          enum:
            - UNKNOWN
          description: UNKNOWN payment network.
    card_type:
      title: card_type
      description: Type of card. i.e Credit, Debit and so on.
      type: string
      enum:
        - CREDIT
        - DEBIT
        - PREPAID
        - STORE
        - UNKNOWN
      oneOf:
        - type: string
          enum:
            - CREDIT
          description: A credit card.
        - type: string
          enum:
            - DEBIT
          description: A debit card.
        - type: string
          enum:
            - PREPAID
          description: A Prepaid card.
        - type: string
          enum:
            - STORE
          description: A store card.
        - type: string
          enum:
            - UNKNOWN
          description: Card type cannot be determined.
    eci_flag:
      description: Electronic Commerce Indicator (ECI). The ECI value is part of the 2
        data elements that indicate the transaction was processed
        electronically. This should be passed on the authorization transaction
        to the Gateway/Processor.
      type: string
      enum:
        - MASTERCARD_NON_3D_SECURE_TRANSACTION
        - MASTERCARD_ATTEMPTED_AUTHENTICATION_TRANSACTION
        - MASTERCARD_FULLY_AUTHENTICATED_TRANSACTION
        - FULLY_AUTHENTICATED_TRANSACTION
        - ATTEMPTED_AUTHENTICATION_TRANSACTION
        - NON_3D_SECURE_TRANSACTION
      oneOf:
        - type: string
          enum:
            - MASTERCARD_NON_3D_SECURE_TRANSACTION
          description: Mastercard non-3-D Secure transaction.
        - type: string
          enum:
            - MASTERCARD_ATTEMPTED_AUTHENTICATION_TRANSACTION
          description: Mastercard attempted authentication transaction.
        - type: string
          enum:
            - MASTERCARD_FULLY_AUTHENTICATED_TRANSACTION
          description: Mastercard fully authenticated transaction.
        - type: string
          enum:
            - FULLY_AUTHENTICATED_TRANSACTION
          description: VISA, AMEX, JCB, DINERS CLUB fully authenticated transaction.
        - type: string
          enum:
            - ATTEMPTED_AUTHENTICATION_TRANSACTION
          description: VISA, AMEX, JCB, DINERS CLUB attempted authentication transaction.
        - type: string
          enum:
            - NON_3D_SECURE_TRANSACTION
          description: VISA, AMEX, JCB, DINERS CLUB non-3-D Secure transaction.
    enrolled:
      description: Status of Authentication eligibility.
      type: string
      enum:
        - Y
        - N
        - U
        - B
      oneOf:
        - type: string
          enum:
            - Y
          description: Yes. The bank is participating in 3-D Secure protocol and will
            return the ACSUrl.
        - type: string
          enum:
            - N
          description: No. The bank is not participating in 3-D Secure protocol.
        - type: string
          enum:
            - U
          description: Unavailable. The DS or ACS is not available for authentication at
            the time of the request.
        - type: string
          enum:
            - B
          description: Bypass. The merchant authentication rule is triggered to bypass
            authentication.
    pares_status:
      description: Transactions status result identifier. The outcome of the issuer's
        authentication.
      type: string
      enum:
        - Y
        - N
        - U
        - A
        - C
        - R
        - D
        - I
      oneOf:
        - type: string
          enum:
            - Y
          description: Successful authentication.
        - type: string
          enum:
            - N
          description: Failed authentication / account not verified / transaction denied.
        - type: string
          enum:
            - U
          description: Unable to complete authentication.
        - type: string
          enum:
            - A
          description: Successful attempts transaction.
        - type: string
          enum:
            - C
          description: Challenge required for authentication.
        - type: string
          enum:
            - R
          description: Authentication rejected (merchant must not submit for authorization).
        - type: string
          enum:
            - D
          description: Challenge required; decoupled authentication confirmed.
        - type: string
          enum:
            - I
          description: Informational only; 3DS requestor challenge preference acknowledged.
    merchant_partner_customer_id:
      title: merchant_partner_customer_id
      description: The unique ID for a customer generated by PayPal.
      type: string
      minLength: 1
      maxLength: 22
      pattern: ^[0-9a-zA-Z_-]+$
    phone_number:
      title: Phone Number Format Including Country and National Code
      description: A structured representation of a phone number conforming to the
        international [E.164 numbering plan
        format](https://www.itu.int/rec/T-REC-E.164/en),including both
        country_code and national_number fields.
      type: object
      required:
        - country_code
        - national_number
      properties:
        country_code:
          title: country_calling_code
          description: The country calling code (CC), in its canonical international
            [E.164 numbering plan
            format](https://www.itu.int/rec/T-REC-E.164/en). The combined length
            of the CC and the national number must not be greater than 15
            digits. The national number consists of a national destination code
            (NDC) and subscriber number (SN).
          type: string
          minLength: 1
          maxLength: 3
          pattern: ^[0-9]{1,3}?$
        national_number:
          description: The national number, in its canonical international [E.164
            numbering plan format](https://www.itu.int/rec/T-REC-E.164/en). The
            combined length of the country calling code (CC) and the national
            number must not be greater than 15 digits. The national number
            consists of a national destination code (NDC) and subscriber number
            (SN).
          type: string
          minLength: 1
          maxLength: 14
          pattern: ^[0-9]{1,14}?$
    customer:
      title: customer
      description: This object represents a merchant’s customer, allowing them to
        store contact details, and track all payments associated with the same
        customer.
      type: object
      properties:
        id:
          $ref: "#/components/schemas/merchant_partner_customer_id"
        email_address:
          allOf:
            - $ref: "#/components/schemas/email"
            - description: Email address of the customer as provided to the merchant or on
                file with the merchant. Email Address is required if you are
                processing the transaction using PayPal Guest Processing which
                is offered to select partners and merchants.
        phone:
          allOf:
            - $ref: "#/components/schemas/phone_with_type"
            - description: The phone number of the customer as provided to the merchant or on
                file with the merchant. The `phone.phone_number` supports only
                `national_number`.
        name:
          allOf:
            - $ref: "#/components/schemas/name"
            - description: The full name of the customer as provided to the merchant or on
                file with the merchant.
              not:
                anyOf:
                  - required:
                      - prefix
                  - required:
                      - middle_name
                  - required:
                      - suffix
                  - required:
                      - alternate_full_name
                  - required:
                      - full_name
    card_customer:
      title: card_customer
      description: The details about a customer in PayPal's system of record.
      type: object
      allOf:
        - $ref: "#/components/schemas/customer"
        - type: object
          properties:
            merchant_customer_id:
              description: Merchants and partners may already have a data-store where their
                customer information is persisted. Use merchant_customer_id to
                associate the PayPal-generated customer.id to your
                representation of a customer.
              type: string
              minLength: 1
              maxLength: 64
              pattern: ^[0-9a-zA-Z-_.^*$@#]+$
    store_in_vault_instruction:
      title: store_in_vault_instruction
      description: Defines how and when the payment source gets vaulted.
      type: string
      enum:
        - ON_SUCCESS
      oneOf:
        - type: string
          enum:
            - ON_SUCCESS
          description: Defines that the payment_source will be vaulted only when at least
            one authorization or capture using that payment_source is
            successful.
    vault_instruction_base:
      title: vault_instruction_base
      description: Basic vault instruction specification that can be extended by
        specific payment sources that supports vaulting.
      type: object
      properties:
        store_in_vault:
          $ref: "#/components/schemas/store_in_vault_instruction"
    card_verification:
      title: Card Verification
      description: The API caller can opt in to verify the card through PayPal offered
        verification services (e.g. Smart Dollar Auth, 3DS).
      type: object
      properties:
        method:
          title: card_verification
          description: The method used for card verification.
          type: string
          enum:
            - SCA_ALWAYS
            - SCA_WHEN_REQUIRED
            - 3D_SECURE
            - AVS_CVV
          default: SCA_WHEN_REQUIRED
          oneOf:
            - type: string
              enum:
                - SCA_ALWAYS
              description: Selecting this option will attempt to force a strong customer
                authentication for the authorization/transaction. In countries
                where SCA has been defined and implemented it will result in a
                contingency and HATEOAS link being returned.  The API caller
                should redirect the payer to that link so that they can
                authenticate themselves against their issuing bank or other
                entity. As noted, the HATEOAS link is only available in all
                regions where strong authentication is supported, (e.g. in
                European countries where 3DS is live). Merchants can use this
                setting as an additional layer of security if they choose to. In
                all cases, when an authorization is requested the AVS/CVV
                results will be returned in the response.
            - type: string
              enum:
                - SCA_WHEN_REQUIRED
              description: This is the default. When an authorization or transaction is
                attempted this option will return a contingency and HATEOAS link
                only when local regulations require strong customer
                authentication, (e.g. 3DS in countries and use cases where it is
                mandated). The API caller should redirect the payer to the link
                so that they can authenticate themselves. In all cases, when an
                authorization is requested the AVS/CVV results will be returned
                in the response.
            - type: string
              enum:
                - 3D_SECURE
              description: The contingency surfaced as an additional security layer that helps
                prevent unauthorized card-not-present transactions and protects
                the merchant from exposure to fraud. <b>DEPRECATED</b> see
                SCA_ALWAYS.
            - type: string
              enum:
                - AVS_CVV
              description: Places a temporary hold on the card to ensure its validity. This
                process protects the merchant from exposure to fraud. This
                verification method will confirm that the address information or
                CVV included matches what the issuing bank has on file for the
                associated card, ensuring that only authorized card users are
                able to make purchases from you. <b>DEPRECATED</b> see
                SCA_ALWAYS.
    card_attributes:
      title: card_attributes
      description: Additional attributes associated with the use of this card.
      type: object
      properties:
        customer:
          $ref: "#/components/schemas/card_customer"
        vault:
          allOf:
            - $ref: "#/components/schemas/vault_instruction_base"
            - description: Instruction to vault the card based on the specified strategy.
        verification:
          allOf:
            - $ref: "#/components/schemas/card_verification"
            - description: Instruction to optionally verify the card based on the specified
                strategy.
    card:
      title: card
      description: The payment card to use to fund a payment. Can be a credit or debit card.
      type: object
      properties:
        id:
          allOf:
            - $ref: "#/components/schemas/instrument_id"
            - description: The PayPal-generated ID for the card.
              readOnly: true
        name:
          description: The card holder's name as it appears on the card.
          type: string
          minLength: 1
          maxLength: 300
          pattern: ^.{1,300}$
        number:
          description: The primary account number (PAN) for the payment card.
          type: string
          minLength: 13
          maxLength: 19
          pattern: ^[0-9]{13,19}$
        expiry:
          allOf:
            - $ref: "#/components/schemas/date_year_month"
            - description: "The card expiration year and month, in [Internet date
                format](https://tools.ietf.org/html/rfc3339#section-5.6) For
                example: 2028-04"
        security_code:
          description: The three- or four-digit security code of the card. Also known as
            the CVV, CVC, CVN, CVE, or CID. This parameter cannot be present in
            the request when `payment_initiator=MERCHANT`.
          type: string
          minLength: 3
          maxLength: 4
          pattern: ^[0-9]{3,4}$
        last_digits:
          description: The last digits of the payment card.
          type: string
          minLength: 2
          maxLength: 4
          pattern: ^[0-9]{2,4}$
          readOnly: true
        card_type:
          allOf:
            - $ref: "#/components/schemas/card_brand"
            - description: The card brand or network. Typically used in the response.
                <b>DEPRECATED</b><br><table><tr><th>See</th></tr><tr><td>type</td></tr></table>
              deprecated: true
              readOnly: true
        type:
          allOf:
            - $ref: "#/components/schemas/card_type"
            - description: The payment card type.
        brand:
          allOf:
            - $ref: "#/components/schemas/card_brand"
            - description: The card brand or network. Typically used in the response.
        billing_address:
          allOf:
            - $ref: "#/components/schemas/address_portable"
            - description: The billing address for this card. Supports only the
                `address_line_1`, `address_line_2`, `admin_area_1`,
                `admin_area_2`, `postal_code`, and `country_code` properties.
              not:
                anyOf:
                  - required:
                      - address_line_3
                  - required:
                      - admin_area_3
                  - required:
                      - admin_area_4
                  - required:
                      - address_details
        attributes:
          allOf:
            - $ref: "#/components/schemas/card_attributes"
            - title: card_attributes
              description: Additional attributes associated with the use of this card.
    vault_id:
      title: vault_id
      description: The PayPal-generated ID for the vaulted payment source. This ID
        should be stored on the merchant's server so the saved payment source
        can be used for future transactions.
      type: string
      minLength: 1
      maxLength: 255
      pattern: ^[0-9a-zA-Z_-]+$
    single_use_token:
      title: single_use_token
      description: The PayPal-generated, short-lived, one-time-use token, used to
        communicate payment information to PayPal for transaction processing.
      type: string
      minLength: 1
      maxLength: 255
      pattern: ^[0-9a-zA-Z_-]+$
    payment_initiator:
      title: payment_initiator
      description: The person or party who initiated or triggered the payment.
      type: string
      enum:
        - CUSTOMER
        - MERCHANT
      oneOf:
        - type: string
          enum:
            - CUSTOMER
          description: Payment is initiated with the active engagement of the customer.
            e.g. a customer checking out on a merchant website.
        - type: string
          enum:
            - MERCHANT
          description: Payment is initiated by merchant on behalf of the customer without
            the active engagement of customer. e.g. a merchant charging the
            monthly payment of a subscription to the customer.
    stored_payment_source_payment_type:
      title: stored_payment_source_payment_type
      description: Indicates the type of the stored payment_source payment.
      type: string
      enum:
        - ONE_TIME
        - RECURRING
        - UNSCHEDULED
      oneOf:
        - type: string
          enum:
            - ONE_TIME
          description: One Time payment such as online purchase or donation. (e.g.
            Checkout with one-click).
        - type: string
          enum:
            - RECURRING
          description: Payment which is part of a series of payments with fixed or
            variable amounts, following a fixed time interval. (e.g.
            Subscription payments).
        - type: string
          enum:
            - UNSCHEDULED
          description: Payment which is part of a series of payments that occur on a
            non-fixed schedule and/or have variable amounts. (e.g. Account Topup
            payments).
    stored_payment_source_usage_type:
      title: stored_payment_source_usage_type
      description: Indicates if this is a `first` or `subsequent` payment using a
        stored payment source (also referred to as stored credential or card on
        file).
      type: string
      enum:
        - FIRST
        - SUBSEQUENT
        - DERIVED
      default: DERIVED
      oneOf:
        - type: string
          enum:
            - FIRST
          description: Indicates the Initial/First payment with a payment_source that is
            intended to be stored upon successful processing of the payment.
        - type: string
          enum:
            - SUBSEQUENT
          description: Indicates a payment using a stored payment_source which has been
            successfully used previously for a payment.
        - type: string
          enum:
            - DERIVED
          description: Indicates that PayPal will derive the value of `FIRST` or
            `SUBSEQUENT` based on data available to PayPal.
    network_transaction:
      title: network_transaction
      description: Reference values used by the card network to identify a transaction.
      type: object
      properties:
        id:
          description: Transaction reference id returned by the scheme. For Visa and Amex,
            this is the "Tran id" field in response. For MasterCard, this is the
            "BankNet reference id" field in response. For Discover, this is the
            "NRID" field in response. The pattern we expect for this field from
            Visa/Amex/CB/Discover is numeric, Mastercard/BNPP is alphanumeric
            and Paysecure is alphanumeric with special character -.
          type: string
          minLength: 9
          maxLength: 36
          pattern: ^[a-zA-Z0-9-_@.:&+=*^'~#!$%()]+$
        date:
          description: The date that the transaction was authorized by the scheme. This
            field may not be returned for all networks. MasterCard refers to
            this field as "BankNet reference date". For some specific networks,
            such as MasterCard and Discover, this date field is mandatory when
            the `previous_network_transaction_reference_id` is passed.
          type: string
          minLength: 4
          maxLength: 4
          pattern: ^[0-9]+$
        network:
          allOf:
            - $ref: "#/components/schemas/card_brand"
            - description: Name of the card network through which the transaction was routed.
        acquirer_reference_number:
          description: Reference ID issued for the card transaction. This ID can be used
            to track the transaction across processors, card brands and issuing
            banks.
          type: string
          minLength: 1
          maxLength: 36
          pattern: ^[a-zA-Z0-9]+$
    network_transaction_reference:
      title: network_transaction_reference
      description: Reference values used by the card network to identify a transaction.
      type: object
      required:
        - id
      allOf:
        - $ref: "#/components/schemas/network_transaction"
    card_stored_credential:
      title: card_stored_credential
      description: Provides additional details to process a payment using a `card`
        that has been stored or is intended to be stored (also referred to as
        stored_credential or card-on-file).<br/>Parameter
        compatibility:<br/><ul><li>`payment_type=ONE_TIME` is compatible only
        with `payment_initiator=CUSTOMER`.</li><li>`usage=FIRST` is compatible
        only with
        `payment_initiator=CUSTOMER`.</li><li>`previous_transaction_reference`
        or `previous_network_transaction_reference` is compatible only with
        `payment_initiator=MERCHANT`.</li><li>Only one of the parameters -
        `previous_transaction_reference` and
        `previous_network_transaction_reference` - can be present in the
        request.</li></ul>
      type: object
      required:
        - payment_initiator
        - payment_type
      properties:
        payment_initiator:
          $ref: "#/components/schemas/payment_initiator"
        payment_type:
          $ref: "#/components/schemas/stored_payment_source_payment_type"
        usage:
          $ref: "#/components/schemas/stored_payment_source_usage_type"
        previous_network_transaction_reference:
          $ref: "#/components/schemas/network_transaction_reference"
    network_token_request:
      title: network_token
      description: The Third Party Network token used to fund a payment.
      type: object
      required:
        - expiry
        - number
      properties:
        number:
          description: Third party network token number.
          type: string
          minLength: 13
          maxLength: 19
          pattern: ^[0-9]{13,19}$
        expiry:
          allOf:
            - $ref: "#/components/schemas/date_year_month"
            - description: The card expiration year and month, in [Internet date
                format](https://tools.ietf.org/html/rfc3339#section-5.6).
        cryptogram:
          description: An Encrypted one-time use value that's sent along with Network
            Token. This field is not required to be present for recurring
            transactions.
          type: string
          minLength: 28
          maxLength: 32
          pattern: ^.*$
        eci_flag:
          $ref: "#/components/schemas/eci_flag"
        token_requestor_id:
          description: A TRID, or a Token Requestor ID, is an identifier used by merchants
            to request network tokens from card networks. A TRID is a precursor
            to obtaining a network token for a credit card primary account
            number (PAN), and will aid in enabling secure card on file (COF)
            payments and reducing fraud.
          type: string
          minLength: 1
          maxLength: 11
          pattern: ^[0-9A-Z_]+$
    card_experience_context:
      title: card_experience_context
      description: Customizes the payer experience during the 3DS Approval for payment.
      type: object
      properties:
        return_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer will be redirected upon successfully
                completing the 3DS challenge.
              type: string
              minLength: 10
              maxLength: 4000
              format: uri
        cancel_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer will be redirected upon cancelling the
                3DS challenge.
              type: string
              minLength: 10
              maxLength: 4000
              format: uri
    card_request:
      title: card_request
      description: The payment card to use to fund a payment. Can be a credit or debit
        card.<blockquote><strong>Note:</strong> Passing card number, cvv and
        expiry directly via the API requires <a
        href="https://www.pcisecuritystandards.org/pci_security/completing_self_assessment">
        PCI SAQ D compliance</a>. <br>*PayPal offers a mechanism by which you do
        not have to take on the <strong>PCI SAQ D</strong> burden by using
        hosted fields - refer to <a
        href="https://developer.paypal.com/docs/checkout/advanced/integrate/">this
        Integration Guide</a>*.</blockquote>
      type: object
      allOf:
        - allOf:
            - $ref: "#/components/schemas/card"
            - not:
                anyOf:
                  - required:
                      - id
                  - required:
                      - last_digits
                  - required:
                      - card_type
                  - required:
                      - type
                  - required:
                      - brand
        - type: object
          properties:
            vault_id:
              allOf:
                - $ref: "#/components/schemas/vault_id"
                - description: The PayPal-generated ID for the saved card payment source.
                    Typically stored on the merchant's server.
            single_use_token:
              allOf:
                - $ref: "#/components/schemas/single_use_token"
                - description: The PayPal-generated, short-lived, one-time-use token, used to
                    communicate payment information to PayPal for transaction
                    processing.
            stored_credential:
              $ref: "#/components/schemas/card_stored_credential"
            network_token:
              allOf:
                - $ref: "#/components/schemas/network_token_request"
                - description: A 3rd party network token refers to a network token that the
                    merchant provisions from and vaults with an external TSP
                    (Token Service Provider) other than PayPal.
            experience_context:
              allOf:
                - $ref: "#/components/schemas/card_experience_context"
                - {}
    token:
      title: token
      description: The tokenized payment source to fund a payment.
      type: object
      required:
        - id
        - type
      properties:
        id:
          description: The PayPal-generated ID for the token.
          type: string
          minLength: 1
          maxLength: 255
          pattern: ^[0-9a-zA-Z_-]+$
        type:
          description: The tokenization method that generated the ID.
          type: string
          enum:
            - BILLING_AGREEMENT
          oneOf:
            - type: string
              enum:
                - BILLING_AGREEMENT
              description: The PayPal billing agreement ID. References an approved recurring
                payment for goods or services.
    v3_vault_instruction_base:
      title: v3_vault_instruction_base
      description: Base vaulting specification. The object can be extended for
        specific use cases within each payment_source that supports vaulting.
      type: object
      required:
        - store_in_vault
      properties:
        store_in_vault:
          $ref: "#/components/schemas/store_in_vault_instruction"
    payee_payment_method_preference:
      title: payee_payment_method_preference
      description: The merchant-preferred payment methods.
      type: string
      enum:
        - UNRESTRICTED
        - IMMEDIATE_PAYMENT_REQUIRED
      default: UNRESTRICTED
      oneOf:
        - type: string
          enum:
            - UNRESTRICTED
          description: Accepts any type of payment from the customer.
        - type: string
          enum:
            - IMMEDIATE_PAYMENT_REQUIRED
          description: Accepts only immediate payment from the customer. For example,
            credit card, PayPal balance, or instant ACH. Ensures that at the
            time of capture, the payment does not have the `pending` status.
    paypal_wallet_customer:
      title: paypal_wallet_customer
      description: The details about a customer in PayPal's system of record.
      type: object
      allOf:
        - $ref: "#/components/schemas/customer"
        - type: object
          properties:
            merchant_customer_id:
              description: Merchants and partners may already have a data-store where their
                customer information is persisted. Use merchant_customer_id to
                associate the PayPal-generated customer.id to your
                representation of a customer.
              type: string
              minLength: 1
              maxLength: 64
              pattern: ^[0-9a-zA-Z-_.^*$@#]+$
    account_id-2:
      description: The PayPal payer ID, which is a masked version of the PayPal
        account number intended for use with third parties. The account number
        is reversibly encrypted and a proprietary variant of Base32 is used to
        encode the result.
      type: string
      minLength: 13
      maxLength: 13
      pattern: ^[2-9A-HJ-NP-Z]{13}$
    vault_paypal_wallet_base:
      title: vault_paypal_wallet_base
      description: Resource consolidating common request and response attributes for
        vaulting PayPal Wallet.
      type: object
      required:
        - usage_type
      allOf:
        - $ref: "#/components/schemas/vault_instruction_base"
        - type: object
          properties:
            description:
              description: The description displayed to PayPal consumer on the approval flow
                for PayPal, as well as on the PayPal payment token management
                experience on PayPal.com.
              type: string
              minLength: 1
              maxLength: 128
              pattern: ^[\S\s]*$
            usage_pattern:
              title: PayPal Payment Token Usage Pattern
              description: Expected business/pricing model for the billing agreement.
              type: string
              enum:
                - IMMEDIATE
                - DEFERRED
                - RECURRING_PREPAID
                - RECURRING_POSTPAID
                - THRESHOLD_PREPAID
                - THRESHOLD_POSTPAID
                - SUBSCRIPTION_PREPAID
                - SUBSCRIPTION_POSTPAID
                - UNSCHEDULED_PREPAID
                - UNSCHEDULED_POSTPAID
                - INSTALLMENT_PREPAID
                - INSTALLMENT_POSTPAID
              oneOf:
                - type: string
                  enum:
                    - IMMEDIATE
                  description: On-demand instant payments – non-recurring, pre-paid, variable
                    amount, variable frequency.
                - type: string
                  enum:
                    - DEFERRED
                  description: Pay after use, non-recurring post-paid, variable amount, irregular
                    frequency.
                - type: string
                  enum:
                    - RECURRING_PREPAID
                  description: Pay upfront fixed or variable amount on a fixed date before the
                    goods/service is delivered.
                - type: string
                  enum:
                    - RECURRING_POSTPAID
                  description: Pay on a fixed date based on usage or consumption after the
                    goods/service is delivered.
                - type: string
                  enum:
                    - THRESHOLD_PREPAID
                  description: Charge payer when the set amount is reached or monthly billing
                    cycle, whichever comes first, before the goods/service is
                    delivered.
                - type: string
                  enum:
                    - THRESHOLD_POSTPAID
                  description: Charge payer when the set amount is reached or monthly billing
                    cycle, whichever comes first, after the goods/service is
                    delivered.
                - type: string
                  enum:
                    - SUBSCRIPTION_PREPAID
                  description: Subscription plan where the "amount due" and the "billing
                    frequency" are fixed, and there is no defined duration with
                    the payment due before the good/service is delivered.
                - type: string
                  enum:
                    - SUBSCRIPTION_POSTPAID
                  description: Subscription plan where the "amount due" and the "billing
                    frequency" are fixed, and there is no defined duration with
                    the payment due after the goods/services are delivered.
                - type: string
                  enum:
                    - UNSCHEDULED_PREPAID
                  description: Unscheduled card on file plan where the merchant can bill buyer
                    upfront based on an agreed logic, but "amount due" and
                    "frequency" can vary. Inclusive of automatic reload plans.
                - type: string
                  enum:
                    - UNSCHEDULED_POSTPAID
                  description: Unscheduled card on file plan where the merchant can bill buyer
                    based on an agreed logic, but "amount due" and "frequency"
                    can vary. Inclusive of automatic reload plans.
                - type: string
                  enum:
                    - INSTALLMENT_PREPAID
                  description: Merchant-managed installment plan when the "amount" to be paid and
                    the "billing frequency" are fixed, but there is a defined
                    number of payments with the payment due before the
                    good/service is delivered.
                - type: string
                  enum:
                    - INSTALLMENT_POSTPAID
                  description: Merchant-managed installment plan when the "amount" to be paid and
                    the "billing frequency" are fixed, but there is a defined
                    number of payments with the payment due after the
                    goods/services are delivered.
            shipping:
              allOf:
                - $ref: "#/components/schemas/shipping_detail"
                - description: The shipping address for the Payer.
                  not:
                    required:
                      - options
            usage_type:
              title: PayPal Payment Token Usage Type
              description: The usage type associated with the PayPal payment token.
              type: string
              enum:
                - MERCHANT
                - PLATFORM
              oneOf:
                - type: string
                  enum:
                    - MERCHANT
                  description: The PayPal Payment Token will be used for future transaction
                    directly with a merchant.
                - type: string
                  enum:
                    - PLATFORM
                  description: The PayPal Payment Token will be used for future transaction on a
                    platform. A platform is typically a marketplace or a channel
                    that a payer can purchase goods and services from multiple
                    merchants.
            customer_type:
              title: PayPal Payment Token Customer Type
              description: The customer type associated with the PayPal payment token. This is
                to indicate whether the customer acting on the merchant /
                platform is either a business or a consumer.
              type: string
              enum:
                - CONSUMER
                - BUSINESS
              default: CONSUMER
              oneOf:
                - type: string
                  enum:
                    - CONSUMER
                  description: The customer vaulting the PayPal payment token is a consumer on the
                    merchant / platform.
                - type: string
                  enum:
                    - BUSINESS
                  description: The customer vaulting the PayPal payment token is a business on
                    merchant / platform.
            permit_multiple_payment_tokens:
              description: Create multiple payment tokens for the same payer,
                merchant/platform combination. Use this when the customer has
                not logged in at merchant/platform. The payment token thus
                generated, can then also be used to create the customer account
                at merchant/platform. Use this also when multiple payment tokens
                are required for the same payer, different customer at
                merchant/platform. This helps to identify customers distinctly
                even though they may share the same PayPal account. This only
                applies to PayPal payment source.
              type: boolean
              default: false
    charge_pattern:
      description: Expected business/pricing model for the billing agreement.
      type: string
      enum:
        - IMMEDIATE
        - DEFERRED
        - RECURRING_PREPAID
        - RECURRING_POSTPAID
        - THRESHOLD_PREPAID
        - THRESHOLD_POSTPAID
        - SUBSCRIPTION_PREPAID
        - SUBSCRIPTION_POSTPAID
        - UNSCHEDULED_PREPAID
        - UNSCHEDULED_POSTPAID
        - INSTALLMENT_PREPAID
        - INSTALLMENT_POSTPAID
      oneOf:
        - type: string
          enum:
            - IMMEDIATE
          description: On-demand instant payments – non-recurring, pre-paid, variable
            amount, variable frequency.
        - type: string
          enum:
            - DEFERRED
          description: Pay after use, non-recurring post-paid, variable amount, irregular
            frequency.
        - type: string
          enum:
            - RECURRING_PREPAID
          description: Pay upfront fixed or variable amount on a fixed date before the
            goods/service is delivered.
        - type: string
          enum:
            - RECURRING_POSTPAID
          description: Pay on a fixed date based on usage or consumption after the
            goods/service is delivered.
        - type: string
          enum:
            - THRESHOLD_PREPAID
          description: Charge payer when the set amount is reached or monthly billing
            cycle, whichever comes first, before the goods/service is delivered.
        - type: string
          enum:
            - THRESHOLD_POSTPAID
          description: Charge payer when the set amount is reached or monthly billing
            cycle, whichever comes first, after the goods/service is delivered.
        - type: string
          enum:
            - SUBSCRIPTION_PREPAID
          description: Subscription plan where the "amount due" and the "billing
            frequency" are fixed, and there is no defined duration with the
            payment due before the good/service is delivered.
        - type: string
          enum:
            - SUBSCRIPTION_POSTPAID
          description: Subscription plan where the "amount due" and the "billing
            frequency" are fixed, and there is no defined duration with the
            payment due after the goods/services are delivered.
        - type: string
          enum:
            - UNSCHEDULED_PREPAID
          description: Unscheduled card on file plan where the merchant can bill buyer
            upfront based on an agreed logic, but "amount due" and "frequency"
            can vary. Inclusive of automatic reload plans.
        - type: string
          enum:
            - UNSCHEDULED_POSTPAID
          description: Unscheduled card on file plan where the merchant can bill buyer
            based on an agreed logic, but "amount due" and "frequency" can vary.
            Inclusive of automatic reload plans.
        - type: string
          enum:
            - INSTALLMENT_PREPAID
          description: Merchant-managed installment plan when the "amount" to be paid and
            the "billing frequency" are fixed, but there is a defined number of
            payments with the payment due before the good/service is delivered.
        - type: string
          enum:
            - INSTALLMENT_POSTPAID
          description: Merchant-managed installment plan when the "amount" to be paid and
            the "billing frequency" are fixed, but there is a defined number of
            payments with the payment due after the goods/services are
            delivered.
    paypal_wallet_attributes:
      title: paypal_wallet_attributes
      description: Additional attributes associated with the use of this PayPal Wallet.
      type: object
      properties:
        customer:
          $ref: "#/components/schemas/paypal_wallet_customer"
        vault:
          allOf:
            - $ref: "#/components/schemas/vault_paypal_wallet_base"
            - description: Attributes used to provide the instructions during vaulting of the
                PayPal Wallet.
              not:
                required:
                  - shipping
    native_app_context:
      title: App Switch Preferences on Native App
      description: Merchant provided, buyer's native app preferences to app switch to
        the PayPal consumer app.
      type: object
      properties:
        return_app_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The universal URL of the merchant's native app to which PayPal
                redirects the buyer after the buyer approves the payment.
        cancel_app_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The universal URL of the merchant's native app to which PayPal
                redirects the buyer after the buyer cancels the payment.
        os_type:
          description: Operating System type of the device that the buyer is using.
          type: string
          enum:
            - ANDROID
            - IOS
            - OTHER
          oneOf:
            - type: string
              enum:
                - ANDROID
              description: Google Android OS.
            - type: string
              enum:
                - IOS
              description: Apple OS typically found in Apple mobile devices.
            - type: string
              enum:
                - OTHER
              description: Any other OS type.
        os_version:
          description: Operating System version of the device that the buyer is using.
          type: string
          minLength: 1
          maxLength: 64
          pattern: ^.*$
    mobile_web_context:
      title: Mobile Web App Switch Context
      description: Buyer's mobile web browser context to app switch to the PayPal
        consumer app.
      type: object
      properties:
        return_flow:
          description: Merchant preference on how the buyer can navigate back to merchant
            website post approving the transaction on the PayPal App.
          type: string
          enum:
            - AUTO
            - MANUAL
          default: AUTO
          readOnly: true
          oneOf:
            - type: string
              enum:
                - AUTO
              description: After payment approval in the PayPal App, buyer will automatically
                be redirected to the merchant website.
            - type: string
              enum:
                - MANUAL
              description: After payment approval in the PayPal App, buyer will be asked to
                manually navigate back to the merchant website where they
                started the transaction from. The buyer is shown a message like
                'Return to Merchant' to return to the source where the
                transaction actually started.
        buyer_user_agent:
          description: "User agent from the request originating from the buyer's device.
            This will be used to identify the buyer's operating system and
            browser versions. NOTE: Merchants must not alter or modify the
            buyer's device user agent."
          type: string
          minLength: 1
          maxLength: 512
          pattern: ^.*$
    app_switch_context:
      title: Merchant App Switch Details & Preferences
      description: Merchant provided details of the native app or mobile web browser
        to facilitate buyer's app switch to the PayPal consumer app.
      type: object
      properties:
        native_app:
          $ref: "#/components/schemas/native_app_context"
        mobile_web:
          $ref: "#/components/schemas/mobile_web_context"
    billing_agreement_id:
      title: billing_agreement_id
      description: The PayPal billing agreement ID. References an approved recurring
        payment for goods or services.
      type: string
      minLength: 2
      maxLength: 128
      pattern: ^[a-zA-Z0-9-]+$
    callback_configuration:
      title: callback_configuration
      description: CallBack Configuration that the merchant can provide to PayPal/Venmo.
      type: object
      required:
        - callback_events
        - callback_url
      properties:
        callback_events:
          description: An array of callback events merchant can subscribe to for the
            corresponding callback url.
          type: array
          minItems: 1
          maxItems: 5
          uniqueItems: true
          items:
            title: callback events
            description: CallBack event.
            type: string
            enum:
              - SHIPPING_ADDRESS
              - SHIPPING_OPTIONS
            oneOf:
              - type: string
                enum:
                  - SHIPPING_ADDRESS
                description: When Buyer changes or selects the shipping address on the
                  PayPal/Venmo buyer approval flow , PayPal/Venmo will call
                  merchant with the callback URL to update order totals.
              - type: string
                enum:
                  - SHIPPING_OPTIONS
                description: When Buyer changes or selects the shipping options on the
                  PayPal/Venmo buyer approval flow , PayPal/Venmo will call
                  merchant with the callback URL to update order totals.
        callback_url:
          description: Merchant provided CallBack url.PayPal/Venmo will use this url to
            call the merchant back when the events occur .PayPal/Venmo expects a
            secured url usually in the https format.merchant can append the cart
            id or other params part of the url as query or path params.
          type: string
          minLength: 10
          maxLength: 2040
          format: uri
    paypal_wallet_experience_context:
      title: paypal_wallet_experience_context
      description: Customizes the payer experience during the approval process for
        payment with PayPal.<blockquote><strong>Note:</strong> Partners and
        Marketplaces might configure <code>brand_name</code> and
        <code>shipping_preference</code> during partner account setup, which
        overrides the request values.</blockquote>
      type: object
      properties:
        brand_name:
          description: The label that overrides the business name in the PayPal account on
            the PayPal site. The pattern is defined by an external party and
            supports Unicode.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^.*$
        locale:
          allOf:
            - $ref: "#/components/schemas/language"
            - description: The BCP 47-formatted locale of pages that the PayPal payment
                experience shows. PayPal supports a five-character code. For
                example, `da-DK`, `he-IL`, `id-ID`, `ja-JP`, `no-NO`, `pt-BR`,
                `ru-RU`, `sv-SE`, `th-TH`, `zh-CN`, `zh-HK`, or `zh-TW`.
        shipping_preference:
          description: The location from which the shipping address is derived.
          type: string
          enum:
            - GET_FROM_FILE
            - NO_SHIPPING
            - SET_PROVIDED_ADDRESS
          default: GET_FROM_FILE
          oneOf:
            - type: string
              enum:
                - GET_FROM_FILE
              description: Get the customer-provided shipping address on the PayPal site.
            - type: string
              enum:
                - NO_SHIPPING
              description: Removes the shipping address information from the API response and
                the Paypal site. However, the shipping.phone_number and
                shipping.email_address fields will still be returned to allow
                for digital goods delivery.
            - type: string
              enum:
                - SET_PROVIDED_ADDRESS
              description: Get the merchant-provided address. The customer cannot change this
                address on the PayPal site. If merchant does not pass an
                address, customer can choose the address on PayPal pages.
        contact_preference:
          description: The preference to display the contact information (buyer’s shipping
            email & phone number) on PayPal's checkout for easy merchant-buyer
            communication.
          type: string
          enum:
            - NO_CONTACT_INFO
            - UPDATE_CONTACT_INFO
            - RETAIN_CONTACT_INFO
          default: NO_CONTACT_INFO
          oneOf:
            - type: string
              enum:
                - NO_CONTACT_INFO
              description: The merchant can opt out of showing buyer's contact information on
                PayPal checkout.
            - type: string
              enum:
                - UPDATE_CONTACT_INFO
              description: The merchant allows buyer to add or update shipping contact
                information on the PayPal checkout. Please ensure to use this
                updated information returned in shipping.email_address and
                shipping.phone_number to contact your buyers.
            - type: string
              enum:
                - RETAIN_CONTACT_INFO
              description: "The buyer can only see but can not override merchant passed
                contact information (shipping.email_address and
                shipping.phone_number) on PayPal checkout. NOTE: If you don't
                pass the contact information, the behavior is the same as
                NO_CONTACT_INFO preference."
        return_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer will be redirected upon approving a
                payment.
              format: uri
        cancel_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer will be redirected upon cancelling the
                payment approval.
              format: uri
        app_switch_context:
          allOf:
            - $ref: "#/components/schemas/app_switch_context"
            - description: Merchants can use this to switch buyers from their
                website/application to the PayPal consumer app to review and
                approve the transaction.
        landing_page:
          description: The type of landing page to show on the PayPal site for customer
            checkout.
          type: string
          enum:
            - LOGIN
            - GUEST_CHECKOUT
            - NO_PREFERENCE
            - BILLING
          default: NO_PREFERENCE
          oneOf:
            - type: string
              enum:
                - LOGIN
              description: When the customer clicks <strong>PayPal Checkout</strong>, the
                customer is redirected to a page to log in to PayPal and approve
                the payment.
            - type: string
              enum:
                - GUEST_CHECKOUT
              description: When the customer clicks <strong>PayPal Checkout</strong>, the
                customer is redirected to a page to enter credit or debit card
                and other relevant billing information required to complete the
                purchase. This option has previously been also called as
                'BILLING'
            - type: string
              enum:
                - NO_PREFERENCE
              description: When the customer clicks <strong>PayPal Checkout</strong>, the
                customer is redirected to either a page to log in to PayPal and
                approve the payment or to a page to enter credit or debit card
                and other relevant billing information required to complete the
                purchase, depending on their previous interaction with PayPal.
            - type: string
              enum:
                - BILLING
              description: DEPRECATED - please use GUEST_CHECKOUT. All implementations of
                'BILLING' will be routed to 'GUEST_CHECKOUT'. When the customer
                clicks <strong>PayPal Checkout</strong>, the customer is
                redirected to a page to enter credit or debit card and other
                relevant billing information required to complete the purchase.
        user_action:
          description: Configures a <strong>Continue</strong> or <strong>Pay Now</strong>
            checkout flow.
          type: string
          enum:
            - CONTINUE
            - PAY_NOW
          default: CONTINUE
          oneOf:
            - type: string
              enum:
                - CONTINUE
              description: After you redirect the customer to the PayPal payment page, a
                <strong>Continue</strong> button appears. Use this option when
                the final amount is not known when the checkout flow is
                initiated and you want to redirect the customer to the merchant
                page without processing the payment.
            - type: string
              enum:
                - PAY_NOW
              description: After you redirect the customer to the PayPal payment page, a
                <strong>Pay Now</strong> button appears. Use this option when
                the final amount is known when the checkout is initiated and you
                want to process the payment immediately when the customer clicks
                <strong>Pay Now</strong>.
        payment_method_preference:
          description: The merchant-preferred payment methods.
          type: string
          enum:
            - UNRESTRICTED
            - IMMEDIATE_PAYMENT_REQUIRED
          default: UNRESTRICTED
          oneOf:
            - type: string
              enum:
                - UNRESTRICTED
              description: Accepts any type of payment from the customer.
            - type: string
              enum:
                - IMMEDIATE_PAYMENT_REQUIRED
              description: Accepts only immediate payment from the customer. For example,
                credit card, PayPal balance, or instant ACH. Ensures that at the
                time of capture, the payment does not have the `pending` status.
        order_update_callback_config:
          allOf:
            - $ref: "#/components/schemas/callback_configuration"
            - description: Merchant provided Order Update callback configuration for PayPal
                Wallet.PayPal will call back merchant when the specified event
                occurs.we recommend merchants to pass both the shipping_options
                and shipping_address callback events. Not supported when
                `shipping.type` is specified or when
                'application_context.shipping_preference' is set as
                'NO_SHIPPING' or 'SET_PROVIDED_ADDRESS'.
    paypal_wallet_stored_credential:
      title: paypal_wallet_stored_credential
      description: Provides additional details to process a payment using the PayPal
        wallet billing agreement or a vaulted payment method that has been
        stored or is intended to be stored.
      type: object
      required:
        - payment_initiator
      properties:
        payment_initiator:
          $ref: "#/components/schemas/payment_initiator"
        charge_pattern:
          allOf:
            - $ref: "#/components/schemas/charge_pattern"
            - description: DEPRECATED. Expected business/pricing model for the billing
                agreement, Please use usage_pattern instead.
                <b>DEPRECATED</b><br><table><tr><th>See</th></tr><tr><td>usage_pattern</td></tr></table>
              deprecated: true
        usage_pattern:
          $ref: "#/components/schemas/charge_pattern"
        usage:
          $ref: "#/components/schemas/stored_payment_source_usage_type"
    paypal_wallet:
      title: paypal_wallet
      description: A resource that identifies a PayPal Wallet is used for payment.
      type: object
      properties:
        vault_id:
          allOf:
            - $ref: "#/components/schemas/vault_id"
            - description: The PayPal-generated ID for the payment_source stored within the
                Vault.
        email_address:
          allOf:
            - $ref: "#/components/schemas/email"
            - description: The email address of the PayPal account holder.
        name:
          allOf:
            - $ref: "#/components/schemas/name"
            - description: The name of the PayPal account holder. Supports only the
                `given_name` and `surname` properties.
              not:
                anyOf:
                  - required:
                      - prefix
                  - required:
                      - middle_name
                  - required:
                      - suffix
                  - required:
                      - alternate_full_name
                  - required:
                      - full_name
        phone:
          allOf:
            - $ref: "#/components/schemas/phone_with_type"
            - description: The phone number of the customer. Available only when you enable
                the **Contact Telephone Number** option in the <a
                href="https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-website-payments">**Profile
                & Settings**</a> for the merchant's PayPal account. The
                `phone.phone_number` supports only `national_number`.
        birth_date:
          allOf:
            - $ref: "#/components/schemas/date_no_time"
            - description: The birth date of the PayPal account holder in `YYYY-MM-DD` format.
        tax_info:
          allOf:
            - $ref: "#/components/schemas/tax_info"
            - description: The tax information of the PayPal account holder. Required only for
                Brazilian PayPal account holder's. Both `tax_id` and
                `tax_id_type` are required.
        address:
          allOf:
            - $ref: "#/components/schemas/address_portable"
            - description: The address of the PayPal account holder. Supports only the
                `address_line_1`, `address_line_2`, `admin_area_1`,
                `admin_area_2`, `postal_code`, and `country_code` properties.
                Also referred to as the billing address of the customer.
              not:
                anyOf:
                  - required:
                      - address_line_3
                  - required:
                      - admin_area_3
                  - required:
                      - admin_area_4
                  - required:
                      - address_details
        attributes:
          allOf:
            - $ref: "#/components/schemas/paypal_wallet_attributes"
            - title: paypal_wallet_attributes
              description: Additional attributes associated with the use of this wallet.
        experience_context:
          $ref: "#/components/schemas/paypal_wallet_experience_context"
        billing_agreement_id:
          $ref: "#/components/schemas/billing_agreement_id"
        stored_credential:
          $ref: "#/components/schemas/paypal_wallet_stored_credential"
    full_name:
      title: name
      description: The full name representation like Mr J Smith.
      type: string
      minLength: 3
      maxLength: 300
      pattern: ^[\S\s]*$
    bancontact_request:
      title: bancontact_request
      description: Information needed to pay using Bancontact.
      type: object
      required:
        - country_code
        - name
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        experience_context:
          allOf:
            - $ref: "#/components/schemas/experience_context_base"
            - description: Customizes the payer experience during the approval process for the
                payment.
    blik_experience_context:
      title: blik_experience_context
      description: Customizes the payer experience during the approval process for the
        BLIK payment.
      type: object
      allOf:
        - $ref: "#/components/schemas/experience_context_base"
        - type: object
          properties:
            consumer_ip:
              allOf:
                - $ref: "#/components/schemas/ip_address"
                - description: The IP address of the consumer. It could be either IPv4 or IPv6.
            consumer_user_agent:
              description: The payer's User Agent. For example, Mozilla/5.0 (Macintosh; Intel
                Mac OS X x.y; rv:42.0).
              type: string
              minLength: 1
              maxLength: 256
              pattern: ^.*$
    blik_seamless:
      title: blik_level_0
      description: Information used to pay using BLIK level_0 flow.
      type: object
      required:
        - auth_code
      properties:
        auth_code:
          description: The 6-digit code used to authenticate a consumer within BLIK.
          type: string
          minLength: 6
          maxLength: 6
          pattern: ^[0-9]{6}$
    blik_one_click:
      title: blik_one_click
      description: Information used to pay using BLIK one-click flow.
      type: object
      required:
        - consumer_reference
      properties:
        auth_code:
          description: The 6-digit code used to authenticate a consumer within BLIK.
          type: string
          minLength: 6
          maxLength: 6
          pattern: ^[0-9]{6}$
        consumer_reference:
          description: The merchant generated, unique reference serving as a primary
            identifier for accounts connected between Blik and a merchant.
          type: string
          minLength: 3
          maxLength: 64
          pattern: ^[ -~]{3,64}$
        alias_label:
          description: A bank defined identifier used as a display name to allow the payer
            to differentiate between multiple registered bank accounts.
          type: string
          minLength: 8
          maxLength: 35
          pattern: ^[ -~]{8,35}$
        alias_key:
          description: A Blik-defined identifier for a specific Blik-enabled bank account
            that is associated with a given merchant. Used only in conjunction
            with a Consumer Reference.
          type: string
          minLength: 1
          maxLength: 19
          pattern: ^[0-9]+$
    blik_request:
      title: blik_request
      description: Information needed to pay using BLIK.
      type: object
      required:
        - country_code
        - name
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        email:
          allOf:
            - $ref: "#/components/schemas/email_address"
            - description: The email address of the account holder associated with this
                payment method.
        experience_context:
          allOf:
            - $ref: "#/components/schemas/blik_experience_context"
            - description: Customizes the payer experience during the approval process for the
                payment.
        level_0:
          allOf:
            - $ref: "#/components/schemas/blik_seamless"
            - description: The level_0 integration flow object.
        one_click:
          allOf:
            - $ref: "#/components/schemas/blik_one_click"
            - description: The one-click integration flow object.
    eps_request:
      title: eps_request
      description: Information needed to pay using eps.
      type: object
      required:
        - country_code
        - name
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        experience_context:
          allOf:
            - $ref: "#/components/schemas/experience_context_base"
            - description: Customizes the payer experience during the approval process for the
                payment.
    giropay_request:
      title: giropay_request
      description: Information needed to pay using giropay.
      type: object
      required:
        - country_code
        - name
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        experience_context:
          allOf:
            - $ref: "#/components/schemas/experience_context_base"
            - description: Customizes the payer experience during the approval process for the
                payment.
    bic:
      title: BIC
      description: The business identification code (BIC). In payments systems, a BIC
        is used to identify a specific business, most commonly a bank.
      type: string
      minLength: 8
      maxLength: 11
      pattern: ^[A-Z-a-z0-9]{4}[A-Z-a-z]{2}[A-Z-a-z0-9]{2}([A-Z-a-z0-9]{3})?$
    ideal_request:
      title: ideal_request
      description: Information needed to pay using iDEAL.
      type: object
      required:
        - country_code
        - name
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        bic:
          allOf:
            - $ref: "#/components/schemas/bic"
            - description: The bank identification code (BIC).
        experience_context:
          allOf:
            - $ref: "#/components/schemas/experience_context_base"
            - description: Customizes the payer experience during the approval process for the
                payment.
    mybank_request:
      title: mybank_request
      description: Information needed to pay using MyBank.
      type: object
      required:
        - country_code
        - name
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        experience_context:
          allOf:
            - $ref: "#/components/schemas/experience_context_base"
            - description: Customizes the payer experience during the approval process for the
                payment.
    p24_request:
      title: p24_request
      description: Information needed to pay using P24 (Przelewy24).
      type: object
      required:
        - country_code
        - email
        - name
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        email:
          allOf:
            - $ref: "#/components/schemas/email_address"
            - description: The email address of the account holder associated with this
                payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        experience_context:
          allOf:
            - $ref: "#/components/schemas/experience_context_base"
            - description: Customizes the payer experience during the approval process for the
                payment.
    sofort_request:
      title: sofort_request
      description: Information needed to pay using Sofort.
      type: object
      required:
        - country_code
        - name
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        experience_context:
          allOf:
            - $ref: "#/components/schemas/experience_context_base"
            - description: Customizes the payer experience during the approval process for the
                payment.
    trustly_request:
      title: trustly_request
      description: Information needed to pay using Trustly.
      type: object
      required:
        - country_code
        - email
        - name
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        email:
          allOf:
            - $ref: "#/components/schemas/email_address"
            - description: The email address of the account holder associated with this
                payment method.
        experience_context:
          allOf:
            - $ref: "#/components/schemas/experience_context_base"
            - description: Customizes the payer experience during the approval process for the
                payment.
    phone_number_without_country_code:
      title: Phone Number Format Requiring National Number Excluding Country Code
      description: A structured representation of a phone number conforming to the
        international [E.164 numbering plan
        format](https://www.itu.int/rec/T-REC-E.164/en),requiring only the
        national_number field.
      type: object
      required:
        - national_number
      properties:
        national_number:
          description: The national number, in its canonical international [E.164
            numbering plan format](https://www.itu.int/rec/T-REC-E.164/en). The
            combined length of the country calling code (CC) and the national
            number must not be greater than 15 digits. The national number
            consists of a national destination code (NDC) and subscriber number
            (SN).
          type: string
          minLength: 1
          maxLength: 14
          pattern: ^[0-9]{1,14}?$
    apple_pay_payment_data:
      title: apple_pay_payment_data
      description: Information about the decrypted apple pay payment data for the
        token like cryptogram, eci indicator.
      type: object
      properties:
        cryptogram:
          description: Online payment cryptogram, as defined by 3D Secure. The pattern is
            defined by an external party and supports Unicode.
          type: string
          minLength: 1
          maxLength: 2000
          pattern: ^.*$
        eci_indicator:
          description: ECI indicator, as defined by 3- Secure. The pattern is defined by
            an external party and supports Unicode.
          type: string
          minLength: 1
          maxLength: 256
          pattern: ^.*$
        emv_data:
          description: Encoded Apple Pay EMV Payment Structure used for payments in China.
            The pattern is defined by an external party and supports Unicode.
          type: string
          minLength: 1
          maxLength: 2000
          pattern: ^.*$
        pin:
          description: Bank Key encrypted Apple Pay PIN. The pattern is defined by an
            external party and supports Unicode.
          type: string
          minLength: 1
          maxLength: 2000
          pattern: ^.*$
    apple_pay_decrypted_token_data:
      title: apple_pay_decrypted_token_data
      description: Information about the Payment data obtained by decrypting Apple Pay
        token.
      type: object
      required:
        - tokenized_card
      properties:
        transaction_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The transaction amount for the payment that the payer has approved
                on apple platform.
        tokenized_card:
          allOf:
            - $ref: "#/components/schemas/card"
            - description: Apple Pay tokenized credit card used to pay.
              not:
                anyOf:
                  - required:
                      - id
                  - required:
                      - security_code
                  - required:
                      - last_digits
                  - required:
                      - authentication_results
                  - required:
                      - attributes
        device_manufacturer_id:
          description: Apple Pay Hex-encoded device manufacturer identifier. The pattern
            is defined by an external party and supports Unicode.
          type: string
          minLength: 1
          maxLength: 2000
          pattern: ^.*$
        payment_data_type:
          description: Indicates the type of payment data passed, in case of Non China the
            payment data is 3DSECURE and for China it is EMV.
          type: string
          enum:
            - 3DSECURE
            - EMV
          oneOf:
            - type: string
              enum:
                - 3DSECURE
              description: The card was authenticated using 3D Secure (3DS) authentication
                scheme. While using this value make sure to populate cryptogram
                and eci_indicator as part of payment data..
            - type: string
              enum:
                - EMV
              description: The card was authenticated using EMV method, which is applicable
                for China. While using this value make sure to pass emv_data and
                pin as part of payment data.
        payment_data:
          allOf:
            - $ref: "#/components/schemas/apple_pay_payment_data"
            - description: Apple Pay payment data object which contains the cryptogram,
                eci_indicator and other data.
    apple_pay_attributes:
      title: apple_pay_attributes
      description: Additional attributes associated with apple pay.
      type: object
      properties:
        customer:
          $ref: "#/components/schemas/customer"
        vault:
          $ref: "#/components/schemas/v3_vault_instruction_base"
    apple_pay_experience_context:
      title: apple_pay_experience_context
      description: Customizes the payer experience during the approval process for the
        payment.
      type: object
      required:
        - cancel_url
        - return_url
      properties:
        return_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer is redirected after the customer
                approves the payment.
              format: uri
        cancel_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer is redirected after the customer cancels
                the payment.
              format: uri
    apple_pay_request:
      title: apple_pay_request
      description: Information needed to pay using ApplePay.
      type: object
      properties:
        id:
          description: ApplePay transaction identifier, this will be the unique identifier
            for this transaction provided by Apple. The pattern is defined by an
            external party and supports Unicode.
          type: string
          minLength: 1
          maxLength: 250
          pattern: ^.*$
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - description: Name on the account holder associated with apple pay.
        email_address:
          allOf:
            - $ref: "#/components/schemas/email_address"
            - description: The email address of the account holder associated with apple pay.
        phone_number:
          allOf:
            - $ref: "#/components/schemas/phone_number_without_country_code"
            - description: The phone number, in its canonical international [E.164 numbering
                plan format](https://www.itu.int/rec/T-REC-E.164/en). Supports
                only the `national_number` property.
        decrypted_token:
          allOf:
            - $ref: "#/components/schemas/apple_pay_decrypted_token_data"
            - description: The decrypted payload details for the apple pay token.
        stored_credential:
          $ref: "#/components/schemas/card_stored_credential"
        vault_id:
          allOf:
            - $ref: "#/components/schemas/vault_id"
            - description: The PayPal-generated ID for the saved apple pay payment_source.
                This ID should be stored on the merchant's server so the saved
                payment source can be used for future transactions.
        attributes:
          $ref: "#/components/schemas/apple_pay_attributes"
        experience_context:
          $ref: "#/components/schemas/apple_pay_experience_context"
    google_pay_card:
      title: google_pay_card
      description: The payment card used to fund a Google Pay payment. Can be a credit
        or debit card.
      type: object
      properties:
        name:
          description: The card holder's name as it appears on the card.
          type: string
          minLength: 1
          maxLength: 300
          pattern: ^.{1,300}$
        number:
          description: The primary account number (PAN) for the payment card.
          type: string
          minLength: 13
          maxLength: 19
          pattern: ^[0-9]{13,19}$
        expiry:
          allOf:
            - $ref: "#/components/schemas/date_year_month"
            - description: The card expiration year and month, in [Internet date
                format](https://tools.ietf.org/html/rfc3339#section-5.6).
        last_digits:
          description: The last digits of the payment card.
          type: string
          minLength: 2
          maxLength: 4
          pattern: ^[0-9]{2,4}$
          readOnly: true
        type:
          allOf:
            - $ref: "#/components/schemas/card_type"
            - description: The payment card type.
        brand:
          allOf:
            - $ref: "#/components/schemas/card_brand"
            - description: The card brand or network. Typically used in the response.
        billing_address:
          allOf:
            - $ref: "#/components/schemas/address_portable"
            - description: The billing address for this card. Supports only the
                `address_line_1`, `address_line_2`, `admin_area_1`,
                `admin_area_2`, `postal_code`, and `country_code` properties.
              not:
                anyOf:
                  - required:
                      - address_line_3
                  - required:
                      - admin_area_3
                  - required:
                      - admin_area_4
                  - required:
                      - address_details
    google_pay_decrypted_token_data:
      title: google_pay_decrypted_token_data
      description: Details shared by Google for the merchant to be shared with PayPal.
        This is required to process the transaction using the Google Pay payment
        method.
      type: object
      required:
        - authentication_method
        - card
        - payment_method
      properties:
        message_id:
          description: A unique ID that identifies the message in case it needs to be
            revoked or located at a later time.
          type: string
          minLength: 1
          maxLength: 250
          pattern: ^.*$
        message_expiration:
          description: Date and time at which the message expires as UTC milliseconds
            since epoch. Integrators should reject any message that's expired.
          type: string
          minLength: 13
          maxLength: 13
          pattern: ^\d{13}$
        payment_method:
          description: The type of the payment credential. Currently, only CARD is
            supported.
          type: string
          enum:
            - CARD
          oneOf:
            - type: string
              enum:
                - CARD
              description: CARD is the only value that Google Pay accepts.
        card:
          description: Google Pay tokenized credit card used to pay.
          allOf:
            - $ref: "#/components/schemas/google_pay_card"
            - required:
                - number
                - expiry
        authentication_method:
          description: Authentication Method which is used for the card transaction.
          type: string
          enum:
            - PAN_ONLY
            - CRYPTOGRAM_3DS
          oneOf:
            - type: string
              enum:
                - PAN_ONLY
              description: This authentication method is associated with payment cards stored
                on file with the user's Google Account. Returned payment data
                includes primary account number (PAN) with the expiration month
                and the expiration year.
            - type: string
              enum:
                - CRYPTOGRAM_3DS
              description: Returned payment data includes a 3-D Secure (3DS) cryptogram
                generated on the device. -> If authentication_method=CRYPTOGRAM,
                it is required that 'cryptogram' parameter in the request has a
                valid 3-D Secure (3DS) cryptogram generated on the device.
        cryptogram:
          description: Base-64 cryptographic identifier used by card schemes to validate
            the token verification result. This is a conditionally required
            field if authentication_method is CRYPTOGRAM_3DS.
          type: string
          minLength: 1
          maxLength: 2000
          pattern: ^[\S\s]*$
        eci_indicator:
          description: Electronic Commerce Indicator may not always be present. It is only
            returned for tokens on the Visa card network. This value is passed
            through in the payment authorization request.
          type: string
          minLength: 1
          maxLength: 256
          pattern: ^.*$
    assurance_details:
      title: assurance_details
      description: Information about cardholder possession validation and cardholder
        identification and verifications (ID&V).
      type: object
      properties:
        account_verified:
          description: If true, indicates that Cardholder possession validation has been
            performed on returned payment credential.
          type: boolean
          default: false
        card_holder_authenticated:
          description: If true, indicates that identification and verifications (ID&V) was
            performed on the returned payment credential.If false, the same
            risk-based authentication can be performed as you would for card
            transactions. This risk-based authentication can include, but not
            limited to, step-up with 3D Secure protocol if applicable.
          type: boolean
          default: false
    google_pay_experience_context:
      title: google_pay_experience_context
      description: Customizes the payer experience during the approval process for the
        payment.
      type: object
      required:
        - cancel_url
        - return_url
      properties:
        return_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer is redirected after the customer
                approves the payment.
              format: uri
        cancel_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer is redirected after the customer cancels
                the payment.
              format: uri
    google_pay_request:
      title: google_pay_request
      description: Information needed to pay using Google Pay.
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - description: Name on the account holder associated with Google Pay.
        email_address:
          allOf:
            - $ref: "#/components/schemas/email_address"
            - description: The email address of the account holder associated with Google Pay.
        phone_number:
          allOf:
            - $ref: "#/components/schemas/phone_number"
            - description: The phone number of account holder, in its canonical international
                [E.164 numbering plan
                format](https://www.itu.int/rec/T-REC-E.164/en). Supports only
                the `national_number` property.
        card:
          allOf:
            - $ref: "#/components/schemas/google_pay_card"
            - description: The payment card information.
              not:
                anyOf:
                  - required:
                      - number
                  - required:
                      - expiry
                  - required:
                      - last_digits
        decrypted_token:
          allOf:
            - $ref: "#/components/schemas/google_pay_decrypted_token_data"
            - description: The decrypted payload details for the Google Pay token.
        assurance_details:
          allOf:
            - $ref: "#/components/schemas/assurance_details"
            - description: Information about what validation has been performed on the
                returned payment credentials.
        experience_context:
          $ref: "#/components/schemas/google_pay_experience_context"
    venmo_wallet_experience_context:
      title: venmo_wallet_experience_context
      description: Customizes the buyer experience during the approval process for
        payment with Venmo.<blockquote><strong>Note:</strong> Partners and
        Marketplaces might configure <code>shipping_preference</code> during
        partner account setup, which overrides the request values.</blockquote>
      type: object
      properties:
        brand_name:
          description: The business name of the merchant. The pattern is defined by an
            external party and supports Unicode.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^.*$
        shipping_preference:
          description: The location from which the shipping address is derived.
          type: string
          enum:
            - GET_FROM_FILE
            - NO_SHIPPING
            - SET_PROVIDED_ADDRESS
          default: GET_FROM_FILE
          oneOf:
            - type: string
              enum:
                - GET_FROM_FILE
              description: Get the customer-provided shipping address on the PayPal site.
            - type: string
              enum:
                - NO_SHIPPING
              description: Redacts the shipping address from the PayPal site. Recommended for
                digital goods.
            - type: string
              enum:
                - SET_PROVIDED_ADDRESS
              description: Get the merchant-provided address. The customer cannot change this
                address on the PayPal site. If merchant does not pass an
                address, customer can choose the address on PayPal pages.
        order_update_callback_config:
          allOf:
            - $ref: "#/components/schemas/callback_configuration"
            - description: Merchant provided Order Update callback configuration for Venmo
                Wallet.Venmo will call back merchant when the specified event
                occurs.we recommend merchants to pass both the shipping_options
                and shipping_address callback events. Not supported when
                `shipping.type` is specified or when
                'application_context.shipping_preference' is set as
                'NO_SHIPPING' or 'SET_PROVIDED_ADDRESS'.
        user_action:
          description: Configures a <strong>Continue</strong> or <strong>Pay Now</strong>
            checkout flow.
          type: string
          enum:
            - CONTINUE
            - PAY_NOW
          default: CONTINUE
          oneOf:
            - type: string
              enum:
                - CONTINUE
              description: After you redirect the customer to the Venmo payment page, a
                <strong>Continue</strong> button appears. Use this option when
                the final amount is not known when the checkout flow is
                initiated and you want to redirect the customer to the merchant
                page without processing the payment.
            - type: string
              enum:
                - PAY_NOW
              description: After you redirect the customer to the Venmo payment page, a
                <strong>Pay Now</strong> button appears. Use this option when
                the final amount is known when the checkout is initiated and you
                want to process the payment immediately when the customer clicks
                <strong>Pay Now</strong>.
    venmo_wallet_customer:
      title: venmo_wallet_customer
      description: This object represents a merchant’s customer, allowing them to
        store contact details, and track all payments associated with the same
        customer.
      type: object
      allOf:
        - $ref: "#/components/schemas/customer"
        - type: object
    vault_venmo_wallet_base:
      title: vault_Venmo_wallet_base
      description: Resource consolidating common request and response attirbutes for
        vaulting Venmo Wallet.
      type: object
      required:
        - usage_type
      allOf:
        - $ref: "#/components/schemas/v3_vault_instruction_base"
        - type: object
          properties:
            description:
              description: The description displayed to Venmo consumer on the approval flow
                for Venmo, as well as on the Venmo payment token management
                experience on Venmo.com.
              type: string
              minLength: 1
              maxLength: 128
              pattern: ^[a-zA-Z0-9_'\-., :;\!?"]*$
            usage_pattern:
              title: Venmo Payment Token Usage Pattern
              description: Expected business/pricing model for the billing agreement.
              type: string
              enum:
                - IMMEDIATE
                - DEFERRED
                - RECURRING_PREPAID
                - RECURRING_POSTPAID
                - THRESHOLD_PREPAID
                - THRESHOLD_POSTPAID
              oneOf:
                - type: string
                  enum:
                    - IMMEDIATE
                  description: On-demand instant payments – non-recurring, pre-paid, variable
                    amount, variable frequency.
                - type: string
                  enum:
                    - DEFERRED
                  description: Pay after use, non-recurring post-paid, variable amount, irregular
                    frequency.
                - type: string
                  enum:
                    - RECURRING_PREPAID
                  description: Pay upfront fixed or variable amount on a fixed date before the
                    goods/service is delivered.
                - type: string
                  enum:
                    - RECURRING_POSTPAID
                  description: Pay on a fixed date based on usage or consumption after the
                    goods/service is delivered.
                - type: string
                  enum:
                    - THRESHOLD_PREPAID
                  description: Charge payer when the set amount is reached or monthly billing
                    cycle, whichever comes first, before the goods/service is
                    delivered.
                - type: string
                  enum:
                    - THRESHOLD_POSTPAID
                  description: Charge payer when the set amount is reached or monthly billing
                    cycle, whichever comes first, after the goods/service is
                    delivered.
            usage_type:
              title: Venmo Payment Token Usage Type
              description: The usage type associated with the Venmo payment token.
              type: string
              enum:
                - MERCHANT
                - PLATFORM
              oneOf:
                - type: string
                  enum:
                    - MERCHANT
                  description: The Venmo Payment Token will be used for future transaction
                    directly with a merchant.
                - type: string
                  enum:
                    - PLATFORM
                  description: The Venmo Payment Token will be used for future transaction on a
                    platform. A platform is typically a marketplace or a channel
                    that a payer can purchase goods and services from multiple
                    merchants.
            customer_type:
              title: Venmo Payment Token Customer Type
              description: The customer type associated with the Venmo payment token. This is
                to indicate whether the customer acting on the merchant /
                platform is either a business or a consumer.
              type: string
              enum:
                - CONSUMER
                - BUSINESS
              default: CONSUMER
              oneOf:
                - type: string
                  enum:
                    - CONSUMER
                  description: The customer vaulting the Venmo payment token is a consumer on the
                    merchant / platform.
                - type: string
                  enum:
                    - BUSINESS
                  description: The customer vaulting the Venmo payment token is a business on
                    merchant / platform.
            permit_multiple_payment_tokens:
              description: Create multiple payment tokens for the same payer,
                merchant/platform combination. Use this when the customer has
                not logged in at merchant/platform. The payment token thus
                generated, can then also be used to create the customer account
                at merchant/platform. Use this also when multiple payment tokens
                are required for the same payer, different customer at
                merchant/platform. This helps to identify customers distinctly
                even though they may share the same Venmo account.
              type: boolean
              default: false
    venmo_wallet_attributes:
      title: venmo_wallet_attributes
      description: Additional attributes associated with the use of this Venmo Wallet.
      type: object
      properties:
        customer:
          $ref: "#/components/schemas/venmo_wallet_customer"
        vault:
          allOf:
            - $ref: "#/components/schemas/vault_venmo_wallet_base"
            - description: Attributes used to provide the instructions during vaulting of the
                Venmo Wallet.
    venmo_wallet_request:
      title: venmo_wallet_request
      description: Information needed to pay using Venmo.
      type: object
      properties:
        vault_id:
          allOf:
            - $ref: "#/components/schemas/vault_id"
            - description: The PayPal-generated ID for the saved Venmo wallet payment_source.
                This ID should be stored on the merchant's server so the saved
                payment source can be used for future transactions.
        email_address:
          allOf:
            - $ref: "#/components/schemas/email"
            - description: The email address of the payer.
        experience_context:
          $ref: "#/components/schemas/venmo_wallet_experience_context"
        attributes:
          allOf:
            - $ref: "#/components/schemas/venmo_wallet_attributes"
            - description: Additional attributes associated with the use of this wallet.
    crypto_account_holder_name:
      title: crypto_account_holder_name
      description: Crypto account holder name.
      type: object
      required:
        - given_name
        - surname
      properties:
        prefix:
          description: The prefix, or title, to the account holder's name.
          type: string
          minLength: 1
          maxLength: 140
          pattern: ^[\S\s]*$
        given_name:
          description: When the account holder is a person, the account holder's given, or
            first, name.
          type: string
          minLength: 1
          maxLength: 140
          pattern: ^[\S\s]*$
        surname:
          description: When the account holder is a person, the account holder's surname
            or family name. Also known as the last name. Required when the
            account holder is a person. Use also to store multiple surnames
            including the matronymic, or mother's, surname.
          type: string
          minLength: 1
          maxLength: 140
          pattern: ^[\S\s]*$
        middle_name:
          description: When the account holder is a person, the account holder's middle
            name. Use also to store multiple middle names including the
            patronymic, or father's, middle name.
          type: string
          minLength: 1
          maxLength: 140
          pattern: ^[\S\s]*$
    experience_context_base_without_brand_shipping:
      title: experience_context_base
      description: Customizes the payer experience during the approval process for the
        payment.
      type: object
      required:
        - cancel_url
        - return_url
      properties:
        locale:
          allOf:
            - $ref: "#/components/schemas/language"
            - description: The BCP 47-formatted locale of pages that the PayPal payment
                experience shows. PayPal supports a five-character code. For
                example, `da-DK`, `he-IL`, `id-ID`, `ja-JP`, `no-NO`, `pt-BR`,
                `ru-RU`, `sv-SE`, `th-TH`, `zh-CN`, `zh-HK`, or `zh-TW`.
        return_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer is redirected after the customer
                approves the payment.
              format: uri
        cancel_url:
          allOf:
            - $ref: "#/components/schemas/url"
            - description: The URL where the customer is redirected after the customer cancels
                the payment.
              format: uri
    crypto_request:
      title: crypto_request
      description: Crypto payment used to fund the transaction.
      type: object
      required:
        - country_code
        - experience_context
        - name
      properties:
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code"
            - description: The two-character ISO 3166-1 purchase country code.
        name:
          allOf:
            - $ref: "#/components/schemas/crypto_account_holder_name"
            - description: The name of the account holder associated with Crypto wallet.
        experience_context:
          allOf:
            - $ref: "#/components/schemas/experience_context_base_without_brand_shipping"
            - description: Customizes the payer experience during the approval process for the
                payment.
    payment_source:
      title: payment_source
      description: The payment source definition.
      type: object
      properties:
        card:
          $ref: "#/components/schemas/card_request"
        token:
          $ref: "#/components/schemas/token"
        paypal:
          allOf:
            - $ref: "#/components/schemas/paypal_wallet"
            - description: Indicates that PayPal Wallet is the payment source. Main use of
                this selection is to provide additional instructions associated
                with this choice like vaulting.
        bancontact:
          allOf:
            - $ref: "#/components/schemas/bancontact_request"
            - title: bancontact
              description: Bancontact is the most popular online payment in Belgium. [More
                Details](https://www.bancontact.com/).
        blik:
          allOf:
            - $ref: "#/components/schemas/blik_request"
            - title: blik
              description: BLIK is a mobile payment system, created by Polish Payment Standard
                in order to allow millions of users to pay in shops, payout cash
                in ATMs and make online purchases and payments. [More
                Details](https://blikmobile.pl/).
        eps:
          allOf:
            - $ref: "#/components/schemas/eps_request"
            - title: eps
              description: The eps transfer is an online payment method developed by many
                Austrian banks. [More
                Details](https://www.eps-ueberweisung.at/).
        giropay:
          allOf:
            - $ref: "#/components/schemas/giropay_request"
            - title: giropay
              description: Giropay is an Internet payment System in Germany, based on online
                banking. [More Details](https://giropay.de/).
        ideal:
          allOf:
            - $ref: "#/components/schemas/ideal_request"
            - title: ideal
              description: The Dutch payment method iDEAL is an online payment method that
                enables consumers to pay online through their own bank. [More
                Details](https://www.ideal.nl/).
        mybank:
          allOf:
            - $ref: "#/components/schemas/mybank_request"
            - title: mybank
              description: MyBank is an e-authorisation solution which enables safe digital
                payments and identity authentication through a consumer’s own
                online banking portal or mobile application. [More
                Details](https://www.mybank.eu/).
        p24:
          allOf:
            - $ref: "#/components/schemas/p24_request"
            - title: p24
              description: P24 (Przelewy24) is a secure and fast online bank transfer service
                linked to all the major banks in Poland. [More
                Details](https://www.przelewy24.pl/).
        sofort:
          allOf:
            - $ref: "#/components/schemas/sofort_request"
            - title: sofort
              description: SOFORT Banking is a real-time bank transfer payment method that
                buyers use to transfer funds directly to merchants from their
                bank accounts. [More Details](https://www.klarna.com/sofort/).
        trustly:
          allOf:
            - $ref: "#/components/schemas/trustly_request"
            - title: trustly
              description: Trustly is a payment method that allows customers to shop and pay
                from their bank account. [More
                Details](https://www.trustly.net/).
        apple_pay:
          allOf:
            - $ref: "#/components/schemas/apple_pay_request"
            - title: applepay
              description: ApplePay payment source, allows buyer to pay using ApplePay, both
                on Web as well as on Native.
        google_pay:
          allOf:
            - $ref: "#/components/schemas/google_pay_request"
            - title: googlepay
              description: Google Pay payment source, allows buyer to pay using Google Pay.
        venmo:
          allOf:
            - $ref: "#/components/schemas/venmo_wallet_request"
            - title: venmo
              description: Information needed to indicate that Venmo is being used to fund the
                payment.
        crypto:
          allOf:
            - $ref: "#/components/schemas/crypto_request"
            - title: crypto
              description: Indicates that Crypto Wallet is the payment source.
    payment_method:
      title: payment_method
      description: The customer and merchant payment preferences.
      type: object
      properties:
        payee_preferred:
          $ref: "#/components/schemas/payee_payment_method_preference"
        standard_entry_class_code:
          description: NACHA (the regulatory body governing the ACH network) requires that
            API callers (merchants, partners) obtain the consumer’s explicit
            authorization before initiating a transaction. To stay compliant,
            you’ll need to make sure that you retain a compliant authorization
            for each transaction that you originate to the ACH Network using
            this API. ACH transactions are categorized (using SEC codes) by how
            you capture authorization from the Receiver (the person whose bank
            account is being debited or credited). PayPal supports the following
            SEC codes.
          type: string
          enum:
            - TEL
            - WEB
            - CCD
            - PPD
          default: WEB
          oneOf:
            - type: string
              enum:
                - TEL
              description: The API caller (merchant/partner) accepts authorization and payment
                information from a consumer over the telephone.
            - type: string
              enum:
                - WEB
              description: The API caller (merchant/partner) accepts Debit transactions from a
                consumer on their website.
            - type: string
              enum:
                - CCD
              description: Cash concentration and disbursement for corporate debit
                transaction. Used to disburse or consolidate funds. Entries are
                usually Optional high-dollar, low-volume, and time-critical.
                (e.g. intra-company transfers or invoice payments to suppliers).
            - type: string
              enum:
                - PPD
              description: Prearranged payment and deposit entries. Used for debit payments
                authorized by a consumer account holder, and usually initiated
                by a company. These are usually recurring debits (such as
                insurance premiums).
    stored_payment_source:
      title: stored_payment_source
      description: Provides additional details to process a payment using a
        `payment_source` that has been stored or is intended to be stored (also
        referred to as stored_credential or card-on-file).<br/>Parameter
        compatibility:<br/><ul><li>`payment_type=ONE_TIME` is compatible only
        with `payment_initiator=CUSTOMER`.</li><li>`usage=FIRST` is compatible
        only with
        `payment_initiator=CUSTOMER`.</li><li>`previous_transaction_reference`
        or `previous_network_transaction_reference` is compatible only with
        `payment_initiator=MERCHANT`.</li><li>Only one of the parameters -
        `previous_transaction_reference` and
        `previous_network_transaction_reference` - can be present in the
        request.</li></ul>
      type: object
      required:
        - payment_initiator
        - payment_type
      properties:
        payment_initiator:
          $ref: "#/components/schemas/payment_initiator"
        payment_type:
          $ref: "#/components/schemas/stored_payment_source_payment_type"
        usage:
          $ref: "#/components/schemas/stored_payment_source_usage_type"
        previous_network_transaction_reference:
          $ref: "#/components/schemas/network_transaction_reference"
    order_application_context:
      title: application_context
      description: Customizes the payer experience during the approval process for the
        payment with PayPal.<blockquote><strong>Note:</strong> Partners and
        Marketplaces might configure <code>brand_name</code> and
        <code>shipping_preference</code> during partner account setup, which
        overrides the request values.</blockquote>
      type: object
      properties:
        brand_name:
          description: DEPRECATED. The label that overrides the business name in the
            PayPal account on the PayPal site. The fields in
            `application_context` are now available in the `experience_context`
            object under the `payment_source` which supports them (eg.
            `payment_source.paypal.experience_context.brand_name`). Please
            specify this field in the `experience_context` object instead of the
            `application_context` object.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^[\S\s]*$
        locale:
          allOf:
            - $ref: "#/components/schemas/language"
            - description: DEPRECATED. The BCP 47-formatted locale of pages that the PayPal
                payment experience shows. PayPal supports a five-character code.
                For example, `da-DK`, `he-IL`, `id-ID`, `ja-JP`, `no-NO`,
                `pt-BR`, `ru-RU`, `sv-SE`, `th-TH`, `zh-CN`, `zh-HK`, or
                `zh-TW`.  The fields in `application_context` are now available
                in the `experience_context` object under the `payment_source`
                which supports them (eg.
                `payment_source.paypal.experience_context.locale`). Please
                specify this field in the `experience_context` object instead of
                the `application_context` object.
        landing_page:
          title: Order Application Context Landing Page
          description: DEPRECATED. DEPRECATED. The type of landing page to show on the
            PayPal site for customer checkout.  The fields in
            `application_context` are now available in the `experience_context`
            object under the `payment_source` which supports them (eg.
            `payment_source.paypal.experience_context.landing_page`). Please
            specify this field in the `experience_context` object instead of the
            `application_context` object.
            <b>DEPRECATED</b><br><table><tr><th>See</th><th>Since
            Version</th></tr><tr><td>payment_source.paypal.experience_context.landing_page</td><td>2.9</td></tr></table>
          type: string
          enum:
            - LOGIN
            - BILLING
            - NO_PREFERENCE
          default: NO_PREFERENCE
          deprecated: true
          oneOf:
            - type: string
              enum:
                - LOGIN
              description: When the customer clicks <strong>PayPal Checkout</strong>, the
                customer is redirected to a page to log in to PayPal and approve
                the payment.
            - type: string
              enum:
                - BILLING
              description: When the customer clicks <strong>PayPal Checkout</strong>, the
                customer is redirected to a page to enter credit or debit card
                and other relevant billing information required to complete the
                purchase.
            - type: string
              enum:
                - NO_PREFERENCE
              description: When the customer clicks <strong>PayPal Checkout</strong>, the
                customer is redirected to either a page to log in to PayPal and
                approve the payment or to a page to enter credit or debit card
                and other relevant billing information required to complete the
                purchase, depending on their previous interaction with PayPal.
        shipping_preference:
          title: Order Application Context Shipping Preference
          description: DEPRECATED. DEPRECATED. The shipping preference:<ul><li>Displays
            the shipping address to the customer.</li><li>Enables the customer
            to choose an address on the PayPal site.</li><li>Restricts the
            customer from changing the address during the payment-approval
            process.</li></ul>.  The fields in `application_context` are now
            available in the `experience_context` object under the
            `payment_source` which supports them (eg.
            `payment_source.paypal.experience_context.shipping_preference`).
            Please specify this field in the `experience_context` object instead
            of the `application_context` object.
            <b>DEPRECATED</b><br><table><tr><th>See</th><th>Since
            Version</th></tr><tr><td>payment_source.paypal.experience_context.shipping_preference</td><td>2.9</td></tr></table>
          type: string
          enum:
            - GET_FROM_FILE
            - NO_SHIPPING
            - SET_PROVIDED_ADDRESS
          default: GET_FROM_FILE
          deprecated: true
          oneOf:
            - type: string
              enum:
                - GET_FROM_FILE
              description: Use the customer-provided shipping address on the PayPal site.
            - type: string
              enum:
                - NO_SHIPPING
              description: Redact the shipping address from the PayPal site. Recommended for
                digital goods.
            - type: string
              enum:
                - SET_PROVIDED_ADDRESS
              description: Use the merchant-provided address. The customer cannot change this
                address on the PayPal site.
        user_action:
          description: DEPRECATED. Configures a <strong>Continue</strong> or <strong>Pay
            Now</strong> checkout flow.  The fields in `application_context` are
            now available in the `experience_context` object under the
            `payment_source` which supports them (eg.
            `payment_source.paypal.experience_context.user_action`). Please
            specify this field in the `experience_context` object instead of the
            `application_context` object.
          type: string
          enum:
            - CONTINUE
            - PAY_NOW
          default: CONTINUE
          oneOf:
            - type: string
              enum:
                - CONTINUE
              description: After you redirect the customer to the PayPal payment page, a
                <strong>Continue</strong> button appears. Use this option when
                the final amount is not known when the checkout flow is
                initiated and you want to redirect the customer to the merchant
                page without processing the payment.
            - type: string
              enum:
                - PAY_NOW
              description: After you redirect the customer to the PayPal payment page, a
                <strong>Pay Now</strong> button appears. Use this option when
                the final amount is known when the checkout is initiated and you
                want to process the payment immediately when the customer clicks
                <strong>Pay Now</strong>.
        payment_method:
          allOf:
            - $ref: "#/components/schemas/payment_method"
            - description: DEPRECATED. The customer and merchant payment preferences. The
                fields in `application_context` are now available in the
                `experience_context` object under the `payment_source` which
                supports them (eg.
                `payment_source.paypal.experience_context.payment_method_selected`).
                Please specify this field in the `experience_context` object
                instead of the `application_context` object..
        return_url:
          description: DEPRECATED. The URL where the customer is redirected after the
            customer approves the payment. The fields in `application_context`
            are now available in the `experience_context` object under the
            `payment_source` which supports them (eg.
            `payment_source.paypal.experience_context.return_url`). Please
            specify this field in the `experience_context` object instead of the
            `application_context` object.
          type: string
          minLength: 0
          maxLength: 2147483647
          format: uri
        cancel_url:
          description: DEPRECATED. The URL where the customer is redirected after the
            customer cancels the payment. The fields in `application_context`
            are now available in the `experience_context` object under the
            `payment_source` which supports them (eg.
            `payment_source.paypal.experience_context.cancel_url`). Please
            specify this field in the `experience_context` object instead of the
            `application_context` object.
          type: string
          minLength: 0
          maxLength: 2147483647
          format: uri
        stored_payment_source:
          allOf:
            - $ref: "#/components/schemas/stored_payment_source"
            - description: DEPRECATED. Provides additional details to process a payment using
                a `payment_source` that has been stored or is intended to be
                stored (also referred to as stored_credential or
                card-on-file).<br/>Parameter
                compatibility:<br/><ul><li>`payment_type=ONE_TIME` is compatible
                only with `payment_initiator=CUSTOMER`.</li><li>`usage=FIRST` is
                compatible only with
                `payment_initiator=CUSTOMER`.</li><li>`previous_transaction_reference`
                or `previous_network_transaction_reference` is compatible only
                with `payment_initiator=MERCHANT`.</li><li>Only one of the
                parameters - `previous_transaction_reference` and
                `previous_network_transaction_reference` - can be present in the
                request.</li></ul>.  The fields in `stored_payment_source` are
                now available in the `stored_credential` object under the
                `payment_source` which supports them (eg.
                `payment_source.card.stored_credential.payment_initiator`).
                Please specify this field in the `payment_source` object instead
                of the `application_context` object.
                <b>DEPRECATED</b><br><table><tr><th>See</th><th>Since
                Version</th></tr><tr><td>payment_source.card.stored_credential</td><td>2.9</td></tr></table>
              deprecated: true
    order_request:
      title: Order Request
      description: The order request details.
      type: object
      required:
        - intent
        - purchase_units
      properties:
        intent:
          $ref: "#/components/schemas/checkout_payment_intent"
        processing_instruction:
          $ref: "#/components/schemas/processing_instruction"
        payer:
          allOf:
            - $ref: "#/components/schemas/payer"
            - description: DEPRECATED. The customer is also known as the payer. The Payer
                object was intended to only be used with the
                `payment_source.paypal` object. In order to make this design
                more clear, the details in the `payer` object are now available
                under `payment_source.paypal`. Please use
                `payment_source.paypal`.
                <b>DEPRECATED</b><br><table><tr><th>See</th><th>Since
                Version</th></tr><tr><td>payment_source.paypal</td><td>2.9</td></tr></table>
              deprecated: true
        purchase_units:
          description: An array of purchase units. Each purchase unit establishes a
            contract between a payer and the payee. Each purchase unit
            represents either a full or partial order that the payer intends to
            purchase from the payee.
          type: array
          minItems: 1
          maxItems: 10
          items:
            allOf:
              - $ref: "#/components/schemas/purchase_unit_request"
              - title: purchase_unit
                description: The purchase unit. Establishes a contract between a payer and the
                  payee.
        payment_source:
          $ref: "#/components/schemas/payment_source"
        application_context:
          allOf:
            - $ref: "#/components/schemas/order_application_context"
            - title: application_context
              description: Customize the payer experience during the approval process for the
                payment with PayPal.
    link_schema:
      title: Link Schema
      description: The request data or link target.
      type: object
      properties:
        additionalItems:
          title: additional_items
          description: Any additional items.
          type: object
        dependencies:
          title: Dependencies
          description: The dependencies.
          type: object
        items:
          title: Items
          description: An item.
          type: object
        definitions:
          title: Definitions
          description: Definitions.
          type: object
        patternProperties:
          title: pattern_properties
          description: The pattern properties.
          type: object
        properties:
          title: Properties
          description: The properties.
          type: object
        allOf:
          title: all_of
          description: An array of sub-schemas. The data must validate against all
            sub-schemas.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            title: all_of_item
            description: A sub-schema against which the data must validate.
            type: object
        anyOf:
          title: any_of
          description: An array of sub-schemas. The data must validate against one or more
            sub-schemas.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            title: any_of_item
            description: A sub-schema against which the data must validate.
            type: object
        oneOf:
          title: one_of
          description: An array of sub-schemas. The data must validate against one
            sub-schema.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            title: one_of_item
            description: A sub-schema against which the data must validate.
            type: object
        not:
          title: Not
          description: Not.
          type: object
        links:
          description: An array of links.
          type: array
          minItems: 0
          maxItems: 32767
          readOnly: true
          items:
            title: link
            description: A link.
            type: object
            readOnly: true
        fragmentResolution:
          title: fragment_resolution
          description: The fragment resolution.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        media:
          title: Media
          description: The media type and context-encoding scheme.
          type: object
          properties:
            type:
              description: "The media type. See [Multipurpose Internet Mail Extensions (MIME)
                Part Two: Media Types](https://tools.ietf.org/html/rfc2046)."
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
            binaryEncoding:
              title: binary_encoding
              description: "The content-encoding scheme. See [Multipurpose Internet Mail
                Extensions (MIME) Part One: Format of Internet Message
                Bodies](https://tools.ietf.org/html/rfc2045)."
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
        pathStart:
          title: path_start
          description: To apply this schema to the instances' URIs, start the URIs with
            this value.
          type: string
          minLength: 0
          maxLength: 2147483647
          format: uri
    link_description:
      title: Link Description
      description: The request-related [HATEOAS
        link](/api/rest/responses/#hateoas-links) information.
      type: object
      required:
        - href
        - rel
      properties:
        href:
          description: The complete target URL. To make the related call, combine the
            method with this [URI
            Template-formatted](https://tools.ietf.org/html/rfc6570) link. For
            pre-processing, include the `$`, `(`, and `)` characters. The `href`
            is the key HATEOAS component that links a completed call with a
            subsequent call.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        rel:
          description: The [link relation
            type](https://tools.ietf.org/html/rfc5988#section-4), which serves
            as an ID for a link that unambiguously describes the semantics of
            the link. See [Link
            Relations](https://www.iana.org/assignments/link-relations/link-relations.xhtml).
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        method:
          description: The HTTP method required to make the related call.
          type: string
          enum:
            - GET
            - POST
            - PUT
            - DELETE
            - HEAD
            - CONNECT
            - OPTIONS
            - PATCH
          oneOf:
            - type: string
              enum:
                - GET
              description: The HTTP GET method.
            - type: string
              enum:
                - POST
              description: The HTTP POST method.
            - type: string
              enum:
                - PUT
              description: The HTTP PUT method.
            - type: string
              enum:
                - DELETE
              description: The HTTP DELETE method.
            - type: string
              enum:
                - HEAD
              description: The HTTP HEAD method.
            - type: string
              enum:
                - CONNECT
              description: The HTTP CONNECT method.
            - type: string
              enum:
                - OPTIONS
              description: The HTTP OPTIONS method.
            - type: string
              enum:
                - PATCH
              description: The HTTP PATCH method.
        title:
          description: The link title.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        mediaType:
          title: media_type
          description: The media type, as defined by [RFC
            2046](https://www.ietf.org/rfc/rfc2046.txt). Describes the link
            target.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        encType:
          title: enc_type
          description: The media type in which to submit the request data.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
          default: application/json
        schema:
          allOf:
            - $ref: "#/components/schemas/link_schema"
            - description: The schema that describes the request data.
        targetSchema:
          allOf:
            - $ref: "#/components/schemas/link_schema"
            - title: target_schema
              description: The schema that describes the link target.
    error_details:
      title: Error Details
      description: The error details. Required for client-side `4XX` errors.
      type: object
      required:
        - issue
      properties:
        field:
          description: The field that caused the error. If this field is in the body, set
            this value to the field's JSON pointer value. Required for
            client-side errors.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        value:
          description: The value of the field that caused the error.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        location:
          description: The location of the field that caused the error. Value is `body`,
            `path`, or `query`.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
          default: body
        issue:
          description: The unique, fine-grained application-level error code.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        links:
          description: An array of request-related [HATEOAS
            links](/api/rest/responses/#hateoas-links) that are either relevant
            to the issue by providing additional information or offering
            potential resolutions.
          type: array
          minItems: 1
          maxItems: 4
          readOnly: true
          items:
            allOf:
              - $ref: "#/components/schemas/link_description"
              - title: link_description
                readOnly: true
        description:
          description: The human-readable description for an issue. The description can
            change over the lifetime of an API, so clients must not depend on
            this value.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
    error:
      title: Error
      description: The error details.
      type: object
      required:
        - debug_id
        - message
        - name
      properties:
        name:
          description: The human-readable, unique name of the error.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        message:
          description: The message that describes the error.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        debug_id:
          description: The PayPal internal ID. Used for correlation purposes.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        details:
          description: An array of additional details about the error.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            allOf:
              - $ref: "#/components/schemas/error_details"
              - title: error_details
        links:
          description: An array of request-related [HATEOAS
            links](/api/rest/responses/#hateoas-links).
          type: array
          minItems: 0
          maxItems: 32767
          readOnly: true
          items:
            allOf:
              - $ref: "#/components/schemas/link_description"
              - title: link_description
                readOnly: true
    activity_timestamps:
      title: activity_timestamps
      description: The date and time stamps that are common to authorized payment,
        captured payment, and refund transactions.
      type: object
      properties:
        create_time:
          allOf:
            - $ref: "#/components/schemas/date_time"
            - description: The date and time when the transaction occurred, in [Internet date
                and time
                format](https://tools.ietf.org/html/rfc3339#section-5.6).
              readOnly: true
        update_time:
          allOf:
            - $ref: "#/components/schemas/date_time"
            - description: The date and time when the transaction was last updated, in
                [Internet date and time
                format](https://tools.ietf.org/html/rfc3339#section-5.6).
              readOnly: true
    liability_shift:
      title: liability_shift
      description: Liability shift indicator. The outcome of the issuer's authentication.
      type: string
      enum:
        - NO
        - POSSIBLE
        - UNKNOWN
      oneOf:
        - type: string
          enum:
            - NO
          description: Liability is with the merchant.
        - type: string
          enum:
            - POSSIBLE
          description: Liability may shift to the card issuer.
        - type: string
          enum:
            - UNKNOWN
          description: The authentication system is not available.
    three_d_secure_authentication_response:
      title: three_d_secure_authentication_response
      description: Results of 3D Secure Authentication.
      type: object
      properties:
        authentication_status:
          allOf:
            - $ref: "#/components/schemas/pares_status"
            - description: The outcome of the issuer's authentication.
        enrollment_status:
          allOf:
            - $ref: "#/components/schemas/enrolled"
            - description: Status of authentication eligibility.
    authentication_response:
      title: authentication_response
      description: Results of Authentication such as 3D Secure.
      type: object
      properties:
        liability_shift:
          $ref: "#/components/schemas/liability_shift"
        three_d_secure:
          $ref: "#/components/schemas/three_d_secure_authentication_response"
    vault_response:
      title: vault_response
      description: The details about a saved payment source.
      type: object
      properties:
        id:
          description: The PayPal-generated ID for the saved payment source.
          type: string
          minLength: 1
          maxLength: 255
          pattern: ^[\S\s]*$
        status:
          title: Vault Status
          description: The vault status.
          type: string
          enum:
            - VAULTED
            - CREATED
            - APPROVED
          oneOf:
            - type: string
              enum:
                - VAULTED
              description: The payment source has been saved in your customer's vault. This
                vault status reflects `/v3/vault` status.
            - type: string
              enum:
                - CREATED
              description: DEPRECATED. The payment source has been saved in your customer's
                vault. This status applies to deprecated integration patterns
                and will not be returned for v3/vault integrations.
            - type: string
              enum:
                - APPROVED
              description: Customer has approved the action of saving the specified
                payment_source into their vault. Use v3/vault/payment-tokens
                with given setup_token to save the payment source in the vault
        customer:
          allOf:
            - $ref: "#/components/schemas/customer"
            - not:
                anyOf:
                  - required:
                      - email_address
                  - required:
                      - phone
        links:
          description: An array of request-related HATEOAS links.
          type: array
          minItems: 1
          maxItems: 10
          readOnly: true
          items:
            allOf:
              - $ref: "#/components/schemas/link_description"
              - title: link_description
                description: A request-related [HATEOAS
                  link](/docs/api/reference/api-responses/#hateoas-links).
    card_vault_response:
      title: card_vault_response
      description: The details about a saved Card payment source.
      type: object
      allOf:
        - allOf:
            - $ref: "#/components/schemas/vault_response"
            - not:
                required:
                  - customer
        - type: object
          properties:
            customer:
              allOf:
                - $ref: "#/components/schemas/card_customer"
    card_attributes_response:
      title: card_attributes_response
      description: Additional attributes associated with the use of this card.
      type: object
      properties:
        vault:
          $ref: "#/components/schemas/card_vault_response"
    card_from_request:
      title: card_from_request
      description: Representation of card details as received in the request.
      type: object
      properties:
        expiry:
          allOf:
            - $ref: "#/components/schemas/date_year_month"
            - description: The card expiration year and month, in [Internet date
                format](https://tools.ietf.org/html/rfc3339#section-5.6).
        last_digits:
          description: The last digits of the payment card.
          type: string
          minLength: 2
          maxLength: 4
          pattern: ^.*[0-9]{2,}.*$
          readOnly: true
    bin_details:
      title: bin_details
      description: Bank Identification Number (BIN) details used to fund a payment.
      type: object
      properties:
        bin:
          description: The Bank Identification Number (BIN) signifies the number that is
            being used to identify the granular level details (except the PII
            information) of the card.
          type: string
          minLength: 1
          maxLength: 25
          pattern: ^[0-9]+$
        issuing_bank:
          description: The issuer of the card instrument.
          type: string
          minLength: 1
          maxLength: 64
          pattern: ^[\S\s]*$
        bin_country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The [two-character ISO-3166-1 country
                code](/docs/integration/direct/rest/country-codes/) of the bank.
        products:
          description: "The type of card product assigned to the BIN by the issuer. These
            values are defined by the issuer and may change over time. Some
            examples include: PREPAID_GIFT, CONSUMER, CORPORATE."
          type: array
          minItems: 1
          maxItems: 256
          items:
            title: products
            description: This value provides the category of the BIN.
            type: string
            minLength: 1
            maxLength: 255
            pattern: ^[\S\s]*$
    card_response:
      title: card_response
      description: The payment card to use to fund a payment. Card can be a credit or
        debit card.
      type: object
      properties:
        name:
          description: The card holder's name as it appears on the card.
          type: string
          minLength: 2
          maxLength: 300
          pattern: ^[\S\s]*$
        last_digits:
          description: The last digits of the payment card.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^.*[0-9]{2,}.*$
          readOnly: true
        brand:
          allOf:
            - $ref: "#/components/schemas/card_brand"
            - description: The card brand or network. Typically used in the response.
              readOnly: true
        available_networks:
          description: Array of brands or networks associated with the card.
          type: array
          minItems: 1
          maxItems: 256
          readOnly: true
          items:
            allOf:
              - $ref: "#/components/schemas/card_brand"
              - title: card_brand
        type:
          allOf:
            - $ref: "#/components/schemas/card_type"
            - description: The payment card type.
        authentication_result:
          $ref: "#/components/schemas/authentication_response"
        attributes:
          $ref: "#/components/schemas/card_attributes_response"
        from_request:
          $ref: "#/components/schemas/card_from_request"
        expiry:
          allOf:
            - $ref: "#/components/schemas/date_year_month"
            - description: The card expiration year and month, in [Internet date
                format](https://tools.ietf.org/html/rfc3339#section-5.6).
        bin_details:
          allOf:
            - $ref: "#/components/schemas/bin_details"
            - description: Bank Identification Number (BIN) details used to fund a payment.
        stored_credential:
          $ref: "#/components/schemas/card_stored_credential"
    phone-3:
      title: Phone Number
      description: The phone number in its canonical international [E.164 numbering
        plan format](https://www.itu.int/rec/T-REC-E.164/en).
      type: object
      required:
        - national_number
      properties:
        national_number:
          description: The national number, in its canonical international [E.164
            numbering plan format](https://www.itu.int/rec/T-REC-E.164/en). The
            combined length of the country calling code (CC) and the national
            number must not be greater than 15 digits. The national number
            consists of a national destination code (NDC) and subscriber number
            (SN).
          type: string
          minLength: 1
          maxLength: 14
          pattern: ^[0-9]{1,14}?$
    paypal_wallet_vault_response:
      title: paypal_wallet_vault_response
      description: The details about a saved PayPal Wallet payment source.
      type: object
      allOf:
        - allOf:
            - $ref: "#/components/schemas/vault_response"
            - not:
                required:
                  - customer
        - type: object
          properties:
            customer:
              $ref: "#/components/schemas/paypal_wallet_customer"
    cobranded_card:
      title: cobranded_card
      description: Details about the merchant cobranded card used for order purchase.
      type: object
      properties:
        labels:
          description: Array of labels for the cobranded card.
          type: array
          minItems: 1
          maxItems: 25
          items:
            title: label
            description: Label for the cobranded card.
            type: string
            minLength: 1
            maxLength: 256
            pattern: ^[\S\s]*$
        payee:
          allOf:
            - $ref: "#/components/schemas/payee_base"
            - title: payee
              description: Merchant associated with the purchase.
              not:
                required:
                  - client_id
        amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: Amount that was charged to the cobranded card.
    paypal_wallet_attributes_response:
      title: paypal_wallet_attributes_response
      description: Additional attributes associated with the use of a PayPal Wallet.
      type: object
      properties:
        vault:
          $ref: "#/components/schemas/paypal_wallet_vault_response"
        cobranded_cards:
          description: An array of merchant cobranded cards used by buyer to complete an
            order. This array will be present if a merchant has onboarded their
            cobranded card with PayPal and provided corresponding label(s).
          type: array
          minItems: 0
          maxItems: 25
          items:
            allOf:
              - $ref: "#/components/schemas/cobranded_card"
              - title: cobranded_card
    paypal_wallet_response:
      title: paypal_wallet_response
      description: The PayPal Wallet response.
      type: object
      properties:
        email_address:
          allOf:
            - $ref: "#/components/schemas/email"
            - description: The email address of the PayPal account holder.
        account_id:
          allOf:
            - $ref: "#/components/schemas/account_id-2"
            - description: The PayPal-assigned ID for the PayPal account holder.
              readOnly: true
        account_status:
          description: The account status indicates whether the buyer has verified the
            financial details associated with their PayPal account.
          type: string
          enum:
            - VERIFIED
            - UNVERIFIED
          readOnly: true
          oneOf:
            - type: string
              enum:
                - VERIFIED
              description: "The buyer has completed the verification of the financial details
                associated with this PayPal account. For example: confirming
                their bank account."
            - type: string
              enum:
                - UNVERIFIED
              description: "The buyer has not completed the verification of the financial
                details associated with this PayPal account. For example:
                confirming their bank account."
        name:
          allOf:
            - $ref: "#/components/schemas/name"
            - description: The name of the PayPal account holder. Supports only the
                `given_name` and `surname` properties.
              not:
                anyOf:
                  - required:
                      - prefix
                  - required:
                      - middle_name
                  - required:
                      - suffix
                  - required:
                      - alternate_full_name
                  - required:
                      - full_name
        phone_type:
          $ref: "#/components/schemas/phone_type"
        phone_number:
          allOf:
            - $ref: "#/components/schemas/phone-3"
            - description: The phone number, in its canonical international [E.164 numbering
                plan format](https://www.itu.int/rec/T-REC-E.164/en). Available
                only when you enable the **Contact Telephone Number** option in
                the <a
                href="https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-website-payments">**Profile
                & Settings**</a> for the merchant's PayPal account. Supports
                only the `national_number` property.
        birth_date:
          allOf:
            - $ref: "#/components/schemas/date_no_time"
            - description: The birth date of the PayPal account holder in `YYYY-MM-DD` format.
        business_name:
          description: The business name of the PayPal account holder (populated for
            business accounts only)
          type: string
          minLength: 0
          maxLength: 300
          pattern: ^.*$
        tax_info:
          allOf:
            - $ref: "#/components/schemas/tax_info"
            - description: The tax information of the PayPal account holder. Required only for
                Brazilian PayPal account holder's. Both `tax_id` and
                `tax_id_type` are required.
        address:
          allOf:
            - $ref: "#/components/schemas/address_portable"
            - description: The address of the PayPal account holder. Supports only the
                `address_line_1`, `address_line_2`, `admin_area_1`,
                `admin_area_2`, `postal_code`, and `country_code` properties.
                Also referred to as the billing address of the customer.
              not:
                anyOf:
                  - required:
                      - address_line_3
                  - required:
                      - admin_area_3
                  - required:
                      - admin_area_4
                  - required:
                      - address_details
        attributes:
          $ref: "#/components/schemas/paypal_wallet_attributes_response"
        stored_credential:
          $ref: "#/components/schemas/paypal_wallet_stored_credential"
        experience_status:
          description: This field indicates the status of PayPal's Checkout experience
            throughout the order lifecycle. The values reflect the current stage
            of the checkout process.
          type: string
          enum:
            - NOT_STARTED
            - IN_PROGRESS
            - CANCELED
            - APPROVED
          readOnly: true
          oneOf:
            - type: string
              enum:
                - NOT_STARTED
              description: PayPal checkout process has not yet begun.
            - type: string
              enum:
                - IN_PROGRESS
              description: PayPal checkout initiated. User is on the checkout page for order
                review before approval.
            - type: string
              enum:
                - CANCELED
              description: PayPal checkout is canceled (by closing the checkout window or
                clicking cancel) before the order approval.
            - type: string
              enum:
                - APPROVED
              description: Order is approved. User has completed the checkout process.
    apple_pay_card_response:
      title: apple_pay_card_response
      description: The Card from Apple Pay Wallet used to fund the payment.
      type: object
      allOf:
        - allOf:
            - $ref: "#/components/schemas/card_response"
            - not:
                anyOf:
                  - required:
                      - id
                  - required:
                      - last_n_chars
                  - required:
                      - issuer
        - type: object
          properties:
            name:
              description: The card holder's name as it appears on the card.
              type: string
              minLength: 0
              maxLength: 300
              pattern: ^[\S\s]*$
            billing_address:
              allOf:
                - $ref: "#/components/schemas/address_portable"
                - description: The billing address for this card. Supports only the
                    `address_line_1`, `address_line_2`, `admin_area_1`,
                    `admin_area_2`, `postal_code`, and `country_code`
                    properties.
                  not:
                    anyOf:
                      - required:
                          - address_line_3
                      - required:
                          - admin_area_3
                      - required:
                          - admin_area_4
                      - required:
                          - address_details
            country_code:
              allOf:
                - $ref: "#/components/schemas/country_code-2"
                - description: The country where the card is issued.
    iban_last_chars:
      title: iban_last_chars
      description: The last characters of the IBAN used to pay.
      type: string
      minLength: 4
      maxLength: 34
      pattern: ^.*[a-zA-Z0-9]{4}.*$
    bancontact:
      title: bancontact
      description: Information used to pay Bancontact.
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        bic:
          allOf:
            - $ref: "#/components/schemas/bic"
            - description: The bank identification code (BIC).
        iban_last_chars:
          $ref: "#/components/schemas/iban_last_chars"
        card_last_digits:
          description: The last digits of the card used to fund the Bancontact payment.
          type: string
          minLength: 4
          maxLength: 4
          pattern: ^[0-9]{4}$
    blik_one_click_response:
      title: blik_one_click_response
      description: Information used to pay using BLIK one-click flow.
      type: object
      properties:
        consumer_reference:
          description: The merchant generated, unique reference serving as a primary
            identifier for accounts connected between Blik and a merchant.
          type: string
          minLength: 3
          maxLength: 64
          pattern: ^[ -~]{3,64}$
    blik:
      title: blik
      description: Information used to pay using BLIK.
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        email:
          allOf:
            - $ref: "#/components/schemas/email_address"
            - description: The email address of the account holder associated with this
                payment method.
        one_click:
          allOf:
            - $ref: "#/components/schemas/blik_one_click_response"
            - description: The one-click integration flow object.
    eps:
      title: eps
      description: Information used to pay using eps.
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        bic:
          allOf:
            - $ref: "#/components/schemas/bic"
            - description: The bank identification code (BIC).
    giropay:
      title: giropay
      description: Information needed to pay using giropay.
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        bic:
          allOf:
            - $ref: "#/components/schemas/bic"
            - description: The bank identification code (BIC).
    ideal:
      title: ideal
      description: Information used to pay using iDEAL.
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        bic:
          allOf:
            - $ref: "#/components/schemas/bic"
            - description: The bank identification code (BIC).
        iban_last_chars:
          $ref: "#/components/schemas/iban_last_chars"
    mybank:
      title: mybank
      description: Information used to pay using MyBank.
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        bic:
          allOf:
            - $ref: "#/components/schemas/bic"
            - description: The bank identification code (BIC).
        iban_last_chars:
          $ref: "#/components/schemas/iban_last_chars"
    p24:
      title: p24
      description: Information used to pay using P24(Przelewy24).
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        email:
          allOf:
            - $ref: "#/components/schemas/email_address"
            - description: The email address of the account holder associated with this
                payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - title: name
              description: The two-character ISO 3166-1 country code.
        payment_descriptor:
          description: P24 generated payment description.
          type: string
          minLength: 1
          maxLength: 2000
          pattern: ^[\S\s]*$
        method_id:
          description: Numeric identifier of the payment scheme or bank used for the
            payment.
          type: string
          minLength: 1
          maxLength: 300
          pattern: ^[\S\s]*$
        method_description:
          description: Friendly name of the payment scheme or bank used for the payment.
          type: string
          minLength: 1
          maxLength: 2000
          pattern: ^[\S\s]*$
    sofort:
      title: sofort
      description: Information used to pay using Sofort.
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        bic:
          allOf:
            - $ref: "#/components/schemas/bic"
            - description: The bank identification code (BIC).
        iban_last_chars:
          $ref: "#/components/schemas/iban_last_chars"
    trustly:
      title: trustly
      description: Information needed to pay using Trustly.
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - title: name
              description: The name of the account holder associated with this payment method.
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code-2"
            - description: The two-character ISO 3166-1 country code.
        email:
          allOf:
            - $ref: "#/components/schemas/email_address"
            - description: The email address of the account holder associated with this
                payment method.
        bic:
          allOf:
            - $ref: "#/components/schemas/bic"
            - description: The bank identification code (BIC).
        iban_last_chars:
          $ref: "#/components/schemas/iban_last_chars"
    apple_pay_attributes_response:
      title: apple_pay_attributes_response
      description: Additional attributes associated with the use of Apple Pay.
      type: object
      properties:
        vault:
          $ref: "#/components/schemas/vault_response"
    apple_pay:
      title: apple_pay
      description: Information needed to pay using ApplePay.
      type: object
      properties:
        id:
          description: ApplePay transaction identifier, this will be the unique identifier
            for this transaction provided by Apple. The pattern is defined by an
            external party and supports Unicode.
          type: string
          minLength: 1
          maxLength: 250
          pattern: ^.*$
        token:
          description: Encrypted ApplePay token, containing card information. This token
            would be base64encoded. The pattern is defined by an external party
            and supports Unicode.
          type: string
          minLength: 1
          maxLength: 10000
          pattern: ^.*$
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - description: Name on the wallet.
        email_address:
          allOf:
            - $ref: "#/components/schemas/email_address"
            - description: The email address of the account holder associated with this
                payment method.
        phone_number:
          allOf:
            - $ref: "#/components/schemas/phone"
            - description: The phone number, in its canonical international [E.164 numbering
                plan format](https://www.itu.int/rec/T-REC-E.164/en). Supports
                only the `national_number` property.
              not:
                anyOf:
                  - required:
                      - country_code
                  - required:
                      - extension_number
        card:
          allOf:
            - $ref: "#/components/schemas/apple_pay_card_response"
            - description: The payment card information.
        attributes:
          allOf:
            - $ref: "#/components/schemas/apple_pay_attributes_response"
            - description: Additional attributes associated with apple pay.
        stored_credential:
          $ref: "#/components/schemas/card_stored_credential"
    phone_with_national_required_and_country_code:
      title: Phone Number Schema with Required National Number and Optional Country
        Code
      description: A structured representation of a phone number conforming to the
        international [E.164 numbering plan
        format](https://www.itu.int/rec/T-REC-E.164/en),requiring the
        national_number field and optionally supporting the country_code.
      type: object
      required:
        - national_number
      properties:
        country_code:
          title: country_calling_code
          description: The country calling code (CC), in its canonical international
            [E.164 numbering plan
            format](https://www.itu.int/rec/T-REC-E.164/en). The combined length
            of the CC and the national number must not be greater than 15
            digits. The national number consists of a national destination code
            (NDC) and subscriber number (SN).
          type: string
          minLength: 1
          maxLength: 3
          pattern: ^[0-9]{1,3}?$
        national_number:
          description: The national number, in its canonical international [E.164
            numbering plan format](https://www.itu.int/rec/T-REC-E.164/en). The
            combined length of the country calling code (CC) and the national
            number must not be greater than 15 digits. The national number
            consists of a national destination code (NDC) and subscriber number
            (SN).
          type: string
          minLength: 1
          maxLength: 14
          pattern: ^[0-9]{1,14}?$
    google_pay_card_response:
      title: google_pay_card_response
      description: The payment card to use to fund a Google Pay payment response. Can
        be a credit or debit card.
      type: object
      properties:
        name:
          description: The card holder's name as it appears on the card.
          type: string
          minLength: 1
          maxLength: 300
          pattern: ^.{1,300}$
        last_digits:
          description: The last digits of the payment card.
          type: string
          minLength: 2
          maxLength: 4
          pattern: ^[0-9]{2,4}$
          readOnly: true
        type:
          allOf:
            - $ref: "#/components/schemas/card_type"
            - description: The payment card type.
        brand:
          allOf:
            - $ref: "#/components/schemas/card_brand"
            - description: The card brand or network. Typically used in the response.
        billing_address:
          allOf:
            - $ref: "#/components/schemas/address_portable"
            - description: The billing address for this card. Supports only the
                `address_line_1`, `address_line_2`, `admin_area_1`,
                `admin_area_2`, `postal_code`, and `country_code` properties.
              not:
                anyOf:
                  - required:
                      - address_line_3
                  - required:
                      - admin_area_3
                  - required:
                      - admin_area_4
                  - required:
                      - address_details
        authentication_result:
          $ref: "#/components/schemas/authentication_response"
    google_pay:
      title: google_pay
      description: Google Pay Wallet payment data.
      type: object
      properties:
        name:
          allOf:
            - $ref: "#/components/schemas/full_name"
            - description: Name on the account holder associated with Google Pay.
        email_address:
          allOf:
            - $ref: "#/components/schemas/email_address"
            - description: The email address of the account holder associated with Google Pay.
        phone_number:
          allOf:
            - $ref: "#/components/schemas/phone_with_national_required_and_country_code"
            - description: The phone number of account holder, in its canonical international
                [E.164 numbering plan
                format](https://www.itu.int/rec/T-REC-E.164/en). Supports only
                the `national_number` property.
        card:
          allOf:
            - $ref: "#/components/schemas/google_pay_card_response"
            - description: The Card from Google Pay Wallet used to fund the payment.
    venmo_vault_response:
      title: venmo_vault_response
      description: The details about a saved venmo payment source.
      type: object
      allOf:
        - allOf:
            - $ref: "#/components/schemas/vault_response"
            - not:
                required:
                  - customer
        - type: object
          properties:
            customer:
              allOf:
                - $ref: "#/components/schemas/venmo_wallet_customer"
    venmo_wallet_attributes_response:
      title: venmo_wallet_attributes_response
      description: Additional attributes associated with the use of a Venmo Wallet.
      type: object
      properties:
        vault:
          $ref: "#/components/schemas/venmo_vault_response"
    venmo_wallet_response:
      title: venmo_wallet_response
      description: Venmo wallet response.
      type: object
      properties:
        email_address:
          allOf:
            - $ref: "#/components/schemas/email"
            - description: The email address of the payer.
        account_id:
          allOf:
            - $ref: "#/components/schemas/account_id-2"
            - description: This is an immutable system-generated id for a user's Venmo
                account.
              readOnly: true
        user_name:
          description: The Venmo user name chosen by the user, also know as a Venmo handle.
          type: string
          minLength: 1
          maxLength: 50
          pattern: ^[-a-zA-Z0-9_]*$
        name:
          allOf:
            - $ref: "#/components/schemas/name"
            - description: The name associated with the Venmo account. Supports only the
                `given_name` and `surname` properties.
              not:
                anyOf:
                  - required:
                      - prefix
                  - required:
                      - middle_name
                  - required:
                      - suffix
                  - required:
                      - alternate_full_name
                  - required:
                      - full_name
        phone_number:
          allOf:
            - $ref: "#/components/schemas/phone-3"
            - description: The phone number associated with the Venmo account, in its
                canonical international [E.164 numbering plan
                format](https://www.itu.int/rec/T-REC-E.164/en). Supports only
                the `national_number` property.
        address:
          allOf:
            - $ref: "#/components/schemas/address_portable"
            - description: The address of the payer. Supports only the `address_line_1`,
                `address_line_2`, `admin_area_1`, `admin_area_2`, `postal_code`,
                and `country_code` properties. Also referred to as the billing
                address of the customer.
              not:
                anyOf:
                  - required:
                      - address_line_3
                  - required:
                      - admin_area_3
                  - required:
                      - admin_area_4
                  - required:
                      - address_details
        return_flow:
          description: Merchant preference on how the buyer can navigate back to merchant
            website post approving the transaction on the Venmo App.
          type: string
          enum:
            - AUTO
            - MANUAL
          default: AUTO
          readOnly: true
          oneOf:
            - type: string
              enum:
                - AUTO
              description: After payment approval in the PayPal App, buyer will automatically
                be redirected to the merchant website.
            - type: string
              enum:
                - MANUAL
              description: After payment approval in the PayPal App, buyer will be asked to
                manually navigate back to the merchant website where they
                started the transaction from. The buyer is shown a message like
                'Return to Merchant' to return to the source where the
                transaction actually started.
        attributes:
          $ref: "#/components/schemas/venmo_wallet_attributes_response"
    crypto:
      title: crypto
      description: Pay With Crypto details response object.
      type: object
      properties:
        country_code:
          allOf:
            - $ref: "#/components/schemas/country_code"
            - description: The two-character ISO 3166-1 purchase country code.
        name:
          allOf:
            - $ref: "#/components/schemas/crypto_account_holder_name"
            - description: The name of the account holder associated with Crypto wallet.
        experience_context:
          allOf:
            - $ref: "#/components/schemas/experience_context_base"
            - description: Customizes the payer experience during the approval process for the
                payment.
              not:
                anyOf:
                  - required:
                      - brand_name
                  - required:
                      - shipping_preference
    payment_source_response:
      title: payment_source_response
      description: The payment source used to fund the payment.
      type: object
      properties:
        card:
          $ref: "#/components/schemas/card_response"
        paypal:
          $ref: "#/components/schemas/paypal_wallet_response"
        bancontact:
          $ref: "#/components/schemas/bancontact"
        blik:
          $ref: "#/components/schemas/blik"
        eps:
          $ref: "#/components/schemas/eps"
        giropay:
          $ref: "#/components/schemas/giropay"
        ideal:
          $ref: "#/components/schemas/ideal"
        mybank:
          $ref: "#/components/schemas/mybank"
        p24:
          $ref: "#/components/schemas/p24"
        sofort:
          $ref: "#/components/schemas/sofort"
        trustly:
          $ref: "#/components/schemas/trustly"
        apple_pay:
          $ref: "#/components/schemas/apple_pay"
        google_pay:
          $ref: "#/components/schemas/google_pay"
        venmo:
          $ref: "#/components/schemas/venmo_wallet_response"
        crypto:
          $ref: "#/components/schemas/crypto"
    item:
      title: item
      description: The details for the items to be purchased.
      type: object
      required:
        - name
        - quantity
        - unit_amount
      properties:
        name:
          description: The item name or title.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^[\S\s]*$
        unit_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The item price or rate per unit. If you specify
                <code>unit_amount</code>,
                <code>purchase_units[].amount.breakdown.item_total</code> is
                required. Must equal <code>unit_amount * quantity</code> for all
                items. <code>unit_amount.value</code> can not be a negative
                number.
        tax:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The item tax for each unit. If <code>tax</code> is specified,
                <code>purchase_units[].amount.breakdown.tax_total</code> is
                required. Must equal <code>tax * quantity</code> for all items.
                <code>tax.value</code> can not be a negative number.
        quantity:
          description: The item quantity. Must be a whole number.
          type: string
          minLength: 0
          maxLength: 10
          pattern: ^[1-9][0-9]{0,9}$
        description:
          description: The detailed item description.
          type: string
          minLength: 0
          maxLength: 2048
          pattern: ^[\S\s]*$
        sku:
          description: The stock keeping unit (SKU) for the item.
          type: string
          minLength: 0
          maxLength: 127
          pattern: ^[\S\s]*$
        url:
          description: The URL to the item being purchased. Visible to buyer and used in
            buyer experiences.
          type: string
          minLength: 1
          maxLength: 2048
          format: uri
        category:
          description: The item category type.
          type: string
          enum:
            - DIGITAL_GOODS
            - PHYSICAL_GOODS
            - DONATION
          oneOf:
            - type: string
              enum:
                - DIGITAL_GOODS
              description: Goods that are stored, delivered, and used in their electronic
                format. This value is not currently supported for API callers
                that leverage the <a
                href="https://www.paypal.com/us/webapps/mpp/commerce-platform">PayPal
                for Commerce Platform</a> product.
            - type: string
              enum:
                - PHYSICAL_GOODS
              description: A tangible item that can be shipped with proof of delivery.
            - type: string
              enum:
                - DONATION
              description: A contribution or gift for which no good or service is exchanged,
                usually to a not for profit organization.
        image_url:
          description: "The URL of the item's image. Supported image formats: JPEG (.jpg,
            .jpeg), PNG (.png), GIF (.gif)."
          type: string
          minLength: 1
          maxLength: 2048
          format: uri
        upc:
          allOf:
            - $ref: "#/components/schemas/universal_product_code"
            - description: The Universal Product Code of the item.
        billing_plan:
          $ref: "#/components/schemas/order_billing_plan"
    tracker_status:
      title: Tracker Status
      description: The status of the item shipment.
      type: string
      enum:
        - CANCELLED
        - SHIPPED
      oneOf:
        - type: string
          enum:
            - CANCELLED
          description: The shipment was cancelled and the tracking number no longer applies.
        - type: string
          enum:
            - SHIPPED
          description: The merchant has assigned a tracking number to the items being
            shipped from the Order. This does not correspond to the carrier's
            actual status for the shipment. The latest status of the parcel must
            be retrieved from the carrier.
    tracker_item:
      title: tracker_item
      description: The details of the items in the shipment.
      type: object
      properties:
        name:
          description: The item name or title.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^[\S\s]*$
        quantity:
          description: The item quantity. Must be a whole number.
          type: string
          minLength: 1
          maxLength: 10
          pattern: ^[1-9][0-9]{0,9}$
        sku:
          description: The stock keeping unit (SKU) for the item. This can contain unicode
            characters.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^[\S\s]*$
        url:
          description: The URL to the item being purchased. Visible to buyer and used in
            buyer experiences.
          type: string
          minLength: 1
          maxLength: 2048
          format: uri
        image_url:
          description: "The URL of the item's image. Supported image formats: JPEG (.jpg,
            .jpeg), PNG (.png), GIF (.gif)."
          type: string
          minLength: 1
          maxLength: 2048
          format: uri
        upc:
          allOf:
            - $ref: "#/components/schemas/universal_product_code"
            - description: The Universal Product Code of the item.
    link_schema-2:
      title: Link Schema
      description: The request data or link target.
      type: object
      properties:
        additionalItems:
          title: additional_items
          description: Any additional items.
          type: object
        dependencies:
          title: Dependencies
          description: Any Dependencies.
          type: object
        items:
          title: Items
          description: An item.
          type: object
        definitions:
          title: Definitions
          description: Definitions.
          type: object
        patternProperties:
          title: pattern_properties
          description: The pattern properties.
          type: object
        properties:
          title: Properties
          description: Properties.
          type: object
        allOf:
          title: all_of
          description: An array of sub-schemas. The data must validate against all
            sub-schemas.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            title: all_of_item
            description: A sub-schema against which the data must validate.
            type: object
        anyOf:
          title: any_of
          description: An array of sub-schemas. The data must validate against one or more
            sub-schemas.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            title: any_of_item
            description: A sub-schema against which the data must validate.
            type: object
        oneOf:
          title: one_of
          description: An array of sub-schemas. The data must validate against one
            sub-schema.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            title: one_of_item
            description: A sub-schema against which the data must validate.
            type: object
        not:
          title: Not
          description: Not.
          type: object
        links:
          description: An array of links.
          type: array
          minItems: 0
          maxItems: 32767
          readOnly: true
          items:
            title: link
            description: A link.
            type: object
            readOnly: true
        fragmentResolution:
          title: fragment_resolution
          description: The fragment resolution.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        media:
          title: Media
          description: The media type and context-encoding scheme.
          type: object
          properties:
            type:
              description: "The media type. See [Multipurpose Internet Mail Extensions (MIME)
                Part Two: Media Types](https://tools.ietf.org/html/rfc2046)."
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
            binaryEncoding:
              title: binary_encoding
              description: "The content-encoding scheme. See [Multipurpose Internet Mail
                Extensions (MIME) Part One: Format of Internet Message
                Bodies](https://tools.ietf.org/html/rfc2045)."
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
        pathStart:
          title: path_start
          description: To apply this schema to the instances' URIs, start the URIs with
            this value.
          type: string
          minLength: 0
          maxLength: 2147483647
          format: uri
    link_description-2:
      title: Link Description
      description: The request-related [HATEOAS
        link](/api/rest/responses/#hateoas-links) information.
      type: object
      required:
        - href
        - rel
      properties:
        href:
          description: The complete target URL. To make the related call, combine the
            method with this [URI
            Template-formatted](https://tools.ietf.org/html/rfc6570) link. For
            pre-processing, include the `$`, `(`, and `)` characters. The `href`
            is the key HATEOAS component that links a completed call with a
            subsequent call.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        rel:
          description: The [link relation
            type](https://tools.ietf.org/html/rfc5988#section-4), which serves
            as an ID for a link that unambiguously describes the semantics of
            the link. See [Link
            Relations](https://www.iana.org/assignments/link-relations/link-relations.xhtml).
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        method:
          description: The HTTP method required to make the related call.
          type: string
          enum:
            - GET
            - POST
            - PUT
            - DELETE
            - HEAD
            - CONNECT
            - OPTIONS
            - PATCH
          oneOf:
            - type: string
              enum:
                - GET
              description: The HTTP GET method.
            - type: string
              enum:
                - POST
              description: The HTTP POST method.
            - type: string
              enum:
                - PUT
              description: The HTTP PUT method.
            - type: string
              enum:
                - DELETE
              description: The HTTP DELETE method.
            - type: string
              enum:
                - HEAD
              description: The HTTP HEAD method.
            - type: string
              enum:
                - CONNECT
              description: The HTTP CONNECT method.
            - type: string
              enum:
                - OPTIONS
              description: The HTTP OPTIONS method.
            - type: string
              enum:
                - PATCH
              description: The HTTP PATCH method.
        title:
          description: The link title.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        mediaType:
          title: media_type
          description: The media type, as defined by [RFC
            2046](https://www.ietf.org/rfc/rfc2046.txt). Describes the link
            target.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        encType:
          title: enc_type
          description: The media type in which to submit the request data.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
          default: application/json
        schema:
          allOf:
            - $ref: "#/components/schemas/link_schema-2"
            - description: The schema that describes the request data.
        targetSchema:
          allOf:
            - $ref: "#/components/schemas/link_schema-2"
            - title: target_schema
              description: The schema that describes the link target.
    tracker:
      title: tracker
      description: The tracking response on creation of tracker.
      type: object
      allOf:
        - type: object
          properties:
            id:
              description: The tracker id.
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
              readOnly: true
            status:
              $ref: "#/components/schemas/tracker_status"
            items:
              description: An array of details of items in the shipment.
              type: array
              minItems: 0
              maxItems: 32767
              items:
                allOf:
                  - $ref: "#/components/schemas/tracker_item"
                  - title: tracker_item
                    description: Items in a shipment.
            links:
              description: An array of request-related HATEOAS links.
              type: array
              minItems: 0
              maxItems: 32767
              readOnly: true
              items:
                allOf:
                  - $ref: "#/components/schemas/link_description-2"
                  - title: link_description
                    description: A request-related [HATEOAS
                      link](/api/rest/responses/#hateoas-links).
        - $ref: "#/components/schemas/activity_timestamps"
    shipping_with_tracking_details:
      title: shipping_with_tracking_details
      description: The order shipping details.
      type: object
      allOf:
        - $ref: "#/components/schemas/shipping_detail"
        - type: object
          properties:
            phone_number:
              allOf:
                - $ref: "#/components/schemas/phone_with_national_required_and_country_code"
                - description: The phone number of the recipient of the shipped items, which may
                    belong to either the payer, or an alternate contact, for
                    delivery.
                  not:
                    required:
                      - extension_number
            trackers:
              description: An array of trackers for a transaction.
              type: array
              minItems: 0
              maxItems: 32767
              items:
                $ref: "#/components/schemas/tracker"
    authorization_status_details:
      title: authorization_status_details
      description: The details of the authorized payment status.
      type: object
      properties:
        reason:
          title: Authorization Incomplete Reason
          description: The reason why the authorized status is `PENDING`.
          type: string
          enum:
            - PENDING_REVIEW
            - DECLINED_BY_RISK_FRAUD_FILTERS
          oneOf:
            - type: string
              enum:
                - PENDING_REVIEW
              description: Authorization is pending manual review.
            - type: string
              enum:
                - DECLINED_BY_RISK_FRAUD_FILTERS
              description: Risk Filter set by the payee failed for the transaction.
    authorization_status:
      title: authorization_status
      description: The status fields and status details for an authorized payment.
      type: object
      properties:
        status:
          title: Authorization Status
          description: The status for the authorized payment.
          type: string
          enum:
            - CREATED
            - CAPTURED
            - DENIED
            - PARTIALLY_CAPTURED
            - VOIDED
            - PENDING
          readOnly: true
          oneOf:
            - type: string
              enum:
                - CREATED
              description: The authorized payment is created. No captured payments have been
                made for this authorized payment.
            - type: string
              enum:
                - CAPTURED
              description: The authorized payment has one or more captures against it. The sum
                of these captured payments is greater than the amount of the
                original authorized payment.
            - type: string
              enum:
                - DENIED
              description: PayPal cannot authorize funds for this authorized payment.
            - type: string
              enum:
                - PARTIALLY_CAPTURED
              description: A captured payment was made for the authorized payment for an
                amount that is less than the amount of the original authorized
                payment.
            - type: string
              enum:
                - VOIDED
              description: The authorized payment was voided. No more captured payments can be
                made against this authorized payment.
            - type: string
              enum:
                - PENDING
              description: The created authorization is in pending state. For more
                information, see <code>status.details</code>.
        status_details:
          allOf:
            - $ref: "#/components/schemas/authorization_status_details"
            - description: The details of the authorized order pending status.
              readOnly: true
    seller_protection:
      title: seller_protection
      description: The level of protection offered as defined by [PayPal Seller
        Protection for
        Merchants](https://www.paypal.com/us/webapps/mpp/security/seller-protection).
      type: object
      properties:
        status:
          title: Seller Protection Status
          description: Indicates whether the transaction is eligible for seller
            protection. For information, see [PayPal Seller Protection for
            Merchants](https://www.paypal.com/us/webapps/mpp/security/seller-protection).
          type: string
          enum:
            - ELIGIBLE
            - PARTIALLY_ELIGIBLE
            - NOT_ELIGIBLE
          readOnly: true
          oneOf:
            - type: string
              enum:
                - ELIGIBLE
              description: Your PayPal balance remains intact if the customer claims that they
                did not receive an item or the account holder claims that they
                did not authorize the payment.
            - type: string
              enum:
                - PARTIALLY_ELIGIBLE
              description: Your PayPal balance remains intact if the customer claims that they
                did not receive an item.
            - type: string
              enum:
                - NOT_ELIGIBLE
              description: This transaction is not eligible for seller protection.
        dispute_categories:
          description: An array of conditions that are covered for the transaction.
          type: array
          minItems: 0
          maxItems: 32767
          readOnly: true
          items:
            title: dispute_category
            description: The condition that is covered for the transaction.
            type: string
            enum:
              - ITEM_NOT_RECEIVED
              - UNAUTHORIZED_TRANSACTION
            oneOf:
              - type: string
                enum:
                  - ITEM_NOT_RECEIVED
                description: The payer paid for an item that they did not receive.
              - type: string
                enum:
                  - UNAUTHORIZED_TRANSACTION
                description: The payer did not authorize the payment.
    authorization:
      title: authorization
      description: The authorized payment transaction.
      type: object
      allOf:
        - $ref: "#/components/schemas/authorization_status"
        - type: object
          properties:
            id:
              description: The PayPal-generated ID for the authorized payment.
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
              readOnly: true
            amount:
              allOf:
                - $ref: "#/components/schemas/amount_with_breakdown"
                - description: The amount for this authorized payment.
                  readOnly: true
            invoice_id:
              description: The API caller-provided external invoice number for this order.
                Appears in both the payer's transaction history and the emails
                that the payer receives.
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
              readOnly: true
            custom_id:
              description: The API caller-provided external ID. Used to reconcile API
                caller-initiated transactions with PayPal transactions. Appears
                in transaction and settlement reports.
              type: string
              minLength: 0
              maxLength: 255
              pattern: ^[\S\s]*$
            network_transaction_reference:
              allOf:
                - $ref: "#/components/schemas/network_transaction"
            seller_protection:
              allOf:
                - $ref: "#/components/schemas/seller_protection"
                - readOnly: true
            expiration_time:
              allOf:
                - $ref: "#/components/schemas/date_time"
                - description: The date and time when the authorized payment expires, in [Internet
                    date and time
                    format](https://tools.ietf.org/html/rfc3339#section-5.6).
                  readOnly: true
            links:
              description: An array of related [HATEOAS
                links](/docs/api/reference/api-responses/#hateoas-links).
              type: array
              minItems: 0
              maxItems: 32767
              readOnly: true
              items:
                allOf:
                  - $ref: "#/components/schemas/link_description-2"
                  - title: link_description
        - $ref: "#/components/schemas/activity_timestamps"
    processor_response:
      title: processor_response
      description: The processor response information for payment requests, such as
        direct credit card transactions.
      type: object
      properties:
        avs_code:
          description: The address verification code for Visa, Discover, Mastercard, or
            American Express transactions.
          type: string
          enum:
            - A
            - B
            - C
            - D
            - E
            - F
            - G
            - I
            - M
            - N
            - P
            - R
            - S
            - U
            - W
            - X
            - Y
            - Z
            - "Null"
            - "0"
            - "1"
            - "2"
            - "3"
            - "4"
          readOnly: true
          oneOf:
            - type: string
              enum:
                - A
              description: For Visa, Mastercard, or Discover transactions, the address matches
                but the zip code does not match. For American Express
                transactions, the card holder address is correct.
            - type: string
              enum:
                - B
              description: For Visa, Mastercard, or Discover transactions, the address
                matches. International A.
            - type: string
              enum:
                - C
              description: For Visa, Mastercard, or Discover transactions, no values match.
                International N.
            - type: string
              enum:
                - D
              description: For Visa, Mastercard, or Discover transactions, the address and
                postal code match. International X.
            - type: string
              enum:
                - E
              description: For Visa, Mastercard, or Discover transactions, not allowed for
                Internet or phone transactions. For American Express card
                holder, the name is incorrect but the address and postal code
                match.
            - type: string
              enum:
                - F
              description: For Visa, Mastercard, or Discover transactions, the address and
                postal code match. UK-specific X. For American Express card
                holder, the name is incorrect but the address matches.
            - type: string
              enum:
                - G
              description: For Visa, Mastercard, or Discover transactions, global is
                unavailable. Nothing matches.
            - type: string
              enum:
                - I
              description: For Visa, Mastercard, or Discover transactions, international is
                unavailable. Not applicable.
            - type: string
              enum:
                - M
              description: For Visa, Mastercard, or Discover transactions, the address and
                postal code match. For American Express card holder, the name,
                address, and postal code match.
            - type: string
              enum:
                - N
              description: For Visa, Mastercard, or Discover transactions, nothing matches.
                For American Express card holder, the address and postal code
                are both incorrect.
            - type: string
              enum:
                - P
              description: For Visa, Mastercard, or Discover transactions, postal
                international Z. Postal code only.
            - type: string
              enum:
                - R
              description: For Visa, Mastercard, or Discover transactions, re-try the request.
                For American Express, the system is unavailable.
            - type: string
              enum:
                - S
              description: For Visa, Mastercard, Discover, or American Express, the service is
                not supported.
            - type: string
              enum:
                - U
              description: For Visa, Mastercard, or Discover transactions, the service is
                unavailable. For American Express, information is not available.
                For Maestro, the address is not checked or the acquirer had no
                response. The service is not available.
            - type: string
              enum:
                - W
              description: For Visa, Mastercard, or Discover transactions, whole ZIP code. For
                American Express, the card holder name, address, and postal code
                are all incorrect.
            - type: string
              enum:
                - X
              description: For Visa, Mastercard, or Discover transactions, exact match of the
                address and the nine-digit ZIP code. For American Express, the
                card holder name, address, and postal code are all incorrect.
            - type: string
              enum:
                - Y
              description: For Visa, Mastercard, or Discover transactions, the address and
                five-digit ZIP code match. For American Express, the card holder
                address and postal code are both correct.
            - type: string
              enum:
                - Z
              description: For Visa, Mastercard, or Discover transactions, the five-digit ZIP
                code matches but no address. For American Express, only the card
                holder postal code is correct.
            - type: string
              enum:
                - "Null"
              description: For Maestro, no AVS response was obtained.
            - type: string
              enum:
                - "0"
              description: For Maestro, all address information matches.
            - type: string
              enum:
                - "1"
              description: For Maestro, none of the address information matches.
            - type: string
              enum:
                - "2"
              description: For Maestro, part of the address information matches.
            - type: string
              enum:
                - "3"
              description: For Maestro, the merchant did not provide AVS information. It was
                not processed.
            - type: string
              enum:
                - "4"
              description: For Maestro, the address was not checked or the acquirer had no
                response. The service is not available.
        cvv_code:
          description: The card verification value code for for Visa, Discover,
            Mastercard, or American Express.
          type: string
          enum:
            - E
            - I
            - M
            - N
            - P
            - S
            - U
            - X
            - All others
            - "0"
            - "1"
            - "2"
            - "3"
            - "4"
          readOnly: true
          oneOf:
            - type: string
              enum:
                - E
              description: For Visa, Mastercard, Discover, or American Express, error -
                unrecognized or unknown response.
            - type: string
              enum:
                - I
              description: For Visa, Mastercard, Discover, or American Express, invalid or
                null.
            - type: string
              enum:
                - M
              description: For Visa, Mastercard, Discover, or American Express, the CVV2/CSC
                matches.
            - type: string
              enum:
                - N
              description: For Visa, Mastercard, Discover, or American Express, the CVV2/CSC
                does not match.
            - type: string
              enum:
                - P
              description: For Visa, Mastercard, Discover, or American Express, it was not
                processed.
            - type: string
              enum:
                - S
              description: For Visa, Mastercard, Discover, or American Express, the service is
                not supported.
            - type: string
              enum:
                - U
              description: For Visa, Mastercard, Discover, or American Express, unknown - the
                issuer is not certified.
            - type: string
              enum:
                - X
              description: For Visa, Mastercard, Discover, or American Express, no response.
                For Maestro, the service is not available.
            - type: string
              enum:
                - All others
              description: For Visa, Mastercard, Discover, or American Express, error.
            - type: string
              enum:
                - "0"
              description: For Maestro, the CVV2 matched.
            - type: string
              enum:
                - "1"
              description: For Maestro, the CVV2 did not match.
            - type: string
              enum:
                - "2"
              description: For Maestro, the merchant has not implemented CVV2 code handling.
            - type: string
              enum:
                - "3"
              description: For Maestro, the merchant has indicated that CVV2 is not present on
                card.
            - type: string
              enum:
                - "4"
              description: For Maestro, the service is not available.
        response_code:
          description: Processor response code for the non-PayPal payment processor errors.
          type: string
          enum:
            - "0000"
            - 00N7
            - "0100"
            - "0390"
            - "0500"
            - "0580"
            - "0800"
            - "0880"
            - "0890"
            - "0960"
            - 0R00
            - "1000"
            - 10BR
            - "1300"
            - "1310"
            - "1312"
            - "1317"
            - "1320"
            - "1330"
            - "1335"
            - "1340"
            - "1350"
            - "1352"
            - "1360"
            - "1370"
            - "1380"
            - "1382"
            - "1384"
            - "1390"
            - "1393"
            - "5100"
            - "5110"
            - "5120"
            - "5130"
            - "5135"
            - "5140"
            - "5150"
            - "5160"
            - "5170"
            - "5180"
            - "5190"
            - "5200"
            - "5210"
            - "5400"
            - "5500"
            - "5650"
            - "5700"
            - "5710"
            - "5800"
            - "5900"
            - "5910"
            - "5920"
            - "5930"
            - "5950"
            - "6300"
            - "7600"
            - "7700"
            - "7710"
            - "7800"
            - "7900"
            - "8000"
            - "8010"
            - "8020"
            - "8030"
            - "8100"
            - "8110"
            - "8220"
            - "9100"
            - "9500"
            - "9510"
            - "9520"
            - "9530"
            - "9540"
            - "9600"
            - PCNR
            - PCVV
            - PP06
            - PPRN
            - PPAD
            - PPAB
            - PPAE
            - PPAG
            - PPAI
            - PPAR
            - PPAU
            - PPAV
            - PPAX
            - PPBG
            - PPC2
            - PPCE
            - PPCO
            - PPCR
            - PPCT
            - PPCU
            - PPD3
            - PPDC
            - PPDI
            - PPDV
            - PPDT
            - PPEF
            - PPEL
            - PPER
            - PPEX
            - PPFE
            - PPFI
            - PPFR
            - PPFV
            - PPGR
            - PPH1
            - PPIF
            - PPII
            - PPIM
            - PPIT
            - PPLR
            - PPLS
            - PPMB
            - PPMC
            - PPMD
            - PPNC
            - PPNL
            - PPNM
            - PPNT
            - PPPH
            - PPPI
            - PPPM
            - PPQC
            - PPRE
            - PPRF
            - PPRR
            - PPS0
            - PPS1
            - PPS2
            - PPS3
            - PPS4
            - PPS5
            - PPS6
            - PPSC
            - PPSD
            - PPSE
            - PPTE
            - PPTF
            - PPTI
            - PPTR
            - PPTT
            - PPTV
            - PPUA
            - PPUC
            - PPUE
            - PPUI
            - PPUP
            - PPUR
            - PPVC
            - PPVE
            - PPVT
          readOnly: true
          oneOf:
            - type: string
              enum:
                - "0000"
              description: APPROVED.
            - type: string
              enum:
                - 00N7
              description: CVV2_FAILURE_POSSIBLE_RETRY_WITH_CVV.
            - type: string
              enum:
                - "0100"
              description: REFERRAL.
            - type: string
              enum:
                - "0390"
              description: ACCOUNT_NOT_FOUND.
            - type: string
              enum:
                - "0500"
              description: DO_NOT_HONOR.
            - type: string
              enum:
                - "0580"
              description: UNAUTHORIZED_TRANSACTION.
            - type: string
              enum:
                - "0800"
              description: BAD_RESPONSE_REVERSAL_REQUIRED.
            - type: string
              enum:
                - "0880"
              description: CRYPTOGRAPHIC_FAILURE.
            - type: string
              enum:
                - "0890"
              description: UNACCEPTABLE_PIN.
            - type: string
              enum:
                - "0960"
              description: SYSTEM_MALFUNCTION.
            - type: string
              enum:
                - 0R00
              description: CANCELLED_PAYMENT.
            - type: string
              enum:
                - "1000"
              description: PARTIAL_AUTHORIZATION.
            - type: string
              enum:
                - 10BR
              description: ISSUER_REJECTED.
            - type: string
              enum:
                - "1300"
              description: INVALID_DATA_FORMAT.
            - type: string
              enum:
                - "1310"
              description: INVALID_AMOUNT.
            - type: string
              enum:
                - "1312"
              description: INVALID_TRANSACTION_CARD_ISSUER_ACQUIRER.
            - type: string
              enum:
                - "1317"
              description: INVALID_CAPTURE_DATE.
            - type: string
              enum:
                - "1320"
              description: INVALID_CURRENCY_CODE.
            - type: string
              enum:
                - "1330"
              description: INVALID_ACCOUNT.
            - type: string
              enum:
                - "1335"
              description: INVALID_ACCOUNT_RECURRING.
            - type: string
              enum:
                - "1340"
              description: INVALID_TERMINAL.
            - type: string
              enum:
                - "1350"
              description: INVALID_MERCHANT.
            - type: string
              enum:
                - "1352"
              description: RESTRICTED_OR_INACTIVE_ACCOUNT.
            - type: string
              enum:
                - "1360"
              description: BAD_PROCESSING_CODE.
            - type: string
              enum:
                - "1370"
              description: INVALID_MCC.
            - type: string
              enum:
                - "1380"
              description: INVALID_EXPIRATION.
            - type: string
              enum:
                - "1382"
              description: INVALID_CARD_VERIFICATION_VALUE.
            - type: string
              enum:
                - "1384"
              description: INVALID_LIFE_CYCLE_OF_TRANSACTION.
            - type: string
              enum:
                - "1390"
              description: INVALID_ORDER.
            - type: string
              enum:
                - "1393"
              description: TRANSACTION_CANNOT_BE_COMPLETED.
            - type: string
              enum:
                - "5100"
              description: GENERIC_DECLINE.
            - type: string
              enum:
                - "5110"
              description: CVV2_FAILURE.
            - type: string
              enum:
                - "5120"
              description: INSUFFICIENT_FUNDS.
            - type: string
              enum:
                - "5130"
              description: INVALID_PIN.
            - type: string
              enum:
                - "5135"
              description: DECLINED_PIN_TRY_EXCEEDED.
            - type: string
              enum:
                - "5140"
              description: CARD_CLOSED.
            - type: string
              enum:
                - "5150"
              description: PICKUP_CARD_SPECIAL_CONDITIONS. Try using another card. Do not
                retry the same card.
            - type: string
              enum:
                - "5160"
              description: UNAUTHORIZED_USER.
            - type: string
              enum:
                - "5170"
              description: AVS_FAILURE.
            - type: string
              enum:
                - "5180"
              description: INVALID_OR_RESTRICTED_CARD. Try using another card. Do not retry
                the same card.
            - type: string
              enum:
                - "5190"
              description: SOFT_AVS.
            - type: string
              enum:
                - "5200"
              description: DUPLICATE_TRANSACTION.
            - type: string
              enum:
                - "5210"
              description: INVALID_TRANSACTION.
            - type: string
              enum:
                - "5400"
              description: EXPIRED_CARD.
            - type: string
              enum:
                - "5500"
              description: INCORRECT_PIN_REENTER.
            - type: string
              enum:
                - "5650"
              description: DECLINED_SCA_REQUIRED.
            - type: string
              enum:
                - "5700"
              description: TRANSACTION_NOT_PERMITTED. Outside of scope of accepted business.
            - type: string
              enum:
                - "5710"
              description: TX_ATTEMPTS_EXCEED_LIMIT.
            - type: string
              enum:
                - "5800"
              description: REVERSAL_REJECTED.
            - type: string
              enum:
                - "5900"
              description: INVALID_ISSUE.
            - type: string
              enum:
                - "5910"
              description: ISSUER_NOT_AVAILABLE_NOT_RETRIABLE.
            - type: string
              enum:
                - "5920"
              description: ISSUER_NOT_AVAILABLE_RETRIABLE.
            - type: string
              enum:
                - "5930"
              description: CARD_NOT_ACTIVATED.
            - type: string
              enum:
                - "5950"
              description: DECLINED_DUE_TO_UPDATED_ACCOUNT. External decline as an updated
                card has been issued.
            - type: string
              enum:
                - "6300"
              description: ACCOUNT_NOT_ON_FILE.
            - type: string
              enum:
                - "7600"
              description: APPROVED_NON_CAPTURE.
            - type: string
              enum:
                - "7700"
              description: ERROR_3DS.
            - type: string
              enum:
                - "7710"
              description: AUTHENTICATION_FAILED.
            - type: string
              enum:
                - "7800"
              description: BIN_ERROR.
            - type: string
              enum:
                - "7900"
              description: PIN_ERROR.
            - type: string
              enum:
                - "8000"
              description: PROCESSOR_SYSTEM_ERROR.
            - type: string
              enum:
                - "8010"
              description: HOST_KEY_ERROR.
            - type: string
              enum:
                - "8020"
              description: CONFIGURATION_ERROR.
            - type: string
              enum:
                - "8030"
              description: UNSUPPORTED_OPERATION.
            - type: string
              enum:
                - "8100"
              description: FATAL_COMMUNICATION_ERROR.
            - type: string
              enum:
                - "8110"
              description: RETRIABLE_COMMUNICATION_ERROR.
            - type: string
              enum:
                - "8220"
              description: SYSTEM_UNAVAILABLE.
            - type: string
              enum:
                - "9100"
              description: DECLINED_PLEASE_RETRY. Retry.
            - type: string
              enum:
                - "9500"
              description: SUSPECTED_FRAUD. Try using another card. Do not retry the same
                card.
            - type: string
              enum:
                - "9510"
              description: SECURITY_VIOLATION.
            - type: string
              enum:
                - "9520"
              description: LOST_OR_STOLEN. Try using another card. Do not retry the same card.
            - type: string
              enum:
                - "9530"
              description: HOLD_CALL_CENTER. The merchant must call the number on the back of
                the card. POS scenario.
            - type: string
              enum:
                - "9540"
              description: REFUSED_CARD.
            - type: string
              enum:
                - "9600"
              description: UNRECOGNIZED_RESPONSE_CODE.
            - type: string
              enum:
                - PCNR
              description: CONTINGENCIES_NOT_RESOLVED.
            - type: string
              enum:
                - PCVV
              description: CVV_FAILURE.
            - type: string
              enum:
                - PP06
              description: ACCOUNT_CLOSED. A previously open account is now closed
            - type: string
              enum:
                - PPRN
              description: REATTEMPT_NOT_PERMITTED.
            - type: string
              enum:
                - PPAD
              description: BILLING_ADDRESS.
            - type: string
              enum:
                - PPAB
              description: ACCOUNT_BLOCKED_BY_ISSUER.
            - type: string
              enum:
                - PPAE
              description: AMEX_DISABLED.
            - type: string
              enum:
                - PPAG
              description: ADULT_GAMING_UNSUPPORTED.
            - type: string
              enum:
                - PPAI
              description: AMOUNT_INCOMPATIBLE.
            - type: string
              enum:
                - PPAR
              description: AUTH_RESULT.
            - type: string
              enum:
                - PPAU
              description: MCC_CODE.
            - type: string
              enum:
                - PPAV
              description: ARC_AVS.
            - type: string
              enum:
                - PPAX
              description: AMOUNT_EXCEEDED.
            - type: string
              enum:
                - PPBG
              description: BAD_GAMING.
            - type: string
              enum:
                - PPC2
              description: ARC_CVV.
            - type: string
              enum:
                - PPCE
              description: CE_REGISTRATION_INCOMPLETE.
            - type: string
              enum:
                - PPCO
              description: COUNTRY.
            - type: string
              enum:
                - PPCR
              description: CREDIT_ERROR.
            - type: string
              enum:
                - PPCT
              description: CARD_TYPE_UNSUPPORTED.
            - type: string
              enum:
                - PPCU
              description: CURRENCY_USED_INVALID.
            - type: string
              enum:
                - PPD3
              description: SECURE_ERROR_3DS.
            - type: string
              enum:
                - PPDC
              description: DCC_UNSUPPORTED.
            - type: string
              enum:
                - PPDI
              description: DINERS_REJECT.
            - type: string
              enum:
                - PPDV
              description: AUTH_MESSAGE.
            - type: string
              enum:
                - PPDT
              description: DECLINE_THRESHOLD_BREACH.
            - type: string
              enum:
                - PPEF
              description: EXPIRED_FUNDING_INSTRUMENT.
            - type: string
              enum:
                - PPEL
              description: EXCEEDS_FREQUENCY_LIMIT.
            - type: string
              enum:
                - PPER
              description: INTERNAL_SYSTEM_ERROR.
            - type: string
              enum:
                - PPEX
              description: EXPIRY_DATE.
            - type: string
              enum:
                - PPFE
              description: FUNDING_SOURCE_ALREADY_EXISTS.
            - type: string
              enum:
                - PPFI
              description: INVALID_FUNDING_INSTRUMENT.
            - type: string
              enum:
                - PPFR
              description: RESTRICTED_FUNDING_INSTRUMENT.
            - type: string
              enum:
                - PPFV
              description: FIELD_VALIDATION_FAILED.
            - type: string
              enum:
                - PPGR
              description: GAMING_REFUND_ERROR.
            - type: string
              enum:
                - PPH1
              description: H1_ERROR.
            - type: string
              enum:
                - PPIF
              description: IDEMPOTENCY_FAILURE.
            - type: string
              enum:
                - PPII
              description: INVALID_INPUT_FAILURE.
            - type: string
              enum:
                - PPIM
              description: ID_MISMATCH.
            - type: string
              enum:
                - PPIT
              description: INVALID_TRACE_ID.
            - type: string
              enum:
                - PPLR
              description: LATE_REVERSAL.
            - type: string
              enum:
                - PPLS
              description: LARGE_STATUS_CODE.
            - type: string
              enum:
                - PPMB
              description: MISSING_BUSINESS_RULE_OR_DATA.
            - type: string
              enum:
                - PPMC
              description: BLOCKED_Mastercard.
            - type: string
              enum:
                - PPMD
              description: DEPRECATED The PPMD value has been deprecated.
            - type: string
              enum:
                - PPNC
              description: NOT_SUPPORTED_NRC.
            - type: string
              enum:
                - PPNL
              description: EXCEEDS_NETWORK_FREQUENCY_LIMIT.
            - type: string
              enum:
                - PPNM
              description: NO_MID_FOUND.
            - type: string
              enum:
                - PPNT
              description: NETWORK_ERROR.
            - type: string
              enum:
                - PPPH
              description: NO_PHONE_FOR_DCC_TRANSACTION.
            - type: string
              enum:
                - PPPI
              description: INVALID_PRODUCT.
            - type: string
              enum:
                - PPPM
              description: INVALID_PAYMENT_METHOD.
            - type: string
              enum:
                - PPQC
              description: QUASI_CASH_UNSUPPORTED.
            - type: string
              enum:
                - PPRE
              description: UNSUPPORT_REFUND_ON_PENDING_BC.
            - type: string
              enum:
                - PPRF
              description: INVALID_PARENT_TRANSACTION_STATUS.
            - type: string
              enum:
                - PPRR
              description: MERCHANT_NOT_REGISTERED.
            - type: string
              enum:
                - PPS0
              description: BANKAUTH_ROW_MISMATCH.
            - type: string
              enum:
                - PPS1
              description: BANKAUTH_ROW_SETTLED.
            - type: string
              enum:
                - PPS2
              description: BANKAUTH_ROW_VOIDED.
            - type: string
              enum:
                - PPS3
              description: BANKAUTH_EXPIRED.
            - type: string
              enum:
                - PPS4
              description: CURRENCY_MISMATCH.
            - type: string
              enum:
                - PPS5
              description: CREDITCARD_MISMATCH.
            - type: string
              enum:
                - PPS6
              description: AMOUNT_MISMATCH.
            - type: string
              enum:
                - PPSC
              description: ARC_SCORE.
            - type: string
              enum:
                - PPSD
              description: STATUS_DESCRIPTION.
            - type: string
              enum:
                - PPSE
              description: AMEX_DENIED.
            - type: string
              enum:
                - PPTE
              description: VERIFICATION_TOKEN_EXPIRED.
            - type: string
              enum:
                - PPTF
              description: INVALID_TRACE_REFERENCE.
            - type: string
              enum:
                - PPTI
              description: INVALID_TRANSACTION_ID.
            - type: string
              enum:
                - PPTR
              description: VERIFICATION_TOKEN_REVOKED.
            - type: string
              enum:
                - PPTT
              description: TRANSACTION_TYPE_UNSUPPORTED.
            - type: string
              enum:
                - PPTV
              description: INVALID_VERIFICATION_TOKEN.
            - type: string
              enum:
                - PPUA
              description: USER_NOT_AUTHORIZED.
            - type: string
              enum:
                - PPUC
              description: CURRENCY_CODE_UNSUPPORTED.
            - type: string
              enum:
                - PPUE
              description: UNSUPPORT_ENTITY.
            - type: string
              enum:
                - PPUI
              description: UNSUPPORT_INSTALLMENT.
            - type: string
              enum:
                - PPUP
              description: UNSUPPORT_POS_FLAG.
            - type: string
              enum:
                - PPUR
              description: UNSUPPORTED_REVERSAL.
            - type: string
              enum:
                - PPVC
              description: VALIDATE_CURRENCY.
            - type: string
              enum:
                - PPVE
              description: VALIDATION_ERROR.
            - type: string
              enum:
                - PPVT
              description: VIRTUAL_TERMINAL_UNSUPPORTED.
        payment_advice_code:
          description: The declined payment transactions might have payment advice codes.
            The card networks, like Visa and Mastercard, return payment advice
            codes.
          type: string
          enum:
            - "01"
            - "02"
            - "03"
            - "04"
            - "21"
            - "22"
            - "24"
            - "25"
            - "26"
            - "27"
            - "28"
            - "29"
            - "30"
            - "40"
            - "43"
          readOnly: true
          oneOf:
            - type: string
              enum:
                - "01"
              description: For Mastercard, expired card account upgrade or portfolio sale
                conversion. Obtain new account information before next billing
                cycle.
            - type: string
              enum:
                - "02"
              description: For Mastercard, over credit limit or insufficient funds. Retry the
                transaction 72 hours later. For Visa, the card holder wants to
                stop only one specific payment in the recurring payment
                relationship. The merchant must NOT resubmit the same
                transaction. The merchant can continue the billing process in
                the subsequent billing period.
            - type: string
              enum:
                - "03"
              description: "For Mastercard, account closed as fraudulent. Obtain another type
                of payment from customer due to account being closed or fraud.
                Possible reason: Account closed as fraudulent. For Visa, the
                card holder wants to stop all recurring payment transactions for
                a specific merchant. Stop recurring payment requests."
            - type: string
              enum:
                - "04"
              description: For Mastercard, token requirements not fulfilled for this token
                type.
            - type: string
              enum:
                - "21"
              description: For Mastercard, the card holder has been unsuccessful at canceling
                recurring payment through merchant. Stop recurring payment
                requests. For Visa, all recurring payments were canceled for the
                card number requested. Stop recurring payment requests.
            - type: string
              enum:
                - "22"
              description: For Mastercard, merchant does not qualify for product code.
            - type: string
              enum:
                - "24"
              description: For Mastercard, retry after 1 hour.
            - type: string
              enum:
                - "25"
              description: For Mastercard, retry after 24 hours.
            - type: string
              enum:
                - "26"
              description: For Mastercard, retry after 2 days.
            - type: string
              enum:
                - "27"
              description: For Mastercard, retry after 4 days.
            - type: string
              enum:
                - "28"
              description: For Mastercard, retry after 6 days.
            - type: string
              enum:
                - "29"
              description: For Mastercard, retry after 8 days.
            - type: string
              enum:
                - "30"
              description: For Mastercard, retry after 10 days .
            - type: string
              enum:
                - "40"
              description: For Mastercard, consumer non-reloadable prepaid card.
            - type: string
              enum:
                - "43"
              description: For Mastercard, consumer multi-use virtual card number.
    authorization_with_additional_data:
      title: authorization_with_additional_data
      description: The authorization with additional payment details, such as risk
        assessment and processor response. These details are populated only for
        certain payment methods.
      type: object
      allOf:
        - $ref: "#/components/schemas/authorization"
        - type: object
          properties:
            processor_response:
              allOf:
                - $ref: "#/components/schemas/processor_response"
                - description: The processor response for card transactions.
                  readOnly: true
    capture_status_details:
      title: capture_status_details
      description: The details of the captured payment status.
      type: object
      properties:
        reason:
          title: Capture Incomplete Reason
          description: The reason why the captured payment status is `PENDING` or `DENIED`.
          type: string
          enum:
            - BUYER_COMPLAINT
            - CHARGEBACK
            - ECHECK
            - INTERNATIONAL_WITHDRAWAL
            - OTHER
            - PENDING_REVIEW
            - RECEIVING_PREFERENCE_MANDATES_MANUAL_ACTION
            - REFUNDED
            - TRANSACTION_APPROVED_AWAITING_FUNDING
            - UNILATERAL
            - VERIFICATION_REQUIRED
            - DECLINED_BY_RISK_FRAUD_FILTERS
          oneOf:
            - type: string
              enum:
                - BUYER_COMPLAINT
              description: The payer initiated a dispute for this captured payment with
                PayPal.
            - type: string
              enum:
                - CHARGEBACK
              description: The captured funds were reversed in response to the payer disputing
                this captured payment with the issuer of the financial
                instrument used to pay for this captured payment.
            - type: string
              enum:
                - ECHECK
              description: The payer paid by an eCheck that has not yet cleared.
            - type: string
              enum:
                - INTERNATIONAL_WITHDRAWAL
              description: Visit your online account. In your **Account Overview**, accept and
                deny this payment.
            - type: string
              enum:
                - OTHER
              description: No additional specific reason can be provided. For more information
                about this captured payment, visit your account online or
                contact PayPal.
            - type: string
              enum:
                - PENDING_REVIEW
              description: The captured payment is pending manual review.
            - type: string
              enum:
                - RECEIVING_PREFERENCE_MANDATES_MANUAL_ACTION
              description: The payee has not yet set up appropriate receiving preferences for
                their account. For more information about how to accept or deny
                this payment, visit your account online. This reason is
                typically offered in scenarios such as when the currency of the
                captured payment is different from the primary holding currency
                of the payee.
            - type: string
              enum:
                - REFUNDED
              description: The captured funds were refunded.
            - type: string
              enum:
                - TRANSACTION_APPROVED_AWAITING_FUNDING
              description: The payer must send the funds for this captured payment. This code
                generally appears for manual EFTs.
            - type: string
              enum:
                - UNILATERAL
              description: The payee does not have a PayPal account.
            - type: string
              enum:
                - VERIFICATION_REQUIRED
              description: The payee's PayPal account is not verified.
            - type: string
              enum:
                - DECLINED_BY_RISK_FRAUD_FILTERS
              description: Risk Filter set by the payee failed for the transaction.
    capture_status:
      title: capture_status
      description: The status and status details of a captured payment.
      type: object
      properties:
        status:
          title: Capture Status
          description: The status of the captured payment.
          type: string
          enum:
            - COMPLETED
            - DECLINED
            - PARTIALLY_REFUNDED
            - PENDING
            - REFUNDED
            - FAILED
          readOnly: true
          oneOf:
            - type: string
              enum:
                - COMPLETED
              description: The funds for this captured payment were credited to the payee's
                PayPal account.
            - type: string
              enum:
                - DECLINED
              description: The funds could not be captured.
            - type: string
              enum:
                - PARTIALLY_REFUNDED
              description: An amount less than this captured payment's amount was partially
                refunded to the payer.
            - type: string
              enum:
                - PENDING
              description: The funds for this captured payment was not yet credited to the
                payee's PayPal account. For more information, see
                <code>status.details</code>.
            - type: string
              enum:
                - REFUNDED
              description: An amount greater than or equal to this captured payment's amount
                was refunded to the payer.
            - type: string
              enum:
                - FAILED
              description: There was an error while capturing payment.
        status_details:
          allOf:
            - $ref: "#/components/schemas/capture_status_details"
            - description: The details of the captured payment status.
              readOnly: true
    exchange_rate:
      title: exchange_rate
      description: The exchange rate that determines the amount to convert from one
        currency to another currency.
      type: object
      readOnly: true
      properties:
        source_currency:
          allOf:
            - $ref: "#/components/schemas/currency_code"
            - description: The source currency from which to convert an amount.
        target_currency:
          allOf:
            - $ref: "#/components/schemas/currency_code"
            - description: The target currency to which to convert an amount.
        value:
          description: The target currency amount. Equivalent to one unit of the source
            currency. Formatted as integer or decimal value with one to 15
            digits to the right of the decimal point.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
    seller_receivable_breakdown:
      title: Seller Receivable Breakdown
      description: The detailed breakdown of the capture activity. This is not
        available for transactions that are in pending state.
      type: object
      required:
        - gross_amount
      properties:
        gross_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The amount for this captured payment in the currency of the
                transaction.
        paypal_fee:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The applicable fee for this captured payment in the currency of the
                transaction.
        paypal_fee_in_receivable_currency:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The applicable fee for this captured payment in the receivable
                currency. Returned only in cases the fee is charged in the
                receivable currency. Example 'CNY'.
        net_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The net amount that the payee receives for this captured payment in
                their PayPal account. The net amount is computed as
                <code>gross_amount</code> minus the <code>paypal_fee</code>
                minus the <code>platform_fees</code>.
        receivable_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The net amount that is credited to the payee's PayPal account.
                Returned only when the currency of the captured payment is
                different from the currency of the PayPal account where the
                payee wants to credit the funds. The amount is computed as
                <code>net_amount</code> times <code>exchange_rate</code>.
        exchange_rate:
          allOf:
            - $ref: "#/components/schemas/exchange_rate"
            - description: The exchange rate that determines the amount that is credited to
                the payee's PayPal account. Returned when the currency of the
                captured payment is different from the currency of the PayPal
                account where the payee wants to credit the funds.
        platform_fees:
          description: An array of platform or partner fees, commissions, or brokerage
            fees that associated with the captured payment.
          type: array
          minItems: 0
          maxItems: 1
          items:
            allOf:
              - $ref: "#/components/schemas/platform_fee"
              - title: platform_fee
    capture:
      title: capture
      description: A captured payment.
      type: object
      allOf:
        - $ref: "#/components/schemas/capture_status"
        - type: object
          properties:
            id:
              description: The PayPal-generated ID for the captured payment.
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
              readOnly: true
            amount:
              allOf:
                - $ref: "#/components/schemas/amount_with_breakdown"
                - description: The amount for this captured payment.
                  readOnly: true
            invoice_id:
              description: The API caller-provided external invoice number for this order.
                Appears in both the payer's transaction history and the emails
                that the payer receives.
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
              readOnly: true
            custom_id:
              description: The API caller-provided external ID. Used to reconcile API
                caller-initiated transactions with PayPal transactions. Appears
                in transaction and settlement reports.
              type: string
              minLength: 0
              maxLength: 255
              pattern: ^[\S\s]*$
            network_transaction_reference:
              allOf:
                - $ref: "#/components/schemas/network_transaction"
            seller_protection:
              allOf:
                - $ref: "#/components/schemas/seller_protection"
                - readOnly: true
            final_capture:
              description: Indicates whether you can make additional captures against the
                authorized payment. Set to `true` if you do not intend to
                capture additional payments against the authorization. Set to
                `false` if you intend to capture additional payments against the
                authorization.
              type: boolean
              default: false
              readOnly: true
            seller_receivable_breakdown:
              allOf:
                - $ref: "#/components/schemas/seller_receivable_breakdown"
                - readOnly: true
            disbursement_mode:
              allOf:
                - $ref: "#/components/schemas/disbursement_mode"
            links:
              description: An array of related [HATEOAS
                links](/docs/api/reference/api-responses/#hateoas-links).
              type: array
              minItems: 0
              maxItems: 32767
              readOnly: true
              items:
                allOf:
                  - $ref: "#/components/schemas/link_description-2"
                  - title: link_description
            processor_response:
              allOf:
                - $ref: "#/components/schemas/processor_response"
                - description: An object that provides additional processor information for a
                    direct credit card transaction.
        - allOf:
            - $ref: "#/components/schemas/activity_timestamps"
    refund_status_details:
      title: refund_status_details
      description: The details of the refund status.
      type: object
      properties:
        reason:
          title: Refund Incomplete Reason
          description: The reason why the refund has the `PENDING` or `FAILED` status.
          type: string
          enum:
            - ECHECK
          oneOf:
            - type: string
              enum:
                - ECHECK
              description: The customer's account is funded through an eCheck, which has not
                yet cleared.
    refund_status:
      title: refund_status
      description: The refund status with details.
      type: object
      properties:
        status:
          title: Refund Status With Details
          description: The status of the refund.
          type: string
          enum:
            - CANCELLED
            - FAILED
            - PENDING
            - COMPLETED
          readOnly: true
          oneOf:
            - type: string
              enum:
                - CANCELLED
              description: The refund was cancelled.
            - type: string
              enum:
                - FAILED
              description: The refund could not be processed.
            - type: string
              enum:
                - PENDING
              description: The refund is pending. For more information, see
                <code>status_details.reason</code>.
            - type: string
              enum:
                - COMPLETED
              description: The funds for this transaction were debited to the customer's
                account.
        status_details:
          allOf:
            - $ref: "#/components/schemas/refund_status_details"
            - description: The details of the refund status.
              readOnly: true
    service_fee_type:
      title: service_fee_type
      description: Any service fee that is associated with the transaction.
      type: string
      enum:
        - DUTY_FEE
      oneOf:
        - type: string
          enum:
            - DUTY_FEE
          description: The duty fee associated with Smart Duty features.
    service_fee:
      title: service_fee
      description: Any service fee that is associated with the transaction.
      type: object
      properties:
        amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The service fee amount for the transaction.
        service_fee_type:
          allOf:
            - $ref: "#/components/schemas/service_fee_type"
            - description: The type of service fee.
        id:
          description: The service fee ID.
          type: string
          minLength: 1
          maxLength: 32
          pattern: ^[A-Z0-9_]+$
    net_amount_breakdown_item:
      title: net_amount_breakdown
      description: The net amount. Returned when the currency of the refund is
        different from the currency of the PayPal account where the merchant
        holds their funds.
      type: object
      properties:
        payable_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The net amount debited from the merchant's PayPal account.
              readOnly: true
        converted_amount:
          allOf:
            - $ref: "#/components/schemas/money"
            - description: The converted payable amount.
              readOnly: true
        exchange_rate:
          allOf:
            - $ref: "#/components/schemas/exchange_rate"
            - description: The exchange rate that determines the amount that was debited from
                the merchant's PayPal account.
              readOnly: true
    buyer_context:
      title: Buyer Context
      description: The buyer context for the refund transaction.
      type: object
      properties:
        transaction_id:
          description: The PayPal generated transaction ID associated with the buyer's
            refund.
          type: string
          minLength: 1
          maxLength: 255
          pattern: ^[0-9a-zA-Z_-]+$
          readOnly: true
        transaction_details_url:
          description: The URL for the buyer to view the transaction details.
          type: string
          minLength: 1
          maxLength: 2048
          format: uri
          readOnly: true
        transaction_create_time:
          allOf:
            - $ref: "#/components/schemas/date_time"
            - description: The date and time when the buyer's refund transaction was created,
                in [Internet date and time
                format](https://tools.ietf.org/html/rfc3339#section-5.6).
              readOnly: true
        transaction_update_time:
          allOf:
            - $ref: "#/components/schemas/date_time"
            - description: The date and time when the buyer's refund transaction was last
                updated, in [Internet date and time
                format](https://tools.ietf.org/html/rfc3339#section-5.6).
              readOnly: true
    refund:
      title: refund
      description: The refund information.
      type: object
      allOf:
        - allOf:
            - $ref: "#/components/schemas/refund_status"
        - title: Refund Properties
          description: The detailed properties of the refund transaction, including
            identifiers, amounts, breakdowns, and associated metadata.
          type: object
          properties:
            id:
              description: The PayPal-generated ID for the refund.
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
              readOnly: true
            amount:
              allOf:
                - $ref: "#/components/schemas/money"
                - description: The amount that the payee refunded to the payer.
                  readOnly: true
            invoice_id:
              description: The API caller-provided external invoice number for this order.
                Appears in both the payer's transaction history and the emails
                that the payer receives.
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
              readOnly: true
            custom_id:
              description: The API caller-provided external ID. Used to reconcile API
                caller-initiated transactions with PayPal transactions. Appears
                in transaction and settlement reports.
              type: string
              minLength: 1
              maxLength: 255
              pattern: ^[A-Za-z0-9-_.,]*$
            acquirer_reference_number:
              description: Reference ID issued for the card transaction. This ID can be used
                to track the transaction across processors, card brands and
                issuing banks.
              type: string
              minLength: 1
              maxLength: 36
              pattern: ^[a-zA-Z0-9]+$
            note_to_payer:
              description: The reason for the refund. Appears in both the payer's transaction
                history and the emails that the payer receives.
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
              readOnly: true
            seller_payable_breakdown:
              title: Seller Payable Breakdown
              description: The breakdown of the refund.
              type: object
              readOnly: true
              properties:
                gross_amount:
                  allOf:
                    - $ref: "#/components/schemas/money"
                    - description: The amount that the payee refunded to the payer.
                      readOnly: true
                paypal_fee:
                  allOf:
                    - $ref: "#/components/schemas/money"
                    - description: The PayPal fee that was refunded to the payer in the currency of
                        the transaction. This fee might not match the PayPal fee
                        that the payee paid when the payment was captured.
                      readOnly: true
                paypal_fee_in_receivable_currency:
                  allOf:
                    - $ref: "#/components/schemas/money"
                    - description: The PayPal fee that was refunded to the payer in the receivable
                        currency. Returned only in cases when the receivable
                        currency is different from transaction currency. Example
                        'CNY'.
                      readOnly: true
                net_amount:
                  allOf:
                    - $ref: "#/components/schemas/money"
                    - description: The net amount that the payee's account is debited in the
                        transaction currency. The net amount is calculated as
                        <code>gross_amount</code> minus <code>paypal_fee</code>
                        minus <code>platform_fees</code>.
                      readOnly: true
                net_amount_in_receivable_currency:
                  allOf:
                    - $ref: "#/components/schemas/money"
                    - description: The net amount that the payee's account is debited in the
                        receivable currency. Returned only in cases when the
                        receivable currency is different from transaction
                        currency. Example 'CNY'.
                      readOnly: true
                platform_fees:
                  description: An array of platform or partner fees, commissions, or brokerage
                    fees for the refund.
                  type: array
                  minItems: 0
                  maxItems: 1
                  items:
                    allOf:
                      - $ref: "#/components/schemas/platform_fee"
                      - title: platform_fee
                service_fees:
                  description: This indicates the details of the portion of service fees refunded.
                  type: array
                  minItems: 1
                  maxItems: 1
                  items:
                    allOf:
                      - $ref: "#/components/schemas/service_fee"
                      - title: service_fee
                        not:
                          required:
                            - id
                net_amount_breakdown:
                  description: An array of breakdown values for the net amount. Returned when the
                    currency of the refund is different from the currency of the
                    PayPal account where the payee holds their funds.
                  type: array
                  minItems: 0
                  maxItems: 32767
                  readOnly: true
                  items:
                    allOf:
                      - $ref: "#/components/schemas/net_amount_breakdown_item"
                      - title: net_amount_breakdown_item
                total_refunded_amount:
                  allOf:
                    - $ref: "#/components/schemas/money"
                    - description: The total amount refunded from the original capture to date. For
                        example, if a payer makes a $100 purchase and was
                        refunded $20 a week ago and was refunded $30 in this
                        refund, the `gross_amount` is $30 for this refund and
                        the `total_refunded_amount` is $50.
            payer:
              allOf:
                - $ref: "#/components/schemas/payee_base"
                - description: The details associated with the merchant for this transaction.
                  readOnly: true
            buyer_context:
              allOf:
                - $ref: "#/components/schemas/buyer_context"
                - description: The buyer context for the refund transaction.
                  readOnly: true
            links:
              description: An array of related [HATEOAS
                links](/docs/api/reference/api-responses/#hateoas-links).
              type: array
              minItems: 0
              maxItems: 32767
              readOnly: true
              items:
                allOf:
                  - $ref: "#/components/schemas/link_description-2"
                  - title: link_description
        - allOf:
            - $ref: "#/components/schemas/activity_timestamps"
    payment_collection:
      title: Payment Collection
      description: The collection of payments, or transactions, for a purchase unit in
        an order. For example, authorized payments, captured payments, and
        refunds.
      type: object
      properties:
        authorizations:
          description: An array of authorized payments for a purchase unit. A purchase
            unit can have zero or more authorized payments.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            allOf:
              - $ref: "#/components/schemas/authorization_with_additional_data"
              - title: authorizations
                description: The authorized payment for a purchase unit.
        captures:
          description: An array of captured payments for a purchase unit. A purchase unit
            can have zero or more captured payments.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            allOf:
              - $ref: "#/components/schemas/capture"
              - title: capture
                description: The captured payment for a purchase unit.
        refunds:
          description: An array of refunds for a purchase unit. A purchase unit can have
            zero or more refunds.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            allOf:
              - $ref: "#/components/schemas/refund"
              - title: refund
                description: A refund for a purchase unit.
    purchase_unit:
      title: Purchase Unit
      description: The purchase unit details. Used to capture required information for
        the payment contract.
      type: object
      properties:
        reference_id:
          description: The API caller-provided external ID for the purchase unit. Required
            for multiple purchase units when you must update the order through
            `PATCH`. If you omit this value and the order contains only one
            purchase unit, PayPal sets this value to `default`.
            <blockquote><strong>Note:</strong> If there are multiple purchase
            units, <code>reference_id</code> is required for each purchase
            unit.</blockquote>
          type: string
          minLength: 1
          maxLength: 256
          pattern: ^[\S\s]*$
        amount:
          $ref: "#/components/schemas/amount_with_breakdown"
        payee:
          allOf:
            - $ref: "#/components/schemas/payee"
            - description: The merchant who receives payment for this transaction.
        payment_instruction:
          $ref: "#/components/schemas/payment_instruction"
        description:
          description: The purchase description.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^[\S\s]*$
        custom_id:
          description: The API caller-provided external ID. Used to reconcile API
            caller-initiated transactions with PayPal transactions. Appears in
            transaction and settlement reports.
          type: string
          minLength: 1
          maxLength: 255
          pattern: ^[\S\s]*$
        invoice_id:
          description: The API caller-provided external invoice ID for this order.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^[\S\s]*$
        id:
          description: The PayPal-generated ID for the purchase unit. This ID appears in
            both the payer's transaction history and the emails that the payer
            receives. In addition, this ID is available in transaction and
            settlement reports that merchants and API callers can use to
            reconcile transactions. This ID is only available when an order is
            saved by calling <code>v2/checkout/orders/id/save</code>.
          type: string
          minLength: 1
          maxLength: 19
          pattern: ^[\S\s]*$
        soft_descriptor:
          description: The payment descriptor on account transactions on the customer's
            credit card statement, that PayPal sends to processors. The maximum
            length of the soft descriptor information that you can pass in the
            API field is 22 characters, in the following format:<code>22 -
            len(PAYPAL * (8)) - len(<var>Descriptor in Payment Receiving
            Preferences of Merchant account</var> + 1)</code>The PAYPAL prefix
            uses 8 characters.<br/><br/>The soft descriptor supports the
            following ASCII characters:<ul><li>Alphanumeric
            characters</li><li>Dashes</li><li>Asterisks</li><li>Periods
            (.)</li><li>Spaces</li></ul>For Wallet payments marketplace
            integrations:<ul><li>The merchant descriptor in the Payment
            Receiving Preferences must be the marketplace name.</li><li>You
            can't use the remaining space to show the customer service
            number.</li><li>The remaining spaces can be a combination of seller
            name and country.</li></ul><br/>For unbranded payments (Direct Card)
            marketplace integrations, use a combination of the seller name and
            phone number.
          type: string
          minLength: 1
          maxLength: 22
          pattern: ^[\S\s]*$
        items:
          description: An array of items that the customer purchases from the merchant.
          type: array
          minItems: 0
          maxItems: 32767
          items:
            allOf:
              - $ref: "#/components/schemas/item"
              - title: item
                description: An item.
        shipping:
          allOf:
            - $ref: "#/components/schemas/shipping_with_tracking_details"
            - description: The shipping address and method.
        supplementary_data:
          allOf:
            - $ref: "#/components/schemas/supplementary_data"
            - description: Supplementary data about this payment. Merchants and partners can
                add Level 2 and 3 data to payments to reduce risk and payment
                processing costs. For more information about processing
                payments, see <a
                href="https://developer.paypal.com/docs/checkout/advanced/processing/">checkout</a>
                or <a
                href="https://developer.paypal.com/docs/multiparty/checkout/advanced/processing/">multiparty
                checkout</a>.
        payments:
          allOf:
            - $ref: "#/components/schemas/payment_collection"
            - description: The comprehensive history of payments for the purchase unit.
              readOnly: true
    order_status:
      title: Order Status
      description: The order status.
      type: string
      enum:
        - CREATED
        - SAVED
        - APPROVED
        - VOIDED
        - COMPLETED
        - PAYER_ACTION_REQUIRED
      oneOf:
        - type: string
          enum:
            - CREATED
          description: The order was created with the specified context.
        - type: string
          enum:
            - SAVED
          description: The order was saved and persisted. The order status continues to be
            in progress until a capture is made with <code>final_capture =
            true</code> for all purchase units within the order.
        - type: string
          enum:
            - APPROVED
          description: The customer approved the payment through the PayPal wallet or
            another form of guest or unbranded payment. For example, a card,
            bank account, or so on.
        - type: string
          enum:
            - VOIDED
          description: All purchase units in the order are voided.
        - type: string
          enum:
            - COMPLETED
          description: "The intent of the order was completed and a `payments` resource
            was created. <strong>Important</strong>: Check the payment status in
            `purchase_units[].payments.captures[].status` before fulfilling the
            order. A completed order can indicate a payment was authorized, an
            authorized payment was captured, or a payment was declined."
        - type: string
          enum:
            - PAYER_ACTION_REQUIRED
          description: The order requires an action from the payer (e.g. 3DS
            authentication). Redirect the payer to the "rel":"payer-action"
            HATEOAS link returned as part of the response prior to authorizing
            or capturing the order. Some payment sources may not return a
            payer-action HATEOAS link (eg. MB WAY). For these payment sources
            the payer-action is managed by the scheme itself (eg. through SMS,
            email, in-app notification, etc).
    order:
      title: Order
      description: The order details.
      type: object
      allOf:
        - allOf:
            - $ref: "#/components/schemas/activity_timestamps"
            - title: activity_timestamps
        - type: object
          title: Order
          description: The order details.
          properties:
            id:
              description: The ID of the order.
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
              readOnly: true
            payment_source:
              allOf:
                - $ref: "#/components/schemas/payment_source_response"
            intent:
              allOf:
                - $ref: "#/components/schemas/checkout_payment_intent"
            processing_instruction:
              $ref: "#/components/schemas/processing_instruction"
            payer:
              allOf:
                - $ref: "#/components/schemas/payer"
                - description: DEPRECATED. The customer is also known as the payer. The Payer
                    object was intended to only be used with the
                    `payment_source.paypal` object. In order to make this design
                    more clear, the details in the `payer` object are now
                    available under `payment_source.paypal`. Please use
                    `payment_source.paypal`.
                    <b>DEPRECATED</b><br><table><tr><th>See</th><th>Since
                    Version</th></tr><tr><td>payment_source.paypal</td><td>2.9</td></tr></table>
                  deprecated: true
            purchase_units:
              description: An array of purchase units. Each purchase unit establishes a
                contract between a customer and merchant. Each purchase unit
                represents either a full or partial order that the customer
                intends to purchase from the merchant.
              type: array
              minItems: 1
              maxItems: 10
              items:
                allOf:
                  - $ref: "#/components/schemas/purchase_unit"
                  - title: purchase_unit
                    description: A purchase unit. Establishes a contract between a customer and
                      merchant.
            status:
              allOf:
                - $ref: "#/components/schemas/order_status"
                - readOnly: true
            links:
              description: An array of request-related HATEOAS links. To complete payer
                approval, use the `approve` link to redirect the payer. The API
                caller has 6 hours (default setting, this which can be changed
                by your account manager to 24/48/72 hours to accommodate your
                use case) from the time the order is created, to redirect your
                payer. Once redirected, the API caller has 6 hours for the payer
                to approve the order and either authorize or capture the order.
                If you are not using the PayPal JavaScript SDK to initiate
                PayPal Checkout (in context) ensure that you include
                `application_context.return_url` is specified or you will get
                "We're sorry, Things don't appear to be working at the moment"
                after the payer approves the payment.
              type: array
              minItems: 0
              maxItems: 32767
              readOnly: true
              items:
                allOf:
                  - $ref: "#/components/schemas/link_description-2"
                  - title: link_description
                    description: A request-related [HATEOAS
                      link](/api/rest/responses/#hateoas-links). To complete
                      payer approval, use the `approve` link with the `GET`
                      method.
    patch:
      title: Patch
      description: The JSON patch object to apply partial updates to resources.
      type: object
      required:
        - op
      properties:
        op:
          description: The operation.
          type: string
          enum:
            - add
            - remove
            - replace
            - move
            - copy
            - test
          oneOf:
            - type: string
              enum:
                - add
              description: Depending on the target location reference, completes one of these
                functions:<ul><li><strong>The target location is an array
                index</strong>. Inserts a new value into the array at the
                specified index.</li><li><strong>The target location is an
                object parameter that does not already exist</strong>. Adds a
                new parameter to the object.</li><li><strong>The target location
                is an object parameter that does exist</strong>. Replaces that
                parameter's value.</li></ul>The <code>value</code> parameter
                defines the value to add. For more information, see <a
                href="https://tools.ietf.org/html/rfc6902#section-4.1">4.1.
                add</a>.
            - type: string
              enum:
                - remove
              description: Removes the value at the target location. For the operation to
                succeed, the target location must exist. For more information,
                see <a
                href="https://tools.ietf.org/html/rfc6902#section-4.2">4.2.
                remove</a>.
            - type: string
              enum:
                - replace
              description: Replaces the value at the target location with a new value. The
                operation object must contain a <code>value</code> parameter
                that defines the replacement value. For the operation to
                succeed, the target location must exist. For more information,
                see <a
                href="https://tools.ietf.org/html/rfc6902#section-4.3">4.3.
                replace</a>.
            - type: string
              enum:
                - move
              description: Removes the value at a specified location and adds it to the target
                location. The operation object must contain a <code>from</code>
                parameter, which is a string that contains a JSON pointer value
                that references the location in the target document from which
                to move the value. For the operation to succeed, the
                <code>from</code> location must exist. For more information, see
                <a href="https://tools.ietf.org/html/rfc6902#section-4.4">4.4.
                move</a>.
            - type: string
              enum:
                - copy
              description: Copies the value at a specified location to the target location.
                The operation object must contain a <code>from</code> parameter,
                which is a string that contains a JSON pointer value that
                references the location in the target document from which to
                copy the value. For the operation to succeed, the
                <code>from</code> location must exist. For more information, see
                <a href="https://tools.ietf.org/html/rfc6902#section-4.5">4.5.
                copy</a>.
            - type: string
              enum:
                - test
              description: Tests that a value at the target location is equal to a specified
                value. The operation object must contain a <code>value</code>
                parameter that defines the value to compare to the target
                location's value. For the operation to succeed, the target
                location must be equal to the <code>value</code> value. For
                test, <code>equal</code> indicates that the value at the target
                location and the value that <code>value</code> defines are of
                the same JSON type. The data type of the value determines how
                equality is defined:<table><thead
                align="left"><tr><th>Type</th><th>Considered equal if both
                values</th></tr></thead><tbody
                align="left"><tr><td><strong>strings</strong></td><td>Contain
                the same number of Unicode characters and their code points are
                byte-by-byte
                equal.</td></tr><tr><td><strong>numbers</strong></td><td>Are
                numerically
                equal.</td></tr><tr><td><strong>arrays</strong></td><td>Contain
                the same number of values, and each value is equal to the value
                at the corresponding position in the other array, by using these
                type-specific
                rules.</td></tr><tr><td><strong>objects</strong></td><td>Contain
                the same number of parameters, and each parameter is equal to a
                parameter in the other object, by comparing their keys (as
                strings) and their values (by using these type-specific
                rules).</td></tr><tr><td><strong>literals (<code>false</code>,
                <code>true</code>, and <code>null</code>)</strong></td><td>Are
                the same. The comparison is a logical comparison. For example,
                whitespace between the parameter values of an array is not
                significant. Also, ordering of the serialization of object
                parameters is not significant.</td></tr></tbody></table>For more
                information, see <a
                href="https://tools.ietf.org/html/rfc6902#section-4.6">4.6.
                test</a>.
        path:
          description: The <a href="https://tools.ietf.org/html/rfc6901">JSON Pointer</a>
            to the target document location at which to complete the operation.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
        value:
          title: Patch Value
          description: The value to apply. The <code>remove</code>, <code>copy</code>, and
            <code>move</code> operations do not require a value. Since <a
            href="https://www.rfc-editor.org/rfc/rfc6902">JSON Patch</a> allows
            any type for <code>value</code>, the <code>type</code> property is
            not specified.
        from:
          description: The <a href="https://tools.ietf.org/html/rfc6901">JSON Pointer</a>
            to the target document location from which to move the value.
            Required for the <code>move</code> operation.
          type: string
          minLength: 0
          maxLength: 2147483647
          pattern: ^[\S\s]*$
    patch_request:
      title: Patch Request
      description: An array of JSON patch objects to apply partial updates to resources.
      type: array
      minItems: 0
      maxItems: 32767
      items:
        allOf:
          - $ref: "#/components/schemas/patch"
          - title: patch
    order_confirm_application_context:
      title: Order Confirm Application Context
      description: Customizes the payer confirmation experience.
      type: object
      properties:
        brand_name:
          description: Label to present to your payer as part of the PayPal hosted web
            experience.
          type: string
          minLength: 1
          maxLength: 127
          pattern: ^[\S\s]*$
        locale:
          allOf:
            - $ref: "#/components/schemas/language"
            - description: The BCP 47-formatted locale of pages that the PayPal payment
                experience shows. PayPal supports a five-character code. For
                example, `da-DK`, `he-IL`, `id-ID`, `ja-JP`, `no-NO`, `pt-BR`,
                `ru-RU`, `sv-SE`, `th-TH`, `zh-CN`, `zh-HK`, or `zh-TW`.
        return_url:
          description: The URL where the customer is redirected after the customer
            approves the payment.
          type: string
          minLength: 10
          maxLength: 4000
          format: uri
        cancel_url:
          description: The URL where the customer is redirected after the customer cancels
            the payment.
          type: string
          minLength: 10
          maxLength: 4000
          format: uri
        stored_payment_source:
          $ref: "#/components/schemas/stored_payment_source"
    confirm_order_request:
      title: confirm_order_request
      description: Payer confirms the intent to pay for the Order using the provided
        payment source.
      type: object
      required:
        - payment_source
      properties:
        payment_source:
          $ref: "#/components/schemas/payment_source"
        processing_instruction:
          $ref: "#/components/schemas/processing_instruction"
        application_context:
          $ref: "#/components/schemas/order_confirm_application_context"
    order_authorize_request:
      title: Order Authorize Request
      description: The authorization of an order request.
      type: object
      properties:
        payment_source:
          allOf:
            - $ref: "#/components/schemas/payment_source"
            - description: The source of payment for the order, which can be a token or a
                card. Use this object only if you have not redirected the user
                after order creation to approve the payment. In such cases, the
                user-selected payment method in the PayPal flow is implicitly
                used.
              not:
                anyOf:
                  - required:
                      - afterpay
                  - required:
                      - alipay
                  - required:
                      - bancomatpay
                  - required:
                      - bancontact
                  - required:
                      - blik
                  - required:
                      - blik_pay_later
                  - required:
                      - bizum
                  - required:
                      - boletobancario
                  - required:
                      - crypto
                  - required:
                      - dragonpay
                  - required:
                      - eps
                  - required:
                      - estonia_banks
                  - required:
                      - fiuu_cash
                  - required:
                      - floa_pay
                  - required:
                      - fpx
                  - required:
                      - giropay
                  - required:
                      - gopay
                  - required:
                      - grabpay
                  - required:
                      - ideal
                  - required:
                      - klarna
                  - required:
                      - latvia_banks
                  - required:
                      - lithuania_banks
                  - required:
                      - mbway
                  - required:
                      - multibanco
                  - required:
                      - mybank
                  - required:
                      - oxxo
                  - required:
                      - paysafecard
                  - required:
                      - paysera
                  - required:
                      - payu
                  - required:
                      - pay_upon_invoice
                  - required:
                      - pix_international
                  - required:
                      - p24
                  - required:
                      - safetypay
                  - required:
                      - satispay
                  - required:
                      - skrill
                  - required:
                      - scalapay
                  - required:
                      - swish
                  - required:
                      - sofort
                  - required:
                      - thailand_banks
                  - required:
                      - trustly
                  - required:
                      - verkkopankki
                  - required:
                      - wechatpay
                  - required:
                      - wero
                  - required:
                      - zip
                  - required:
                      - doku
                  - required:
                      - alfamart
                  - required:
                      - indomaret
                  - required:
                      - indonesia_banks
                  - required:
                      - jenius_pay
                  - required:
                      - kredivo
                  - required:
                      - linkaja
                  - required:
                      - ovo
    order_authorize_response:
      title: Order Authorize Response
      description: The order authorize response.
      type: object
      allOf:
        - allOf:
            - $ref: "#/components/schemas/activity_timestamps"
            - title: activity_timestamps
        - type: object
          title: Order Authorize Response
          description: The order authorize response.
          properties:
            id:
              description: The ID of the order.
              type: string
              minLength: 0
              maxLength: 2147483647
              pattern: ^[\S\s]*$
              readOnly: true
            payment_source:
              allOf:
                - $ref: "#/components/schemas/payment_source_response"
                - not:
                    anyOf:
                      - required:
                          - alipay
                      - required:
                          - bancomatpay
                      - required:
                          - bancontact
                      - required:
                          - blik
                      - required:
                          - boletobancario
                      - required:
                          - eps
                      - required:
                          - giropay
                      - required:
                          - grabpay
                      - required:
                          - ideal
                      - required:
                          - mbway
                      - required:
                          - multibanco
                      - required:
                          - mybank
                      - required:
                          - oxxo
                      - required:
                          - payu
                      - required:
                          - pay_upon_invoice
                      - required:
                          - p24
                      - required:
                          - safetypay
                      - required:
                          - satispay
                      - required:
                          - swish
                      - required:
                          - sofort
                      - required:
                          - trustly
                      - required:
                          - verkkopankki
                      - required:
                          - wechatpay
            intent:
              allOf:
                - $ref: "#/components/schemas/checkout_payment_intent"
            processing_instruction:
              $ref: "#/components/schemas/processing_instruction"
            payer:
              allOf:
                - $ref: "#/components/schemas/payer"
            purchase_units:
              description: An array of purchase units. Each purchase unit establishes a
                contract between a customer and merchant. Each purchase unit
                represents either a full or partial order that the customer
                intends to purchase from the merchant.
              type: array
              minItems: 1
              maxItems: 10
              items:
                allOf:
                  - $ref: "#/components/schemas/purchase_unit"
                  - title: purchase_unit
                    description: A purchase unit. Establishes a contract between a customer and
                      merchant.
            status:
              allOf:
                - $ref: "#/components/schemas/order_status"
                - readOnly: true
            links:
              description: An array of request-related HATEOAS links. To complete payer
                approval, use the `approve` link to redirect the payer. The API
                caller has 6 hours (default setting, this which can be changed
                by your account manager to 24/48/72 hours to accommodate your
                use case) from the time the order is created, to redirect your
                payer. Once redirected, the API caller has 6 hours for the payer
                to approve the order and either authorize or capture the order.
                If you are not using the PayPal JavaScript SDK to initiate
                PayPal Checkout (in context) ensure that you include
                `application_context.return_url` is specified or you will get
                "We're sorry, Things don't appear to be working at the moment"
                after the payer approves the payment.
              type: array
              minItems: 0
              maxItems: 32767
              readOnly: true
              items:
                allOf:
                  - $ref: "#/components/schemas/link_description-2"
                  - title: link_description
                    description: A request-related [HATEOAS
                      link](/api/rest/responses/#hateoas-links). To complete
                      payer approval, use the `approve` link with the `GET`
                      method.
    order_capture_request:
      title: Order Capture Request
      description: Completes an capture payment for an order.
      type: object
      properties:
        payment_source:
          allOf:
            - $ref: "#/components/schemas/payment_source"
            - not:
                anyOf:
                  - required:
                      - afterpay
                  - required:
                      - bancontact
                  - required:
                      - blik
                  - required:
                      - bizum
                  - required:
                      - blik_pay_later
                  - required:
                      - crypto
                  - required:
                      - dragonpay
                  - required:
                      - eps
                  - required:
                      - estonia_banks
                  - required:
                      - fiuu_cash
                  - required:
                      - floa_pay
                  - required:
                      - fpx
                  - required:
                      - giropay
                  - required:
                      - gopay
                  - required:
                      - ideal
                  - required:
                      - klarna
                  - required:
                      - latvia_banks
                  - required:
                      - lithuania_banks
                  - required:
                      - mybank
                  - required:
                      - paysafecard
                  - required:
                      - pix_international
                  - required:
                      - p24
                  - required:
                      - skrill
                  - required:
                      - paysera
                  - required:
                      - scalapay
                  - required:
                      - sofort
                  - required:
                      - swish
                  - required:
                      - thailand_banks
                  - required:
                      - trustly
                  - required:
                      - wero
                  - required:
                      - zip
                  - required:
                      - doku
                  - required:
                      - alfamart
                  - required:
                      - indomaret
                  - required:
                      - indonesia_banks
                  - required:
                      - jenius_pay
                  - required:
                      - kredivo
                  - required:
                      - linkaja
                  - required:
                      - ovo
    shipment_carrier:
      title: carrier
      description: The carrier for the shipment. Some carriers have a global version
        as well as local subsidiaries. The subsidiaries are repeated over many
        countries and might also have an entry in the global list. Choose the
        carrier for your country. If the carrier is not available for your
        country, choose the global version of the carrier. If your carrier name
        is not in the list, set `carrier` to `OTHER` and set carrier name in
        `carrier_name_other`. For allowed values, see <a
        href="/docs/tracking/reference/carriers/">Carriers</a>.
      type: string
      enum:
        - DPD_RU
        - BG_BULGARIAN_POST
        - KR_KOREA_POST
        - ZA_COURIERIT
        - FR_EXAPAQ
        - ARE_EMIRATES_POST
        - GAC
        - GEIS
        - SF_EX
        - PAGO
        - MYHERMES
        - DIAMOND_EUROGISTICS
        - CORPORATECOURIERS_WEBHOOK
        - BOND
        - OMNIPARCEL
        - SK_POSTA
        - PUROLATOR
        - FETCHR_WEBHOOK
        - THEDELIVERYGROUP
        - CELLO_SQUARE
        - TARRIVE
        - COLLIVERY
        - MAINFREIGHT
        - IND_FIRSTFLIGHT
        - ACSWORLDWIDE
        - AMSTAN
        - OKAYPARCEL
        - ENVIALIA_REFERENCE
        - SEUR_ES
        - CONTINENTAL
        - FDSEXPRESS
        - AMAZON_FBA_SWISHIP
        - WYNGS
        - DHL_ACTIVE_TRACING
        - ZYLLEM
        - RUSTON
        - XPOST
        - CORREOS_ES
        - DHL_FR
        - PAN_ASIA
        - BRT_IT
        - SRE_KOREA
        - SPEEDEE
        - TNT_UK
        - VENIPAK
        - SHREENANDANCOURIER
        - CROSHOT
        - NIPOST_NG
        - EPST_GLBL
        - NEWGISTICS
        - POST_SLOVENIA
        - JERSEY_POST
        - BOMBINOEXP
        - WMG
        - XQ_EXPRESS
        - FURDECO
        - LHT_EXPRESS
        - SOUTH_AFRICAN_POST_OFFICE
        - SPOTON
        - DIMERCO
        - CYPRUS_POST_CYP
        - ABCUSTOM
        - IND_DELIVREE
        - CN_BESTEXPRESS
        - DX_SFTP
        - PICKUPP_MYS
        - FMX
        - HELLMANN
        - SHIP_IT_ASIA
        - KERRY_ECOMMERCE
        - FRETERAPIDO
        - PITNEY_BOWES
        - XPRESSEN_DK
        - SEUR_SP_API
        - DELIVERYONTIME
        - JINSUNG
        - TRANS_KARGO
        - SWISHIP_DE
        - IVOY_WEBHOOK
        - AIRMEE_WEBHOOK
        - DHL_BENELUX
        - FIRSTMILE
        - FASTWAY_IR
        - HH_EXP
        - MYS_MYPOST_ONLINE
        - TNT_NL
        - TIPSA
        - TAQBIN_MY
        - KGMHUB
        - INTEXPRESS
        - OVERSE_EXP
        - ONECLICK
        - ROADRUNNER_FREIGHT
        - GLS_CROTIA
        - MRW_FTP
        - BLUEX
        - DYLT
        - DPD_IR
        - SIN_GLBL
        - TUFFNELLS_REFERENCE
        - CJPACKET
        - MILKMAN
        - ASIGNA
        - ONEWORLDEXPRESS
        - ROYAL_MAIL
        - VIA_EXPRESS
        - TIGFREIGHT
        - ZTO_EXPRESS
        - TWO_GO
        - IML
        - INTEL_VALLEY
        - EFS
        - UK_UK_MAIL
        - RAM
        - ALLIEDEXPRESS
        - APC_OVERNIGHT
        - SHIPPIT
        - TFM
        - M_XPRESS
        - HDB_BOX
        - CLEVY_LINKS
        - IBEONE
        - FIEGE_NL
        - KWE_GLOBAL
        - CTC_EXPRESS
        - AMAZON
        - MORE_LINK
        - JX
        - EASY_MAIL
        - ADUIEPYLE
        - GB_PANTHER
        - EXPRESSSALE
        - SG_DETRACK
        - TRUNKRS_WEBHOOK
        - MATDESPATCH
        - DICOM
        - MBW
        - KHM_CAMBODIA_POST
        - SINOTRANS
        - BRT_IT_PARCELID
        - DHL_SUPPLY_CHAIN
        - DHL_PL
        - TOPYOU
        - PALEXPRESS
        - DHL_SG
        - CN_WEDO
        - FULFILLME
        - DPD_DELISTRACK
        - UPS_REFERENCE
        - CARIBOU
        - LOCUS_WEBHOOK
        - DSV
        - P2P_TRC
        - DIRECTPARCELS
        - NOVA_POSHTA_INT
        - FEDEX_POLAND
        - CN_JCEX
        - FAR_INTERNATIONAL
        - IDEXPRESS
        - GANGBAO
        - NEWAY
        - POSTNL_INT_3_S
        - RPX_ID
        - DESIGNERTRANSPORT_WEBHOOK
        - GLS_SLOVEN
        - PARCELLED_IN
        - GSI_EXPRESS
        - CON_WAY
        - BROUWER_TRANSPORT
        - CPEX
        - ISRAEL_POST
        - DTDC_IN
        - PTT_POST
        - XDE_WEBHOOK
        - TOLOS
        - GIAO_HANG
        - GEODIS_ESPACE
        - MAGYAR_HU
        - DOORDASH_WEBHOOK
        - TIKI_ID
        - CJ_HK_INTERNATIONAL
        - STAR_TRACK_EXPRESS
        - HELTHJEM
        - SFB2C
        - FREIGHTQUOTE
        - LANDMARK_GLOBAL_REFERENCE
        - PARCEL2GO
        - DELNEXT
        - RCL
        - CGS_EXPRESS
        - HK_POST
        - SAP_EXPRESS
        - PARCELPOST_SG
        - HERMES
        - IND_SAFEEXPRESS
        - TOPHATTEREXPRESS
        - MGLOBAL
        - AVERITT
        - LEADER
        - _2EBOX
        - SG_SPEEDPOST
        - DBSCHENKER_SE
        - ISR_POST_DOMESTIC
        - BESTWAYPARCEL
        - ASENDIA_DE
        - NIGHTLINE_UK
        - TAQBIN_SG
        - TCK_EXPRESS
        - ENDEAVOUR_DELIVERY
        - NANJINGWOYUAN
        - HEPPNER_FR
        - EMPS_CN
        - FONSEN
        - PICKRR
        - APC_OVERNIGHT_CONNUM
        - STAR_TRACK_NEXT_FLIGHT
        - DAJIN
        - UPS_FREIGHT
        - POSTA_PLUS
        - CEVA
        - ANSERX
        - JS_EXPRESS
        - PADTF
        - UPS_MAIL_INNOVATIONS
        - SYPOST
        - AMAZON_SHIP_MCF
        - YUSEN
        - BRING
        - SDA_IT
        - GBA
        - NEWEGGEXPRESS
        - SPEEDCOURIERS_GR
        - FORRUN
        - PICKUP
        - ECMS
        - INTELIPOST
        - FLASHEXPRESS
        - CN_STO
        - SEKO_SFTP
        - HOME_DELIVERY_SOLUTIONS
        - DPD_HGRY
        - KERRYTTC_VN
        - JOYING_BOX
        - TOTAL_EXPRESS
        - ZJS_EXPRESS
        - STARKEN
        - DEMANDSHIP
        - CN_DPEX
        - AUPOST_CN
        - LOGISTERS
        - GOGLOBALPOST
        - GLS_CZ
        - PAACK_WEBHOOK
        - GRAB_WEBHOOK
        - PARCELPOINT
        - ICUMULUS
        - DAIGLOBALTRACK
        - GLOBAL_IPARCEL
        - YURTICI_KARGO
        - CN_PAYPAL_PACKAGE
        - PARCEL_2_POST
        - GLS_IT
        - PIL_LOGISTICS
        - HEPPNER
        - GENERAL_OVERNIGHT
        - HAPPY2POINT
        - CHITCHATS
        - SMOOTH
        - CLE_LOGISTICS
        - FIEGE
        - MX_CARGO
        - ZIINGFINALMILE
        - DAYTON_FREIGHT
        - TCS
        - AEX
        - HERMES_DE
        - ROUTIFIC_WEBHOOK
        - GLOBAVEND
        - CJ_LOGISTICS
        - PALLET_NETWORK
        - RAF_PH
        - UK_XDP
        - PAPER_EXPRESS
        - LA_POSTE_SUIVI
        - PAQUETEXPRESS
        - LIEFERY
        - STRECK_TRANSPORT
        - PONY_EXPRESS
        - ALWAYS_EXPRESS
        - GBS_BROKER
        - CITYLINK_MY
        - ALLJOY
        - YODEL
        - YODEL_DIR
        - STONE3PL
        - PARCELPAL_WEBHOOK
        - DHL_ECOMERCE_ASA
        - SIMPLYPOST
        - KY_EXPRESS
        - SHENZHEN
        - US_LASERSHIP
        - UC_EXPRE
        - DIDADI
        - CJ_KR
        - DBSCHENKER_B2B
        - MXE
        - CAE_DELIVERS
        - PFCEXPRESS
        - WHISTL
        - WEPOST
        - DHL_PARCEL_ES
        - DDEXPRESS
        - ARAMEX_AU
        - BNEED
        - HK_TGX
        - LATVIJAS_PASTS
        - VIAEUROPE
        - CORREO_UY
        - CHRONOPOST_FR
        - J_NET
        - _6LS
        - BLR_BELPOST
        - BIRDSYSTEM
        - DOBROPOST
        - WAHANA_ID
        - WEASHIP
        - SONICTL
        - KWT
        - AFLLOG_FTP
        - SKYNET_WORLDWIDE
        - NOVA_POSHTA
        - SEINO
        - SZENDEX
        - BPOST_INT
        - DBSCHENKER_SV
        - AO_DEUTSCHLAND
        - EU_FLEET_SOLUTIONS
        - PCFCORP
        - LINKBRIDGE
        - PRIMAMULTICIPTA
        - COUREX
        - ZAJIL_EXPRESS
        - COLLECTCO
        - JTEXPRESS
        - FEDEX_UK
        - USHIP
        - PIXSELL
        - SHIPTOR
        - CDEK
        - VNM_VIETTELPOST
        - CJ_CENTURY
        - GSO
        - VIWO
        - SKYBOX
        - KERRYTJ
        - NTLOGISTICS_VN
        - SDH_SCM
        - ZINC
        - DPE_SOUTH_AFRC
        - CESKA_CZ
        - ACS_GR
        - DEALERSEND
        - JOCOM
        - CSE
        - TFORCE_FINALMILE
        - SHIP_GATE
        - SHIPTER
        - NATIONAL_SAMEDAY
        - YUNEXPRESS
        - CAINIAO
        - DMS_MATRIX
        - DIRECTLOG
        - ASENDIA_US
        - _3JMSLOGISTICS
        - LICCARDI_EXPRESS
        - SKY_POSTAL
        - CNWANGTONG
        - POSTNORD_LOGISTICS_DK
        - LOGISTIKA
        - CELERITAS
        - PRESSIODE
        - SHREE_MARUTI
        - LOGISTICSWORLDWIDE_HK
        - EFEX
        - LOTTE
        - LONESTAR
        - APRISAEXPRESS
        - BEL_RS
        - OSM_WORLDWIDE
        - WESTGATE_GL
        - FASTRACK
        - DTD_EXPR
        - ALFATREX
        - PROMEDDELIVERY
        - THABIT_LOGISTICS
        - HCT_LOGISTICS
        - CARRY_FLAP
        - US_OLD_DOMINION
        - ANICAM_BOX
        - WANBEXPRESS
        - AN_POST
        - DPD_LOCAL
        - STALLIONEXPRESS
        - RAIDEREX
        - SHOPFANS
        - KYUNGDONG_PARCEL
        - CHAMPION_LOGISTICS
        - PICKUPP_SGP
        - MORNING_EXPRESS
        - NACEX
        - THENILE_WEBHOOK
        - HOLISOL
        - LBCEXPRESS_FTP
        - KURASI
        - USF_REDDAWAY
        - APG
        - CN_BOXC
        - ECOSCOOTING
        - MAINWAY
        - PAPERFLY
        - HOUNDEXPRESS
        - BOX_BERRY
        - EP_BOX
        - PLUS_LOG_UK
        - FULFILLA
        - ASE
        - MAIL_PLUS
        - XPO_LOGISTICS
        - WNDIRECT
        - CLOUDWISH_ASIA
        - ZELERIS
        - GIO_EXPRESS
        - OCS_WORLDWIDE
        - ARK_LOGISTICS
        - AQUILINE
        - PILOT_FREIGHT
        - QWINTRY
        - DANSKE_FRAGT
        - CARRIERS
        - AIR_CANADA_GLOBAL
        - PRESIDENT_TRANS
        - STEPFORWARDFS
        - SKYNET_UK
        - PITTOHIO
        - CORREOS_EXPRESS
        - RL_US
        - DESTINY
        - UK_YODEL
        - COMET_TECH
        - DHL_PARCEL_RU
        - TNT_REFR
        - SHREE_ANJANI_COURIER
        - MIKROPAKKET_BE
        - ETS_EXPRESS
        - COLIS_PRIVE
        - CN_YUNDA
        - AAA_COOPER
        - ROCKET_PARCEL
        - _360LION
        - PANDU
        - PROFESSIONAL_COURIERS
        - FLYTEXPRESS
        - LOGISTICSWORLDWIDE_MY
        - CORREOS_DE_ESPANA
        - IMX
        - FOUR_PX_EXPRESS
        - XPRESSBEES
        - PICKUPP_VNM
        - STARTRACK_EXPRESS
        - FR_COLISSIMO
        - NACEX_SPAIN_REFERENCE
        - DHL_SUPPLY_CHAIN_AU
        - ESHIPPING
        - SHREETIRUPATI
        - HX_EXPRESS
        - INDOPAKET
        - CN_17POST
        - K1_EXPRESS
        - CJ_GLS
        - MYS_GDEX
        - NATIONEX
        - ANJUN
        - FARGOOD
        - SMG_EXPRESS
        - RZYEXPRESS
        - SEFL
        - TNT_CLICK_IT
        - HDB
        - HIPSHIPPER
        - RPXLOGISTICS
        - KUEHNE
        - IT_NEXIVE
        - PTS
        - SWISS_POST_FTP
        - FASTRK_SERV
        - _4_72
        - US_YRC
        - POSTNL_INTL_3S
        - ELIAN_POST
        - CUBYN
        - SAU_SAUDI_POST
        - ABXEXPRESS_MY
        - HUAHAN_EXPRESS
        - ZES_EXPRESS
        - ZEPTO_EXPRESS
        - SKYNET_ZA
        - ZEEK_2_DOOR
        - BLINKLASTMILE
        - POSTA_UKR
        - CHROBINSON
        - CN_POST56
        - COURANT_PLUS
        - SCUDEX_EXPRESS
        - SHIPENTEGRA
        - B_TWO_C_EUROPE
        - COPE
        - IND_GATI
        - CN_WISHPOST
        - NACEX_ES
        - TAQBIN_HK
        - GLOBALTRANZ
        - HKD
        - BJSHOMEDELIVERY
        - OMNIVA
        - SUTTON
        - PANTHER_REFERENCE
        - SFCSERVICE
        - LTL
        - PARKNPARCEL
        - SPRING_GDS
        - ECEXPRESS
        - INTERPARCEL_AU
        - AGILITY
        - XL_EXPRESS
        - ADERONLINE
        - DIRECTCOURIERS
        - PLANZER
        - SENDING
        - NINJAVAN_WB
        - NATIONWIDE_MY
        - SENDIT
        - GB_ARROW
        - IND_GOJAVAS
        - KPOST
        - DHL_FREIGHT
        - BLUECARE
        - JINDOUYUN
        - TRACKON
        - GB_TUFFNELLS
        - TRUMPCARD
        - ETOTAL
        - SFPLUS_WEBHOOK
        - SEKOLOGISTICS
        - HERMES_2MANN_HANDLING
        - DPD_LOCAL_REF
        - UDS
        - ZA_SPECIALISED_FREIGHT
        - THA_KERRY
        - PRT_INT_SEUR
        - BRA_CORREIOS
        - NZ_NZ_POST
        - CN_EQUICK
        - MYS_EMS
        - GB_NORSK
        - ESP_MRW
        - ESP_PACKLINK
        - KANGAROO_MY
        - RPX
        - XDP_UK_REFERENCE
        - NINJAVAN_MY
        - ADICIONAL
        - ROADBULL
        - YAKIT
        - MAILAMERICAS
        - MIKROPAKKET
        - DYNALOGIC
        - DHL_ES
        - DHL_PARCEL_NL
        - DHL_GLOBAL_MAIL_ASIA
        - DAWN_WING
        - GENIKI_GR
        - HERMESWORLD_UK
        - ALPHAFAST
        - BUYLOGIC
        - EKART
        - MEX_SENDA
        - SFC_LOGISTICS
        - POST_SERBIA
        - IND_DELHIVERY
        - DE_DPD_DELISTRACK
        - RPD2MAN
        - CN_SF_EXPRESS
        - YANWEN
        - MYS_SKYNET
        - CORREOS_DE_MEXICO
        - CBL_LOGISTICA
        - MEX_ESTAFETA
        - AU_AUSTRIAN_POST
        - RINCOS
        - NLD_DHL
        - RUSSIAN_POST
        - COURIERS_PLEASE
        - POSTNORD_LOGISTICS
        - FEDEX
        - DPE_EXPRESS
        - DPD
        - ADSONE
        - IDN_JNE
        - THECOURIERGUY
        - CNEXPS
        - PRT_CHRONOPOST
        - LANDMARK_GLOBAL
        - IT_DHL_ECOMMERCE
        - ESP_NACEX
        - PRT_CTT
        - BE_KIALA
        - ASENDIA_UK
        - GLOBAL_TNT
        - POSTUR_IS
        - EPARCEL_KR
        - INPOST_PACZKOMATY
        - IT_POSTE_ITALIA
        - BE_BPOST
        - PL_POCZTA_POLSKA
        - MYS_MYS_POST
        - SG_SG_POST
        - THA_THAILAND_POST
        - LEXSHIP
        - FASTWAY_NZ
        - DHL_AU
        - COSTMETICSNOW
        - PFLOGISTICS
        - LOOMIS_EXPRESS
        - GLS_ITALY
        - LINE
        - GEL_EXPRESS
        - HUODULL
        - NINJAVAN_SG
        - JANIO
        - AO_COURIER
        - BRT_IT_SENDER_REF
        - SAILPOST
        - LALAMOVE
        - NEWZEALAND_COURIERS
        - ETOMARS
        - VIRTRANSPORT
        - WIZMO
        - PALLETWAYS
        - I_DIKA
        - CFL_LOGISTICS
        - GEMWORLDWIDE
        - GLOBAL_EXPRESS
        - LOGISTYX_TRANSGROUP
        - WESTBANK_COURIER
        - ARCO_SPEDIZIONI
        - YDH_EXPRESS
        - PARCELINKLOGISTICS
        - CNDEXPRESS
        - NOX_NIGHT_TIME_EXPRESS
        - AERONET
        - LTIANEXP
        - INTEGRA2_FTP
        - PARCELONE
        - NOX_NACHTEXPRESS
        - CN_CHINA_POST_EMS
        - CHUKOU1
        - GLS_SLOV
        - ORANGE_DS
        - JOOM_LOGIS
        - AUS_STARTRACK
        - DHL
        - GB_APC
        - BONDSCOURIERS
        - JPN_JAPAN_POST
        - USPS
        - WINIT
        - ARG_OCA
        - TW_TAIWAN_POST
        - DMM_NETWORK
        - TNT
        - BH_POSTA
        - SWE_POSTNORD
        - CA_CANADA_POST
        - WISELOADS
        - ASENDIA_HK
        - NLD_GLS
        - MEX_REDPACK
        - JET_SHIP
        - DE_DHL_EXPRESS
        - NINJAVAN_THAI
        - RABEN_GROUP
        - ESP_ASM
        - HRV_HRVATSKA
        - GLOBAL_ESTES
        - LTU_LIETUVOS
        - BEL_DHL
        - AU_AU_POST
        - SPEEDEXCOURIER
        - FR_COLIS
        - ARAMEX
        - DPEX
        - MYS_AIRPAK
        - CUCKOOEXPRESS
        - DPD_POLAND
        - NLD_POSTNL
        - NIM_EXPRESS
        - QUANTIUM
        - SENDLE
        - ESP_REDUR
        - MATKAHUOLTO
        - CPACKET
        - POSTI
        - HUNTER_EXPRESS
        - CHOIR_EXP
        - LEGION_EXPRESS
        - AUSTRIAN_POST_EXPRESS
        - GRUPO
        - POSTA_RO
        - INTERPARCEL_UK
        - GLOBAL_ABF
        - POSTEN_NORGE
        - XPERT_DELIVERY
        - DHL_REFR
        - DHL_HK
        - SKYNET_UAE
        - GOJEK
        - YODEL_INTNL
        - JANCO
        - YTO
        - WISE_EXPRESS
        - JTEXPRESS_VN
        - FEDEX_INTL_MLSERV
        - VAMOX
        - AMS_GRP
        - DHL_JP
        - HRPARCEL
        - GESWL
        - BLUESTAR
        - CDEK_TR
        - DESCARTES
        - DELTEC_UK
        - DTDC_EXPRESS
        - TOURLINE
        - BH_WORLDWIDE
        - OCS
        - YINGNUO_LOGISTICS
        - UPS
        - TOLL
        - PRT_SEUR
        - DTDC_AU
        - THA_DYNAMIC_LOGISTICS
        - UBI_LOGISTICS
        - FEDEX_CROSSBORDER
        - A1POST
        - TAZMANIAN_FREIGHT
        - CJ_INT_MY
        - SAIA_FREIGHT
        - SG_QXPRESS
        - NHANS_SOLUTIONS
        - DPD_FR
        - COORDINADORA
        - ANDREANI
        - DOORA
        - INTERPARCEL_NZ
        - PHL_JAMEXPRESS
        - BEL_BELGIUM_POST
        - US_APC
        - IDN_POS
        - FR_MONDIAL
        - DE_DHL
        - HK_RPX
        - DHL_PIECEID
        - VNPOST_EMS
        - RRDONNELLEY
        - DPD_DE
        - DELCART_IN
        - IMEXGLOBALSOLUTIONS
        - ACOMMERCE
        - EURODIS
        - CANPAR
        - GLS
        - IND_ECOM
        - ESP_ENVIALIA
        - DHL_UK
        - SMSA_EXPRESS
        - TNT_FR
        - DEX_I
        - BUDBEE_WEBHOOK
        - COPA_COURIER
        - VNM_VIETNAM_POST
        - DPD_HK
        - TOLL_NZ
        - ECHO
        - FEDEX_FR
        - BORDEREXPRESS
        - MAILPLUS_JPN
        - TNT_UK_REFR
        - KEC
        - DPD_RO
        - TNT_JP
        - TH_CJ
        - EC_CN
        - FASTWAY_UK
        - FASTWAY_US
        - GLS_DE
        - GLS_ES
        - GLS_FR
        - MONDIAL_BE
        - SGT_IT
        - TNT_CN
        - TNT_DE
        - TNT_ES
        - TNT_PL
        - PARCELFORCE
        - SWISS_POST
        - TOLL_IPEC
        - AIR_21
        - AIRSPEED
        - BERT
        - BLUEDART
        - COLLECTPLUS
        - COURIERPLUS
        - COURIER_POST
        - DHL_GLOBAL_MAIL
        - DPD_UK
        - DELTEC_DE
        - DEUTSCHE_DE
        - DOTZOT
        - ELTA_GR
        - EMS_CN
        - ECARGO
        - ENSENDA
        - FERCAM_IT
        - FASTWAY_ZA
        - FASTWAY_AU
        - FIRST_LOGISITCS
        - GEODIS
        - GLOBEGISTICS
        - GREYHOUND
        - JETSHIP_MY
        - LION_PARCEL
        - AEROFLASH
        - ONTRAC
        - SAGAWA
        - SIODEMKA
        - STARTRACK
        - TNT_AU
        - TNT_IT
        - TRANSMISSION
        - YAMATO
        - DHL_IT
        - DHL_AT
        - LOGISTICSWORLDWIDE_KR
        - GLS_SPAIN
        - AMAZON_UK_API
        - DPD_FR_REFERENCE
        - DHLPARCEL_UK
        - MEGASAVE
        - QUALITYPOST
        - IDS_LOGISTICS
        - JOYINGBOX
        - PANTHER_ORDER_NUMBER
        - WATKINS_SHEPARD
        - FASTTRACK
        - UP_EXPRESS
        - ELOGISTICA
        - ECOURIER
        - CJ_PHILIPPINES
        - SPEEDEX
        - ORANGECONNEX
        - TECOR
        - SAEE
        - GLS_ITALY_FTP
        - DELIVERE
        - YYCOM
        - ADICIONAL_PT
        - DKSH
        - NIPPON_EXPRESS_FTP
        - GOLS
        - FUJEXP
        - QTRACK
        - OMLOGISTICS_API
        - GDPHARM
        - MISUMI_CN
        - AIR_CANADA
        - CITY56_WEBHOOK
        - SAGAWA_API
        - KEDAEX
        - PGEON_API
        - WEWORLDEXPRESS
        - JT_LOGISTICS
        - TRUSK
        - VIAXPRESS
        - DHL_SUPPLYCHAIN_ID
        - ZUELLIGPHARMA_SFTP
        - MEEST
        - TOLL_PRIORITY
        - MOTHERSHIP_API
        - CAPITAL
        - EUROPAKET_API
        - HFD
        - TOURLINE_REFERENCE
        - GIO_ECOURIER
        - CN_LOGISTICS
        - PANDION
        - BPOST_API
        - PASSPORTSHIPPING
        - PAKAJO
        - DACHSER
        - YUSEN_SFTP
        - SHYPLITE
        - XYY
        - MWD
        - FAXECARGO
        - MAZET
        - FIRST_LOGISTICS_API
        - SPRINT_PACK
        - HERMES_DE_FTP
        - CONCISE
        - KERRY_EXPRESS_TW_API
        - EWE
        - FASTDESPATCH
        - ABCUSTOM_SFTP
        - CHAZKI
        - SHIPPIE
        - GEODIS_API
        - NAQEL_EXPRESS
        - PAPA_WEBHOOK
        - FORWARDAIR
        - DIALOGO_LOGISTICA_API
        - LALAMOVE_API
        - TOMYDOOR
        - KRONOS_WEBHOOK
        - JTCARGO
        - T_CAT
        - CONCISE_WEBHOOK
        - TELEPORT_WEBHOOK
        - CUSTOMCO_API
        - SPX_TH
        - BOLLORE_LOGISTICS
        - CLICKLINK_SFTP
        - M3LOGISTICS
        - VNPOST_API
        - AXLEHIRE_FTP
        - SHADOWFAX
        - MYHERMES_UK_API
        - DAIICHI
        - MENSAJEROSURBANOS_API
        - POLARSPEED
        - IDEXPRESS_ID
        - PAYO
        - WHISTL_SFTP
        - INTEX_DE
        - TRANS2U
        - PRODUCTCAREGROUP_SFTP
        - BIGSMART
        - EXPEDITORS_API_REF
        - AITWORLDWIDE_API
        - WORLDCOURIER
        - QUIQUP
        - AGEDISS_SFTP
        - ANDREANI_API
        - CRLEXPRESS
        - SMARTCAT
        - CROSSFLIGHT
        - PROCARRIER
        - DHL_REFERENCE_API
        - SEINO_API
        - WSPEXPRESS
        - KRONOS
        - TOTAL_EXPRESS_API
        - PARCLL
        - XPEDIGO
        - STAR_TRACK_WEBHOOK
        - GPOST
        - UCS
        - DMFGROUP
        - COORDINADORA_API
        - MARKEN
        - NTL
        - REDJEPAKKETJE
        - ALLIED_EXPRESS_FTP
        - MONDIALRELAY_ES
        - NAEKO_FTP
        - MHI
        - SHIPPIFY
        - MALCA_AMIT_API
        - JTEXPRESS_SG_API
        - DACHSER_WEB
        - FLIGHTLG
        - CAGO
        - COM1EXPRESS
        - TONAMI_FTP
        - PACKFLEET
        - PUROLATOR_INTERNATIONAL
        - WINESHIPPING_WEBHOOK
        - DHL_ES_SFTP
        - PCHOME_API
        - CESKAPOSTA_API
        - GORUSH
        - HOMERUNNER
        - AMAZON_ORDER
        - EFWNOW_API
        - CBL_LOGISTICA_API
        - NIMBUSPOST
        - LOGWIN_LOGISTICS
        - NOWLOG_API
        - DPD_NL
        - GODEPENDABLE
        - ESDEX
        - LOGISYSTEMS_SFTP
        - EXPEDITORS
        - SNTGLOBAL_API
        - SHIPX
        - QINTL_API
        - PACKS
        - POSTNL_INTERNATIONAL
        - AMAZON_EMAIL_PUSH
        - DHL_API
        - SPX
        - AXLEHIRE
        - ICSCOURIER
        - DIALOGO_LOGISTICA
        - SHUNBANG_EXPRESS
        - TCS_API
        - SF_EXPRESS_CN
        - PACKETA
        - SIC_TELIWAY
        - MONDIALRELAY_FR
        - INTIME_FTP
        - JD_EXPRESS
        - FASTBOX
        - PATHEON
        - INDIA_POST
        - TIPSA_REF
        - ECOFREIGHT
        - VOX
        - DIRECTFREIGHT_AU_REF
        - BESTTRANSPORT_SFTP
        - AUSTRALIA_POST_API
        - FRAGILEPAK_SFTP
        - FLIPXP
        - VALUE_WEBHOOK
        - DAESHIN
        - SHERPA
        - MWD_API
        - SMARTKARGO
        - DNJ_EXPRESS
        - GOPEOPLE
        - MYSENDLE_API
        - ARAMEX_API
        - PIDGE
        - THAIPARCELS
        - PANTHER_REFERENCE_API
        - POSTAPLUS
        - BUFFALO
        - U_ENVIOS
        - ELITE_CO
        - ROCHE_INTERNAL_SFTP
        - DBSCHENKER_ICELAND
        - TNT_FR_REFERENCE
        - NEWGISTICSAPI
        - GLOVO
        - GWLOGIS_API
        - SPREETAIL_API
        - MOOVA
        - PLYCONGROUP
        - USPS_WEBHOOK
        - REIMAGINEDELIVERY
        - EDF_FTP
        - DAO365
        - BIOCAIR_FTP
        - RANSA_WEBHOOK
        - SHIPXPRES
        - COURANT_PLUS_API
        - SHIPA
        - HOMELOGISTICS
        - DX
        - POSTE_ITALIANE_PACCOCELERE
        - TOLL_WEBHOOK
        - LCTBR_API
        - DX_FREIGHT
        - DHL_SFTP
        - SHIPROCKET
        - UBER_WEBHOOK
        - STATOVERNIGHT
        - BURD
        - FASTSHIP
        - IBVENTURE_WEBHOOK
        - GATI_KWE_API
        - CRYOPDP_FTP
        - HUBBED
        - TIPSA_API
        - ARASKARGO
        - THIJS_NL
        - ATSHEALTHCARE_REFERENCE
        - 99MINUTOS
        - HELLENIC_POST
        - HSM_GLOBAL
        - MNX
        - NMTRANSFER
        - LOGYSTO
        - INDIA_POST_INT
        - AMAZON_FBA_SWISHIP_IN
        - SRT_TRANSPORT
        - BOMI
        - DELIVERR_SFTP
        - HSDEXPRESS
        - SIMPLETIRE_WEBHOOK
        - HUNTER_EXPRESS_SFTP
        - UPS_API
        - WOOYOUNG_LOGISTICS_SFTP
        - PHSE_API
        - WISH_EMAIL_PUSH
        - NORTHLINE
        - MEDAFRICA
        - DPD_AT_SFTP
        - ANTERAJA
        - DHL_GLOBAL_FORWARDING_API
        - LBCEXPRESS_API
        - SIMSGLOBAL
        - CDLDELIVERS
        - TYP
        - TESTING_COURIER_WEBHOOK
        - PANDAGO_API
        - ROYAL_MAIL_FTP
        - THUNDEREXPRESS
        - SECRETLAB_WEBHOOK
        - SETEL
        - JD_WORLDWIDE
        - DPD_RU_API
        - ARGENTS_WEBHOOK
        - POSTONE
        - TUSKLOGISTICS
        - RHENUS_UK_API
        - TAQBIN_SG_API
        - INNTRALOG_SFTP
        - DAYROSS
        - CORREOSEXPRESS_API
        - INTERNATIONAL_SEUR_API
        - YODEL_API
        - HEROEXPRESS
        - DHL_SUPPLYCHAIN_IN
        - URGENT_CARGUS
        - FRONTDOORCORP
        - JTEXPRESS_PH
        - PARCELSTARS_WEBHOOK
        - DPD_SK_SFTP
        - MOVIANTO
        - OZEPARTS_SHIPPING
        - KARGOMKOLAY
        - TRUNKRS
        - OMNIRPS_WEBHOOK
        - CHILEXPRESS
        - TESTING_COURIER
        - JNE_API
        - BJSHOMEDELIVERY_FTP
        - DEXPRESS_WEBHOOK
        - USPS_API
        - TRANSVIRTUAL
        - SOLISTICA_API
        - CHIENVENTURE_WEBHOOK
        - DPD_UK_SFTP
        - INPOST_UK
        - JAVIT
        - ZTO_DOMESTIC
        - DHL_GT_API
        - CEVA_TRACKING
        - KOMON_EXPRESS
        - EASTWESTCOURIER_FTP
        - DANNIAO
        - SPECTRAN
        - DELIVER_IT
        - RELAISCOLIS
        - GLS_SPAIN_API
        - POSTPLUS
        - AIRTERRA
        - GIO_ECOURIER_API
        - DPD_CH_SFTP
        - FEDEX_API
        - INTERSMARTTRANS
        - HERMES_UK_SFTP
        - EXELOT_FTP
        - DHL_PA_API
        - VIRTRANSPORT_SFTP
        - WORLDNET
        - INSTABOX_WEBHOOK
        - KNG
        - FLASHEXPRESS_WEBHOOK
        - MAGYAR_POSTA_API
        - WESHIP_API
        - OHI_WEBHOOK
        - MUDITA
        - BLUEDART_API
        - T_CAT_API
        - ADS
        - HERMES_IT
        - FITZMARK_API
        - POSTI_API
        - SMSA_EXPRESS_WEBHOOK
        - TAMERGROUP_WEBHOOK
        - LIVRAPIDE
        - NIPPON_EXPRESS
        - BETTERTRUCKS
        - FAN
        - PB_USPSFLATS_FTP
        - PARCELRIGHT
        - ITHINKLOGISTICS
        - KERRY_EXPRESS_TH_WEBHOOK
        - ECOUTIER
        - SHOWL
        - BRT_IT_API
        - RIXONHK_API
        - DBSCHENKER_API
        - ILYANGLOGIS
        - MAIL_BOX_ETC
        - WESHIP
        - DHL_GLOBAL_MAIL_API
        - ACTIVOS24_API
        - ATSHEALTHCARE
        - LUWJISTIK
        - GW_WORLD
        - FAIRSENDEN_API
        - SERVIP_WEBHOOK
        - SWISHIP
        - TANET
        - HOTSIN_CARGO
        - DIREX
        - HUANTONG
        - IMILE_API
        - AUEXPRESS
        - NYTLOGISTICS
        - DSV_REFERENCE
        - NOVOFARMA_WEBHOOK
        - AITWORLDWIDE_SFTP
        - SHOPOLIVE
        - FNF_ZA
        - DHL_ECOMMERCE_GC
        - FETCHR
        - STARLINKS_API
        - YYEXPRESS
        - SERVIENTREGA
        - HANJIN
        - SPANISH_SEUR_FTP
        - DX_B2B_CONNUM
        - HELTHJEM_API
        - INEXPOST
        - A2B_BA
        - RHENUS_GROUP
        - SBERLOGISTICS_RU
        - MALCA_AMIT
        - PPL
        - OSM_WORLDWIDE_SFTP
        - ACILOGISTIX
        - OPTIMACOURIER
        - NOVA_POSHTA_API
        - LOGGI
        - YIFAN
        - MYDYNALOGIC
        - MORNINGLOBAL
        - CONCISE_API
        - FXTRAN
        - DELIVERYOURPARCEL_ZA
        - UPARCEL
        - MOBI_BR
        - LOGINEXT_WEBHOOK
        - EMS
        - SPEEDY
        - ZOOM_RED
        - NAVLUNGO
        - CASTLEPARCELS
        - WEEE
        - PACKALY
        - YUNHUIPOST
        - YOUPARCEL
        - LEMAN
        - MOOVIN
        - URB_IT
        - MULTIENTREGAPANAMA
        - JUSDASR
        - DISCOUNTPOST
        - RHENUS_UK
        - SWISHIP_JP
        - GLS_US
        - SMTL
        - EMEGA
        - EXPRESSONE_SV
        - HEPSIJET
        - WELIVERY
        - BRINGER
        - EASYROUTES
        - MRW
        - RPM
        - DPD_PRT
        - GLS_ROMANIA
        - LMPARCEL
        - GTAGSM
        - DOMINO
        - ESHIPPER
        - TRANSPAK
        - XINDUS
        - AOYUE
        - EASYPARCEL
        - EXPRESSONE
        - SENDEO_KARGO
        - SPEEDAF
        - ETOWER
        - GCX
        - NINJAVAN_VN
        - ALLEGRO
        - JUMPPOINT
        - SHIPGLOBAL_US
        - KINISI
        - OAKH
        - AWEST
        - BARSAN
        - ENERGOLOGISTIC
        - MADROOEX
        - GOBOLT
        - SWISS_UNIVERSAL_EXPRESS
        - IORDIRECT
        - XMSZM
        - GLS_HUN
        - SENDY
        - BRAUNSEXPRESS
        - GRANDSLAMEXPRESS
        - XGS
        - OTSCHILE
        - PACK_UP
        - PARCELSTARS
        - TEAMEXPRESSLLC
        - ASYADEXPRESS
        - TDN
        - EARLYBIRD
        - CACESA
        - PARCELJET
        - MNG_KARGO
        - SUPERPACKLINE
        - SPEEDX
        - VESYL
        - SKYKING
        - DIRMENSAJERIA
        - NETLOGIXGROUP
        - ZYOU
        - JAWAR
        - AGSYSTEMS
        - GPS
        - PTT_KARGO
        - MAERGO
        - ARIHANTCOURIER
        - VTFE
        - YUNANT
        - URBIFY
        - PACK_MAN
        - LIEFERGRUN
        - OBIBOX
        - PAIKEDA
        - SCOTTY
        - INTELCOM_CA
        - SWE
        - ASENDIA
        - DPD_AT
        - RELAY
        - ATA
        - SKYEXPRESS_INTERNATIONAL
        - SURAT_KARGO
        - SGLINK
        - FLEETOPTICSINC
        - SHOPLINE
        - PIGGYSHIP
        - LOGOIX
        - KOLAY_GELSIN
        - ASSOCIATED_COURIERS
        - UPS_CHECKER
        - WINESHIPPING
        - SPEDISCI
        - FOURKITES
        - ETONAS
        - FINMILE
        - UNIUNI
        - RODONAVES
        - INPOST_IT
        - TFORCE_FREIGHT
        - RICHMOM
        - FRANCO
        - ECPARCEL
        - FEDEX_CHINA
        - GOFO_EXPRESS
        - SHIPBOB
        - JERSEYPOST_ATLAS
        - CORETRAILS
        - RHENUS_ITALY
        - JADLOG
        - JITSU
        - YANWEN_EXPRESS
        - DASHLINK
        - SEINO_SUPER_EXPRESS
        - FLOSHIP
        - METROSCG
        - SENDPARCEL
        - P2P
        - CN_EXPRESS
        - CIRROTRACK
        - LAND_LOGISTICS
        - VEHO
        - MEDLINE
        - VDTRACK
        - SINO_SCM
        - 3PE_EXPRESS
        - SWIFTX
        - SFYDEXPRESS
        - TOPTRANS
        - PINAG
        - ONTIME
        - MOBELSERVICES
        - PAACK
        - URVAAM
        - SPX_PH
        - SPX_VN
        - STREAM
        - FIRSTLOGISTICS
        - WMGDELIVERY
        - EMILE
        - BFE_EXPRESS
        - CASTLERS
        - EMIRO
        - AMAZON_ES
        - SKYNETWORLDWIDE_IN
        - GOFOEXPRESS_IT
        - RUNFORINT
        - GOFOEXPRESS_FR
        - EASY_EXPRESS
        - AMAZON_MCF
        - THENILE
        - MGCARGO
        - TOOEXPRESS
        - ESPOIRER
        - MAXOPTRA
        - CHAMPAGNE_LOGISTICS
        - DRAGONSTARCURIER
        - GOFOEXPRESS_NL
        - PERI_LOGISTICS
        - SAMEDAY
        - VERTCHEZVOUS
        - ORLENPACZKA
        - RHENUS_CH
        - BESTFULFILLPACKET
        - PROCARRIER_RETURNS
        - BASIC_SHIPPING
        - PRECISION_DELIVERIES
        - OTHER
      oneOf:
        - type: string
          enum:
            - DPD_RU
          description: <a href="https://www.dpd.ru/">DPD Russia</a>.
        - type: string
          enum:
            - BG_BULGARIAN_POST
          description: <a href="https://www.bgpost.bg/">Bulgarian Posts</a>.
        - type: string
          enum:
            - KR_KOREA_POST
          description: <a href="https://www.koreapost.go.kr">Koreapost
            (www.koreapost.go.kr)</a>.
        - type: string
          enum:
            - ZA_COURIERIT
          description: <a href="https://www.courierit.co.za/">Courier IT</a>.
        - type: string
          enum:
            - FR_EXAPAQ
          description: <a href="https://www.dpd.fr/">DPD France (formerly exapaq)</a>.
        - type: string
          enum:
            - ARE_EMIRATES_POST
          description: <a href="https://www.epg.gov.ae/">Emirates Post</a>.
        - type: string
          enum:
            - GAC
          description: <a href="https://www.gac.com/">GAC</a>.
        - type: string
          enum:
            - GEIS
          description: <a href="https://www.geis-group.cz/en">Geis CZ</a>.
        - type: string
          enum:
            - SF_EX
          description: <a href="https://www.sf-express.com">SF Express</a>.
        - type: string
          enum:
            - PAGO
          description: <a href="http://www.szpago.com/">Pago Logistics</a>.
        - type: string
          enum:
            - MYHERMES
          description: <a href="https://www.myhermes.co.uk/">MyHermes UK</a>.
        - type: string
          enum:
            - DIAMOND_EUROGISTICS
          description: <a href="https://www.diamondeurogistics.co.uk/">Diamond Eurogistics
            Limited</a>.
        - type: string
          enum:
            - CORPORATECOURIERS_WEBHOOK
          description: <a href="https://www.corporatecouriers.net/">Corporate Couriers</a>.
        - type: string
          enum:
            - BOND
          description: <a href="https://www.withbond.com/">Bond courier</a>.
        - type: string
          enum:
            - OMNIPARCEL
          description: <a href="http://track.omniparcel.com/">Omni Parcel</a>.
        - type: string
          enum:
            - SK_POSTA
          description: <a href="https://www.posta.sk/en">Slovenska pošta</a>.
        - type: string
          enum:
            - PUROLATOR
          description: <a href="None">purolator</a>.
        - type: string
          enum:
            - FETCHR_WEBHOOK
          description: <a href="https://fetchr.us/">Mena 360 (Fetchr)</a>.
        - type: string
          enum:
            - THEDELIVERYGROUP
          description: <a href="https://www.thedeliverygroup.co.uk/">TDG – The Delivery
            Group</a>.
        - type: string
          enum:
            - CELLO_SQUARE
          description: <a href="https://www.cello-square.com/">Cello Square</a>.
        - type: string
          enum:
            - TARRIVE
          description: <a href="http://www.tarrive.com/">TONDA GLOBAL</a>.
        - type: string
          enum:
            - COLLIVERY
          description: <a href="https://www.collivery.net">MDS Collivery Pty (Ltd)</a>.
        - type: string
          enum:
            - MAINFREIGHT
          description: <a href="https://www.mainfreight.com">Mainfreight</a>.
        - type: string
          enum:
            - IND_FIRSTFLIGHT
          description: <a href="https://www.firstflight.net/">First Flight Couriers</a>.
        - type: string
          enum:
            - ACSWORLDWIDE
          description: <a href="http://www.acsnets.com/">ACS Worldwide Express</a>.
        - type: string
          enum:
            - AMSTAN
          description: <a href="https://amstan.com/">Amstan Logistics</a>.
        - type: string
          enum:
            - OKAYPARCEL
          description: <a href="http://www.okayparcel.com/">OkayParcel</a>.
        - type: string
          enum:
            - ENVIALIA_REFERENCE
          description: <a href="https://www.envialia.com/envialia-en/">Envialia
            Reference</a>.
        - type: string
          enum:
            - SEUR_ES
          description: <a href="https://www.seur.com/">Seur Spain</a>.
        - type: string
          enum:
            - CONTINENTAL
          description: <a href="https://www.contin-global.com/">Continental</a>.
        - type: string
          enum:
            - FDSEXPRESS
          description: <a href="https://www.fdsexpress.com/">FDSEXPRESS</a>.
        - type: string
          enum:
            - AMAZON_FBA_SWISHIP
          description: <a href="https://swiship.co.uk/">Swiship UK</a>.
        - type: string
          enum:
            - WYNGS
          description: <a href="http://www.wyngs-my.com/">Wyngs</a>.
        - type: string
          enum:
            - DHL_ACTIVE_TRACING
          description: <a
            href="https://activetracing.dhl.com/DatPublic/datSelection.do">DHL
            Active Tracing</a>.
        - type: string
          enum:
            - ZYLLEM
          description: <a href="https://www.zyllem.com/">Zyllem</a>.
        - type: string
          enum:
            - RUSTON
          description: <a href="http://www.ruston.cc">Ruston</a>.
        - type: string
          enum:
            - XPOST
          description: <a href="https://xpost.ph/">Xpost.ph</a>.
        - type: string
          enum:
            - CORREOS_ES
          description: <a href="https://www.correos.es">correos Express
            (www.correos.es)</a>.
        - type: string
          enum:
            - DHL_FR
          description: <a href="https://webtrack.dhlglobalmail.com/">DHL France
            (www.dhl.com)</a>.
        - type: string
          enum:
            - PAN_ASIA
          description: <a href="http://www.panasiachina.com">Pan-Asia International</a>.
        - type: string
          enum:
            - BRT_IT
          description: <a href="https://www.brt.it/">BRT couriers Italy (www.brt.it)</a>.
        - type: string
          enum:
            - SRE_KOREA
          description: <a href="http://www.srekorea.co.kr/">SRE Korea
            (www.srekorea.co.kr)</a>.
        - type: string
          enum:
            - SPEEDEE
          description: <a href="http://speedeedelivery.com/">Spee-Dee Delivery</a>.
        - type: string
          enum:
            - TNT_UK
          description: <a href="https://www.tnt.com/">TNT UK Limited (www.tnt.com)</a>.
        - type: string
          enum:
            - VENIPAK
          description: <a href="https://venipak.lt/">Venipak</a>.
        - type: string
          enum:
            - SHREENANDANCOURIER
          description: <a href="http://shreenandancourier.com/">SHREE NANDAN COURIER</a>.
        - type: string
          enum:
            - CROSHOT
          description: <a href="https://www.croshot.com/">Croshot</a>.
        - type: string
          enum:
            - NIPOST_NG
          description: <a href="http://www.emsng.com/">NIpost (www.nipost.gov.ng)</a>.
        - type: string
          enum:
            - EPST_GLBL
          description: <a href="None">ePost Global</a>.
        - type: string
          enum:
            - NEWGISTICS
          description: <a href="https://www.newgistics.com/">Newgistics</a>.
        - type: string
          enum:
            - POST_SLOVENIA
          description: <a href="https://www.posta.si/zasebno">Post of Slovenia</a>.
        - type: string
          enum:
            - JERSEY_POST
          description: <a href="https://www.jerseypost.com/">Jersey Post</a>.
        - type: string
          enum:
            - BOMBINOEXP
          description: <a href="https://www.bombinoexp.com/">Bombino Express Pvt</a>.
        - type: string
          enum:
            - WMG
          description: <a href="http://www.wmgdelivery.com/">WMG Delivery</a>.
        - type: string
          enum:
            - XQ_EXPRESS
          description: <a href="http://www.xqkjwl.com/">XQ Express</a>.
        - type: string
          enum:
            - FURDECO
          description: <a href="https://furdeco.co.uk/">Furdeco</a>.
        - type: string
          enum:
            - LHT_EXPRESS
          description: <a href="http://www.lht-express.com/">LHT Express</a>.
        - type: string
          enum:
            - SOUTH_AFRICAN_POST_OFFICE
          description: <a href="https://www.postoffice.co.za/">South African Post
            Office</a>.
        - type: string
          enum:
            - SPOTON
          description: <a href="https://www.spoton.co.in/">SPOTON Logistics Pvt Ltd</a>.
        - type: string
          enum:
            - DIMERCO
          description: <a href="http://www.dimerco.com/">Dimerco Express Group</a>.
        - type: string
          enum:
            - CYPRUS_POST_CYP
          description: <a href="https://www.cypruspost.post/">cyprus post</a>.
        - type: string
          enum:
            - ABCUSTOM
          description: <a href="https://www.abcustom.es/portal/en/home">AB Custom Group</a>.
        - type: string
          enum:
            - IND_DELIVREE
          description: <a href="https://delivere.com.au/">deliverE</a>.
        - type: string
          enum:
            - CN_BESTEXPRESS
          description: <a href="https://www.800bestex.com/">Best Express</a>.
        - type: string
          enum:
            - DX_SFTP
          description: <a href="https://www.thedx.co.uk">DX (SFTP)</a>.
        - type: string
          enum:
            - PICKUPP_MYS
          description: <a href="https://my.pickupp.io/">PICK UPP</a>.
        - type: string
          enum:
            - FMX
          description: <a href="http://www.freightmark.com.my/fmx/">FMX</a>.
        - type: string
          enum:
            - HELLMANN
          description: <a href="https://www.hellmann.net/">Hellmann Worldwide Logistics</a>.
        - type: string
          enum:
            - SHIP_IT_ASIA
          description: <a href="https://viewider.com/labs/shipment/track">Ship It Asia</a>.
        - type: string
          enum:
            - KERRY_ECOMMERCE
          description: <a href="https://kerry-ecommerce.com/">Kerry eCommerce</a>.
        - type: string
          enum:
            - FRETERAPIDO
          description: <a href="https://freterapido.com">Frete Rapido</a>.
        - type: string
          enum:
            - PITNEY_BOWES
          description: <a href="https://www.pitneybowes.com">Pitney Bowes</a>.
        - type: string
          enum:
            - XPRESSEN_DK
          description: <a href="http://www.xpressen.dk/">Xpressen courier</a>.
        - type: string
          enum:
            - SEUR_SP_API
          description: <a href="https://www.seur.com/en/">Spanish Seur API</a>.
        - type: string
          enum:
            - DELIVERYONTIME
          description: <a href="http://www.bizlog.in">DELIVERYONTIME LOGISTICS PVT LTD</a>.
        - type: string
          enum:
            - JINSUNG
          description: <a href="http://jinsung-trading.com">JINSUNG TRADING</a>.
        - type: string
          enum:
            - TRANS_KARGO
          description: <a href="https://www.tkicargo.com/">Trans Kargo Internasional</a>.
        - type: string
          enum:
            - SWISHIP_DE
          description: <a href="https://www.swiship.de/">Swiship DE</a>.
        - type: string
          enum:
            - IVOY_WEBHOOK
          description: <a href="https://ivoy.mx/">Ivoy courier</a>.
        - type: string
          enum:
            - AIRMEE_WEBHOOK
          description: <a href="https://www.airmee.com/">Airmee couriers</a>.
        - type: string
          enum:
            - DHL_BENELUX
          description: <a href="http://www.dhl.nl/">dhl benelux</a>.
        - type: string
          enum:
            - FIRSTMILE
          description: <a href="firstmile.com">FirstMile</a>.
        - type: string
          enum:
            - FASTWAY_IR
          description: <a href="http://www.fastway.ie/">Fastway Ireland</a>.
        - type: string
          enum:
            - HH_EXP
          description: <a href="https://www.hh-exp.com/">Hua Han Logistics</a>.
        - type: string
          enum:
            - MYS_MYPOST_ONLINE
          description: <a href="http://qsm.mypostonline.com.cn/index.php">Mypostonline</a>.
        - type: string
          enum:
            - TNT_NL
          description: <a href="http://www.tnt.com/">THT Netherland</a>.
        - type: string
          enum:
            - TIPSA
          description: <a href="https://www.tip-sa.com/">TIPSA courier</a>.
        - type: string
          enum:
            - TAQBIN_MY
          description: <a href="http://my.ta-q-bin.com/">TAQBIN Malaysia</a>.
        - type: string
          enum:
            - KGMHUB
          description: <a href="https://www.kgmhub.com/">KGM Hub</a>.
        - type: string
          enum:
            - INTEXPRESS
          description: <a href="https://www.internetexpress.co.za">Internet Express</a>.
        - type: string
          enum:
            - OVERSE_EXP
          description: <a href="https://overseas.hr/">Overseas Express</a>.
        - type: string
          enum:
            - ONECLICK
          description: <a href="http://www.1click2deliver.com/">One click delivery
            services</a>.
        - type: string
          enum:
            - ROADRUNNER_FREIGHT
          description: <a href="https://freight.rrts.com/Pages/Home.aspx">Roadbull
            Logistics</a>.
        - type: string
          enum:
            - GLS_CROTIA
          description: <a href="https://gls-group.eu/HR/hr/">GLS Croatia</a>.
        - type: string
          enum:
            - MRW_FTP
          description: <a href="https://www.mrw.es/">MRW courier</a>.
        - type: string
          enum:
            - BLUEX
          description: Blue Express.
        - type: string
          enum:
            - DYLT
          description: <a href="http://www.dylt.com/">Daylight Transport</a>.
        - type: string
          enum:
            - DPD_IR
          description: <a href="https://www.dpd.ie/">DPD Ireland</a>.
        - type: string
          enum:
            - SIN_GLBL
          description: <a href="https://singlobal-express.com/">Sin Global Express</a>.
        - type: string
          enum:
            - TUFFNELLS_REFERENCE
          description: <a href="https://www.tuffnells.co.uk/">Tuffnells Parcels Express-
            Reference</a>.
        - type: string
          enum:
            - CJPACKET
          description: <a href="https://cjpacket.com/">CJ Packet</a>.
        - type: string
          enum:
            - MILKMAN
          description: <a href="https://milkman.it/#/en/home">Milkman courier</a>.
        - type: string
          enum:
            - ASIGNA
          description: <a href="http://www.logisticacanaria.es/">ASIGNA courier</a>.
        - type: string
          enum:
            - ONEWORLDEXPRESS
          description: <a href="https://www.oneworldexpress.com">One World Express</a>.
        - type: string
          enum:
            - ROYAL_MAIL
          description: <a href="https://royalshipments.com">RoyalShipments</a>.
        - type: string
          enum:
            - VIA_EXPRESS
          description: <a href="https://www.viaxpress.es">Viaxpress</a>.
        - type: string
          enum:
            - TIGFREIGHT
          description: <a href="https://www.tigfreight.com/">TIG Freight</a>.
        - type: string
          enum:
            - ZTO_EXPRESS
          description: <a href="https://www.zto.com/">ZTO Express</a>.
        - type: string
          enum:
            - TWO_GO
          description: <a href="https://track.2go.com.ph/">2GO Courier</a>.
        - type: string
          enum:
            - IML
          description: <a href="https://iml.ru/">IML courier</a>.
        - type: string
          enum:
            - INTEL_VALLEY
          description: <a href="http://www.qhzhigu.com">Intel-Valley Supply chain
            (ShenZhen) Co. Ltd</a>.
        - type: string
          enum:
            - EFS
          description: <a href="http://efs.asia/script/users/main.php">EFS (E-commerce
            Fulfillment Service)</a>.
        - type: string
          enum:
            - UK_UK_MAIL
          description: <a href="https://www.ukmail.com">UK mail (ukmail.com)</a>.
        - type: string
          enum:
            - RAM
          description: <a href="https://www.ram.co.za/">RAM courier</a>.
        - type: string
          enum:
            - ALLIEDEXPRESS
          description: <a href="https://www.alliedexpress.com.au/">Allied Express</a>.
        - type: string
          enum:
            - APC_OVERNIGHT
          description: <a href="https://www.apc-overnight.com/">APC overnight
            (apc-overnight.com)</a>.
        - type: string
          enum:
            - SHIPPIT
          description: <a href="https://www.shippit.com/">Shippit</a>.
        - type: string
          enum:
            - TFM
          description: <a href="https://tfmxpress.com.au/">TFM Xpress</a>.
        - type: string
          enum:
            - M_XPRESS
          description: <a href="https://www.mxpress2u.com">M Xpress Sdn Bhd</a>.
        - type: string
          enum:
            - HDB_BOX
          description: <a href="www.haidaibao.com">Haidaibao (BOX)</a>.
        - type: string
          enum:
            - CLEVY_LINKS
          description: <a href="https://clevylinks.com/">Clevy Links</a>.
        - type: string
          enum:
            - IBEONE
          description: <a href="https://ibeone.com/">Beone Logistics</a>.
        - type: string
          enum:
            - FIEGE_NL
          description: <a href="https://websped-netherlands.fiege.com/">Fiege
            Netherlands</a>.
        - type: string
          enum:
            - KWE_GLOBAL
          description: <a href="https://www.kwe.com">KWE Global</a>.
        - type: string
          enum:
            - CTC_EXPRESS
          description: <a href="www.ctc-express.com.tw">CTC Express</a>.
        - type: string
          enum:
            - AMAZON
          description: <a href="https://ship.amazon.co.uk/requestinfo">Amazon Shipping</a>.
        - type: string
          enum:
            - MORE_LINK
          description: <a href="https://client.morelink56.com/">Morelink</a>.
        - type: string
          enum:
            - JX
          description: <a href="www.j-express.id">JX courier</a>.
        - type: string
          enum:
            - EASY_MAIL
          description: <a href="https://easy-mail.gr/">Easy Mail</a>.
        - type: string
          enum:
            - ADUIEPYLE
          description: <a href="https://www.aduiepyle.com/">A Duie Pyle</a>.
        - type: string
          enum:
            - GB_PANTHER
          description: <a href="http://www.pantherpremium.com/Tracking.aspx">Panther</a>.
        - type: string
          enum:
            - EXPRESSSALE
          description: <a href="https://www.expressale.eu/">Expresssale</a>.
        - type: string
          enum:
            - SG_DETRACK
          description: <a href="http://www.detrack.com/">Detrack</a>.
        - type: string
          enum:
            - TRUNKRS_WEBHOOK
          description: <a href="https://www.trunkrs.nl/">Trunkrs courier</a>.
        - type: string
          enum:
            - MATDESPATCH
          description: <a href="https://www.matdespatch.com/">Matdespatch</a>.
        - type: string
          enum:
            - DICOM
          description: <a href="http://www.dicom.com/">GLS Logistic Systems Canada
            Ltd./Dicom</a>.
        - type: string
          enum:
            - MBW
          description: <a href="www.mbwcourier.ca">MBW Courier Inc.</a>.
        - type: string
          enum:
            - KHM_CAMBODIA_POST
          description: <a href="http://www.ems.com.kh/">Cambodia Post</a>.
        - type: string
          enum:
            - SINOTRANS
          description: <a href="http://www.sinotrans.com/">Sinotrans</a>.
        - type: string
          enum:
            - BRT_IT_PARCELID
          description: <a href="https://www.brt.it/">BRT Bartolini(Parcel ID)</a>.
        - type: string
          enum:
            - DHL_SUPPLY_CHAIN
          description: <a href="https://mysctrackandtrace.dhl.com/">DHL Supply Chain
            APAC</a>.
        - type: string
          enum:
            - DHL_PL
          description: <a href="http://www.dhl.com.pl/">DHL Poland</a>.
        - type: string
          enum:
            - TOPYOU
          description: <a href="https://szty56.com/">TopYou</a>.
        - type: string
          enum:
            - PALEXPRESS
          description: <a href="https://www.pacificair.hk/">PAL Express Limited</a>.
        - type: string
          enum:
            - DHL_SG
          description: <a href="https://mydhl.express.dhl">dhl Singapore</a>.
        - type: string
          enum:
            - CN_WEDO
          description: <a href="http://www.wedoexpress.com/">WeDo Logistics</a>.
        - type: string
          enum:
            - FULFILLME
          description: <a href="https://fulfillmen.com/">Fulfillme</a>.
        - type: string
          enum:
            - DPD_DELISTRACK
          description: <a href="https://www.dpd.com/">DPD delistrack</a>.
        - type: string
          enum:
            - UPS_REFERENCE
          description: <a href="https://www.ups.com">UPS Reference</a>.
        - type: string
          enum:
            - CARIBOU
          description: <a href="https://wearecaribou.com/">Caribou</a>.
        - type: string
          enum:
            - LOCUS_WEBHOOK
          description: <a href="https://www.locus.sh/">Locus courier</a>.
        - type: string
          enum:
            - DSV
          description: <a href="http://www.dsv.com/">DSV courier</a>.
        - type: string
          enum:
            - P2P_TRC
          description: <a href="https://www.trackmytrakpak.com/">P2P TrakPak</a>.
        - type: string
          enum:
            - DIRECTPARCELS
          description: <a href="https://directparcels.co.uk/">Direct Parcels</a>.
        - type: string
          enum:
            - NOVA_POSHTA_INT
          description: <a href="https://novaposhta.ua/">Nova Poshta (International)</a>.
        - type: string
          enum:
            - FEDEX_POLAND
          description: <a href="https://www.fedex.com/pl/">FedEx® Poland Domestic</a>.
        - type: string
          enum:
            - CN_JCEX
          description: <a href="https://www.jcex.com">JCEX courier</a>.
        - type: string
          enum:
            - FAR_INTERNATIONAL
          description: <a href="http://www.far-group.com/index.aspx">FAR international</a>.
        - type: string
          enum:
            - IDEXPRESS
          description: <a href="http://www.idexpress.com.cn/">IDEX courier</a>.
        - type: string
          enum:
            - GANGBAO
          description: <a href="http://gangbao.impotax.cn">GANGBAO Supplychain</a>.
        - type: string
          enum:
            - NEWAY
          description: <a href="https://www.newaytransport.com/">Neway Transport</a>.
        - type: string
          enum:
            - POSTNL_INT_3_S
          description: <a href="http://www.postnl.nl/voorthuis/">PostNL International</a>.
        - type: string
          enum:
            - RPX_ID
          description: <a href="http://www.rpxholding.com/">RPX Indonesia</a>.
        - type: string
          enum:
            - DESIGNERTRANSPORT_WEBHOOK
          description: <a href="https://designertransport.com.au/">Designer Transport</a>.
        - type: string
          enum:
            - GLS_SLOVEN
          description: <a href="https://gls-group.eu/SI/en/home">GLS Slovenia</a>.
        - type: string
          enum:
            - PARCELLED_IN
          description: <a href="http://parcelled.in/">Parcelled.in</a>.
        - type: string
          enum:
            - GSI_EXPRESS
          description: <a href="https://gsiexpress.com">GSI EXPRESS</a>.
        - type: string
          enum:
            - CON_WAY
          description: <a href="https://www.con-way.com">Con-way Freight</a>.
        - type: string
          enum:
            - BROUWER_TRANSPORT
          description: <a href="https://brouwerlogistics.com/">Brouwer Transport en
            Logistiek</a>.
        - type: string
          enum:
            - CPEX
          description: <a href="http://www.cpex.ltd">Captain Express International</a>.
        - type: string
          enum:
            - ISRAEL_POST
          description: <a href="https://www.israelpost.co.il">Israel Post</a>.
        - type: string
          enum:
            - DTDC_IN
          description: <a href="https://dtdc.in/">DTDC India</a>.
        - type: string
          enum:
            - PTT_POST
          description: <a href="https://www.ptt.gov.tr/">PTT Post</a>.
        - type: string
          enum:
            - XDE_WEBHOOK
          description: <a href="https://www.xde.com.ph">Ximex Delivery Express</a>.
        - type: string
          enum:
            - TOLOS
          description: <a href="http://www.tolos.asia/">Tolos courier</a>.
        - type: string
          enum:
            - GIAO_HANG
          description: <a href="http://giaohangnhanh.vn/">Giao hàng nhanh</a>.
        - type: string
          enum:
            - GEODIS_ESPACE
          description: <a href="https://www.geodis.com/">Geodis E-space</a>.
        - type: string
          enum:
            - MAGYAR_HU
          description: <a href="https://www.posta.hu">Magyar Post</a>.
        - type: string
          enum:
            - DOORDASH_WEBHOOK
          description: <a href="https://www.doordash.com/">DoorDash</a>.
        - type: string
          enum:
            - TIKI_ID
          description: <a href="https://tiki.id/">Tiki shipment</a>.
        - type: string
          enum:
            - CJ_HK_INTERNATIONAL
          description: <a href="https://www.cjlogistics.com/en/main">CJ Logistics
            International(Hong Kong)</a>.
        - type: string
          enum:
            - STAR_TRACK_EXPRESS
          description: <a href="http://www.star-track.com.au/">Star Track Express</a>.
        - type: string
          enum:
            - HELTHJEM
          description: <a href="https://helthjem.no">Helthjem</a>.
        - type: string
          enum:
            - SFB2C
          description: <a href="https://www.sf-international.com/">SF International</a>.
        - type: string
          enum:
            - FREIGHTQUOTE
          description: <a href="https://www.freightquote.com/">Freightquote by C.H.
            Robinson</a>.
        - type: string
          enum:
            - LANDMARK_GLOBAL_REFERENCE
          description: <a href="https://landmarkglobal.com">Landmark Global Reference</a>.
        - type: string
          enum:
            - PARCEL2GO
          description: <a href="https://www.parcel2go.com">Parcel2Go</a>.
        - type: string
          enum:
            - DELNEXT
          description: <a href="https://www.delnext.com/EN/">Delnext</a>.
        - type: string
          enum:
            - RCL
          description: <a href="https://www.rcl.co.id">Red Carpet Logistics</a>.
        - type: string
          enum:
            - CGS_EXPRESS
          description: <a href="http://cgs-express.com/">CGS Express</a>.
        - type: string
          enum:
            - HK_POST
          description: <a href="https://www.hongkongpost.hk/en/home/index.html">Hongkong
            Post (www.hongkongpost.hk)</a>.
        - type: string
          enum:
            - SAP_EXPRESS
          description: <a href="www.sap-express.id">SAP EXPRESS</a>.
        - type: string
          enum:
            - PARCELPOST_SG
          description: <a href="https://www.parcelpost.com.sg/">Parcel Post Singapore</a>.
        - type: string
          enum:
            - HERMES
          description: <a href="https://www.hermesworld.com/en/">HermesWorld UK</a>.
        - type: string
          enum:
            - IND_SAFEEXPRESS
          description: <a href="http://www.safexpress.com/">Safexpress</a>.
        - type: string
          enum:
            - TOPHATTEREXPRESS
          description: <a href="https://www.tophatterexpress.com/">Tophatter Express</a>.
        - type: string
          enum:
            - MGLOBAL
          description: <a href="http://www.mglobalgroup.co.id/">PT MGLOBAL LOGISTICS
            INDONESIA</a>.
        - type: string
          enum:
            - AVERITT
          description: <a href="https://www.averittexpress.com/">Averitt Express</a>.
        - type: string
          enum:
            - LEADER
          description: <a href="http://www.leader609.com/">leader</a>.
        - type: string
          enum:
            - _2EBOX
          description: <a href="https://2eboxcasilla.com/">2ebox courier</a>.
        - type: string
          enum:
            - SG_SPEEDPOST
          description: <a href="https://www.speedpost.com.sg/">Singapore Speedpost</a>.
        - type: string
          enum:
            - DBSCHENKER_SE
          description: <a href="https://www.dbschenker.com/">DB Schenker
            (www.dbschenker.com)</a>.
        - type: string
          enum:
            - ISR_POST_DOMESTIC
          description: <a href="https://www.israelpost.co.il/">Israel Post Domestic</a>.
        - type: string
          enum:
            - BESTWAYPARCEL
          description: <a href="http://bestwayparcel.com/">Best Way Parcel</a>.
        - type: string
          enum:
            - ASENDIA_DE
          description: <a href="None">asendia_de</a>.
        - type: string
          enum:
            - NIGHTLINE_UK
          description: <a href="None">nightline_uk</a>.
        - type: string
          enum:
            - TAQBIN_SG
          description: <a href="None">taqbin_sg</a>.
        - type: string
          enum:
            - TCK_EXPRESS
          description: <a href="https://www.tckexpress.com/">TCK Express</a>.
        - type: string
          enum:
            - ENDEAVOUR_DELIVERY
          description: <a href="https://endeavourdelivery.com.au/">Endeavour Delivery</a>.
        - type: string
          enum:
            - NANJINGWOYUAN
          description: Nanjing Woyuan.
        - type: string
          enum:
            - HEPPNER_FR
          description: <a href="https://www.heppner.fr/">Heppner France</a>.
        - type: string
          enum:
            - EMPS_CN
          description: <a href="http://www.empsexpress.com/">EMPS Express</a>.
        - type: string
          enum:
            - FONSEN
          description: <a href="https://portal.fonsenlogistics.com/">Fonsen Logistics</a>.
        - type: string
          enum:
            - PICKRR
          description: <a href="https://www.pickrr.com/">Pickrr</a>.
        - type: string
          enum:
            - APC_OVERNIGHT_CONNUM
          description: <a href="https://apc-overnight.com/">APC Overnight Consignment</a>.
        - type: string
          enum:
            - STAR_TRACK_NEXT_FLIGHT
          description: <a href="https://www.startrackcourier.com.au">Star Track Next
            Flight</a>.
        - type: string
          enum:
            - DAJIN
          description: <a href="http://www.aqrum.com/">Shanghai Aqrum Chemical Logistics
            Co.Ltd</a>.
        - type: string
          enum:
            - UPS_FREIGHT
          description: <a href="https://ltl.upsfreight.com/">UPS Freight</a>.
        - type: string
          enum:
            - POSTA_PLUS
          description: <a href="https://www.postaplus.com">Posta Plus</a>.
        - type: string
          enum:
            - CEVA
          description: <a href="https://www.cevalogistics.com/">CEVA LOGISTICS</a>.
        - type: string
          enum:
            - ANSERX
          description: <a href="http://www.anserx.com/">ANSERX courier</a>.
        - type: string
          enum:
            - JS_EXPRESS
          description: <a href="http://www.js-exp.com/">JS EXPRESS</a>.
        - type: string
          enum:
            - PADTF
          description: <a href="https://www.padtf.com/">padtf.com</a>.
        - type: string
          enum:
            - UPS_MAIL_INNOVATIONS
          description: <a href="https://www.upsmailinnovations.com/">UPS Mail
            Innovations</a>.
        - type: string
          enum:
            - SYPOST
          description: <a href="https://sypost.com/">Sunyou Post</a>.
        - type: string
          enum:
            - AMAZON_SHIP_MCF
          description: <a href="https://www.amazon.com/">Amazon Shipping + Amazon MCF</a>.
        - type: string
          enum:
            - YUSEN
          description: <a href="https://www.yusen-logistics.com/en/">Yusen Logistics</a>.
        - type: string
          enum:
            - BRING
          description: <a href="https://www.bring.com/">Bring</a>.
        - type: string
          enum:
            - SDA_IT
          description: <a href="https://www.sda.it/">SDA Italy</a>.
        - type: string
          enum:
            - GBA
          description: <a href="https://www.gbaservices.com/">GBA Services Ltd</a>.
        - type: string
          enum:
            - NEWEGGEXPRESS
          description: <a href="https://www.neweggexpress.com/">Newegg Express</a>.
        - type: string
          enum:
            - SPEEDCOURIERS_GR
          description: <a href="https://speedcouriers.gr/">Speed Couriers</a>.
        - type: string
          enum:
            - FORRUN
          description: <a href="https://forrun.co/">forrun Pvt Ltd (Arpatech Venture)</a>.
        - type: string
          enum:
            - PICKUP
          description: <a href="https://www.hkpickup.com">Pickupp</a>.
        - type: string
          enum:
            - ECMS
          description: <a href="https://www.ecmsglobal.com">ECMS International Logistics
            Co.</a>.
        - type: string
          enum:
            - INTELIPOST
          description: <a href="www.intelipost.com.br">Intelipost (TMS for LATAM)</a>.
        - type: string
          enum:
            - FLASHEXPRESS
          description: <a href="https://www.flashexpress.co.th/">Flash Express</a>.
        - type: string
          enum:
            - CN_STO
          description: <a href="https://www.sto.cn/">STO Express</a>.
        - type: string
          enum:
            - SEKO_SFTP
          description: <a href="https://www.sekologistics.com">SEKO Worldwide</a>.
        - type: string
          enum:
            - HOME_DELIVERY_SOLUTIONS
          description: <a href="https://www.homedeliverysolutions.co.uk/">Home Delivery
            Solutions Ltd</a>.
        - type: string
          enum:
            - DPD_HGRY
          description: <a href="https://www.dpd.com/hu/hu/">DPD Hungary</a>.
        - type: string
          enum:
            - KERRYTTC_VN
          description: <a href="https://www.kerryexpress.com.vn/">Kerry Express (Vietnam)
            Co Ltd</a>.
        - type: string
          enum:
            - JOYING_BOX
          description: <a href="https://www.joyingbox.com/index.html">Joying Box</a>.
        - type: string
          enum:
            - TOTAL_EXPRESS
          description: <a href="https://www.totalexpress.com.br/">Total Express</a>.
        - type: string
          enum:
            - ZJS_EXPRESS
          description: <a href="http://www.zjs.com.cn/">ZJS International</a>.
        - type: string
          enum:
            - STARKEN
          description: <a href="https://www.starken.cl/">STARKEN couriers</a>.
        - type: string
          enum:
            - DEMANDSHIP
          description: <a href="http://www.demandship.com/">DemandShip</a>.
        - type: string
          enum:
            - CN_DPEX
          description: <a href="https://www.dpex.com">DPEX</a>.
        - type: string
          enum:
            - AUPOST_CN
          description: <a href="https://www.aupost.org/">AuPost China</a>.
        - type: string
          enum:
            - LOGISTERS
          description: <a href="http://www.logisters.com/">Logisters</a>.
        - type: string
          enum:
            - GOGLOBALPOST
          description: <a href="https://www.goglobalpost.com/">Global Post</a>.
        - type: string
          enum:
            - GLS_CZ
          description: <a href="https://gls-group.eu/CZ/en/home">GLS Czech Republic</a>.
        - type: string
          enum:
            - PAACK_WEBHOOK
          description: <a href="https://paack.co/">Paack courier</a>.
        - type: string
          enum:
            - GRAB_WEBHOOK
          description: <a href="https://www.grab.com/sg/">Grab courier</a>.
        - type: string
          enum:
            - PARCELPOINT
          description: <a href="https://parcelpoint.com.au">Parcelpoint</a>.
        - type: string
          enum:
            - ICUMULUS
          description: <a href="https://www.icumulus.com/">iCumulus</a>.
        - type: string
          enum:
            - DAIGLOBALTRACK
          description: <a href="https://www.daipost.com/">DAI Post</a>.
        - type: string
          enum:
            - GLOBAL_IPARCEL
          description: <a href="https://www.i-parcel.com/">i-parcel</a>.
        - type: string
          enum:
            - YURTICI_KARGO
          description: <a href="https://www.yurticikargo.com/">Yurtici Kargo</a>.
        - type: string
          enum:
            - CN_PAYPAL_PACKAGE
          description: <a href="http://www.ppbyb.com/">PayPal Package</a>.
        - type: string
          enum:
            - PARCEL_2_POST
          description: <a href="http://parceltopost.com/">Parcel To Post</a>.
        - type: string
          enum:
            - GLS_IT
          description: <a href="https://gls-group.com/IT/it/home">GLS Italy</a>.
        - type: string
          enum:
            - PIL_LOGISTICS
          description: <a href="https://www.pillogistics.com/">PIL Logistics (China)
            Co.</a>.
        - type: string
          enum:
            - HEPPNER
          description: <a href="https://www.heppner.de/">Heppner Internationale Spedition
            GmbH & Co.</a>.
        - type: string
          enum:
            - GENERAL_OVERNIGHT
          description: <a href="https://www.general-overnight.com/">Go!Express and
            logistics</a>.
        - type: string
          enum:
            - HAPPY2POINT
          description: <a href="None">Happy 2ThePoint</a>.
        - type: string
          enum:
            - CHITCHATS
          description: <a href="https://chitchats.com">Chit Chats</a>.
        - type: string
          enum:
            - SMOOTH
          description: <a href="https://www.smoothparcel.com">Smooth Couriers</a>.
        - type: string
          enum:
            - CLE_LOGISTICS
          description: <a href="http://www.clels.com">CL E-Logistics Solutions Limited</a>.
        - type: string
          enum:
            - FIEGE
          description: <a href="https://www.fiege.com/">Fiege Logistics</a>.
        - type: string
          enum:
            - MX_CARGO
          description: <a href="http://www.mx-56.com/en/">M&X cargo</a>.
        - type: string
          enum:
            - ZIINGFINALMILE
          description: <a href="https://www.ziingfinalmile.ca/">Ziing Final Mile Inc</a>.
        - type: string
          enum:
            - DAYTON_FREIGHT
          description: <a href="https://www.daytonfreight.com/">Dayton Freight</a>.
        - type: string
          enum:
            - TCS
          description: <a href="https://www.tcsexpress.com/">TCS courier</a>.
        - type: string
          enum:
            - AEX
          description: <a href="https://www.aex.com.py/web/">AEX Group</a>.
        - type: string
          enum:
            - HERMES_DE
          description: <a
            href="https://www.myhermes.de/wps/portal/paket/Home/privatkunden/home">Hermes
            Germany</a>.
        - type: string
          enum:
            - ROUTIFIC_WEBHOOK
          description: <a href="https://routific.com/">Routific</a>.
        - type: string
          enum:
            - GLOBAVEND
          description: <a href="https://www.globavend.com/">Globavend</a>.
        - type: string
          enum:
            - CJ_LOGISTICS
          description: <a href="https://www.cjlogistics.com/en/network/en-sg">CJ Logistics
            International</a>.
        - type: string
          enum:
            - PALLET_NETWORK
          description: <a href="https://www.thepalletnetworkltd.co.uk/">The Pallet
            Network</a>.
        - type: string
          enum:
            - RAF_PH
          description: <a href="https://www.raf.ph/">RAF Philippines</a>.
        - type: string
          enum:
            - UK_XDP
          description: <a href="https://www.xdp.co.uk/">XDP Express</a>.
        - type: string
          enum:
            - PAPER_EXPRESS
          description: <a href="https://www.paper-express.nl/">Paper Express</a>.
        - type: string
          enum:
            - LA_POSTE_SUIVI
          description: <a href="http://www.csuivi.courrier.laposte.fr">La Poste</a>.
        - type: string
          enum:
            - PAQUETEXPRESS
          description: <a href="https://www.paquetexpress.com.mx/">Paquetexpress</a>.
        - type: string
          enum:
            - LIEFERY
          description: <a href="https://www.liefery.com">liefery</a>.
        - type: string
          enum:
            - STRECK_TRANSPORT
          description: <a href="https://www.streck-transport.com/en/home-en">Streck
            Transport</a>.
        - type: string
          enum:
            - PONY_EXPRESS
          description: <a
            href="https://www.ponyexpress.ru/en/support/online-services/track/">Pony
            express</a>.
        - type: string
          enum:
            - ALWAYS_EXPRESS
          description: <a href="https://www.always-express.com">Always Express</a>.
        - type: string
          enum:
            - GBS_BROKER
          description: <a href="https://gbs-broker.ru/">GBS-Broker</a>.
        - type: string
          enum:
            - CITYLINK_MY
          description: <a href="https://www.citylinkexpress.com/">City-Link Express</a>.
        - type: string
          enum:
            - ALLJOY
          description: <a href="http://www.alljoylogistics.com/">ALLJOY SUPPLY CHAIN</a>.
        - type: string
          enum:
            - YODEL
          description: <a href="None">yodel</a>.
        - type: string
          enum:
            - YODEL_DIR
          description: <a href="https://www.yodeldirect.co.uk/">Yodel Direct</a>.
        - type: string
          enum:
            - STONE3PL
          description: <a href="https://www.stone3pl.com/">STONE3PL</a>.
        - type: string
          enum:
            - PARCELPAL_WEBHOOK
          description: <a href="https://www.parcelpal.com/">ParcelPal</a>.
        - type: string
          enum:
            - DHL_ECOMERCE_ASA
          description: <a
            href="https://www.logistics.dhl/global-en/home/our-divisions/ecommerce.html">DHL
            eCommerce Asia (API)</a>.
        - type: string
          enum:
            - SIMPLYPOST
          description: <a href="https://www.jtexpress.sg/">J&T Express Singapore</a>.
        - type: string
          enum:
            - KY_EXPRESS
          description: <a href="https://www.ky-express.com/">Kua Yue Express</a>.
        - type: string
          enum:
            - SHENZHEN
          description: <a href="http://www.ydex.cn/">shenzhen 1st International
            Logistics(Group)Co</a>.
        - type: string
          enum:
            - US_LASERSHIP
          description: <a href="https://www.lasership.com/">LaserShip</a>.
        - type: string
          enum:
            - UC_EXPRE
          description: <a href="https://www.uce.cn/">ucexpress</a>.
        - type: string
          enum:
            - DIDADI
          description: <a href="https://mydidadi.com/">DIDADI Logistics tech</a>.
        - type: string
          enum:
            - CJ_KR
          description: <a href="https://www.cjlogistics.com/en/network/th-th">CJ Korea
            Express</a>.
        - type: string
          enum:
            - DBSCHENKER_B2B
          description: <a
            href="https://www.schenker.nu/online_network/prod/WebCos_001/TrackingB2B_C1">DB
            Schenker B2B</a>.
        - type: string
          enum:
            - MXE
          description: <a href="http://www.mxe56.com">MXE Express</a>.
        - type: string
          enum:
            - CAE_DELIVERS
          description: <a href="https://caedelivers.com">CAE Delivers</a>.
        - type: string
          enum:
            - PFCEXPRESS
          description: <a href="http://www.pfcexpress.com/">PFC Express</a>.
        - type: string
          enum:
            - WHISTL
          description: <a href="https://www.whistl.co.uk/">Whistl</a>.
        - type: string
          enum:
            - WEPOST
          description: <a href="https://www.wepost.com.my/">WePost Sdn Bhd</a>.
        - type: string
          enum:
            - DHL_PARCEL_ES
          description: <a href="https://www.dhlparcel.es/en/private-customers.html">DHL
            parcel Spain(www.dhl.com)</a>.
        - type: string
          enum:
            - DDEXPRESS
          description: <a href="https://dd.express/">DD Express Courier</a>.
        - type: string
          enum:
            - ARAMEX_AU
          description: <a href="https://www.aramex.com.au/">Aramex Australia (formerly
            Fastway AU)</a>.
        - type: string
          enum:
            - BNEED
          description: <a href="http://www.bneed.pt/">Bneed courier</a>.
        - type: string
          enum:
            - HK_TGX
          description: <a href="https://hk.kerryexpress.com/home">Kerry Express Hong
            Kong</a>.
        - type: string
          enum:
            - LATVIJAS_PASTS
          description: <a href="https://www.pasts.lv/">Latvijas Pasts</a>.
        - type: string
          enum:
            - VIAEUROPE
          description: <a href="https://www.viaeurope.com/">ViaEurope</a>.
        - type: string
          enum:
            - CORREO_UY
          description: <a href="https://www.correo.com.uy/home">Correo Uruguayo</a>.
        - type: string
          enum:
            - CHRONOPOST_FR
          description: <a href="https://www.chronopost.fr/">Chronopost france
            (www.chronopost.fr)</a>.
        - type: string
          enum:
            - J_NET
          description: <a href="https://www.j-net.cn/cms">J-Net</a>.
        - type: string
          enum:
            - _6LS
          description: <a href="http://www.6ls.cc/">6ls.com</a>.
        - type: string
          enum:
            - BLR_BELPOST
          description: <a href="https://www.belpost.by">Belpost</a>.
        - type: string
          enum:
            - BIRDSYSTEM
          description: <a href="https://www.birdsystem.co.uk/">BirdSystem</a>.
        - type: string
          enum:
            - DOBROPOST
          description: <a href="https://dobropost.com/">DobroPost</a>.
        - type: string
          enum:
            - WAHANA_ID
          description: <a href="https://www.wahana.com/">Wahana express
            (www.wahana.com)</a>.
        - type: string
          enum:
            - WEASHIP
          description: <a href="http://www.weaship.com.cn/">Weaship</a>.
        - type: string
          enum:
            - SONICTL
          description: <a href="http://www.sonictl.com/">Sonic Transportation &
            Logistics</a>.
        - type: string
          enum:
            - KWT
          description: <a href="http://www.kwt56.com/">Shenzhen Jinghuada Logistics Co.</a>.
        - type: string
          enum:
            - AFLLOG_FTP
          description: <a href="https://www.afllog.com/">AFL LOGISTICS</a>.
        - type: string
          enum:
            - SKYNET_WORLDWIDE
          description: <a href="http://www.skynetwwe.com/">SkyNet Worldwide Express</a>.
        - type: string
          enum:
            - NOVA_POSHTA
          description: <a href="https://novaposhta.ua/">Nova Poshta (novaposhta.ua)</a>.
        - type: string
          enum:
            - SEINO
          description: <a href="https://www.seino.co.jp/">Seino</a>.
        - type: string
          enum:
            - SZENDEX
          description: <a href="https://www.szendex.com">SZENDEX</a>.
        - type: string
          enum:
            - BPOST_INT
          description: <a href="http://www.bpostinternational.com/">Bpost international</a>.
        - type: string
          enum:
            - DBSCHENKER_SV
          description: <a href="https://www.dbschenker.com/se-sv">DB Schenker Sweden</a>.
        - type: string
          enum:
            - AO_DEUTSCHLAND
          description: <a href="https://www.ao.de/">AO Deutschland</a>.
        - type: string
          enum:
            - EU_FLEET_SOLUTIONS
          description: <a href="http://www.eufleetsolutions.co.uk/">EU Fleet Solutions</a>.
        - type: string
          enum:
            - PCFCORP
          description: <a href="https://pcfcorp.com/">PCF Final Mile</a>.
        - type: string
          enum:
            - LINKBRIDGE
          description: <a href="http://www.link-bridge.com.cn">Link
            Bridge(BeiJing)international logistics co.</a>.
        - type: string
          enum:
            - PRIMAMULTICIPTA
          description: <a href="https://primamulticipta.co.id/">PT Prima Multi Cipta</a>.
        - type: string
          enum:
            - COUREX
          description: <a href="https://www.urbanfox.asia/">Urbanfox</a>.
        - type: string
          enum:
            - ZAJIL_EXPRESS
          description: <a href="https://zajil-express.com/about.html">Zajil Express
            Company</a>.
        - type: string
          enum:
            - COLLECTCO
          description: <a href="https://collectco.my">CollectCo</a>.
        - type: string
          enum:
            - JTEXPRESS
          description: <a href="https://jtexpress.my/">J&T EXPRESS MALAYSIA</a>.
        - type: string
          enum:
            - FEDEX_UK
          description: <a href="https://www.fedex.com/en-gb/home.html">FedEx® UK</a>.
        - type: string
          enum:
            - USHIP
          description: <a href="https://www.uship.com/">uShip courier</a>.
        - type: string
          enum:
            - PIXSELL
          description: <a href="pixsell.com.ph">PIXSELL LOGISTICS</a>.
        - type: string
          enum:
            - SHIPTOR
          description: <a href="https://shiptor.com/">Shiptor</a>.
        - type: string
          enum:
            - CDEK
          description: <a href="https://cdek.ru/">CDEK courier</a>.
        - type: string
          enum:
            - VNM_VIETTELPOST
          description: <a href="http://www.viettelpost.com.vn/">ViettelPost</a>.
        - type: string
          enum:
            - CJ_CENTURY
          description: <a href="https://www.cjlogistics.com/en/network/en-my">CJ
            Century</a>.
        - type: string
          enum:
            - GSO
          description: <a href="https://www.gso.com/">GSO(GLS-USA)</a>.
        - type: string
          enum:
            - VIWO
          description: <a href="http://tracking.viwoex.com/">VIWO IoT</a>.
        - type: string
          enum:
            - SKYBOX
          description: <a href="https://www.attskybox.com/">SKYBOX</a>.
        - type: string
          enum:
            - KERRYTJ
          description: <a href="https://www.kerrytj.com/en/">Kerry TJ Logistics</a>.
        - type: string
          enum:
            - NTLOGISTICS_VN
          description: <a href="https://www.ntlogistics.vn/">Nhat Tin Logistics</a>.
        - type: string
          enum:
            - SDH_SCM
          description: <a href="None">lightning monkey</a>.
        - type: string
          enum:
            - ZINC
          description: <a href="https://zinc.io">Zinc courier</a>.
        - type: string
          enum:
            - DPE_SOUTH_AFRC
          description: <a href="http://www.dpe.co.za/">DPE South Africa</a>.
        - type: string
          enum:
            - CESKA_CZ
          description: <a href="http://www.ceskaposta.cz/">Czech Post</a>.
        - type: string
          enum:
            - ACS_GR
          description: <a href="https://www.acscourier.net/">ACS Courier</a>.
        - type: string
          enum:
            - DEALERSEND
          description: <a href="https://dealer-send.com/">DealerSend</a>.
        - type: string
          enum:
            - JOCOM
          description: <a href="https://www.jocom.my/">Jocom</a>.
        - type: string
          enum:
            - CSE
          description: <a href="https://www.cse.ru/">CSE courier</a>.
        - type: string
          enum:
            - TFORCE_FINALMILE
          description: <a href="https://www.tforcelogistics.com/">TForce Final Mile</a>.
        - type: string
          enum:
            - SHIP_GATE
          description: <a href="https://www.shipgate.io/">ShipGate</a>.
        - type: string
          enum:
            - SHIPTER
          description: <a href="https://www.shipter.kr/">SHIPTER</a>.
        - type: string
          enum:
            - NATIONAL_SAMEDAY
          description: <a href="www.nationalsameday.com">National Sameday</a>.
        - type: string
          enum:
            - YUNEXPRESS
          description: <a href="https://www.yunexpress.com/">YunExpress</a>.
        - type: string
          enum:
            - CAINIAO
          description: <a href="https://global.cainiao.com/">AliExpress Standard
            Shipping</a>.
        - type: string
          enum:
            - DMS_MATRIX
          description: <a href="https://dmsmatrix.net/trackings/get_info">DMSMatrix</a>.
        - type: string
          enum:
            - DIRECTLOG
          description: <a href="http://www.directlog.com.br/">Directlog
            (www.directlog.com.br)</a>.
        - type: string
          enum:
            - ASENDIA_US
          description: <a href="http://www.brokersworldwide.com/">Asendia USA</a>.
        - type: string
          enum:
            - _3JMSLOGISTICS
          description: <a href="https://3jmslogistics.com/">3JMS Logistics</a>.
        - type: string
          enum:
            - LICCARDI_EXPRESS
          description: <a href="https://www.liccarditrasporti.com/">LICCARDI EXPRESS
            COURIER</a>.
        - type: string
          enum:
            - SKY_POSTAL
          description: <a href="https://www.skypostal.com/">SkyPostal</a>.
        - type: string
          enum:
            - CNWANGTONG
          description: <a href="https://cnwangtong.com/">cnwangtong</a>.
        - type: string
          enum:
            - POSTNORD_LOGISTICS_DK
          description: <a href="http://www.pakkeboksen.dk/index.html">ostnord denmark</a>.
        - type: string
          enum:
            - LOGISTIKA
          description: <a href="https://logistika.com.my/">Logistika</a>.
        - type: string
          enum:
            - CELERITAS
          description: <a href="https://celeritastransporte.com/">Celeritas Transporte</a>.
        - type: string
          enum:
            - PRESSIODE
          description: <a href="https://pressiode.de/sendungsverfolgung">Pressio</a>.
        - type: string
          enum:
            - SHREE_MARUTI
          description: <a href="www.shreemaruticourier.com">Shree Maruti Courier Services
            Pvt Ltd</a>.
        - type: string
          enum:
            - LOGISTICSWORLDWIDE_HK
          description: <a href="https://www.lwe.com.hk/">Logistic Worldwide Express (LWE
            Honkong)</a>.
        - type: string
          enum:
            - EFEX
          description: <a href="http://efex.jp/">eFEx (E-Commerce Fulfillment &
            Express)</a>.
        - type: string
          enum:
            - LOTTE
          description: <a href="https://www.lotteglogis.com/">Lotte Global Logistics</a>.
        - type: string
          enum:
            - LONESTAR
          description: <a href="https://www.lso.com/">Lone Star Overnight</a>.
        - type: string
          enum:
            - APRISAEXPRESS
          description: <a href="http://www.aprisaexpress.com">Aprisa Express</a>.
        - type: string
          enum:
            - BEL_RS
          description: <a href="https://www.8256ru.com">BEL North Russia</a>.
        - type: string
          enum:
            - OSM_WORLDWIDE
          description: <a href="https://www.osmworldwide.com/">OSM Worldwide</a>.
        - type: string
          enum:
            - WESTGATE_GL
          description: <a href="https://shipwestgate.com/">Westgate Global</a>.
        - type: string
          enum:
            - FASTRACK
          description: <a href="https://fasttrack.com.ar/">Fasttrack</a>.
        - type: string
          enum:
            - DTD_EXPR
          description: <a href="http://dtddirect.com/">DTD Express</a>.
        - type: string
          enum:
            - ALFATREX
          description: <a href="www.alfatrex.id">AlfaTrex</a>.
        - type: string
          enum:
            - PROMEDDELIVERY
          description: <a href="http://www.promeddelivery.com/">ProMed Delivery</a>.
        - type: string
          enum:
            - THABIT_LOGISTICS
          description: <a href="https://thabit-logistics.com/">Thabit Logistics</a>.
        - type: string
          enum:
            - HCT_LOGISTICS
          description: <a href="https://www.hct.com.tw/">HCT LOGISTICS CO.LTD.</a>.
        - type: string
          enum:
            - CARRY_FLAP
          description: <a href="https://carry-flap.com/">Carry-Flap Co.</a>.
        - type: string
          enum:
            - US_OLD_DOMINION
          description: <a href="https://www.odfl.com/">Old Dominion Freight Line</a>.
        - type: string
          enum:
            - ANICAM_BOX
          description: <a href="https://www.anicamboxexpress.com/">ANICAM BOX EXPRESS</a>.
        - type: string
          enum:
            - WANBEXPRESS
          description: <a href="http://www.wanbexpress.com/">WanbExpress</a>.
        - type: string
          enum:
            - AN_POST
          description: <a href="https://www.anpost.ie/AnPost/">An Post</a>.
        - type: string
          enum:
            - DPD_LOCAL
          description: <a href="https://www.dpdlocal.co.uk/">DPD Local</a>.
        - type: string
          enum:
            - STALLIONEXPRESS
          description: <a href="https://stallionexpress.ca/">Stallion Express</a>.
        - type: string
          enum:
            - RAIDEREX
          description: <a href="http://raiderex.com/">RaidereX</a>.
        - type: string
          enum:
            - SHOPFANS
          description: <a href="https://shopfans.ru/">ShopfansRU LLC</a>.
        - type: string
          enum:
            - KYUNGDONG_PARCEL
          description: <a href="https://kdexp.com/index.do">Kyungdong Parcel</a>.
        - type: string
          enum:
            - CHAMPION_LOGISTICS
          description: <a href="https://www.champlog.com/">Champion Logistics</a>.
        - type: string
          enum:
            - PICKUPP_SGP
          description: <a href="https://sg.pickupp.io/">PICK UPP (Singapore)</a>.
        - type: string
          enum:
            - MORNING_EXPRESS
          description: <a href="https://www.mechk.com/">Morning Express</a>.
        - type: string
          enum:
            - NACEX
          description: <a href="http://nacex.es/">NACEX</a>.
        - type: string
          enum:
            - THENILE_WEBHOOK
          description: <a href="http://www.sorthub.com/">SortHub courier</a>.
        - type: string
          enum:
            - HOLISOL
          description: <a href="https://holisollogistics.com/">Holisol</a>.
        - type: string
          enum:
            - LBCEXPRESS_FTP
          description: <a href="https://www.lbcexpress.com/">LBC EXPRESS INC.</a>.
        - type: string
          enum:
            - KURASI
          description: <a href="https://www.kurasi.co.id/">KURASI</a>.
        - type: string
          enum:
            - USF_REDDAWAY
          description: <a href="https://my.reddawayregional.com/">USF Reddaway</a>.
        - type: string
          enum:
            - APG
          description: <a href="https://apgecommerce.com/">APG eCommerce Solutions</a>.
        - type: string
          enum:
            - CN_BOXC
          description: <a href="https://boxc.com/">BoxC courier</a>.
        - type: string
          enum:
            - ECOSCOOTING
          description: <a href="https://www.ecoscooting.com/">ECOSCOOTING</a>.
        - type: string
          enum:
            - MAINWAY
          description: Mainway.
        - type: string
          enum:
            - PAPERFLY
          description: <a href="https://paperfly.com.bd/">Paperfly Private Limited</a>.
        - type: string
          enum:
            - HOUNDEXPRESS
          description: <a href="http://www.hound-express.com/index.html">Hound Express</a>.
        - type: string
          enum:
            - BOX_BERRY
          description: <a href="https://boxberry.ru">Boxberry courier</a>.
        - type: string
          enum:
            - EP_BOX
          description: EP-Box courier.
        - type: string
          enum:
            - PLUS_LOG_UK
          description: <a href="https://plusuklogistics.co.uk/">Plus UK Logistics</a>.
        - type: string
          enum:
            - FULFILLA
          description: <a href="https://fulfilla.net/">Fulfilla</a>.
        - type: string
          enum:
            - ASE
          description: <a href="https://www.ase.com.tr/">ASE KARGO</a>.
        - type: string
          enum:
            - MAIL_PLUS
          description: <a
            href="https://www.nittsu.com/epelicangen2/track/Track.aspx">MailPlus</a>.
        - type: string
          enum:
            - XPO_LOGISTICS
          description: <a href="https://ltl-solutions.xpo.com/">XPO logistics</a>.
        - type: string
          enum:
            - WNDIRECT
          description: <a href="https://wndirect.com/">wnDirect</a>.
        - type: string
          enum:
            - CLOUDWISH_ASIA
          description: <a href="https://www.cloudwish.asia/">Cloudwish Asia</a>.
        - type: string
          enum:
            - ZELERIS
          description: <a href="https://www.zeleris.com/">Zeleris</a>.
        - type: string
          enum:
            - GIO_EXPRESS
          description: <a href="https://www.gioexonline.com/clientportal">Gio Express</a>.
        - type: string
          enum:
            - OCS_WORLDWIDE
          description: <a href="https://www.ocsworldwide.co.uk">OCS WORLDWIDE</a>.
        - type: string
          enum:
            - ARK_LOGISTICS
          description: <a href="https://arklogistics.co.uk">ARK Logistics</a>.
        - type: string
          enum:
            - AQUILINE
          description: <a href="https://aquiline-tracking.com/">Aquiline</a>.
        - type: string
          enum:
            - PILOT_FREIGHT
          description: <a href="http://www.pilotdelivers.com/">Pilot Freight Services</a>.
        - type: string
          enum:
            - QWINTRY
          description: <a href="https://logistics.qwintry.com/">Qwintry Logistics</a>.
        - type: string
          enum:
            - DANSKE_FRAGT
          description: <a href="https://www.fragt.dk/">Danske Fragtaend</a>.
        - type: string
          enum:
            - CARRIERS
          description: Carriers courier.
        - type: string
          enum:
            - AIR_CANADA_GLOBAL
          description: <a href="https://www.rivolution.com/">Rivo (Air canada)</a>.
        - type: string
          enum:
            - PRESIDENT_TRANS
          description: <a href="https://www.t-cat.com.tw">PRESIDENT TRANSNET CORP</a>.
        - type: string
          enum:
            - STEPFORWARDFS
          description: <a href="https://stepforwardfs.com/">STEP FORWARD FREIGHT SERVICE
            CO LTD</a>.
        - type: string
          enum:
            - SKYNET_UK
          description: <a href="https://www.skynetworldwide.com">Skynet UK</a>.
        - type: string
          enum:
            - PITTOHIO
          description: <a href="https://works.pittohio.com/myPittOhio/">PITT OHIO</a>.
        - type: string
          enum:
            - CORREOS_EXPRESS
          description: <a href="https://www.correosexpress.com">Correos Express</a>.
        - type: string
          enum:
            - RL_US
          description: <a href="https://www.rlcarriers.com/">RL Carriers</a>.
        - type: string
          enum:
            - DESTINY
          description: <a href="https://www.destinyltl.com/">Destiny Transportation</a>.
        - type: string
          enum:
            - UK_YODEL
          description: <a href="https://www.yodel.co.uk/">Yodel (www.yodel.co.uk)</a>.
        - type: string
          enum:
            - COMET_TECH
          description: <a href="https://comet-tech.com.cn/">CometTech</a>.
        - type: string
          enum:
            - DHL_PARCEL_RU
          description: <a href="https://parcel4u-gm.xlogics.eu/XTrace/default.aspx">DHL
            Parcel Russia</a>.
        - type: string
          enum:
            - TNT_REFR
          description: <a
            href="https://www.tnt.com/webtracker/tracker.do?navigation=1">TNT
            Reference</a>.
        - type: string
          enum:
            - SHREE_ANJANI_COURIER
          description: <a href="https://www.shreeanjanicourier.com/">Shree Anjani
            Courier</a>.
        - type: string
          enum:
            - MIKROPAKKET_BE
          description: <a href="https://www.mikropakket.be/">Mikropakket Belgium</a>.
        - type: string
          enum:
            - ETS_EXPRESS
          description: <a href="http://www.ets-express.com/">RETS express</a>.
        - type: string
          enum:
            - COLIS_PRIVE
          description: <a href="https://www.colisprive.com/moncolis/">Colis Privé</a>.
        - type: string
          enum:
            - CN_YUNDA
          description: <a href="http://www.yundaex.com/">Yunda Express</a>.
        - type: string
          enum:
            - AAA_COOPER
          description: <a href="https://www.aaacooper.com/">AAA Cooper</a>.
        - type: string
          enum:
            - ROCKET_PARCEL
          description: Rocket Parcel International.
        - type: string
          enum:
            - _360LION
          description: <a href="https://www.360lion.com/">360 Lion Express</a>.
        - type: string
          enum:
            - PANDU
          description: <a href="None">PANDU</a>.
        - type: string
          enum:
            - PROFESSIONAL_COURIERS
          description: <a href="None">PROFESSIONAL COURIERS</a>.
        - type: string
          enum:
            - FLYTEXPRESS
          description: <a href="None">FLYTEXPRESS</a>.
        - type: string
          enum:
            - LOGISTICSWORLDWIDE_MY
          description: <a href="None">LOGISTICSWORLDWIDE MY</a>.
        - type: string
          enum:
            - CORREOS_DE_ESPANA
          description: <a href="None">CORREOS DE ESPANA</a>.
        - type: string
          enum:
            - IMX
          description: <a href="None">IMX</a>.
        - type: string
          enum:
            - FOUR_PX_EXPRESS
          description: <a href="None">FOUR PX EXPRESS</a>.
        - type: string
          enum:
            - XPRESSBEES
          description: <a href="None">XPRESSBEES</a>.
        - type: string
          enum:
            - PICKUPP_VNM
          description: <a href="None">pickupp_vnm</a>.
        - type: string
          enum:
            - STARTRACK_EXPRESS
          description: <a href="None">startrack_express</a>.
        - type: string
          enum:
            - FR_COLISSIMO
          description: <a href="None">fr_colissimo</a>.
        - type: string
          enum:
            - NACEX_SPAIN_REFERENCE
          description: <a href="None">nacex_spain_reference</a>.
        - type: string
          enum:
            - DHL_SUPPLY_CHAIN_AU
          description: <a href="None">dhl_supply_chain_au</a>.
        - type: string
          enum:
            - ESHIPPING
          description: <a
            href="https://www.eshippinggateway.com/uexpress/index.html">Eshipping</a>.
        - type: string
          enum:
            - SHREETIRUPATI
          description: <a href="http://www.shreetirupaticourier.net/">SHREE TIRUPATI
            COURIER SERVICES PVT. LTD.</a>.
        - type: string
          enum:
            - HX_EXPRESS
          description: <a href="http://www.hx-ep.com/">HX Express</a>.
        - type: string
          enum:
            - INDOPAKET
          description: <a href="https://www.indopaket.co.id/">INDOPAKET</a>.
        - type: string
          enum:
            - CN_17POST
          description: <a href="http://17postservice.com/">17 Post Service</a>.
        - type: string
          enum:
            - K1_EXPRESS
          description: <a href="http://www.kuajingyihao.com/">K1 Express</a>.
        - type: string
          enum:
            - CJ_GLS
          description: <a href="http://www.cjgls.com/eng/">CJ GLS</a>.
        - type: string
          enum:
            - MYS_GDEX
          description: <a href="http://www.gdexpress.com">GDEX courier</a>.
        - type: string
          enum:
            - NATIONEX
          description: <a href="https://www.nationex.com/">Nationex courier</a>.
        - type: string
          enum:
            - ANJUN
          description: <a href="http://www.szanjun.com/">Anjun couriers</a>.
        - type: string
          enum:
            - FARGOOD
          description: <a href="http://www.fargoodexpress.com/">FarGood</a>.
        - type: string
          enum:
            - SMG_EXPRESS
          description: <a href="https://smg.direct">SMG Direct</a>.
        - type: string
          enum:
            - RZYEXPRESS
          description: <a href="https://rzyexpress.com.sg/">RZY Express</a>.
        - type: string
          enum:
            - SEFL
          description: <a href="https://sefl.com/seflWebsite/index.jsp">Southeastern
            Freight Lines</a>.
        - type: string
          enum:
            - TNT_CLICK_IT
          description: <a href="https://www.tnt-click.it/">TNT-Click Italy</a>.
        - type: string
          enum:
            - HDB
          description: <a href="https://www.haidaibao.com">Haidaibao</a>.
        - type: string
          enum:
            - HIPSHIPPER
          description: <a href="https://www.hipshipper.com/">Hipshipper</a>.
        - type: string
          enum:
            - RPXLOGISTICS
          description: <a href="https://www.rpxlogistics.ca/">RPX Logistics</a>.
        - type: string
          enum:
            - KUEHNE
          description: <a href="https://www.kn-portal.com/">Kuehne + Nagel</a>.
        - type: string
          enum:
            - IT_NEXIVE
          description: <a href="https://www.nexive.it/">Nexive (TNT Post Italy)</a>.
        - type: string
          enum:
            - PTS
          description: <a href="https://pts.net/">PTS courier</a>.
        - type: string
          enum:
            - SWISS_POST_FTP
          description: <a href="https://www.post.ch/de/">Swiss Post FTP</a>.
        - type: string
          enum:
            - FASTRK_SERV
          description: <a href="http://www.fastrak.co.th/">Fastrak Services</a>.
        - type: string
          enum:
            - _4_72
          description: <a href="None">4-72 Entregando</a>.
        - type: string
          enum:
            - US_YRC
          description: <a href="https://www.yrc.com/">YRC courier</a>.
        - type: string
          enum:
            - POSTNL_INTL_3S
          description: <a href="http://www.postnl.nl/voorthuis/">PostNL International
            3S</a>.
        - type: string
          enum:
            - ELIAN_POST
          description: <a href="http://www.elianpost.com/index.html">Yilian (Elian) Supply
            Chain</a>.
        - type: string
          enum:
            - CUBYN
          description: <a href="https://www.cubyn.com/">Cubyn</a>.
        - type: string
          enum:
            - SAU_SAUDI_POST
          description: <a href="https://www.sp.com.sa/">Saudi Post</a>.
        - type: string
          enum:
            - ABXEXPRESS_MY
          description: <a href="https://www.abxexpress.com.my/">ABX Express</a>.
        - type: string
          enum:
            - HUAHAN_EXPRESS
          description: <a href="http://www.hhjy56.cn/">HUAHANG EXPRESS</a>.
        - type: string
          enum:
            - ZES_EXPRESS
          description: <a href="http://www.zes-express.com/">Eshun international
            Logistic</a>.
        - type: string
          enum:
            - ZEPTO_EXPRESS
          description: <a href="https://www.zeptoexpress.com">ZeptoExpress</a>.
        - type: string
          enum:
            - SKYNET_ZA
          description: <a href="www.skynet.co.za">Skynet World Wide Express South
            Africa</a>.
        - type: string
          enum:
            - ZEEK_2_DOOR
          description: <a href="https://www.zeek.one/hk/en/zeek2door">Zeek2Door</a>.
        - type: string
          enum:
            - BLINKLASTMILE
          description: <a href="https://blinklastmile.com/">Blink</a>.
        - type: string
          enum:
            - POSTA_UKR
          description: <a href="http://www.ukrposhta.com/">UkrPoshta</a>.
        - type: string
          enum:
            - CHROBINSON
          description: <a href="https://www.chrobinson.com/">C.H. Robinson Worldwide</a>.
        - type: string
          enum:
            - CN_POST56
          description: <a href="http://www.post56.cn/">Post56</a>.
        - type: string
          enum:
            - COURANT_PLUS
          description: <a href="https://courant.plus/">Courant Plus</a>.
        - type: string
          enum:
            - SCUDEX_EXPRESS
          description: <a href="https://www.scudexexpress.com/">Scudex Express</a>.
        - type: string
          enum:
            - SHIPENTEGRA
          description: <a href="https://www.shipentegra.com/">ShipEntegra</a>.
        - type: string
          enum:
            - B_TWO_C_EUROPE
          description: <a href="https://b2ceurope.eu/">B2C courier Europe</a>.
        - type: string
          enum:
            - COPE
          description: <a href="https://www.cope.com.au/">Cope Sensitive Freight</a>.
        - type: string
          enum:
            - IND_GATI
          description: <a href="https://www.gatikwe.com/">Gati-KWE</a>.
        - type: string
          enum:
            - CN_WISHPOST
          description: <a href="https://www.wishpost.cn/">WishPost</a>.
        - type: string
          enum:
            - NACEX_ES
          description: <a href="http://nacex.es/">NACEX Spain</a>.
        - type: string
          enum:
            - TAQBIN_HK
          description: <a href="https://hk.ta-q-bin.com/">TAQBIN Hong Kong</a>.
        - type: string
          enum:
            - GLOBALTRANZ
          description: <a href="www.globaltranz.com">GlobalTranz</a>.
        - type: string
          enum:
            - HKD
          description: <a href="http://www.hkdexpress.net/">Qingdao HKD International
            Logistics</a>.
        - type: string
          enum:
            - BJSHOMEDELIVERY
          description: <a href="https://www.bjshomedelivery.com/">BJS Distribution
            courier</a>.
        - type: string
          enum:
            - OMNIVA
          description: <a href="https://www.omniva.ee/eng">Omniva</a>.
        - type: string
          enum:
            - SUTTON
          description: <a href="https://www.dohrn.com/">Sutton Transport</a>.
        - type: string
          enum:
            - PANTHER_REFERENCE
          description: <a href="http://www.pantherpremium.com/">Panther Reference</a>.
        - type: string
          enum:
            - SFCSERVICE
          description: <a href="https://www.sfcservice.com/">SFC Service</a>.
        - type: string
          enum:
            - LTL
          description: <a href="https://ltl.kr">LTL COURIER</a>.
        - type: string
          enum:
            - PARKNPARCEL
          description: <a href="https://delivery.parknparcel.com/">Park N Parcel</a>.
        - type: string
          enum:
            - SPRING_GDS
          description: <a href="https://www.spring-gds.com/">Spring GDS</a>.
        - type: string
          enum:
            - ECEXPRESS
          description: <a href="http://en.ecexpress.com.cn/">ECexpress</a>.
        - type: string
          enum:
            - INTERPARCEL_AU
          description: <a href="https://au.interparcel.com/">Interparcel Australia</a>.
        - type: string
          enum:
            - AGILITY
          description: <a href="https://www.agility.com/en/homepage/">Agility</a>.
        - type: string
          enum:
            - XL_EXPRESS
          description: <a href="https://www.xlexpress.com.au/">XL Express</a>.
        - type: string
          enum:
            - ADERONLINE
          description: <a href="http://aderonline.com">Ader couriers</a>.
        - type: string
          enum:
            - DIRECTCOURIERS
          description: <a href="https://www.directcouriers.com.au/">Direct Couriers</a>.
        - type: string
          enum:
            - PLANZER
          description: <a href="https://www.planzer.ch/en">Planzer Group</a>.
        - type: string
          enum:
            - SENDING
          description: <a href="www.sending.es">Sending Transporte Urgente y
            Comunicacion</a>.
        - type: string
          enum:
            - NINJAVAN_WB
          description: <a href="https://www.ninjavan.co/en-sg">Ninjavan Webhook</a>.
        - type: string
          enum:
            - NATIONWIDE_MY
          description: <a href="https://www.nationwide2u.com">Nationwide Express Courier
            Services Bhd (www.nationwide.com.my)</a>.
        - type: string
          enum:
            - SENDIT
          description: <a href="https://www.sendit.asia/">Sendit</a>.
        - type: string
          enum:
            - GB_ARROW
          description: <a href="https://www.arrowxl.co.uk/">Arrow XL</a>.
        - type: string
          enum:
            - IND_GOJAVAS
          description: <a href="http://gojavas.com/">GoJavas</a>.
        - type: string
          enum:
            - KPOST
          description: <a href="https://www.koreapost.go.kr">Korea Post</a>.
        - type: string
          enum:
            - DHL_FREIGHT
          description: <a
            href="https://www.dhl.com/global-en/home/our-divisions/freight.html">DHL
            Freight</a>.
        - type: string
          enum:
            - BLUECARE
          description: <a href="https://www.bluecare.express/">Bluecare Express Ltd</a>.
        - type: string
          enum:
            - JINDOUYUN
          description: <a href="http://www.szjdy.ltd/">jindouyun courier</a>.
        - type: string
          enum:
            - TRACKON
          description: <a href="http://trackoncourier.com/">Trackon Couriers Pvt. Ltd</a>.
        - type: string
          enum:
            - GB_TUFFNELLS
          description: <a href="http://www.tuffnells.co.uk/home">Tuffnells Parcels
            Express</a>.
        - type: string
          enum:
            - TRUMPCARD
          description: <a href="https://www.trumpcardinc.com/">TRUMPCARD LLC</a>.
        - type: string
          enum:
            - ETOTAL
          description: <a href="http://www.e-total.com/">eTotal Solution Limited</a>.
        - type: string
          enum:
            - SFPLUS_WEBHOOK
          description: <a href="https://www.zeek.one">Zeek courier</a>.
        - type: string
          enum:
            - SEKOLOGISTICS
          description: <a href="https://www.sekologistics.com/">SEKO Logistics</a>.
        - type: string
          enum:
            - HERMES_2MANN_HANDLING
          description: <a
            href="https://www.hermesworld.com/de/unsere-dienstleistungen/distribution/2-mann-handling/2-mann-handling/">Hermes
            Einrichtungs Service GmbH & Co. KG</a>.
        - type: string
          enum:
            - DPD_LOCAL_REF
          description: <a href="https://www.interlinkexpress.com/">DPD Local reference</a>.
        - type: string
          enum:
            - UDS
          description: <a href="https://www.uniteddeliveryservice.com/">United Delivery
            Service</a>.
        - type: string
          enum:
            - ZA_SPECIALISED_FREIGHT
          description: <a href="https://www.specialisedfreight.co.za/">Specialised
            Freight</a>.
        - type: string
          enum:
            - THA_KERRY
          description: <a href="https://www.kerrylogistics.com/">Kerry Express Thailand</a>.
        - type: string
          enum:
            - PRT_INT_SEUR
          description: <a href="https://www.seur.com/">SEUR International</a>.
        - type: string
          enum:
            - BRA_CORREIOS
          description: <a href="https://correios.com.br/">Correios Brazil</a>.
        - type: string
          enum:
            - NZ_NZ_POST
          description: <a href="https://www.nzpost.co.nz/">New Zealand Post</a>.
        - type: string
          enum:
            - CN_EQUICK
          description: <a href="https://www.equick.cn">Equick China</a>.
        - type: string
          enum:
            - MYS_EMS
          description: <a href="http://www.poslaju.com.my/">Malaysia Post EMS / Pos
            Laju</a>.
        - type: string
          enum:
            - GB_NORSK
          description: <a href="http://www.norsk-global.com/">Norsk Global</a>.
        - type: string
          enum:
            - ESP_MRW
          description: <a href="https://www.mrw.es/">MRW spain</a>.
        - type: string
          enum:
            - ESP_PACKLINK
          description: <a href="https://www.packlink.es/">Packlink</a>.
        - type: string
          enum:
            - KANGAROO_MY
          description: <a href="http://www.kangaroo.com.my/">Kangaroo Worldwide Express</a>.
        - type: string
          enum:
            - RPX
          description: <a href="https://www.rpxonline.com/">RPX Online</a>.
        - type: string
          enum:
            - XDP_UK_REFERENCE
          description: <a href="https://xdp.co.uk/">XDP Express Reference</a>.
        - type: string
          enum:
            - NINJAVAN_MY
          description: <a href="http://ninjavan.my">ninja van (www.ninjavan.co)</a>.
        - type: string
          enum:
            - ADICIONAL
          description: <a href="http://www.adicional.pt/">Adicional Logistics</a>.
        - type: string
          enum:
            - ROADBULL
          description: <a href="https://www.roadbull.com">Red Carpet Logistics</a>.
        - type: string
          enum:
            - YAKIT
          description: <a href="https://www.yakit.com/">Yakit courier</a>.
        - type: string
          enum:
            - MAILAMERICAS
          description: <a href="https://mailamericas.com/">MailAmericas</a>.
        - type: string
          enum:
            - MIKROPAKKET
          description: <a href="https://www.mikropakket.nl/">Mikropakket</a>.
        - type: string
          enum:
            - DYNALOGIC
          description: Dynamic Logistics.
        - type: string
          enum:
            - DHL_ES
          description: <a href="http://www.dhl.es/">DHL Spain(www.dhl.com)</a>.
        - type: string
          enum:
            - DHL_PARCEL_NL
          description: <a href="https://www.dhlparcel.nl/">DHL Parcel NL</a>.
        - type: string
          enum:
            - DHL_GLOBAL_MAIL_ASIA
          description: <a href="https://ecommerceportal.dhl.com/track/">DHL Global Mail
            Asia (www.dhl.com)</a>.
        - type: string
          enum:
            - DAWN_WING
          description: <a href="http://www.dawnwing.co.za/">Dawn Wing</a>.
        - type: string
          enum:
            - GENIKI_GR
          description: <a href="https://www.taxydromiki.gr/">Geniki Taxydromiki</a>.
        - type: string
          enum:
            - HERMESWORLD_UK
          description: <a href="None">hermesworld_uk</a>.
        - type: string
          enum:
            - ALPHAFAST
          description: <a href="http://www.alphafast.com/">Alphafast
            (www.alphafast.com)</a>.
        - type: string
          enum:
            - BUYLOGIC
          description: <a href="http://www.buylogic.cc/">buylogic</a>.
        - type: string
          enum:
            - EKART
          description: <a href="https://www.ekartlogistics.com/">Ekart logistics
            (ekartlogistics.com)</a>.
        - type: string
          enum:
            - MEX_SENDA
          description: <a href="http://www.sendaexpress.com.mx/">mexico senda express</a>.
        - type: string
          enum:
            - SFC_LOGISTICS
          description: <a href="https://www.sfcservice.com/">SFC</a>.
        - type: string
          enum:
            - POST_SERBIA
          description: <a href="https://www.posta.rs/">Posta Serbia</a>.
        - type: string
          enum:
            - IND_DELHIVERY
          description: <a href="https://www.delhivery.com/">Delhivery India</a>.
        - type: string
          enum:
            - DE_DPD_DELISTRACK
          description: <a href="https://www.dpd.com/de_privatkunden/">DPD Germany</a>.
        - type: string
          enum:
            - RPD2MAN
          description: <a href="http://rpd2man.com/">RPD2man Deliveries</a>.
        - type: string
          enum:
            - CN_SF_EXPRESS
          description: <a href="https://www.sf-express.com/">SF Express
            (www.sf-express.com)</a>.
        - type: string
          enum:
            - YANWEN
          description: <a href="https://www.yw56.com.cn/">Yanwen Logistics</a>.
        - type: string
          enum:
            - MYS_SKYNET
          description: <a href="https://www.skynet.com.my/">Skynet Malaysia</a>.
        - type: string
          enum:
            - CORREOS_DE_MEXICO
          description: <a
            href="http://www.correosdemexico.com.mx/Paginas/Inicio.aspx">correos
            mexico</a>.
        - type: string
          enum:
            - CBL_LOGISTICA
          description: <a href="https://www.cbl-logistica.com">CBL Logistica</a>.
        - type: string
          enum:
            - MEX_ESTAFETA
          description: <a href="https://www.estafeta.com/">Estafeta (www.estafeta.com)</a>.
        - type: string
          enum:
            - AU_AUSTRIAN_POST
          description: <a href="http://www.post.at">Austrian Post (Registered)</a>.
        - type: string
          enum:
            - RINCOS
          description: <a href="http://www.rincos.co.kr/">Rincos</a>.
        - type: string
          enum:
            - NLD_DHL
          description: <a href="http://www.dhl.nl/">DHL Netherland</a>.
        - type: string
          enum:
            - RUSSIAN_POST
          description: <a href="https://www.pochta.ru/">Russian post</a>.
        - type: string
          enum:
            - COURIERS_PLEASE
          description: <a href="https://www.couriersplease.com.au">CouriersPlease
            (couriersplease.com.au)</a>.
        - type: string
          enum:
            - POSTNORD_LOGISTICS
          description: <a href="http://www.postnordlogistics.com/">PostNord Logistics</a>.
        - type: string
          enum:
            - FEDEX
          description: <a href="https://www.fedex.com/">Fedex</a>.
        - type: string
          enum:
            - DPE_EXPRESS
          description: <a href="http://www.dpe.net.cn">DPE Express</a>.
        - type: string
          enum:
            - DPD
          description: <a href="https://www.dpd.com/">DPD</a>.
        - type: string
          enum:
            - ADSONE
          description: <a href="https://www.adsone.com.au/">ADSone</a>.
        - type: string
          enum:
            - IDN_JNE
          description: <a href="https://www.jne.co.id/">JNE Express (Jalur Nugraha
            Ekakurir)</a>.
        - type: string
          enum:
            - THECOURIERGUY
          description: <a href="https://www.thecourierguy.co.za/">The Courier Guy</a>.
        - type: string
          enum:
            - CNEXPS
          description: <a href="http://www.cne.com/">CNE Express</a>.
        - type: string
          enum:
            - PRT_CHRONOPOST
          description: <a href="https://dpd.pt/">Chronopost Portugal</a>.
        - type: string
          enum:
            - LANDMARK_GLOBAL
          description: <a href="http://landmarkglobal.com/">Landmark Global</a>.
        - type: string
          enum:
            - IT_DHL_ECOMMERCE
          description: <a href="https://mydhl.express.dhl">DHL International</a>.
        - type: string
          enum:
            - ESP_NACEX
          description: <a href="https://www.nacex.es/irHome.do">NACEX Spain</a>.
        - type: string
          enum:
            - PRT_CTT
          description: <a href="https://www.ctt.pt/">CTT Portugal</a>.
        - type: string
          enum:
            - BE_KIALA
          description: <a href="https://www.kiala.nl/">Kiala</a>.
        - type: string
          enum:
            - ASENDIA_UK
          description: <a href="https://www.asendia.co.uk/">Asendia UK</a>.
        - type: string
          enum:
            - GLOBAL_TNT
          description: <a href="http://www.tnt.com/">TNT global</a>.
        - type: string
          enum:
            - POSTUR_IS
          description: <a href="https://www.postur.is/">Iceland Post</a>.
        - type: string
          enum:
            - EPARCEL_KR
          description: <a href="https://eparcel.kr/">eParcel Korea</a>.
        - type: string
          enum:
            - INPOST_PACZKOMATY
          description: <a href="https://paczkomaty.pl">InPost Paczkomaty</a>.
        - type: string
          enum:
            - IT_POSTE_ITALIA
          description: <a href="https://www.poste.it/">Poste italiane (www.poste.it)</a>.
        - type: string
          enum:
            - BE_BPOST
          description: <a href="https://www.bpost.be/">Bpost (www.bpost.be)</a>.
        - type: string
          enum:
            - PL_POCZTA_POLSKA
          description: <a href="https://www.poczta-polska.pl/">Poczta Polska
            (www.poczta-polska.pl)</a>.
        - type: string
          enum:
            - MYS_MYS_POST
          description: <a href="https://www.pos.com.my">Malaysia Post</a>.
        - type: string
          enum:
            - SG_SG_POST
          description: <a href="http://www.singpost.com">Singapore Post</a>.
        - type: string
          enum:
            - THA_THAILAND_POST
          description: <a
            href="https://www.thailandpost.co.th/index.php?page=index">Thailand
            Post (www.thailandpost.co.th)</a>.
        - type: string
          enum:
            - LEXSHIP
          description: <a href="https://www.lexship.com/">LexShip</a>.
        - type: string
          enum:
            - FASTWAY_NZ
          description: <a href="https://www.fastway.co.nz/">Fastway New Zealand</a>.
        - type: string
          enum:
            - DHL_AU
          description: <a
            href="https://www.logistics.dhl/us-en/home/our-divisions/supply-chain.html">DHL
            Supply Chain Australia</a>.
        - type: string
          enum:
            - COSTMETICSNOW
          description: <a href="https://www.cosmeticsnow.com/">Cosmetics Now</a>.
        - type: string
          enum:
            - PFLOGISTICS
          description: <a href="http://www.pflogistics.com.au/">PFL</a>.
        - type: string
          enum:
            - LOOMIS_EXPRESS
          description: <a
            href="https://www.loomisexpress.com/loomship/en/Home/Home">Loomis
            Express</a>.
        - type: string
          enum:
            - GLS_ITALY
          description: <a href="http://www.gls-italy.com/index_noreg.asp">GLS Italy</a>.
        - type: string
          enum:
            - LINE
          description: <a href="https://www.lineclearexpress.com">Line Clear Express &
            Logistics Sdn Bhd</a>.
        - type: string
          enum:
            - GEL_EXPRESS
          description: <a href="https://www.gel-express.de/">Gel Express Logistik</a>.
        - type: string
          enum:
            - HUODULL
          description: <a href="http://www.huodull.com/index.html">Huodull</a>.
        - type: string
          enum:
            - NINJAVAN_SG
          description: <a href="http://ninjavan.sg/">Ninja van Singapore</a>.
        - type: string
          enum:
            - JANIO
          description: <a href="https://www.janio.asia/">Janio Asia</a>.
        - type: string
          enum:
            - AO_COURIER
          description: <a href="https://ao.com/">AO Logistics</a>.
        - type: string
          enum:
            - BRT_IT_SENDER_REF
          description: <a href="https://www.brt.it">BRT Bartolini(Sender Reference)</a>.
        - type: string
          enum:
            - SAILPOST
          description: <a href="https://www.sailpost.it/?q=tracker">SAILPOST</a>.
        - type: string
          enum:
            - LALAMOVE
          description: <a href="https://lalamove.com">Lalamove</a>.
        - type: string
          enum:
            - NEWZEALAND_COURIERS
          description: <a href="https://www.nzcouriers.co.nz/">NEW ZEALAND COURIERS</a>.
        - type: string
          enum:
            - ETOMARS
          description: <a href="https://www.etomars.com">Etomars</a>.
        - type: string
          enum:
            - VIRTRANSPORT
          description: <a href="https://www.vir.fr/">VIR Transport</a>.
        - type: string
          enum:
            - WIZMO
          description: <a href="https://shipwizmo.com/">Wizmo</a>.
        - type: string
          enum:
            - PALLETWAYS
          description: <a href="https://www.palletways.com/">Palletways</a>.
        - type: string
          enum:
            - I_DIKA
          description: <a href="http://www.i-dika.com/">i-dika</a>.
        - type: string
          enum:
            - CFL_LOGISTICS
          description: <a href="https://www.cflhk.com/">CFL Logistics</a>.
        - type: string
          enum:
            - GEMWORLDWIDE
          description: <a href="https://www.gemworldwide.com/">GEM Worldwide</a>.
        - type: string
          enum:
            - GLOBAL_EXPRESS
          description: <a href="https://www.global-business.com.tw/">Tai Wan Global
            Business</a>.
        - type: string
          enum:
            - LOGISTYX_TRANSGROUP
          description: <a href="www.transgroup.com">Transgroup courier</a>.
        - type: string
          enum:
            - WESTBANK_COURIER
          description: <a href="https://westbankcourier.com/">West Bank Courier</a>.
        - type: string
          enum:
            - ARCO_SPEDIZIONI
          description: <a href="https://www.arcospedizioni.it/">Arco Spedizioni SP</a>.
        - type: string
          enum:
            - YDH_EXPRESS
          description: <a href="https://www.ydhex.com/">YDH express</a>.
        - type: string
          enum:
            - PARCELINKLOGISTICS
          description: Parcelink Logistics.
        - type: string
          enum:
            - CNDEXPRESS
          description: CND Express.
        - type: string
          enum:
            - NOX_NIGHT_TIME_EXPRESS
          description: <a href="https://www.nox-nighttimeexpress.com">NOX
            NightTimeExpress</a>.
        - type: string
          enum:
            - AERONET
          description: <a href="https://www.aeronet.com/">Aeronet couriers</a>.
        - type: string
          enum:
            - LTIANEXP
          description: <a href="http://www.ltianexp.com/home">LTIAN EXP</a>.
        - type: string
          enum:
            - INTEGRA2_FTP
          description: <a href="https://www.integra2.es/en/home.html">Integra2</a>.
        - type: string
          enum:
            - PARCELONE
          description: <a href="https://parcel.one/">PARCEL ONE</a>.
        - type: string
          enum:
            - NOX_NACHTEXPRESS
          description: <a href="https://www.nox-nachtexpress.de/">Innight Express Germany
            GmbH (nox NachtExpress)</a>.
        - type: string
          enum:
            - CN_CHINA_POST_EMS
          description: <a href="http://yjcx.chinapost.com.cn/">China Post</a>.
        - type: string
          enum:
            - CHUKOU1
          description: <a href="https://www.chukou1.com/">Chukou1</a>.
        - type: string
          enum:
            - GLS_SLOV
          description: <a href="https://gls-group.eu/SK/en/the-company">GLS General
            Logistics Systems Slovakia s.r.o.</a>.
        - type: string
          enum:
            - ORANGE_DS
          description: <a href="https://orangedsinc.com/">OrangeDS (Orange Distribution
            Solutions Inc)</a>.
        - type: string
          enum:
            - JOOM_LOGIS
          description: <a href="https://logistics.joom.com/en">Joom Logistics</a>.
        - type: string
          enum:
            - AUS_STARTRACK
          description: <a href="https://startrack.com.au/">StarTrack (startrack.com.au)</a>.
        - type: string
          enum:
            - DHL
          description: <a href="https://mydhl.express.dhl">dhl Global</a>.
        - type: string
          enum:
            - GB_APC
          description: <a href="https://www.apc-pli.com/">APC postal logistics germany</a>.
        - type: string
          enum:
            - BONDSCOURIERS
          description: <a href="https://www.bondscouriers.com.au">Bonds Courier Service
            (bondscouriers.com.au)</a>.
        - type: string
          enum:
            - JPN_JAPAN_POST
          description: <a href="https://www.post.japanpost.jp/top.html">Japan Post</a>.
        - type: string
          enum:
            - USPS
          description: <a href="https://www.usps.com">United States Postal Service</a>.
        - type: string
          enum:
            - WINIT
          description: <a href="https://www.winit.com.cn/">WinIt</a>.
        - type: string
          enum:
            - ARG_OCA
          description: <a href="https://www.oca.com.ar/">OCA Argentina</a>.
        - type: string
          enum:
            - TW_TAIWAN_POST
          description: <a href="http://www.post.gov.tw/">Taiwan Post</a>.
        - type: string
          enum:
            - DMM_NETWORK
          description: <a href="http://www.dmmnetwork.it/">DMM Network</a>.
        - type: string
          enum:
            - TNT
          description: <a href="http://www.tnt.com/">TNT Express</a>.
        - type: string
          enum:
            - BH_POSTA
          description: <a href="https://www.posta.ba/">BH Posta (www.posta.ba)</a>.
        - type: string
          enum:
            - SWE_POSTNORD
          description: <a href="https://www.postnord.se/">Postnord sweden</a>.
        - type: string
          enum:
            - CA_CANADA_POST
          description: <a href="https://www.canadapost.ca/">Canada Post</a>.
        - type: string
          enum:
            - WISELOADS
          description: <a href="http://www.wiseloads.com/home.php">Wiseloads</a>.
        - type: string
          enum:
            - ASENDIA_HK
          description: <a href="https://www.asendia.hk">Asendia HonKong</a>.
        - type: string
          enum:
            - NLD_GLS
          description: <a href="https://www.gls-netherlands.com/">GLS Netherland</a>.
        - type: string
          enum:
            - MEX_REDPACK
          description: <a href="https://www.redpack.com.mx/">Redpack</a>.
        - type: string
          enum:
            - JET_SHIP
          description: Jet-Ship Worldwide.
        - type: string
          enum:
            - DE_DHL_EXPRESS
          description: <a href="http://www.dhl.com/">DHL Express</a>.
        - type: string
          enum:
            - NINJAVAN_THAI
          description: <a href="https://www.ninjavan.co/th-th">Ninja van Thai</a>.
        - type: string
          enum:
            - RABEN_GROUP
          description: <a href="https://www.raben-group.com/">Raben Group</a>.
        - type: string
          enum:
            - ESP_ASM
          description: <a href="https://www.gls-spain.es/en/">ASM(GLS Spain)</a>.
        - type: string
          enum:
            - HRV_HRVATSKA
          description: <a href="https://www.posta.hr/">Hrvatska posta</a>.
        - type: string
          enum:
            - GLOBAL_ESTES
          description: <a href="https://www.estes-express.com">Estes Express Lines</a>.
        - type: string
          enum:
            - LTU_LIETUVOS
          description: <a href="https://www.post.lt/">Lietuvos pastas</a>.
        - type: string
          enum:
            - BEL_DHL
          description: <a href="http://www.dhl.nl/">DHL Benelux</a>.
        - type: string
          enum:
            - AU_AU_POST
          description: <a href="https://auspost.com.au/">Australia Post</a>.
        - type: string
          enum:
            - SPEEDEXCOURIER
          description: <a href="https://www.speedex.gr/">SPEEDEX couriers</a>.
        - type: string
          enum:
            - FR_COLIS
          description: <a href="https://www.colissimo.fr">Colissimo</a>.
        - type: string
          enum:
            - ARAMEX
          description: <a href="https://www.aramex.com/">Aramex</a>.
        - type: string
          enum:
            - DPEX
          description: <a href="https://dpex.com/">DPEX (www.dpex.com)</a>.
        - type: string
          enum:
            - MYS_AIRPAK
          description: <a href="http://www.airpak-express.com">Airpak Express</a>.
        - type: string
          enum:
            - CUCKOOEXPRESS
          description: <a href="http://www.cuckooexpress.com/">Cuckoo Express</a>.
        - type: string
          enum:
            - DPD_POLAND
          description: <a href="https://www.dpd.com.pl/">DPD Poland</a>.
        - type: string
          enum:
            - NLD_POSTNL
          description: <a href="https://www.postnl.nl/klantenservice">PostNL
            International</a>.
        - type: string
          enum:
            - NIM_EXPRESS
          description: <a href="https://www.nimexpress.com">Nim Express</a>.
        - type: string
          enum:
            - QUANTIUM
          description: <a href="http://quantiumsolutions.com/hk-tc/">Quantium</a>.
        - type: string
          enum:
            - SENDLE
          description: <a href="https://try.sendle.com/en-us/partners/aftership">Sendle</a>.
        - type: string
          enum:
            - ESP_REDUR
          description: <a href="https://www.redur.es/">Redur Spain</a>.
        - type: string
          enum:
            - MATKAHUOLTO
          description: <a href="https://www.matkahuolto.fi/">Matkahuolto</a>.
        - type: string
          enum:
            - CPACKET
          description: <a href="http://www.canadaposteway.cn">Cpacket couriers</a>.
        - type: string
          enum:
            - POSTI
          description: <a href="https://www.posti.fi/">Posti courier</a>.
        - type: string
          enum:
            - HUNTER_EXPRESS
          description: <a href="http://www.hunterexpress.com.au/home">Hunter Express</a>.
        - type: string
          enum:
            - CHOIR_EXP
          description: <a href="https://choirexpress.co.id/id">Choir Express Indonesia</a>.
        - type: string
          enum:
            - LEGION_EXPRESS
          description: <a href="https://legionexp.com/">Legion Express</a>.
        - type: string
          enum:
            - AUSTRIAN_POST_EXPRESS
          description: <a href="http://www.post.at">austrian post</a>.
        - type: string
          enum:
            - GRUPO
          description: <a href="http://www.grupoampm.com/">Grupo ampm</a>.
        - type: string
          enum:
            - POSTA_RO
          description: <a href="https://www.posta-romana.ro/">Post Roman
            (www.posta-romana.ro)</a>.
        - type: string
          enum:
            - INTERPARCEL_UK
          description: <a href="https://uk.interparcel.com">Interparcel UK</a>.
        - type: string
          enum:
            - GLOBAL_ABF
          description: <a href="https://www.abfs.com/">ABF Freight</a>.
        - type: string
          enum:
            - POSTEN_NORGE
          description: <a href="https://www.posten.no/en/">Posten Norge (www.posten.no)</a>.
        - type: string
          enum:
            - XPERT_DELIVERY
          description: <a href="https://www.xpertdelivery.co.uk/">Xpert Delivery</a>.
        - type: string
          enum:
            - DHL_REFR
          description: <a href="https://www.dhl.com/">DHl (Reference number)</a>.
        - type: string
          enum:
            - DHL_HK
          description: <a href="http://www.dhl.com.hk/">DHL HonKong</a>.
        - type: string
          enum:
            - SKYNET_UAE
          description: <a href="https://www.skynetworldwide.net/">SKYNET UAE</a>.
        - type: string
          enum:
            - GOJEK
          description: <a href="https://www.gojek.com/gosend/">Gojek</a>.
        - type: string
          enum:
            - YODEL_INTNL
          description: <a href="https://www.yodel.co.uk/">Yodel International</a>.
        - type: string
          enum:
            - JANCO
          description: <a href="http://www.jancoecommerce.com">Janco Ecommerce</a>.
        - type: string
          enum:
            - YTO
          description: <a href="https://www.yto.net.cn/">YTO Express</a>.
        - type: string
          enum:
            - WISE_EXPRESS
          description: <a href="https://www.shwise.cn">Wise Express</a>.
        - type: string
          enum:
            - JTEXPRESS_VN
          description: <a href="https://jtexpress.vn/">J&T Express Vietnam</a>.
        - type: string
          enum:
            - FEDEX_INTL_MLSERV
          description: <a
            href="http://mailviewrecipient.fedex.com/recip_package_summary.aspx">FedEx
            International MailService</a>.
        - type: string
          enum:
            - VAMOX
          description: <a href="https://tracking.vamox.io/">VAMOX</a>.
        - type: string
          enum:
            - AMS_GRP
          description: <a href="https://www.amsegroup.com.au/">AMS Group</a>.
        - type: string
          enum:
            - DHL_JP
          description: <a href="https://mydhl.express.dhl">DHL Japan</a>.
        - type: string
          enum:
            - HRPARCEL
          description: <a href="https://www.hrparcel.com/">HR Parcel</a>.
        - type: string
          enum:
            - GESWL
          description: <a href="https://www.geswl.com/home/en/index.asp">GESWL Express</a>.
        - type: string
          enum:
            - BLUESTAR
          description: <a href="http://www.bluestarlogistics.com.au/">Blue Star</a>.
        - type: string
          enum:
            - CDEK_TR
          description: <a href="www.cdek.com.tr">CDEK TR</a>.
        - type: string
          enum:
            - DESCARTES
          description: <a href="https://www.innovelsolutions.com">Innovel courier</a>.
        - type: string
          enum:
            - DELTEC_UK
          description: <a href="https://www.deltec-courier.com/">Deltec Courier</a>.
        - type: string
          enum:
            - DTDC_EXPRESS
          description: <a href="https://www.dtdc.com">DTDC express</a>.
        - type: string
          enum:
            - TOURLINE
          description: <a href="https://www.tourlineexpress.com">tourline</a>.
        - type: string
          enum:
            - BH_WORLDWIDE
          description: <a href="https://www.bhworldwide.com">B&H Worldwide</a>.
        - type: string
          enum:
            - OCS
          description: <a href="http://ocs-india.in/eng/">OCS ANA Group</a>.
        - type: string
          enum:
            - YINGNUO_LOGISTICS
          description: Yingnuo logistics.
        - type: string
          enum:
            - UPS
          description: <a href="https://www.ups.com">United Parcel Service</a>.
        - type: string
          enum:
            - TOLL
          description: <a href="https://www.tollgroup.com/tollipec">Toll IPEC</a>.
        - type: string
          enum:
            - PRT_SEUR
          description: <a href="https://www.seur.com/">SEUR portugal</a>.
        - type: string
          enum:
            - DTDC_AU
          description: <a href="https://www.dtdcaustralia.com.au/">DTDC Australia</a>.
        - type: string
          enum:
            - THA_DYNAMIC_LOGISTICS
          description: <a href="http://www.dynamic-logistics.com/">Dynamic Logistics</a>.
        - type: string
          enum:
            - UBI_LOGISTICS
          description: <a href="http://www.ubismartparcel.com/en">UBI Smart Parcel</a>.
        - type: string
          enum:
            - FEDEX_CROSSBORDER
          description: <a href="https://crossborder.fedex.com/us/">FedEx Cross Border</a>.
        - type: string
          enum:
            - A1POST
          description: <a href="https://a1post.bg/">A1Post</a>.
        - type: string
          enum:
            - TAZMANIAN_FREIGHT
          description: <a href="https://www.tazmanian.com/Default.aspx">Tazmanian Freight
            Systems</a>.
        - type: string
          enum:
            - CJ_INT_MY
          description: <a href="https://www.cjlogistics.com/en/network/en-my">CJ
            International malaysia</a>.
        - type: string
          enum:
            - SAIA_FREIGHT
          description: <a href="https://www.saia.com">Saia LTL Freight</a>.
        - type: string
          enum:
            - SG_QXPRESS
          description: <a href="https://www.qxpress.asia/">Qxpress</a>.
        - type: string
          enum:
            - NHANS_SOLUTIONS
          description: <a href="http://nhans-solutions.com/">Nhans Solutions</a>.
        - type: string
          enum:
            - DPD_FR
          description: <a href="https://www.dpd.fr/">DPD France</a>.
        - type: string
          enum:
            - COORDINADORA
          description: <a href="https://www.coordinadora.com/">Coordinadora</a>.
        - type: string
          enum:
            - ANDREANI
          description: <a href="https://www.andreani.com/">Grupo logistico Andreani</a>.
        - type: string
          enum:
            - DOORA
          description: <a href="https://www.doora.co.kr">Doora Logistics</a>.
        - type: string
          enum:
            - INTERPARCEL_NZ
          description: <a href="https://nz.interparcel.com">Interparcel New Zealand</a>.
        - type: string
          enum:
            - PHL_JAMEXPRESS
          description: <a href="http://www.myjamexpress.com/">Jam Express Philippines</a>.
        - type: string
          enum:
            - BEL_BELGIUM_POST
          description: <a href="None">bel_belgium_post</a>.
        - type: string
          enum:
            - US_APC
          description: <a href="None">us_apc</a>.
        - type: string
          enum:
            - IDN_POS
          description: <a href="None">idn_pos</a>.
        - type: string
          enum:
            - FR_MONDIAL
          description: <a href="None">fr_mondial</a>.
        - type: string
          enum:
            - DE_DHL
          description: <a href="None">DE DHL</a>.
        - type: string
          enum:
            - HK_RPX
          description: <a href="None">hk_rpx</a>.
        - type: string
          enum:
            - DHL_PIECEID
          description: <a href="None">dhl_pieceid</a>.
        - type: string
          enum:
            - VNPOST_EMS
          description: <a href="None">vnpost_ems</a>.
        - type: string
          enum:
            - RRDONNELLEY
          description: <a href="None">rrdonnelley</a>.
        - type: string
          enum:
            - DPD_DE
          description: <a href="None">dpd_de</a>.
        - type: string
          enum:
            - DELCART_IN
          description: <a href="None">delcart_in</a>.
        - type: string
          enum:
            - IMEXGLOBALSOLUTIONS
          description: <a href="None">imexglobalsolutions</a>.
        - type: string
          enum:
            - ACOMMERCE
          description: <a href="None">ACOMMERCE</a>.
        - type: string
          enum:
            - EURODIS
          description: <a href="None">eurodis</a>.
        - type: string
          enum:
            - CANPAR
          description: <a href="None">CANPAR</a>.
        - type: string
          enum:
            - GLS
          description: <a href="None">GLS</a>.
        - type: string
          enum:
            - IND_ECOM
          description: <a href="https://www.ecomexpress.in/">Ecom Express</a>.
        - type: string
          enum:
            - ESP_ENVIALIA
          description: <a href="https://www.envialia.com/">Envialia</a>.
        - type: string
          enum:
            - DHL_UK
          description: <a href="https://www.dhlparcel.co.uk/en/business-users.html">dhl
            UK</a>.
        - type: string
          enum:
            - SMSA_EXPRESS
          description: <a href="https://www.smsaexpress.com/">SMSA Express</a>.
        - type: string
          enum:
            - TNT_FR
          description: <a href="https://www.tnt.fr/">TNT France</a>.
        - type: string
          enum:
            - DEX_I
          description: <a href="http://www.dex-i.com/">DEX-I courier</a>.
        - type: string
          enum:
            - BUDBEE_WEBHOOK
          description: <a href="https://budbee.com/en/">Budbee courier</a>.
        - type: string
          enum:
            - COPA_COURIER
          description: <a href="https://www.copacourier.com">Copa Airlines Courier</a>.
        - type: string
          enum:
            - VNM_VIETNAM_POST
          description: <a href="http://www.vnpost.vn/">Vietnam Post</a>.
        - type: string
          enum:
            - DPD_HK
          description: <a href="http://dpdgroup.cn">DPD HongKong</a>.
        - type: string
          enum:
            - TOLL_NZ
          description: <a href="https://www.tollgroup.com/">Toll New Zealand</a>.
        - type: string
          enum:
            - ECHO
          description: <a href="https://echo.com/">Echo courier</a>.
        - type: string
          enum:
            - FEDEX_FR
          description: <a href="https://www.fedex.com/us/freight/">FedEx® Freight</a>.
        - type: string
          enum:
            - BORDEREXPRESS
          description: <a href="https://www.borderexpress.com.au/">Border Express</a>.
        - type: string
          enum:
            - MAILPLUS_JPN
          description: <a
            href="https://www.nittsu.com/epelicangen2/track/Track.aspx">MailPlus
            (Japan)</a>.
        - type: string
          enum:
            - TNT_UK_REFR
          description: <a href="https://www.tnt.com/webtracker/uktracking.do">TNT UK
            Reference</a>.
        - type: string
          enum:
            - KEC
          description: <a href="https://kerry-ecommerce.com/">KEC courier</a>.
        - type: string
          enum:
            - DPD_RO
          description: <a href="https://www.dpd.com/ro_en">DPD Romania</a>.
        - type: string
          enum:
            - TNT_JP
          description: <a href="None">TNT_JP</a>.
        - type: string
          enum:
            - TH_CJ
          description: <a href="None">TH_CJ</a>.
        - type: string
          enum:
            - EC_CN
          description: EC_CN.
        - type: string
          enum:
            - FASTWAY_UK
          description: FASTWAY_UK.
        - type: string
          enum:
            - FASTWAY_US
          description: FASTWAY_US.
        - type: string
          enum:
            - GLS_DE
          description: GLS_DE.
        - type: string
          enum:
            - GLS_ES
          description: GLS_ES.
        - type: string
          enum:
            - GLS_FR
          description: GLS_FR.
        - type: string
          enum:
            - MONDIAL_BE
          description: MONDIAL_BE.
        - type: string
          enum:
            - SGT_IT
          description: SGT_IT.
        - type: string
          enum:
            - TNT_CN
          description: TNT_CN.
        - type: string
          enum:
            - TNT_DE
          description: TNT_DE.
        - type: string
          enum:
            - TNT_ES
          description: TNT_ES.
        - type: string
          enum:
            - TNT_PL
          description: TNT_PL.
        - type: string
          enum:
            - PARCELFORCE
          description: PARCELFORCE.
        - type: string
          enum:
            - SWISS_POST
          description: SWISS POST.
        - type: string
          enum:
            - TOLL_IPEC
          description: TOLL IPEC.
        - type: string
          enum:
            - AIR_21
          description: AIR 21.
        - type: string
          enum:
            - AIRSPEED
          description: AIRSPEED.
        - type: string
          enum:
            - BERT
          description: BERT.
        - type: string
          enum:
            - BLUEDART
          description: BLUEDART.
        - type: string
          enum:
            - COLLECTPLUS
          description: COLLECTPLUS.
        - type: string
          enum:
            - COURIERPLUS
          description: COURIERPLUS.
        - type: string
          enum:
            - COURIER_POST
          description: COURIER POST.
        - type: string
          enum:
            - DHL_GLOBAL_MAIL
          description: dhl_global_mail.
        - type: string
          enum:
            - DPD_UK
          description: dpd_uk.
        - type: string
          enum:
            - DELTEC_DE
          description: DELTEC DE.
        - type: string
          enum:
            - DEUTSCHE_DE
          description: deutsche_de.
        - type: string
          enum:
            - DOTZOT
          description: DOTZOT.
        - type: string
          enum:
            - ELTA_GR
          description: elta_gr.
        - type: string
          enum:
            - EMS_CN
          description: ems_cn.
        - type: string
          enum:
            - ECARGO
          description: ECARGO.
        - type: string
          enum:
            - ENSENDA
          description: ENSENDA.
        - type: string
          enum:
            - FERCAM_IT
          description: fercam_it.
        - type: string
          enum:
            - FASTWAY_ZA
          description: fastway_za.
        - type: string
          enum:
            - FASTWAY_AU
          description: fastway_au.
        - type: string
          enum:
            - FIRST_LOGISITCS
          description: first_logisitcs.
        - type: string
          enum:
            - GEODIS
          description: GEODIS.
        - type: string
          enum:
            - GLOBEGISTICS
          description: GLOBEGISTICS.
        - type: string
          enum:
            - GREYHOUND
          description: GREYHOUND.
        - type: string
          enum:
            - JETSHIP_MY
          description: jetship_my.
        - type: string
          enum:
            - LION_PARCEL
          description: LION PARCEL.
        - type: string
          enum:
            - AEROFLASH
          description: AEROFLASH.
        - type: string
          enum:
            - ONTRAC
          description: ONTRAC.
        - type: string
          enum:
            - SAGAWA
          description: SAGAWA.
        - type: string
          enum:
            - SIODEMKA
          description: SIODEMKA.
        - type: string
          enum:
            - STARTRACK
          description: startrack.
        - type: string
          enum:
            - TNT_AU
          description: tnt_au.
        - type: string
          enum:
            - TNT_IT
          description: tnt_it.
        - type: string
          enum:
            - TRANSMISSION
          description: TRANSMISSION.
        - type: string
          enum:
            - YAMATO
          description: YAMATO.
        - type: string
          enum:
            - DHL_IT
          description: dhl_it.
        - type: string
          enum:
            - DHL_AT
          description: dhl_at.
        - type: string
          enum:
            - LOGISTICSWORLDWIDE_KR
          description: LOGISTICSWORLDWIDE KR.
        - type: string
          enum:
            - GLS_SPAIN
          description: gls_spain.
        - type: string
          enum:
            - AMAZON_UK_API
          description: amazon_uk_api.
        - type: string
          enum:
            - DPD_FR_REFERENCE
          description: dpd_fr_reference.
        - type: string
          enum:
            - DHLPARCEL_UK
          description: dhlparcel_uk.
        - type: string
          enum:
            - MEGASAVE
          description: megasave.
        - type: string
          enum:
            - QUALITYPOST
          description: qualitypost.
        - type: string
          enum:
            - IDS_LOGISTICS
          description: ids_logistics.
        - type: string
          enum:
            - JOYINGBOX
          description: joyingbox.
        - type: string
          enum:
            - PANTHER_ORDER_NUMBER
          description: panther_order_number.
        - type: string
          enum:
            - WATKINS_SHEPARD
          description: watkins_shepard.
        - type: string
          enum:
            - FASTTRACK
          description: fasttrack.
        - type: string
          enum:
            - UP_EXPRESS
          description: up_express.
        - type: string
          enum:
            - ELOGISTICA
          description: elogistica.
        - type: string
          enum:
            - ECOURIER
          description: ecourier.
        - type: string
          enum:
            - CJ_PHILIPPINES
          description: cj_philippines.
        - type: string
          enum:
            - SPEEDEX
          description: speedex.
        - type: string
          enum:
            - ORANGECONNEX
          description: orangeconnex.
        - type: string
          enum:
            - TECOR
          description: tecor.
        - type: string
          enum:
            - SAEE
          description: saee.
        - type: string
          enum:
            - GLS_ITALY_FTP
          description: gls_italy_ftp.
        - type: string
          enum:
            - DELIVERE
          description: delivere.
        - type: string
          enum:
            - YYCOM
          description: yycom.
        - type: string
          enum:
            - ADICIONAL_PT
          description: <a href="http://www.adicional.pt/">Adicional Logistics</a>.
        - type: string
          enum:
            - DKSH
          description: <a href="https://www.dksh.com/global-en/home">DKSH</a>.
        - type: string
          enum:
            - NIPPON_EXPRESS_FTP
          description: <a href="https://www.nipponexpress.com/">Nippon Express</a>.
        - type: string
          enum:
            - GOLS
          description: <a href="https://gols.com.hk/">GO Logistics & Storage</a>.
        - type: string
          enum:
            - FUJEXP
          description: <a href="http://fujexp.com/">FUJIE EXPRESS</a>.
        - type: string
          enum:
            - QTRACK
          description: <a href="https://qtrack.io/home">QTrack</a>.
        - type: string
          enum:
            - OMLOGISTICS_API
          description: <a href="https://omlogistics.co.in/">OM LOGISTICS LTD</a>.
        - type: string
          enum:
            - GDPHARM
          description: <a href="https://gdpharm.ru/company/">GDPharm Logistics</a>.
        - type: string
          enum:
            - MISUMI_CN
          description: <a href="">MISUMI Group Inc.</a>.
        - type: string
          enum:
            - AIR_CANADA
          description: <a href="https://www.aircanada.com">Rivo</a>.
        - type: string
          enum:
            - CITY56_WEBHOOK
          description: <a href="https://www.city56.com/">City Express</a>.
        - type: string
          enum:
            - SAGAWA_API
          description: <a href="https://www.sagawa-exp.co.jp/">Sagawa</a>.
        - type: string
          enum:
            - KEDAEX
          description: <a href="http://www.kedaex.com/">KedaEX</a>.
        - type: string
          enum:
            - PGEON_API
          description: <a href="https://www.pgeon.delivery/">Pgeon</a>.
        - type: string
          enum:
            - WEWORLDEXPRESS
          description: <a href="https://www.weworldexpress.com/index.html">We World
            Express</a>.
        - type: string
          enum:
            - JT_LOGISTICS
          description: <a href="https://www.jet-logistics.com/en/">J&T International
            logistics</a>.
        - type: string
          enum:
            - TRUSK
          description: <a href="https://www.trusk.com/">Trusk France</a>.
        - type: string
          enum:
            - VIAXPRESS
          description: <a href="https://www.viaxpress.es/">ViaXpress</a>.
        - type: string
          enum:
            - DHL_SUPPLYCHAIN_ID
          description: <a
            href="https://www.logistics.dhl/id-en/home/our-divisions/supply-chain.html">DHL
            Supply Chain Indonesia</a>.
        - type: string
          enum:
            - ZUELLIGPHARMA_SFTP
          description: <a href="https://www.zuelligpharma.com/">Zuellig Pharma Korea</a>.
        - type: string
          enum:
            - MEEST
          description: <a href="https://international.meest.com/">Meest</a>.
        - type: string
          enum:
            - TOLL_PRIORITY
          description: <a
            href="https://www.tollpriority.com.au/portal/page/portal/TOLL_PRIORITY/Home">Toll
            Priority</a>.
        - type: string
          enum:
            - MOTHERSHIP_API
          description: <a href="http://www.mothership.com/">Mothership</a>.
        - type: string
          enum:
            - CAPITAL
          description: <a href="http://www.capitaltransport.com.au/">Capital Transport</a>.
        - type: string
          enum:
            - EUROPAKET_API
          description: <a href="https://www.europaket.de/index.php/en">Europacket+</a>.
        - type: string
          enum:
            - HFD
          description: <a href="https://www.hfd.co.il/">HFD</a>.
        - type: string
          enum:
            - TOURLINE_REFERENCE
          description: <a href="https://www.tourlineexpress.com">Tourline Express</a>.
        - type: string
          enum:
            - GIO_ECOURIER
          description: <a href="https://gio.e-courier.com/gio/home/index.asp">GIO Express
            Inc</a>.
        - type: string
          enum:
            - CN_LOGISTICS
          description: <a href="https://www.cnlogistics.com.hk/en/home.aspx">CN
            Logistics</a>.
        - type: string
          enum:
            - PANDION
          description: <a href="https://www.pandionpro.com/">Pandion</a>.
        - type: string
          enum:
            - BPOST_API
          description: <a href="https://www.bpost.be/">Bpost API</a>.
        - type: string
          enum:
            - PASSPORTSHIPPING
          description: <a href="https://passportshipping.com/">Passport Shipping</a>.
        - type: string
          enum:
            - PAKAJO
          description: <a href="https://www.pakajo.world/">Pakajo World</a>.
        - type: string
          enum:
            - DACHSER
          description: <a href="https://www.dachser.com/">DACHSER</a>.
        - type: string
          enum:
            - YUSEN_SFTP
          description: <a href="https://www.yusen-logistics.com/en/">Yusen Logistics</a>.
        - type: string
          enum:
            - SHYPLITE
          description: <a href="https://shyplite.com/">Shypmax</a>.
        - type: string
          enum:
            - XYY
          description: <a href="http://www.xingyunyi.cn/">Xingyunyi Logistics</a>.
        - type: string
          enum:
            - MWD
          description: <a href="https://www.metropolitanwarehouse.com">Metropolitan
            Warehouse & Delivery</a>.
        - type: string
          enum:
            - FAXECARGO
          description: <a href="http://www.faxecargo.com.br/">Faxe Cargo</a>.
        - type: string
          enum:
            - MAZET
          description: <a href="https://www.mazet.com/">Groupe Mazet</a>.
        - type: string
          enum:
            - FIRST_LOGISTICS_API
          description: <a href="https://www.firstlogistics.co.id/">First Logistics</a>.
        - type: string
          enum:
            - SPRINT_PACK
          description: <a href="http://track.sprintpack.com.cn/">SPRINT PACK</a>.
        - type: string
          enum:
            - HERMES_DE_FTP
          description: <a
            href="https://www.myhermes.de/wps/portal/paket/Home/privatkunden/home">Hermes
            Germany</a>.
        - type: string
          enum:
            - CONCISE
          description: <a href="https://www.concisetrack.com/">Concise</a>.
        - type: string
          enum:
            - KERRY_EXPRESS_TW_API
          description: <a href="https://www.kerryexpress.com.tw/">Kerry Express TaiWan</a>.
        - type: string
          enum:
            - EWE
          description: <a href="https://en.ewe.com.au/">EWE Global Express</a>.
        - type: string
          enum:
            - FASTDESPATCH
          description: <a href="https://fastdespatch.com/en/">Fast Despatch Logistics
            Limited</a>.
        - type: string
          enum:
            - ABCUSTOM_SFTP
          description: <a href="https://www.abcustom.es/portal/en/home">AB Custom Group</a>.
        - type: string
          enum:
            - CHAZKI
          description: <a href="https://chazki.com/argentina">Chazki</a>.
        - type: string
          enum:
            - SHIPPIE
          description: <a href="https://www.shippie.ca/">Shippie</a>.
        - type: string
          enum:
            - GEODIS_API
          description: <a href="https://www.geodis.com/">GEODIS - Distribution &
            Express</a>.
        - type: string
          enum:
            - NAQEL_EXPRESS
          description: <a href="https://www.naqelexpress.com/">Naqel Express</a>.
        - type: string
          enum:
            - PAPA_WEBHOOK
          description: <a href="https://www.zyllem.com/">Papa</a>.
        - type: string
          enum:
            - FORWARDAIR
          description: <a href="https://www.forwardair.com/">Forward Air</a>.
        - type: string
          enum:
            - DIALOGO_LOGISTICA_API
          description: <a href="https://dialogologistica.com.br/">Dialogo Logistica</a>.
        - type: string
          enum:
            - LALAMOVE_API
          description: <a href="https://www.lalamove.com/en-my/">Lalamove</a>.
        - type: string
          enum:
            - TOMYDOOR
          description: <a href="https://www.tomydoor.com.au/">Tomydoor</a>.
        - type: string
          enum:
            - KRONOS_WEBHOOK
          description: <a href="www.kronosexpress.com">Kronos Express</a>.
        - type: string
          enum:
            - JTCARGO
          description: <a href="https://www.jtcargo.id/">J&T CARGO</a>.
        - type: string
          enum:
            - T_CAT
          description: <a href="https://www.t-cat.com.tw/">T-cat</a>.
        - type: string
          enum:
            - CONCISE_WEBHOOK
          description: <a href="https://concise.io/">Concise</a>.
        - type: string
          enum:
            - TELEPORT_WEBHOOK
          description: <a href="https://www.teleport.asia/">Teleport</a>.
        - type: string
          enum:
            - CUSTOMCO_API
          description: <a href="http://www.customco.com/">The Custom Companies</a>.
        - type: string
          enum:
            - SPX_TH
          description: <a href="https://spx.co.th/en/">Shopee Xpress</a>.
        - type: string
          enum:
            - BOLLORE_LOGISTICS
          description: <a href="https://www.bollore-logistics.com/en/">Bollore
            Logistics</a>.
        - type: string
          enum:
            - CLICKLINK_SFTP
          description: <a href="https://www.clippergroup.co.uk/">ClickLink</a>.
        - type: string
          enum:
            - M3LOGISTICS
          description: <a href="https://m3logistics.com/">M3 Logistics</a>.
        - type: string
          enum:
            - VNPOST_API
          description: <a href="http://www.vnpost.vn/">Vietnam Post</a>.
        - type: string
          enum:
            - AXLEHIRE_FTP
          description: <a href="https://axlehire.com">Axlehire</a>.
        - type: string
          enum:
            - SHADOWFAX
          description: <a href="https://www.shadowfax.in/">Shadowfax</a>.
        - type: string
          enum:
            - MYHERMES_UK_API
          description: <a href="https://www.evri.com/">EVRi</a>.
        - type: string
          enum:
            - DAIICHI
          description: <a href="https://www.daiichi-kamotsu.co.jp/">Daiichi Freight System
            Inc</a>.
        - type: string
          enum:
            - MENSAJEROSURBANOS_API
          description: <a href="https://mensajerosurbanos.com/">Mensajeros Urbanos</a>.
        - type: string
          enum:
            - POLARSPEED
          description: <a href="https://www.polarspeed.com/">PolarSpeed Inc</a>.
        - type: string
          enum:
            - IDEXPRESS_ID
          description: <a href="https://idexpress.com/">iDexpress Indonesia</a>.
        - type: string
          enum:
            - PAYO
          description: <a href="https://payo.asia/">Payo</a>.
        - type: string
          enum:
            - WHISTL_SFTP
          description: <a href="https://trackmyitem.whistl.co.uk/">Whistl</a>.
        - type: string
          enum:
            - INTEX_DE
          description: <a href="https://www.intex-paketdienst.de/website/">INTEX
            Paketdienst GmbH</a>.
        - type: string
          enum:
            - TRANS2U
          description: <a href="https://trans2u.com/">Trans2u</a>.
        - type: string
          enum:
            - PRODUCTCAREGROUP_SFTP
          description: <a href="http://productcaregroup.com/">Product Care Services
            Limited</a>.
        - type: string
          enum:
            - BIGSMART
          description: <a href="https://bigsmart.mx/">Big Smart</a>.
        - type: string
          enum:
            - EXPEDITORS_API_REF
          description: <a href="https://www.expeditors.com">Expeditors API Reference</a>.
        - type: string
          enum:
            - AITWORLDWIDE_API
          description: <a href="https://www.aitworldwide.com/">AIT</a>.
        - type: string
          enum:
            - WORLDCOURIER
          description: <a href="https://www.worldcourier.com/">World Courier</a>.
        - type: string
          enum:
            - QUIQUP
          description: <a href="https://www.quiqup.com/">Quiqup</a>.
        - type: string
          enum:
            - AGEDISS_SFTP
          description: <a href="https://www.agediss.com/en/">Agediss</a>.
        - type: string
          enum:
            - ANDREANI_API
          description: <a href="https://www.andreani.com/">Andreani</a>.
        - type: string
          enum:
            - CRLEXPRESS
          description: <a href="https://www.crlexpress.com/">CRL Express</a>.
        - type: string
          enum:
            - SMARTCAT
          description: <a href="http://viphm56.com/">SMARTCAT</a>.
        - type: string
          enum:
            - CROSSFLIGHT
          description: <a href="https://www.crossflight.com/">Crossflight Limited</a>.
        - type: string
          enum:
            - PROCARRIER
          description: <a href="https://weareprocarrier.com/">Pro Carrier</a>.
        - type: string
          enum:
            - DHL_REFERENCE_API
          description: <a href="https://www.dhl.com/">DHL (Reference number)</a>.
        - type: string
          enum:
            - SEINO_API
          description: <a href="https://www.seino.co.jp/">Seino</a>.
        - type: string
          enum:
            - WSPEXPRESS
          description: <a href="https://www.wspexpress.cl/">WSP Express</a>.
        - type: string
          enum:
            - KRONOS
          description: <a href="www.kronosexpress.com">Kronos Express</a>.
        - type: string
          enum:
            - TOTAL_EXPRESS_API
          description: <a href="https://www.totalexpress.com.br/">Total Express</a>.
        - type: string
          enum:
            - PARCLL
          description: <a href="https://www.parcll.com/">PARCLL</a>.
        - type: string
          enum:
            - XPEDIGO
          description: <a href="https://www.xpedigo.com/en/home/">Xpedigo</a>.
        - type: string
          enum:
            - STAR_TRACK_WEBHOOK
          description: <a href="https://startrack.com.au/">StarTrack</a>.
        - type: string
          enum:
            - GPOST
          description: <a href="https://www.gpost.ge/main">Georgian Post</a>.
        - type: string
          enum:
            - UCS
          description: <a href="http://www.ucsus.net/cn/index.asp">UCS</a>.
        - type: string
          enum:
            - DMFGROUP
          description: <a href="https://www.dmfgroup.net/about-us">DMF</a>.
        - type: string
          enum:
            - COORDINADORA_API
          description: <a href="https://www.coordinadora.com/">Coordinadora</a>.
        - type: string
          enum:
            - MARKEN
          description: <a href="https://online.marken.com/">Marken</a>.
        - type: string
          enum:
            - NTL
          description: <a href="http://www.ntl-trans.com">NTL logistics</a>.
        - type: string
          enum:
            - REDJEPAKKETJE
          description: <a href="https://redjepakketje.nl/">Red je Pakketje</a>.
        - type: string
          enum:
            - ALLIED_EXPRESS_FTP
          description: <a href="https://www.alliedexpress.com.au/">Allied Express (FTP)</a>.
        - type: string
          enum:
            - MONDIALRELAY_ES
          description: <a href="https://www.puntopack.es/">Mondial Relay Spain(Punto
            Pack)</a>.
        - type: string
          enum:
            - NAEKO_FTP
          description: <a href="http://www.naeko.es/">Naeko Logistics</a>.
        - type: string
          enum:
            - MHI
          description: <a href="https://www.mhi.co/">Mhi</a>.
        - type: string
          enum:
            - SHIPPIFY
          description: <a href="https://www.shippify.co/">Shippify, Inc</a>.
        - type: string
          enum:
            - MALCA_AMIT_API
          description: <a href="https://my.malca-amit.com/home/">Malca Amit</a>.
        - type: string
          enum:
            - JTEXPRESS_SG_API
          description: <a href="https://www.jtexpress.sg/">J&T Express Singapore</a>.
        - type: string
          enum:
            - DACHSER_WEB
          description: <a href="https://www.dachser.com/">DACHSER</a>.
        - type: string
          enum:
            - FLIGHTLG
          description: <a href="https://www.flightlg.com/">Flight Logistics Group</a>.
        - type: string
          enum:
            - CAGO
          description: <a href="https://tms.velocwave.com/">Cago</a>.
        - type: string
          enum:
            - COM1EXPRESS
          description: <a href="http://com1express.net/home.html">ComOne Express</a>.
        - type: string
          enum:
            - TONAMI_FTP
          description: <a href="https://www.tonami.co.jp/">Tonami</a>.
        - type: string
          enum:
            - PACKFLEET
          description: <a href="https://packfleet.com/">PACKFLEET</a>.
        - type: string
          enum:
            - PUROLATOR_INTERNATIONAL
          description: <a href="https://www.purolatorinternational.com/">Purolator
            International</a>.
        - type: string
          enum:
            - WINESHIPPING_WEBHOOK
          description: <a href="https://wineshipping.com/">Wineshipping</a>.
        - type: string
          enum:
            - DHL_ES_SFTP
          description: <a href="http://www.dhl.es/">DHL Spain Domestic</a>.
        - type: string
          enum:
            - PCHOME_API
          description: <a
            href="https://corp.pchome.tw/business-units/express/">網家速配股份有限公司</a>.
        - type: string
          enum:
            - CESKAPOSTA_API
          description: <a href="https://www.ceskaposta.cz/index">Czech Post</a>.
        - type: string
          enum:
            - GORUSH
          description: <a href="https://www.gorushbn.com/">Go Rush</a>.
        - type: string
          enum:
            - HOMERUNNER
          description: <a href="https://homerunner.dk/">HomeRunner</a>.
        - type: string
          enum:
            - AMAZON_ORDER
          description: <a href="https://www.amazon.com/progress-tracker/package">Amazon
            order</a>.
        - type: string
          enum:
            - EFWNOW_API
          description: <a href="https://efwnow.com/why-efw/">Estes Forwarding Worldwide</a>.
        - type: string
          enum:
            - CBL_LOGISTICA_API
          description: <a href="https://www.cbl-logistica.com/">CBL Logistica (API)</a>.
        - type: string
          enum:
            - NIMBUSPOST
          description: <a href="https://nimbuspost.com">NimbusPost</a>.
        - type: string
          enum:
            - LOGWIN_LOGISTICS
          description: <a href="https://www.logwin-logistics.com">Logwin Logistics</a>.
        - type: string
          enum:
            - NOWLOG_API
          description: <a href="http://sequoialog.com.br/">Sequoialog</a>.
        - type: string
          enum:
            - DPD_NL
          description: <a href="https://www.dpd.com/nl/en/">DPD Netherlands</a>.
        - type: string
          enum:
            - GODEPENDABLE
          description: <a href="https://www.godependable.com/">Dependable Supply Chain
            Services</a>.
        - type: string
          enum:
            - ESDEX
          description: <a href="https://www.esdex.com/">Top Ideal Express</a>.
        - type: string
          enum:
            - LOGISYSTEMS_SFTP
          description: <a href="https://www.logisystems.fi/">Kiitäjät</a>.
        - type: string
          enum:
            - EXPEDITORS
          description: <a href="https://www.expeditors.com/">Expeditors</a>.
        - type: string
          enum:
            - SNTGLOBAL_API
          description: <a href="http://ets.sntglobal.com/?mod=tracking">Snt Global
            Etrax</a>.
        - type: string
          enum:
            - SHIPX
          description: <a href="https://www.shipx.com/">ShipX</a>.
        - type: string
          enum:
            - QINTL_API
          description: <a href="https://quick.aero/">Quickstat Courier LLC</a>.
        - type: string
          enum:
            - PACKS
          description: <a href="http://www.packs.nl/">Packs</a>.
        - type: string
          enum:
            - POSTNL_INTERNATIONAL
          description: <a href="http://www.postnl.nl/voorthuis/">PostNL International</a>.
        - type: string
          enum:
            - AMAZON_EMAIL_PUSH
          description: <a href="https://www.swiship.com/">Amazon</a>.
        - type: string
          enum:
            - DHL_API
          description: <a href="https://mydhl.express.dhl">DHL</a>.
        - type: string
          enum:
            - SPX
          description: <a href="https://spx.co.id/">Shopee Express</a>.
        - type: string
          enum:
            - AXLEHIRE
          description: <a href="https://axlehire.com/">AxleHire</a>.
        - type: string
          enum:
            - ICSCOURIER
          description: <a href="https://www.icscourier.ca/default.aspx">ICS COURIER</a>.
        - type: string
          enum:
            - DIALOGO_LOGISTICA
          description: <a href="https://dialogologistica.com.br/">Dialogo Logistica</a>.
        - type: string
          enum:
            - SHUNBANG_EXPRESS
          description: <a href="http://www.kjy.com/">ShunBang Express</a>.
        - type: string
          enum:
            - TCS_API
          description: <a href="https://www.tcsexpress.com/">TCS</a>.
        - type: string
          enum:
            - SF_EXPRESS_CN
          description: <a href="https://www.sf-express.com/">SF Express China</a>.
        - type: string
          enum:
            - PACKETA
          description: <a href="https://www.packeta.de/">Packeta</a>.
        - type: string
          enum:
            - SIC_TELIWAY
          description: <a
            href="https://sic.teliway.com/appli/vsic/tracking/suivi.php?code=sic&clef=">Teliway
            SIC Express</a>.
        - type: string
          enum:
            - MONDIALRELAY_FR
          description: <a href="https://www.mondialrelay.fr/">Mondial Relay France</a>.
        - type: string
          enum:
            - INTIME_FTP
          description: <a href="https://www.intime.de/en/">InTime</a>.
        - type: string
          enum:
            - JD_EXPRESS
          description: <a href="https://www.jdl.cn/">京东物流</a>.
        - type: string
          enum:
            - FASTBOX
          description: <a href="https://fastbox.co.kr/en/index.php">Fastbox</a>.
        - type: string
          enum:
            - PATHEON
          description: <a href="https://patheon.com/logistics-services/">Patheon
            Logistics</a>.
        - type: string
          enum:
            - INDIA_POST
          description: <a href="https://www.indiapost.gov.in/">India Post Domestic</a>.
        - type: string
          enum:
            - TIPSA_REF
          description: <a href="https://www.tip-sa.com">Tipsa Reference</a>.
        - type: string
          enum:
            - ECOFREIGHT
          description: <a href="https://www.ecofreight.com/">Eco Freight</a>.
        - type: string
          enum:
            - VOX
          description: <a href="https://www.vox.com.ar">VOX SOLUCION EMPRESARIAL SRL</a>.
        - type: string
          enum:
            - DIRECTFREIGHT_AU_REF
          description: <a href="https://www.directfreight.com.au/">Direct Freight
            Express</a>.
        - type: string
          enum:
            - BESTTRANSPORT_SFTP
          description: <a href="https://www.besttransport.se/foretag/">Best Transport</a>.
        - type: string
          enum:
            - AUSTRALIA_POST_API
          description: <a href="https://auspost.com.au/">Australia Post</a>.
        - type: string
          enum:
            - FRAGILEPAK_SFTP
          description: <a href="https://www.fragilepak.com/">FragilePAK</a>.
        - type: string
          enum:
            - FLIPXP
          description: <a href="https://flipxp.com/">FlipXpress</a>.
        - type: string
          enum:
            - VALUE_WEBHOOK
          description: <a href="https://value.co.za/">Value Logistics</a>.
        - type: string
          enum:
            - DAESHIN
          description: <a href="https://www.ds3211.co.kr">Daeshin</a>.
        - type: string
          enum:
            - SHERPA
          description: <a href="https://www.sherpa.net.au/">Sherpa</a>.
        - type: string
          enum:
            - MWD_API
          description: <a href="https://www.metropolitanwarehouse.com">Metropolitan
            Warehouse & Delivery</a>.
        - type: string
          enum:
            - SMARTKARGO
          description: <a href="https://www.smartkargo.com/">SmartKargo</a>.
        - type: string
          enum:
            - DNJ_EXPRESS
          description: <a href="http://www.dnjexpress.com/en/index.html">DNJ Express</a>.
        - type: string
          enum:
            - GOPEOPLE
          description: <a href="https://www.gopeople.com.au/">Go People</a>.
        - type: string
          enum:
            - MYSENDLE_API
          description: <a href="https://mysendle.com/">mySendle</a>.
        - type: string
          enum:
            - ARAMEX_API
          description: <a href="https://www.aramex.com/us/en">Aramex</a>.
        - type: string
          enum:
            - PIDGE
          description: <a href="http://www.pidge.in/">Pidge</a>.
        - type: string
          enum:
            - THAIPARCELS
          description: <a href="https://www.thaiparcels.com/Main/index.php">TP Logistic</a>.
        - type: string
          enum:
            - PANTHER_REFERENCE_API
          description: <a href="http://www.pantherpremium.com/">Panther Reference</a>.
        - type: string
          enum:
            - POSTAPLUS
          description: <a href="https://www.postaplus.com">Posta Plus</a>.
        - type: string
          enum:
            - BUFFALO
          description: <a href="https://buffaloex.co.za/">BUFFALO</a>.
        - type: string
          enum:
            - U_ENVIOS
          description: <a href="https://u-envios.com/">U-ENVIOS</a>.
        - type: string
          enum:
            - ELITE_CO
          description: <a href="https://www.elite-co.com/Default.aspx">Elite Express</a>.
        - type: string
          enum:
            - ROCHE_INTERNAL_SFTP
          description: <a href="-">Roche Internal Courier</a>.
        - type: string
          enum:
            - DBSCHENKER_ICELAND
          description: <a href="https://www.dbschenker.com/is-en">DB Schenker Iceland</a>.
        - type: string
          enum:
            - TNT_FR_REFERENCE
          description: <a href="https://www.tnt.com/express/fr_fr/site/home.html">TNT
            France Reference</a>.
        - type: string
          enum:
            - NEWGISTICSAPI
          description: <a href="https://www.newgistics.com/">Newgistics API</a>.
        - type: string
          enum:
            - GLOVO
          description: <a href="https://glovoapp.com/">Glovo</a>.
        - type: string
          enum:
            - GWLOGIS_API
          description: <a href="www.gwlogis.co.kr">G.I.G</a>.
        - type: string
          enum:
            - SPREETAIL_API
          description: <a href="https://www.wearespreetail.com/">Spreetail</a>.
        - type: string
          enum:
            - MOOVA
          description: <a href="https://moova.io/">Moova</a>.
        - type: string
          enum:
            - PLYCONGROUP
          description: <a href="https://plycongroup.com/">Plycon Transportation Group</a>.
        - type: string
          enum:
            - USPS_WEBHOOK
          description: <a href="https://www.usps.com/">USPS Informed Visibility -
            Webhook</a>.
        - type: string
          enum:
            - REIMAGINEDELIVERY
          description: <a href="https://maergo.com/">maergo</a>.
        - type: string
          enum:
            - EDF_FTP
          description: <a href="http://www.eurodifarm.com">Eurodifarm</a>.
        - type: string
          enum:
            - DAO365
          description: <a href="https://www.dao.as/">DAO365</a>.
        - type: string
          enum:
            - BIOCAIR_FTP
          description: <a href="https://www.biocair.com/">BioCair</a>.
        - type: string
          enum:
            - RANSA_WEBHOOK
          description: <a href="https://www.ransa.biz/">Ransa</a>.
        - type: string
          enum:
            - SHIPXPRES
          description: <a href="https://shipxpres.com/">SHIPXPRESS</a>.
        - type: string
          enum:
            - COURANT_PLUS_API
          description: <a href="https://courant.plus/">Courant Plus</a>.
        - type: string
          enum:
            - SHIPA
          description: <a href="https://shipa.com">SHIPA</a>.
        - type: string
          enum:
            - HOMELOGISTICS
          description: <a href="https://homelogistics.es/">Home Logistics</a>.
        - type: string
          enum:
            - DX
          description: <a href="https://www.dxdelivery.com/">DX</a>.
        - type: string
          enum:
            - POSTE_ITALIANE_PACCOCELERE
          description: <a href="https://www.poste.it/">Poste Italiane Paccocelere</a>.
        - type: string
          enum:
            - TOLL_WEBHOOK
          description: <a href="https://www.tollgroup.com/">Toll Group</a>.
        - type: string
          enum:
            - LCTBR_API
          description: <a href="http://www.lctbr.com/">LCT do Brasil</a>.
        - type: string
          enum:
            - DX_FREIGHT
          description: <a href="https://www.dxdelivery.com/">DX Freight</a>.
        - type: string
          enum:
            - DHL_SFTP
          description: <a href="https://mydhl.express.dhl">DHL Express</a>.
        - type: string
          enum:
            - SHIPROCKET
          description: <a href="https://www.shiprocket.in/x/">Shiprocket X</a>.
        - type: string
          enum:
            - UBER_WEBHOOK
          description: <a href="https://www.uber.com/tw/zh-tw/item-delivery/">Uber</a>.
        - type: string
          enum:
            - STATOVERNIGHT
          description: <a href="https://statovernight.com/">Stat Overnight</a>.
        - type: string
          enum:
            - BURD
          description: <a href="https://burd.dk/">Burd Delivery</a>.
        - type: string
          enum:
            - FASTSHIP
          description: <a href="https://fastship.co/">Fastship Express</a>.
        - type: string
          enum:
            - IBVENTURE_WEBHOOK
          description: <a href="https://www.zyllem.com/">IB Venture</a>.
        - type: string
          enum:
            - GATI_KWE_API
          description: <a href="https://www.gati.com/">Gati-KWE</a>.
        - type: string
          enum:
            - CRYOPDP_FTP
          description: <a href="https://www.cryopdp.com/">CryoPDP</a>.
        - type: string
          enum:
            - HUBBED
          description: <a href="https://hubbed.com">HUBBED</a>.
        - type: string
          enum:
            - TIPSA_API
          description: <a href="https://www.tip-sa.com">Tipsa API</a>.
        - type: string
          enum:
            - ARASKARGO
          description: <a href="https://www.araskargo.com.tr/tr/">Aras Cargo</a>.
        - type: string
          enum:
            - THIJS_NL
          description: <a href="http://www.thijs.nl/">Thijs Logistiek</a>.
        - type: string
          enum:
            - ATSHEALTHCARE_REFERENCE
          description: <a href="https://www.atshealthcare.ca/index">ATS Healthcare</a>.
        - type: string
          enum:
            - 99MINUTOS
          description: <a href="https://www.99minutos.com/">99minutos</a>.
        - type: string
          enum:
            - HELLENIC_POST
          description: <a href="https://www.elta-courier.gr/">Hellenic (Greece) Post</a>.
        - type: string
          enum:
            - HSM_GLOBAL
          description: <a href="https://www.hsmglobal.co.uk/">HSM Global</a>.
        - type: string
          enum:
            - MNX
          description: <a href="https://www.mnx.com/">MNX</a>.
        - type: string
          enum:
            - NMTRANSFER
          description: <a href="https://www.nmtransfer.com/index">N&M Transfer Co.,
            Inc.</a>.
        - type: string
          enum:
            - LOGYSTO
          description: <a href="https://logysto.com/">Logysto</a>.
        - type: string
          enum:
            - INDIA_POST_INT
          description: <a href="https://www.indiapost.gov.in/">India Post International</a>.
        - type: string
          enum:
            - AMAZON_FBA_SWISHIP_IN
          description: <a href="https://track.amazon.in/">Swiship IN</a>.
        - type: string
          enum:
            - SRT_TRANSPORT
          description: <a href="https://rb9transport.dk/">SRT Transport</a>.
        - type: string
          enum:
            - BOMI
          description: <a href="https://www.bomigroup.com/">Bomi Group</a>.
        - type: string
          enum:
            - DELIVERR_SFTP
          description: <a href="https://deliverr.com/">Deliverr</a>.
        - type: string
          enum:
            - HSDEXPRESS
          description: <a href="http://hsdexpress.com/">HSDEXPRESS</a>.
        - type: string
          enum:
            - SIMPLETIRE_WEBHOOK
          description: <a href="https://simpletire.com/">SimpleTire</a>.
        - type: string
          enum:
            - HUNTER_EXPRESS_SFTP
          description: <a href="https://www.hunterexpress.com.au">Hunter Express</a>.
        - type: string
          enum:
            - UPS_API
          description: <a href="https://www.ups.com">UPS</a>.
        - type: string
          enum:
            - WOOYOUNG_LOGISTICS_SFTP
          description: <a href="http://www.wycl.co.kr/">WOO YOUNG LOGISTICS CO.,LTD.</a>.
        - type: string
          enum:
            - PHSE_API
          description: <a href="https://www.phse.com/">PHSE</a>.
        - type: string
          enum:
            - WISH_EMAIL_PUSH
          description: <a href="https://www.wish.com/">Wish</a>.
        - type: string
          enum:
            - NORTHLINE
          description: <a href="https://www.northline.com.au/">Northline</a>.
        - type: string
          enum:
            - MEDAFRICA
          description: <a href="https://medafrica-log.com/">Med Africa Logistics</a>.
        - type: string
          enum:
            - DPD_AT_SFTP
          description: <a href="https://www.schachinger.com/dpd/">DPD Austria</a>.
        - type: string
          enum:
            - ANTERAJA
          description: <a href="https://anteraja.id/">Anteraja</a>.
        - type: string
          enum:
            - DHL_GLOBAL_FORWARDING_API
          description: <a
            href="https://www.dhl.com/global-en/home/tracking/tracking-global-forwarding.html">DHL
            Global Forwarding API</a>.
        - type: string
          enum:
            - LBCEXPRESS_API
          description: <a href="https://www.lbcexpress.com/">LBC EXPRESS INC.</a>.
        - type: string
          enum:
            - SIMSGLOBAL
          description: <a href="https://www.shipsims.com/">Sims Global</a>.
        - type: string
          enum:
            - CDLDELIVERS
          description: <a href="https://cdldelivers.com/">CDL Last Mile</a>.
        - type: string
          enum:
            - TYP
          description: <a href="https://typ.delivery/">TYP</a>.
        - type: string
          enum:
            - TESTING_COURIER_WEBHOOK
          description: <a href="https://www.aftership.com/">Testing Courier</a>.
        - type: string
          enum:
            - PANDAGO_API
          description: <a href="https://pandago.hk/">Pandago</a>.
        - type: string
          enum:
            - ROYAL_MAIL_FTP
          description: <a href="http://www.royalmail.com/">Royal Mail</a>.
        - type: string
          enum:
            - THUNDEREXPRESS
          description: <a href="https://thunderexpress.com.au/">Thunder Express
            Australia</a>.
        - type: string
          enum:
            - SECRETLAB_WEBHOOK
          description: <a href="https://www.zyllem.com/">Secretlab</a>.
        - type: string
          enum:
            - SETEL
          description: <a href="https://www.setel.com/business/setel-express/">Setel
            Express</a>.
        - type: string
          enum:
            - JD_WORLDWIDE
          description: <a href="https://www.jdworldwide.com/">JD Worldwide</a>.
        - type: string
          enum:
            - DPD_RU_API
          description: <a href="https://www.dpd.ru/">DPD Russia</a>.
        - type: string
          enum:
            - ARGENTS_WEBHOOK
          description: <a href="https://www.argents.com/">Argents Express Group</a>.
        - type: string
          enum:
            - POSTONE
          description: <a href="https://postone.eu/">Post ONE</a>.
        - type: string
          enum:
            - TUSKLOGISTICS
          description: <a href="https://www.tusklogistics.com/">Tusk Logistics</a>.
        - type: string
          enum:
            - RHENUS_UK_API
          description: <a
            href="https://www.rhenus.group/uk/en/supply-chain-solutions/home-delivery">Rhenus
            Logistics UK</a>.
        - type: string
          enum:
            - TAQBIN_SG_API
          description: <a href="https://www.yamatosingapore.com/">Yamato Singapore</a>.
        - type: string
          enum:
            - INNTRALOG_SFTP
          description: <a href="https://www.inntralog.de/">Inntralog GmbH</a>.
        - type: string
          enum:
            - DAYROSS
          description: <a href="https://dayross.com/">Day & Ross</a>.
        - type: string
          enum:
            - CORREOSEXPRESS_API
          description: <a
            href="https://www.correosexpress.com/web/correosexpress/home">Correos
            Express (API)</a>.
        - type: string
          enum:
            - INTERNATIONAL_SEUR_API
          description: <a href="https://www.seur.com/">International Seur API</a>.
        - type: string
          enum:
            - YODEL_API
          description: <a href="https://www.yodel.co.uk/">Yodel API</a>.
        - type: string
          enum:
            - HEROEXPRESS
          description: <a href="http://www.heroexpress.com.au/">Hero Express</a>.
        - type: string
          enum:
            - DHL_SUPPLYCHAIN_IN
          description: <a
            href="https://www.logistics.dhl/id-en/home/our-divisions/supply-chain.html">DHL
            supply chain India</a>.
        - type: string
          enum:
            - URGENT_CARGUS
          description: <a href="https://www.urgentcargus.ro/">Urgent Cargus</a>.
        - type: string
          enum:
            - FRONTDOORCORP
          description: <a href="https://frontdoorcorp.com/">FRONTdoor Collective</a>.
        - type: string
          enum:
            - JTEXPRESS_PH
          description: <a href="https://www.jtexpress.ph/">J&T Express Philippines</a>.
        - type: string
          enum:
            - PARCELSTARS_WEBHOOK
          description: <a href="https://www.parcelstars.com/">Parcelstars</a>.
        - type: string
          enum:
            - DPD_SK_SFTP
          description: <a href="https://www.dpd.com/sk/en/">DPD Slovakia</a>.
        - type: string
          enum:
            - MOVIANTO
          description: <a href="https://movianto.com/">Movianto</a>.
        - type: string
          enum:
            - OZEPARTS_SHIPPING
          description: <a href="https://www.ozeparts.com.au/">Ozeparts Shipping</a>.
        - type: string
          enum:
            - KARGOMKOLAY
          description: <a href="https://www.kargomkolay.com/">KargomKolay (CargoMini)</a>.
        - type: string
          enum:
            - TRUNKRS
          description: <a href="https://www.trunkrs.nl/">Trunkrs</a>.
        - type: string
          enum:
            - OMNIRPS_WEBHOOK
          description: <a href="https://www.omniparcelreturns.com/">Omni Returns</a>.
        - type: string
          enum:
            - CHILEXPRESS
          description: <a href="http://www.chilexpress.cl/">Chile Express</a>.
        - type: string
          enum:
            - TESTING_COURIER
          description: <a href="https://www.aftership.com/">Testing Courier</a>.
        - type: string
          enum:
            - JNE_API
          description: <a href="https://www.jne.co.id">JNE (API)</a>.
        - type: string
          enum:
            - BJSHOMEDELIVERY_FTP
          description: <a href="https://www.bjshomedelivery.com/">BJS Distribution,
            Storage & Couriers - FTP</a>.
        - type: string
          enum:
            - DEXPRESS_WEBHOOK
          description: <a href="http://www.dexpress.rs/">D Express</a>.
        - type: string
          enum:
            - USPS_API
          description: <a href="https://www.usps.com">USPS API</a>.
        - type: string
          enum:
            - TRANSVIRTUAL
          description: <a href="https://www.transvirtual.com/">TransVirtual</a>.
        - type: string
          enum:
            - SOLISTICA_API
          description: <a href="https://solistica.com">solistica</a>.
        - type: string
          enum:
            - CHIENVENTURE_WEBHOOK
          description: <a href="https://www.zyllem.com/">Chienventure</a>.
        - type: string
          enum:
            - DPD_UK_SFTP
          description: <a href="https://www.dpd.co.uk/">DPD UK</a>.
        - type: string
          enum:
            - INPOST_UK
          description: <a href="https://inpost.co.uk/">InPost</a>.
        - type: string
          enum:
            - JAVIT
          description: <a href="https://javit.com.ar/#/">Javit</a>.
        - type: string
          enum:
            - ZTO_DOMESTIC
          description: <a href="https://www.zto.com/">ZTO Express China</a>.
        - type: string
          enum:
            - DHL_GT_API
          description: <a href="https://www.dhl.com/gt-en/home.html">DHL Global Forwarding
            Guatemala</a>.
        - type: string
          enum:
            - CEVA_TRACKING
          description: <a href="https://www.cevalogistics.com/">CEVA Package</a>.
        - type: string
          enum:
            - KOMON_EXPRESS
          description: <a href="http://www.komonexpress.com/">Komon Express</a>.
        - type: string
          enum:
            - EASTWESTCOURIER_FTP
          description: <a href="https://booking.eastwestcourier.com.sg">East West Courier
            Pte Ltd</a>.
        - type: string
          enum:
            - DANNIAO
          description: <a href="https://www.danniao.com/index.html">Danniao</a>.
        - type: string
          enum:
            - SPECTRAN
          description: <a href="https://shipspectran.com/">Spectran</a>.
        - type: string
          enum:
            - DELIVER_IT
          description: <a href="https://www.deliver-it.com/">Deliver-iT</a>.
        - type: string
          enum:
            - RELAISCOLIS
          description: <a href="https://www.relaiscolis.com/">Relais Colis</a>.
        - type: string
          enum:
            - GLS_SPAIN_API
          description: <a href="https://www.gls-spain.es/es/">GLS Spain</a>.
        - type: string
          enum:
            - POSTPLUS
          description: <a href="https://www.post-plus.net">PostPlus</a>.
        - type: string
          enum:
            - AIRTERRA
          description: <a href="https://www.airterra.com/">Airterra</a>.
        - type: string
          enum:
            - GIO_ECOURIER_API
          description: <a href="https://gio.e-courier.com/gio/home/index.asp">GIO Express
            Ecourier</a>.
        - type: string
          enum:
            - DPD_CH_SFTP
          description: <a href="https://www.dpd.com/ch/en/">DPD Switzerland</a>.
        - type: string
          enum:
            - FEDEX_API
          description: <a href="https://www.fedex.com/">FedEx®</a>.
        - type: string
          enum:
            - INTERSMARTTRANS
          description: <a
            href="https://infocif.economia3.com/ficha-empresa/intersmarttrans--solutions-sl">INTERSMARTTRANS
            & SOLUTIONS SL</a>.
        - type: string
          enum:
            - HERMES_UK_SFTP
          description: <a href="https://www.myhermes.co.uk/">Hermes UK</a>.
        - type: string
          enum:
            - EXELOT_FTP
          description: <a href="https://www.exelot.com/">Exelot Ltd.</a>.
        - type: string
          enum:
            - DHL_PA_API
          description: <a href="https://www.dhl.com/pe-es/home.html">DHL GLOBAL FORWARDING
            PANAMÁ</a>.
        - type: string
          enum:
            - VIRTRANSPORT_SFTP
          description: <a href="https://www.vir.fr/">Vir Transport</a>.
        - type: string
          enum:
            - WORLDNET
          description: <a href="https://www.worldnet-intl.com/">Worldnet Logistics</a>.
        - type: string
          enum:
            - INSTABOX_WEBHOOK
          description: <a href="https://instabox.io/">Instabox</a>.
        - type: string
          enum:
            - KNG
          description: <a href="https://yojee.com/">Keuhne + Nagel Global</a>.
        - type: string
          enum:
            - FLASHEXPRESS_WEBHOOK
          description: <a href="https://www.flashexpress.co.th/">Flash Express</a>.
        - type: string
          enum:
            - MAGYAR_POSTA_API
          description: <a href="https://www.posta.hu">Magyar Posta</a>.
        - type: string
          enum:
            - WESHIP_API
          description: <a href="https://www.weshipexpress.com/">WeShip</a>.
        - type: string
          enum:
            - OHI_WEBHOOK
          description: <a href="https://ohi.com/">Ohi</a>.
        - type: string
          enum:
            - MUDITA
          description: <a href="https://www.muditacargo.com">MUDITA</a>.
        - type: string
          enum:
            - BLUEDART_API
          description: <a href="https://www.bluedart.com/">Bluedart</a>.
        - type: string
          enum:
            - T_CAT_API
          description: <a href="https://www.t-cat.com.tw/">T-cat</a>.
        - type: string
          enum:
            - ADS
          description: <a href="https://ads-intl.com/">ADS Express</a>.
        - type: string
          enum:
            - HERMES_IT
          description: <a href="https://www.hrparcel.com/">HR Parcel</a>.
        - type: string
          enum:
            - FITZMARK_API
          description: <a href="https://www.fitzmark.com/">FitzMark</a>.
        - type: string
          enum:
            - POSTI_API
          description: <a href="https://www.posti.fi/">Posti API</a>.
        - type: string
          enum:
            - SMSA_EXPRESS_WEBHOOK
          description: <a href="https://www.smsaexpress.com/">SMSA Express</a>.
        - type: string
          enum:
            - TAMERGROUP_WEBHOOK
          description: <a href="http://www.tamergroup.com/">Tamer Logistics</a>.
        - type: string
          enum:
            - LIVRAPIDE
          description: <a href="https://livrapide.ca/">Livrapide</a>.
        - type: string
          enum:
            - NIPPON_EXPRESS
          description: <a href="https://www.nipponexpress.com/">Nippon Express</a>.
        - type: string
          enum:
            - BETTERTRUCKS
          description: <a href="https://www.bettertrucks.com/">Better Trucks</a>.
        - type: string
          enum:
            - FAN
          description: <a href="https://www.fancourier.ro/">FAN COURIER EXPRESS</a>.
        - type: string
          enum:
            - PB_USPSFLATS_FTP
          description: <a href="https://www.usps.com/">USPS Flats (Pitney Bowes)</a>.
        - type: string
          enum:
            - PARCELRIGHT
          description: <a href="https://parcelright.com.au/">Parcel Right</a>.
        - type: string
          enum:
            - ITHINKLOGISTICS
          description: <a href="https://www.ithinklogistics.com/">iThink Logistics</a>.
        - type: string
          enum:
            - KERRY_EXPRESS_TH_WEBHOOK
          description: <a href="https://www.kerrylogistics.com/">Kerry Logistics</a>.
        - type: string
          enum:
            - ECOUTIER
          description: <a href="https://www.ecourier.com.bd/">eCoutier</a>.
        - type: string
          enum:
            - SHOWL
          description: <a href="http://www.showl.com/">SENHONG INTERNATIONAL LOGISTICS</a>.
        - type: string
          enum:
            - BRT_IT_API
          description: <a href="https://www.brt.it/">BRT Bartolini API</a>.
        - type: string
          enum:
            - RIXONHK_API
          description: <a href="http://www.rixonhk.com/">Rixon Logistics</a>.
        - type: string
          enum:
            - DBSCHENKER_API
          description: <a href="https://www.dbschenker.com/global">DB Schenker</a>.
        - type: string
          enum:
            - ILYANGLOGIS
          description: <a href="https://www.ilyanglogis.com">Ilyang logistics</a>.
        - type: string
          enum:
            - MAIL_BOX_ETC
          description: <a href="https://www.mbe.mx/">Mail Boxes Etc.</a>.
        - type: string
          enum:
            - WESHIP
          description: <a href="https://www.weshipexpress.com/">WeShip</a>.
        - type: string
          enum:
            - DHL_GLOBAL_MAIL_API
          description: <a
            href="https://www.dhl.com/us-en/home/ecommerce-solutions.html">DHL
            eCommerce Solutions</a>.
        - type: string
          enum:
            - ACTIVOS24_API
          description: <a href="https://www.activos24.com/en">Activos24</a>.
        - type: string
          enum:
            - ATSHEALTHCARE
          description: <a href="https://www.atshealthcare.ca/index">ATS Healthcare</a>.
        - type: string
          enum:
            - LUWJISTIK
          description: <a href="https://luwjistik.com/">Luwjistik</a>.
        - type: string
          enum:
            - GW_WORLD
          description: <a href="https://developer.my.gw-world.com/home">Gebrüder Weiss</a>.
        - type: string
          enum:
            - FAIRSENDEN_API
          description: <a href="https://fairsenden.digital/de/">fairsenden</a>.
        - type: string
          enum:
            - SERVIP_WEBHOOK
          description: <a href="https://www.srvip.com.mx/">SerVIP</a>.
        - type: string
          enum:
            - SWISHIP
          description: <a href="https://www.swiship.com/track">Swiship</a>.
        - type: string
          enum:
            - TANET
          description: <a href="https://www.tanet.com.ar/">Transport Ambientales</a>.
        - type: string
          enum:
            - HOTSIN_CARGO
          description: <a href="http://www.hotsin-cargo.com/">SHENZHEN HOTSIN CARGO INT'L
            FORWARDING CO.,LTD</a>.
        - type: string
          enum:
            - DIREX
          description: <a href="https://direx.bg">Direx</a>.
        - type: string
          enum:
            - HUANTONG
          description: HuanTong.
        - type: string
          enum:
            - IMILE_API
          description: <a href="https://www.imile.com/">iMile</a>.
        - type: string
          enum:
            - AUEXPRESS
          description: <a href="https://www.auexpress.com/">Au Express</a>.
        - type: string
          enum:
            - NYTLOGISTICS
          description: <a href="https://www.nyt100.com/">NYT SUPPLY CHAIN LOGISTICS
            Co.,LTD</a>.
        - type: string
          enum:
            - DSV_REFERENCE
          description: <a
            href="https://futurewave.prd.healthcare.za.dsv.com/cgi-bin/wsProdDmz/ihd-web/sysm0010.w">DSV
            Futurewave</a>.
        - type: string
          enum:
            - NOVOFARMA_WEBHOOK
          description: <a href="http://www.novofarma.com">Novofarma</a>.
        - type: string
          enum:
            - AITWORLDWIDE_SFTP
          description: <a href="https://www.aitworldwide.com/">AIT</a>.
        - type: string
          enum:
            - SHOPOLIVE
          description: <a href="https://www.shopolive.com/">Olive</a>.
        - type: string
          enum:
            - FNF_ZA
          description: <a href="https://www.fnf.co.za">Fast & Furious</a>.
        - type: string
          enum:
            - DHL_ECOMMERCE_GC
          description: <a
            href="https://www.dhl.com/hk-en/home/our-divisions/ecommerce-solutions.html">DHL
            eCommerce Greater China</a>.
        - type: string
          enum:
            - FETCHR
          description: <a href="https://www.fetchr.us/">Fetchr</a>.
        - type: string
          enum:
            - STARLINKS_API
          description: <a href="https://starlinks-me.com/">Starlinks Global</a>.
        - type: string
          enum:
            - YYEXPRESS
          description: <a href="http://www.yyexpress.com/">YYEXPRESS</a>.
        - type: string
          enum:
            - SERVIENTREGA
          description: <a
            href="https://www.servientrega.com/wps/portal/!ut/p/z1/04_Sj9CPykssy0xPLMnMz0vMAfIjo8ziTS08TTwMTAz93f1cTAwCg5yMfP0MHY0cfY30wwkpiAJKG-AAjgb6XoQUAF1gVOTr7JuuH1WQWJKhm5mXlq8f4Zyfk5-blJmoH1GQWlQMdGqxfkRmXmZyZj7QRVGEzCzIjajycbL0BACT8ktL/dz/d5/L2dBISEvZ0FBIS9nQSEh/">Servientrega</a>.
        - type: string
          enum:
            - HANJIN
          description: <a href="https://www.hanjin.co.kr/kor/Main.do">HanJin</a>.
        - type: string
          enum:
            - SPANISH_SEUR_FTP
          description: <a href="https://www.seur.com/">Spanish Seur</a>.
        - type: string
          enum:
            - DX_B2B_CONNUM
          description: <a href="https://www.dxdelivery.com/">DX (B2B)</a>.
        - type: string
          enum:
            - HELTHJEM_API
          description: <a href="https://helthjem.no/">Helthjem</a>.
        - type: string
          enum:
            - INEXPOST
          description: <a href="https://www.inexpost.ru">Inexpost</a>.
        - type: string
          enum:
            - A2B_BA
          description: <a href="https://a2b.ba/">A2B Express Logistics</a>.
        - type: string
          enum:
            - RHENUS_GROUP
          description: <a href="https://www.rhenus.group/de">Rhenus Logistics</a>.
        - type: string
          enum:
            - SBERLOGISTICS_RU
          description: <a href="https://sberlogistics.ru/">Sber Logistics</a>.
        - type: string
          enum:
            - MALCA_AMIT
          description: <a href="www.malca-amit.com">Malca-Amit</a>.
        - type: string
          enum:
            - PPL
          description: <a href="https://www.ppl.cz">Professional Parcel Logistics</a>.
        - type: string
          enum:
            - OSM_WORLDWIDE_SFTP
          description: <a href="https://www.osmworldwide.com/">OSM Worldwide</a>.
        - type: string
          enum:
            - ACILOGISTIX
          description: <a href="https://acilogistix.com/">ACI Logistix</a>.
        - type: string
          enum:
            - OPTIMACOURIER
          description: <a href="http://www.optimacourier.com/">Optima Courier</a>.
        - type: string
          enum:
            - NOVA_POSHTA_API
          description: <a href="https://novaposhta.ua/">Nova Poshta API</a>.
        - type: string
          enum:
            - LOGGI
          description: <a href="https://www.loggi.com/">Loggi</a>.
        - type: string
          enum:
            - YIFAN
          description: <a href="http://www.szyifan56.com/">YiFan Express</a>.
        - type: string
          enum:
            - MYDYNALOGIC
          description: <a href="https://www.dynalogic.nl/">My DynaLogic</a>.
        - type: string
          enum:
            - MORNINGLOBAL
          description: <a href="https://www.morninglobal.com/">Morning Global</a>.
        - type: string
          enum:
            - CONCISE_API
          description: <a href="https://concise.io/">Concise</a>.
        - type: string
          enum:
            - FXTRAN
          description: <a href="https://www.fxtran.com/">Falcon Express</a>.
        - type: string
          enum:
            - DELIVERYOURPARCEL_ZA
          description: <a href="https://deliveryourparcel.co.za/index.html">Deliver Your
            Parcel</a>.
        - type: string
          enum:
            - UPARCEL
          description: <a href="https://www.uparcel.sg/">uParcel</a>.
        - type: string
          enum:
            - MOBI_BR
          description: <a href="https://mobi.com.br/">Mobi Logistica</a>.
        - type: string
          enum:
            - LOGINEXT_WEBHOOK
          description: <a href="https://www.templeandwebster.com.au/">T&W Delivery</a>.
        - type: string
          enum:
            - EMS
          description: <a href="https://www.ems.post/en">EMS</a>.
        - type: string
          enum:
            - SPEEDY
          description: <a href="https://www.speedy.bg/en/track-shipment">Speedy</a>.
        - type: string
          enum:
            - ZOOM_RED
          description: <a href="https://zoom.red/">Zoom</a>.
        - type: string
          enum:
            - NAVLUNGO
          description: <a href="https://navlungo.com/">Navlungo</a>.
        - type: string
          enum:
            - CASTLEPARCELS
          description: <a href="https://www.castleparcels.co.nz/">Castle Parcels</a>.
        - type: string
          enum:
            - WEEE
          description: <a href="https://www.sayweee.com/en/">Weee</a>.
        - type: string
          enum:
            - PACKALY
          description: <a href="https://packaly.com/">Packaly</a>.
        - type: string
          enum:
            - YUNHUIPOST
          description: <a
            href="http://yh.yunhuipost.com/WebTrack?action=list">Yunhuipost</a>.
        - type: string
          enum:
            - YOUPARCEL
          description: <a href="https://www.youparcel.com/">YouParcel</a>.
        - type: string
          enum:
            - LEMAN
          description: <a href="https://us.leman.com/">Leman</a>.
        - type: string
          enum:
            - MOOVIN
          description: <a href="https://moovin.me/Tracking/">Moovin</a>.
        - type: string
          enum:
            - URB_IT
          description: <a href="https://www.urb-it.com/">Urb-it</a>.
        - type: string
          enum:
            - MULTIENTREGAPANAMA
          description: <a href="https://multientregapanama.com/">Multientrega</a>.
        - type: string
          enum:
            - JUSDASR
          description: <a href="https://www.jusdasr.com/">Jusdasr</a>.
        - type: string
          enum:
            - DISCOUNTPOST
          description: <a href="https://www.discountpost.com.au/">Discount Post</a>.
        - type: string
          enum:
            - RHENUS_UK
          description: <a
            href="https://www.rhenus.group/uk/en/supply-chain-solutions/home-delivery">Rhenus
            Logistics UK</a>.
        - type: string
          enum:
            - SWISHIP_JP
          description: <a href="https://www.swiship.jp/track/">Swiship JP</a>.
        - type: string
          enum:
            - GLS_US
          description: <a href="https://www.gls-us.com/">GLS USA</a>.
        - type: string
          enum:
            - SMTL
          description: <a href="https://www.smtl.com/">Southwestern Motor Transport.
            Inc</a>.
        - type: string
          enum:
            - EMEGA
          description: <a href="www.discountpost.com.au">Discount Post Emega</a>.
        - type: string
          enum:
            - EXPRESSONE_SV
          description: <a href="https://expressone.si/en">EXPRESSONE Slovenia</a>.
        - type: string
          enum:
            - HEPSIJET
          description: <a href="https://www.hepsijet.com/">hepsiJET</a>.
        - type: string
          enum:
            - WELIVERY
          description: <a href="https://welivery.com.ar/index.php">Welivery</a>.
        - type: string
          enum:
            - BRINGER
          description: <a href="https://bringerparcel.com/">Bringer Parcel Services</a>.
        - type: string
          enum:
            - EASYROUTES
          description: <a href="https://roundtrip.ai/easyroutes">EasyRoutes</a>.
        - type: string
          enum:
            - MRW
          description: <a href="https://www.mrw.es/">MRW</a>.
        - type: string
          enum:
            - RPM
          description: <a href="https://rpmexpediteusa.com/">RPM</a>.
        - type: string
          enum:
            - DPD_PRT
          description: <a href="https://www.dpd.com/pt/pt/">DPD Portugal</a>.
        - type: string
          enum:
            - GLS_ROMANIA
          description: <a href="https://gls-group.eu/RO/ro/home">GLS Romania</a>.
        - type: string
          enum:
            - LMPARCEL
          description: <a href="https://www.lmparcel.com/">LM Parcel</a>.
        - type: string
          enum:
            - GTAGSM
          description: <a href="https://gtagsm.com/">GTA GSM</a>.
        - type: string
          enum:
            - DOMINO
          description: <a href="http://dmx-entregas.redirectme.net:90/index.php">DOMINO</a>.
        - type: string
          enum:
            - ESHIPPER
          description: <a href="https://www.eshipper.com/">eShipper</a>.
        - type: string
          enum:
            - TRANSPAK
          description: <a href="https://www.transpak.com">Transpak Inc.</a>.
        - type: string
          enum:
            - XINDUS
          description: <a href="https://www.xindus.net/">Xindus</a>.
        - type: string
          enum:
            - AOYUE
          description: <a href="http://www.51aoyue.com/">Aoyue</a>.
        - type: string
          enum:
            - EASYPARCEL
          description: <a href="https://easyparcel.com/my/">Easyparcel</a>.
        - type: string
          enum:
            - EXPRESSONE
          description: <a href="https://expressone.hu/">EXPRESSONE</a>.
        - type: string
          enum:
            - SENDEO_KARGO
          description: <a href="https://www.sikayetvar.com/sendeo/kargo">Sendeo Kargo</a>.
        - type: string
          enum:
            - SPEEDAF
          description: <a href="https://www.speedaf.com/cn-cn">Speedaf Express</a>.
        - type: string
          enum:
            - ETOWER
          description: <a href="https://www.etowertech.com/">eTower</a>.
        - type: string
          enum:
            - GCX
          description: <a href="https://gcx.co.il/he/global-courier-express/">GC
            Express</a>.
        - type: string
          enum:
            - NINJAVAN_VN
          description: <a href="https://www.ninjavan.co/en-vn?id=">Ninjavan Vietnam</a>.
        - type: string
          enum:
            - ALLEGRO
          description: <a href="https://allegro.pl/">Allegro</a>.
        - type: string
          enum:
            - JUMPPOINT
          description: <a href="https://www.jumppoint.io/">Jumppoint</a>.
        - type: string
          enum:
            - SHIPGLOBAL_US
          description: <a href="https://shipglobal.us/index">ShipGlobal</a>.
        - type: string
          enum:
            - KINISI
          description: <a href="https://kinisitransport.com/">Kinisi Transport Pty Ltd</a>.
        - type: string
          enum:
            - OAKH
          description: <a href="https://www.oakh.com/">Oakh Harbour Freight Lines</a>.
        - type: string
          enum:
            - AWEST
          description: <a href="https://www.awest.com/">American West</a>.
        - type: string
          enum:
            - BARSAN
          description: <a href="https://www.barsan.com/en/home-english/">Barsan Global
            Lojistik</a>.
        - type: string
          enum:
            - ENERGOLOGISTIC
          description: <a href="https://www.energologistic.it/">Energo Logistic</a>.
        - type: string
          enum:
            - MADROOEX
          description: Madrooex.
        - type: string
          enum:
            - GOBOLT
          description: <a href="https://www.gobolt.com/">GoBolt</a>.
        - type: string
          enum:
            - SWISS_UNIVERSAL_EXPRESS
          description: <a href="https://swiss-universal-express.ch/sue/?lang=fr">Swiss
            Universal Express</a>.
        - type: string
          enum:
            - IORDIRECT
          description: <a href="https://iordirect.com/">IOR Direct Solutions</a>.
        - type: string
          enum:
            - XMSZM
          description: <a href="http://www.wvscm.com/">xmszm</a>.
        - type: string
          enum:
            - GLS_HUN
          description: <a href="https://gls-group.com">GLS Hungary</a>.
        - type: string
          enum:
            - SENDY
          description: <a href="https://www.sendy.com.my/">Sendy Express</a>.
        - type: string
          enum:
            - BRAUNSEXPRESS
          description: <a href="https://www.braunsexpress.com/index.php">Brauns Express</a>.
        - type: string
          enum:
            - GRANDSLAMEXPRESS
          description: <a href="http://grandslamexpress.in/">Grand Slam Express</a>.
        - type: string
          enum:
            - XGS
          description: <a href="https://www.xgsi.com/">XGS</a>.
        - type: string
          enum:
            - OTSCHILE
          description: <a href="https://www.otschile.cl/">OTS</a>.
        - type: string
          enum:
            - PACK_UP
          description: <a href="https://packupp.com/en/">Pack-Up</a>.
        - type: string
          enum:
            - PARCELSTARS
          description: <a href="https://www.parcelstars.com/">Parcelstars</a>.
        - type: string
          enum:
            - TEAMEXPRESSLLC
          description: <a href="https://teamexpressme.com/">Team Express Service LLC</a>.
        - type: string
          enum:
            - ASYADEXPRESS
          description: <a href="https://www.asyadexpress.om/">Asyad Express</a>.
        - type: string
          enum:
            - TDN
          description: <a href="http://www.tdn.es/">TDN</a>.
        - type: string
          enum:
            - EARLYBIRD
          description: <a href="https://earlybird.se/">Early Bird</a>.
        - type: string
          enum:
            - CACESA
          description: <a href="https://www.cacesa.com/es">Cacesa</a>.
        - type: string
          enum:
            - PARCELJET
          description: <a href="https://www.parceljet.com/#/index">Parceljet</a>.
        - type: string
          enum:
            - MNG_KARGO
          description: <a href="https://www.mngkargo.com.tr/">MNG Kargo</a>.
        - type: string
          enum:
            - SUPERPACKLINE
          description: Super Pac Line.
        - type: string
          enum:
            - SPEEDX
          description: <a href="https://www.speedx.io/">SpeedX</a>.
        - type: string
          enum:
            - VESYL
          description: <a href="https://www.aftership.com/">Vesyl</a>.
        - type: string
          enum:
            - SKYKING
          description: <a href="https://skyking.co/">Sky King</a>.
        - type: string
          enum:
            - DIRMENSAJERIA
          description: <a href="https://www.dirmensajeria.com/">DIR</a>.
        - type: string
          enum:
            - NETLOGIXGROUP
          description: <a href="https://www.netlogixgroup.com/">Netlogix</a>.
        - type: string
          enum:
            - ZYOU
          description: <a href="https://www.zyouexpress.com/">ZYEX</a>.
        - type: string
          enum:
            - JAWAR
          description: <a href="https://www.transenviosjawar.cl/">Jawar</a>.
        - type: string
          enum:
            - AGSYSTEMS
          description: <a href="https://www.agsystems.com/shipment-tracking/">Associate
            Global Systems</a>.
        - type: string
          enum:
            - GPS
          description: <a href="https://www.goforgps.com/">GPS</a>.
        - type: string
          enum:
            - PTT_KARGO
          description: <a href="https://gonderitakip.ptt.gov.tr/">PTT Kargo</a>.
        - type: string
          enum:
            - MAERGO
          description: <a href="https://maergo.com/">Maergo</a>.
        - type: string
          enum:
            - ARIHANTCOURIER
          description: <a href="https://www.arihantcourier.com/">AICS</a>.
        - type: string
          enum:
            - VTFE
          description: <a href="https://www.vtfe.com.au/">VicTas Freight Express</a>.
        - type: string
          enum:
            - YUNANT
          description: <a href="https://www.yunant56.com/">Yunant</a>.
        - type: string
          enum:
            - URBIFY
          description: <a href="https://tracking.urbify.com/">Urbify</a>.
        - type: string
          enum:
            - PACK_MAN
          description: <a href="https://pack-man.gr/">pack-man</a>.
        - type: string
          enum:
            - LIEFERGRUN
          description: <a href="https://en.liefergruen.de/">LIEFERGRUN</a>.
        - type: string
          enum:
            - OBIBOX
          description: <a href="https://obibox.co/en/">Obibox</a>.
        - type: string
          enum:
            - PAIKEDA
          description: <a href="http://www.pkdexpress.com">Paikeda</a>.
        - type: string
          enum:
            - SCOTTY
          description: <a href="https://www.scotty.com.tr/en/">Scotty</a>.
        - type: string
          enum:
            - INTELCOM_CA
          description: <a href="https://intelcom.ca/fr/">Intelcom</a>.
        - type: string
          enum:
            - SWE
          description: <a href="https://shshouwu.com/">swe</a>.
        - type: string
          enum:
            - ASENDIA
          description: <a href="https://www.asendia.com/">Asendia Global</a>.
        - type: string
          enum:
            - DPD_AT
          description: <a href="https://www.schachinger.com/dpd/">DPD Austria</a>.
        - type: string
          enum:
            - RELAY
          description: <a href="https://relaytech.co/">Relay</a>.
        - type: string
          enum:
            - ATA
          description: ATA.
        - type: string
          enum:
            - SKYEXPRESS_INTERNATIONAL
          description: <a href="https://skyexpressinternational.com/">SkyExpress
            Internationals</a>.
        - type: string
          enum:
            - SURAT_KARGO
          description: <a href="https://www.suratkargo.com.tr/">Surat Kargo</a>.
        - type: string
          enum:
            - SGLINK
          description: <a href="https://www.sglink.vn/">SG LINK</a>.
        - type: string
          enum:
            - FLEETOPTICSINC
          description: <a href="https://fleetopticsinc.ca/">FleetOptics</a>.
        - type: string
          enum:
            - SHOPLINE
          description: <a href="https://shopline.hk/">shopline</a>.
        - type: string
          enum:
            - PIGGYSHIP
          description: <a href="https://piggyship.com/">PIGGYSHIP</a>.
        - type: string
          enum:
            - LOGOIX
          description: <a href="https://www.logoix.com/cgi-bin/index.pl">LogoiX</a>.
        - type: string
          enum:
            - KOLAY_GELSIN
          description: <a href="https://kolaygelsin.com/">Kolay Gelsin</a>.
        - type: string
          enum:
            - ASSOCIATED_COURIERS
          description: <a href="https://www.associated-couriers.com/">Associated
            Couriers</a>.
        - type: string
          enum:
            - UPS_CHECKER
          description: <a href="https://www.ups.com">ups-checker</a>.
        - type: string
          enum:
            - WINESHIPPING
          description: <a href="https://wineshipping.com/">Wineshipping</a>.
        - type: string
          enum:
            - SPEDISCI
          description: <a href="https://spedisci.online/">Spedisci online</a>.
        - type: string
          enum:
            - FOURKITES
          description: <a href="https://www.fourkites.com/">Fourkites</a>.
        - type: string
          enum:
            - ETONAS
          description: <a href="https://www.etonas.lt/en">Etonas</a>.
        - type: string
          enum:
            - FINMILE
          description: <a href="https://finmile.co/">Fin Mile</a>.
        - type: string
          enum:
            - UNIUNI
          description: <a href="https://www.uniuni.com/">Uniuni</a>.
        - type: string
          enum:
            - RODONAVES
          description: <a href="https://www.rodonaves.com.br/">Rodonaves</a>.
        - type: string
          enum:
            - INPOST_IT
          description: <a href="https://inpost.it/en">Inpost Italy</a>.
        - type: string
          enum:
            - TFORCE_FREIGHT
          description: <a href="https://www.tforcefreight.com/ltl/apps/home/">Tforce
            Freight</a>.
        - type: string
          enum:
            - RICHMOM
          description: <a href="https://www.wearerichmom.com/">Rich Mom</a>.
        - type: string
          enum:
            - FRANCO
          description: <a href="https://www.incontra-web.it/wp2/">Corriere Franco</a>.
        - type: string
          enum:
            - ECPARCEL
          description: <a href="https://devshipmenttracking.ec-parcel.com/">Ecparcel</a>.
        - type: string
          enum:
            - FEDEX_CHINA
          description: <a href="https://www.fedex.com.cn/zh-cn/home.html">Fedex China</a>.
        - type: string
          enum:
            - GOFO_EXPRESS
          description: <a href="https://www.gofoexpress.com/">Gofo Express</a>.
        - type: string
          enum:
            - SHIPBOB
          description: <a href="https://www.shipbob.com">Shipbob</a>.
        - type: string
          enum:
            - JERSEYPOST_ATLAS
          description: <a href="https://apg.jerseypost-atlas.com">Jersey Post Group</a>.
        - type: string
          enum:
            - CORETRAILS
          description: <a href="https://coretrails.com/">Coretrails</a>.
        - type: string
          enum:
            - RHENUS_ITALY
          description: <a href="https://tracking.rhenusitalia.it/rhenus/track.jsf">Rhenus
            Logistics Italy</a>.
        - type: string
          enum:
            - JADLOG
          description: <a href="https://www.jadlog.com.br/">Jadlog</a>.
        - type: string
          enum:
            - JITSU
          description: <a href="https://tracking.gojitsu.com/">Jitsu</a>.
        - type: string
          enum:
            - YANWEN_EXPRESS
          description: <a href="https://yanwenexpress.com/">Yanwen Express</a>.
        - type: string
          enum:
            - DASHLINK
          description: <a href="https://doordash.news/">Dashlink</a>.
        - type: string
          enum:
            - SEINO_SUPER_EXPRESS
          description: <a href="https://www.seino.co.jp/ssx/">Seino Super Express</a>.
        - type: string
          enum:
            - FLOSHIP
          description: <a href="https://www.floship.com/">Floship</a>.
        - type: string
          enum:
            - METROSCG
          description: <a href="https://www.metroscg.com/">Metro Supply Chain</a>.
        - type: string
          enum:
            - SENDPARCEL
          description: <a href="https://www.sendparcel.com/">Sendparcel</a>.
        - type: string
          enum:
            - P2P
          description: <a href="https://www.p2pg.com/">P2p</a>.
        - type: string
          enum:
            - CN_EXPRESS
          description: <a href="https://www.cnlogistics.com.hk/">Cn Express</a>.
        - type: string
          enum:
            - CIRROTRACK
          description: <a href="https://www.cirrotrack.com/">Cirro Track</a>.
        - type: string
          enum:
            - LAND_LOGISTICS
          description: <a href="http://www.ldl-ex.com/">Land Logistics</a>.
        - type: string
          enum:
            - VEHO
          description: <a href="https://shipveho.com/">Veho</a>.
        - type: string
          enum:
            - MEDLINE
          description: <a href="https://www.medline.com/">Medline</a>.
        - type: string
          enum:
            - VDTRACK
          description: <a href="https://vdtrack.com">Vdtrack</a>.
        - type: string
          enum:
            - SINO_SCM
          description: <a href="https://www.huaren-scm.com">Sino Scm</a>.
        - type: string
          enum:
            - 3PE_EXPRESS
          description: <a href="http://www.3peex.com/">3pe Express</a>.
        - type: string
          enum:
            - SWIFTX
          description: <a href="https://swiftx-express.com/">Swiftx</a>.
        - type: string
          enum:
            - SFYDEXPRESS
          description: <a href="http://www.sfydexpress.com/index">Sfyd Express</a>.
        - type: string
          enum:
            - TOPTRANS
          description: <a href="https://www.toptrans.cz/preprava/cs">Toptrans</a>.
        - type: string
          enum:
            - PINAG
          description: <a href="https://pin-ag.de/">PIN AG</a>.
        - type: string
          enum:
            - ONTIME
          description: <a href="https://ontime.es/">Ontime</a>.
        - type: string
          enum:
            - MOBELSERVICES
          description: <a href="https://www.mobelservices.com">Mobel Services</a>.
        - type: string
          enum:
            - PAACK
          description: <a href="https://paack.co/">Paack</a>.
        - type: string
          enum:
            - URVAAM
          description: <a href="https://www.urvaam.es/">Urvaam</a>.
        - type: string
          enum:
            - SPX_PH
          description: <a href="https://spx.ph/">Shopee Express (Philippines)</a>.
        - type: string
          enum:
            - SPX_VN
          description: <a href="https://spx.vn/vi">Shopee Express (Vietnam)	</a>.
        - type: string
          enum:
            - STREAM
          description: <a href="https://go2stream.com/">Stream</a>.
        - type: string
          enum:
            - FIRSTLOGISTICS
          description: <a href="https://firstlogistics.nl/">First Logistics</a>.
        - type: string
          enum:
            - WMGDELIVERY
          description: <a href="https://www.wmg-group.com/home">WMG Group</a>.
        - type: string
          enum:
            - EMILE
          description: <a href="https://emileps.com/">Emile</a>.
        - type: string
          enum:
            - BFE_EXPRESS
          description: <a href="https://www.bfeexpress.com/aboutUS">BFE Express</a>.
        - type: string
          enum:
            - CASTLERS
          description: <a href="https://www.castlers.com/">Castlers Software Company
            Limited</a>.
        - type: string
          enum:
            - EMIRO
          description: <a href="https://www.emiro.ae/">Emiro</a>.
        - type: string
          enum:
            - AMAZON_ES
          description: <a href="https://www.amazon.es/">Amazon Spain</a>.
        - type: string
          enum:
            - SKYNETWORLDWIDE_IN
          description: <a href="https://www.skynet.net/home">SkyNet Worldwide Express
            India</a>.
        - type: string
          enum:
            - GOFOEXPRESS_IT
          description: <a href="https://www.gofo.com/it/">GOFO Italy</a>.
        - type: string
          enum:
            - RUNFORINT
          description: <a href="https://www.runforint.com/">RFL Runforint Logistics</a>.
        - type: string
          enum:
            - GOFOEXPRESS_FR
          description: <a href="https://www.gofo.com/fr/">GOFO France</a>.
        - type: string
          enum:
            - EASY_EXPRESS
          description: <a href="https://easy-express-global.com/#/home">Easy Express</a>.
        - type: string
          enum:
            - AMAZON_MCF
          description: <a href="https://amazon.com/">Amazon MCF</a>.
        - type: string
          enum:
            - THENILE
          description: <a href="http://www.sorthub.com/">SortHub</a>.
        - type: string
          enum:
            - MGCARGO
          description: <a href="https://mgcargo.hu">MG Cargo</a>.
        - type: string
          enum:
            - TOOEXPRESS
          description: <a href="https://wms.tooexp.com/">Too Express</a>.
        - type: string
          enum:
            - ESPOIRER
          description: <a href="https://www.espoirer.com/">Espoirer</a>.
        - type: string
          enum:
            - MAXOPTRA
          description: <a href="https://www.maxoptra.com/">Max Optra</a>.
        - type: string
          enum:
            - CHAMPAGNE_LOGISTICS
          description: <a href="https://www.champagnelogistics.com/">Champagne
            Logistics</a>.
        - type: string
          enum:
            - DRAGONSTARCURIER
          description: <a href="https://www.dragonstarcurier.ro/">Dragon Star Curier</a>.
        - type: string
          enum:
            - GOFOEXPRESS_NL
          description: <a href="https://www.gofo.com/nl/">GOFO Netherlands</a>.
        - type: string
          enum:
            - PERI_LOGISTICS
          description: <a href="https://www.perilogistics.com/">Peri Logistics</a>.
        - type: string
          enum:
            - SAMEDAY
          description: <a href="https://www.sameday.ro/">Sameday</a>.
        - type: string
          enum:
            - VERTCHEZVOUS
          description: <a href="https://www.vertchezvous.com/">Vert Chez Vous (Labatut
            Group)</a>.
        - type: string
          enum:
            - ORLENPACZKA
          description: <a href="https://www.orlenpaczka.pl/">ORLEN Paczka</a>.
        - type: string
          enum:
            - RHENUS_CH
          description: <a href="https://www.rhenus.group/">Rhenus</a>.
        - type: string
          enum:
            - BESTFULFILLPACKET
          description: <a href="https://www.bestfulfillpacket.com/">Bestfulfillpacket</a>.
        - type: string
          enum:
            - PROCARRIER_RETURNS
          description: <a href="https://tracking.weareprocarrier.com/returns">Pro Carrier
            Returns</a>.
        - type: string
          enum:
            - BASIC_SHIPPING
          description: <a href="https://basicshipping.info/">Basic Shipping</a>.
        - type: string
          enum:
            - PRECISION_DELIVERIES
          description: <a href="https://www.precisiondeliveries.com/">Precision
            Deliveries</a>.
        - type: string
          enum:
            - OTHER
          description: Other.
    shipment_tracker:
      title: tracker
      description: The tracking information for a shipment.
      type: object
      required:
        - tracking_number
        - carrier
      properties:
        tracking_number:
          description: The tracking number for the shipment. This property supports Unicode.
          type: string
          minLength: 1
          maxLength: 64
          pattern: ^[\S\s]*$
        carrier:
          $ref: "#/components/schemas/shipment_carrier"
        carrier_name_other:
          description: The name of the carrier for the shipment. Provide this value only
            if the carrier parameter is OTHER. This property supports Unicode.
          type: string
          minLength: 1
          maxLength: 64
          pattern: ^[\S\s]*$
    order_tracker_request:
      title: tracker_request
      description: The tracking details of an order.
      type: object
      allOf:
        - $ref: "#/components/schemas/shipment_tracker"
        - not:
            anyOf:
              - required:
                  - quantity
              - required:
                  - transaction_id
              - required:
                  - shipment_date
              - required:
                  - last_updated_time
              - required:
                  - notify_buyer
              - required:
                  - tracking_number_type
              - required:
                  - status
              - required:
                  - postage_payment_id
              - required:
                  - tracking_number_validated
              - required:
                  - shipment_direction
              - required:
                  - shipment_uploader
        - type: object
          title: tracker_request
          description: The tracking details of an order.
          required:
            - capture_id
          properties:
            capture_id:
              description: The PayPal capture ID.
              type: string
              minLength: 1
              maxLength: 50
              pattern: ^[a-zA-Z0-9]*$
            notify_payer:
              description: If true, PayPal will send an email notification to the payer of the
                PayPal transaction. The email contains the tracking details
                provided through the Orders tracking API request. Independent of
                any value passed for `notify_payer`, the payer may receive
                tracking notifications within the PayPal app, based on the
                user's notification preferences.
              type: boolean
              default: false
            items:
              description: An array of details of items in the shipment.
              type: array
              minItems: 0
              maxItems: 32767
              items:
                allOf:
                  - $ref: "#/components/schemas/tracker_item"
                  - title: tracker_item
                    description: Items in a shipment.
    shipping_options_purchase_unit:
      title: Shipping Option and Amount data at Purchase Unit
      description: This would contain shipping option and amount data at purchase unit
        level.
      type: object
    order_update_callback_request:
      title: OrderUpdateCallbackRequest
      description: Shipping Options Callback request. This will be implemented by the
        merchants.
      type: object
      required:
        - purchase_units
      properties:
        id:
          description: The ID of the order.
          type: string
          minLength: 1
          maxLength: 36
          pattern: ^[A-Z0-9-]+$
          readOnly: true
        shipping_address:
          allOf:
            - $ref: "#/components/schemas/address_portable"
            - description: Redacted shipping address to be used for shipping options and tax
                calculations.
              not:
                anyOf:
                  - required:
                      - address_line_1
                  - required:
                      - address_line_2
                  - required:
                      - address_line_3
                  - required:
                      - admin_area_3
                  - required:
                      - admin_area_4
                  - required:
                      - address_details
        shipping_option:
          allOf:
            - $ref: "#/components/schemas/shipping_option"
            - description: Buyer selected shipping option.
              not:
                required:
                  - selected
        purchase_units:
          description: An array of purchase units. At present only 1 purchase_unit is
            supported. Each purchase unit establishes a contract between a payer
            and the payee. Each purchase unit represents either a full or
            partial order that the payer intends to purchase from the payee.
          type: array
          minItems: 1
          maxItems: 1
          items:
            allOf:
              - $ref: "#/components/schemas/purchase_unit_request"
              - title: purchase_unit
    order_update_callback_response:
      title: OrderUpdateCallbackResponse
      description: Returns the updated shipping options for an order.
      type: object
      properties:
        id:
          description: The ID of the order.
          type: string
          minLength: 1
          maxLength: 36
          pattern: ^[A-Z0-9-]+$
          readOnly: true
        purchase_units:
          $ref: "#/components/schemas/shipping_options_purchase_unit"
    order_update_callback_error_response_details:
      title: OrderUpdateCallbackErrorResponseDetails
      description: The error details. Required for client-side `4XX` errors.
      type: object
      required:
        - issue
      properties:
        field:
          description: The field that caused the error. If this field is in the body, set
            this value to the field's JSON pointer value. Required for
            client-side errors.
          type: string
          minLength: 0
          maxLength: 256
          pattern: ^.*$
        value:
          description: The value of the field that caused the error.
          type: string
          minLength: 0
          maxLength: 1024
          pattern: ^.*$
        issue:
          description: The unique, fine-grained application-level error code.
          type: string
          minLength: 0
          maxLength: 256
          pattern: ^.*$
    order_update_callback_error_response:
      title: OrderUpdateCallbackErrorResponse
      description: The error details.
      type: object
      required:
        - name
      properties:
        name:
          description: The human-readable, unique name of the error.
          type: string
          minLength: 1
          maxLength: 256
          pattern: ^.*$
        message:
          description: The message that describes the error.
          type: string
          minLength: 1
          maxLength: 2048
          pattern: ^.*$
        details:
          description: An array of additional details about the error.
          type: array
          minItems: 1
          maxItems: 100
          items:
            $ref: "#/components/schemas/order_update_callback_error_response_details"
  responses:
    default_response:
      description: Default response.
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/error"
          examples:
            generic:
              summary: Default response.
              description: Example catch all response, should not be encountered in practice.
              value:
                name: INTERNAL_SERVER_ERROR
                debug_id: b1d1f06c7246c
                message: An internal server error has occurred.
    401_error_response:
      description: Unauthorized.
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/error"
          examples:
            generic:
              summary: Generic 'Unauthorized' error.
              description: Example response for unauthorized request.
              value:
                name: AUTHENTICATION_FAILURE
                debug_id: b1d1f06c7246c
                message: Authentication failed due to missing Authorization header, or invalid
                  authentication credentials.
    403_error_response:
      description: Forbidden.
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/error"
          examples:
            generic:
              summary: Generic 'Forbidden' error.
              description: Example response for a forbidden request.
              value:
                name: NOT_AUTHORIZED
                debug_id: b1d1f06c7246c
                message: Authorization failed due to insufficient permissions.
    500_error_response:
      description: Internal Server Error.
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/error"
          examples:
            generic:
              summary: Generic internal server error.
              description: Example response for a request that fails for reasons internal to
                the server.
              value:
                name: INTERNAL_SERVER_ERROR
                debug_id: b1d1f06c7246c
                message: An internal server error has occurred.
    404_error_response:
      description: Not Found.
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/error"
          examples:
            generic:
              summary: Generic 'Not Found' error.
              description: Example response for a request to a resource that does not exist.
              value:
                name: RESOURCE_NOT_FOUND
                debug_id: b1d1f06c7246c
                message: The specified resource does not exist.
    204_response:
      description: No Content.
x-samples:
  orders.create:
    - title: Create Order - PayPal Wallet as Payment Source, Resulting in
        PAYER_ACTION_REQUIRED Response
      description: Creates a new order. API caller receives payer-action link.
      operationId: orders.create
      request:
        method: post
        path: /v2/checkout/orders
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          intent: CAPTURE
          payment_source:
            paypal:
              experience_context:
                payment_method_preference: IMMEDIATE_PAYMENT_REQUIRED
                landing_page: LOGIN
                shipping_preference: GET_FROM_FILE
                user_action: PAY_NOW
                return_url: https://example.com/returnUrl
                cancel_url: https://example.com/cancelUrl
          purchase_units:
            - invoice_id: "90210"
              amount:
                currency_code: USD
                value: "230.00"
                breakdown:
                  item_total:
                    currency_code: USD
                    value: "220.00"
                  shipping:
                    currency_code: USD
                    value: "10.00"
              items:
                - name: T-Shirt
                  description: Super Fresh Shirt
                  unit_amount:
                    currency_code: USD
                    value: "20.00"
                  quantity: "1"
                  category: PHYSICAL_GOODS
                  sku: sku01
                  image_url: https://example.com/static/images/items/1/tshirt_green.jpg
                  url: https://example.com/url-to-the-item-being-purchased-1
                  upc:
                    type: UPC-A
                    code: "123456789012"
                - name: Shoes
                  description: Running, Size 10.5
                  sku: sku02
                  unit_amount:
                    currency_code: USD
                    value: "100.00"
                  quantity: "2"
                  category: PHYSICAL_GOODS
                  image_url: https://example.com/static/images/items/1/shoes_running.jpg
                  url: https://example.com/url-to-the-item-being-purchased-2
                  upc:
                    type: UPC-A
                    code: "987654321012"
      response:
        status: 200 OK
        body:
          id: 5O190127TN364715T
          status: PAYER_ACTION_REQUIRED
          payment_source:
            paypal: {}
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
            - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
              rel: payer-action
              method: GET
    - title: Create and authorize an order for a PayPal wallet vaulted account holder
        passing a usage pattern indicator using stored credentials (Single
        Shot).
      description: Creates an order and authorizes payment with a PayPal wallet vault
        id as the payment source and a usage pattern (billing indicator)
        RECURRING_PREPAID passed using stored credentials.
      operationId: orders.create
      request:
        method: post
        path: /v2/checkout/orders
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          intent: AUTHORIZE
          purchase_units:
            - amount:
                currency_code: USD
                value: "100.00"
          payment_source:
            paypal:
              vault_id: 2w915838hr181240m
              stored_credential:
                payment_initiator: MERCHANT
                usage: SUBSEQUENT
                usage_pattern: RECURRING_PREPAID
      response:
        status: 201 Created
        body:
          id: 8K832279M55989614
          intent: AUTHORIZE
          status: COMPLETED
          payment_source:
            paypal:
              email_address: buyer@paypal.com
              account_id: XQHSN372NGSP2
              account_status: UNVERIFIED
              name:
                given_name: Tom
                surname: Business
              phone_number:
                national_number: "8127081430"
              address:
                country_code: US
              stored_credential:
                payment_initiator: MERCHANT
                usage: SUBSEQUENT
                usage_pattern: RECURRING_PREPAID
          purchase_units:
            - reference_id: default
              amount:
                currency_code: USD
                value: "100.00"
              payee:
                email_address: seller@paypal.com
                merchant_id: Q7C9N6S4YRQXG
              shipping:
                name:
                  full_name: Tom Business
                address:
                  address_line_1: 123 Fake St.
                  admin_area_2: Baton Rouge
                  admin_area_1: LA
                  postal_code: "70802"
                  country_code: US
              payments:
                authorizations:
                  - status: CREATED
                    id: 7X550106NA4440028
                    amount:
                      currency_code: USD
                      value: "100.00"
                    seller_protection:
                      status: ELIGIBLE
                      dispute_categories:
                        - UNAUTHORIZED_TRANSACTION
                    expiration_time: 2024-06-05T18:46:54Z
                    links:
                      - href: https://api-m.paypal.com/v2/payments/authorizations/7X550106NA4440028
                        rel: self
                        method: GET
                      - href: https://api-m.paypal.com/v2/payments/authorizations/7X550106NA4440028/capture
                        rel: capture
                        method: POST
                      - href: https://api-m.paypal.com/v2/payments/authorizations/7X550106NA4440028/void
                        rel: void
                        method: POST
                      - href: https://api-m.paypal.com/v2/checkout/orders/8K832279M55989614
                        rel: up
                        method: GET
                    create_time: 2024-05-07T18:46:54Z
                    update_time: 2024-05-07T18:46:54Z
          payer:
            name:
              given_name: Tom
              surname: Business
            email_address: buyer@paypal.com
            payer_id: XQHSN372NGSP2
            phone:
              phone_number:
                national_number: "8127081430"
            address:
              country_code: US
          create_time: 2024-05-07T18:46:15Z
          update_time: 2024-05-07T18:46:54Z
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/8K832279M55989614
              rel: self
              method: GET
    - title: Create Order - Minimal Request and Response
      description: Creates an order with only required parameters. By default, uses
        the minimal representation.
      operationId: orders.create
      request:
        method: post
        path: /v2/checkout/orders
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          intent: CAPTURE
          purchase_units:
            - amount:
                currency_code: USD
                value: "100.00"
      response:
        status: 201 Created
        body:
          id: 5O190127TN364715T
          status: CREATED
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
            - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
              rel: approve
              method: GET
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: edit
              method: PATCH
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T/capture
              rel: capture
              method: POST
    - title: Create Order - Buy Online Pickup In Store Shipping Type
      description: Creates an order with minimal parameters and contains the Buy
        Online Pickup in Store-related fields.
      operationId: orders.create
      request:
        method: post
        path: /v2/checkout/orders
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
          Prefer: return=representation
        body:
          intent: AUTHORIZE
          purchase_units:
            - reference_id: PUHF
              amount:
                currency_code: USD
                value: "50.00"
              payee:
                email_address: merchant@example.com
              shipping:
                address:
                  address_line_1: 123 Townsend St
                  address_line_2: Floor 6
                  admin_area_2: San Francisco
                  admin_area_1: CA
                  postal_code: "94107"
                  country_code: US
                type: PICKUP_IN_STORE
      response:
        status: 201 Created
        body:
          id: 4SP74185RW2405200
          intent: AUTHORIZE
          purchase_units:
            - reference_id: PUHF
              amount:
                currency_code: USD
                value: "50.00"
              payee:
                email_address: merchant@example.com
              shipping:
                address:
                  address_line_1: 123 Townsend St
                  address_line_2: Floor 6
                  admin_area_2: San Francisco
                  admin_area_1: CA
                  postal_code: "94107"
                  country_code: US
                type: PICKUP_IN_STORE
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200
              rel: self
              method: GET
            - href: https://www.paypal.com/checkoutnow?token=4SP74185RW2405200
              rel: approve
              method: GET
            - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200
              rel: edit
              method: PATCH
            - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200/authorize
              rel: authorize
              method: POST
          status: CREATED
    - title: Create Order - 400 Bad Request Error - Purchase Unit is Empty
      description: This code sample attempts to create an order with empty purchase
        units. The request fails.
      operationId: orders.create
      request:
        method: post
        path: /v2/checkout/orders
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 400 Bad Request
        body:
          name: INVALID_REQUEST
          message: Request is not well-formed, syntactically incorrect, or violates
            schema.
          debug_id: 10398537340c8
          details:
            - field: /purchase_units
              value: "[]"
              location: body
              issue: INVALID_ARRAY_MIN_ITEMS
              description: The number of items in an array parameter is too small.
          links:
            - href: https://developer.paypal.com/api/orders/v2/#error-INVALID_ARRAY_MIN_ITEMS
              rel: information_link
    - title: Create Order - 422 Unprocessable Entity Error - Missing Pickup Address
      description: "This code sample attempts to create an order but the shipping
        address is required and `shipping.type` is set to PICKUP_FROM_PERSON "
      operationId: orders.create
      request:
        method: post
        path: /v2/checkout/orders
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          intent: AUTHORIZE
          payment_source:
            paypal:
              experience_context:
                return_url: https://www.example.com/returnURL
                cancel_url: https://www.example.com/cancelURL
                shipping_preference: SET_PROVIDED_ADDRESS
          purchase_units:
            - reference_id: PUHF
              amount:
                currency_code: USD
                value: "100.00"
              shipping:
                type: PICKUP_FROM_PERSON
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - field: /purchase_units/@reference_id=='PUHF'/shipping/address
              issue: MISSING_SHIPPING_ADDRESS
              description: The shipping address is required when
                `shipping_preference=SET_PROVIDED_ADDRESS`.
          message: The requested action could not be performed, semantically incorrect, or
            failed business validation.
          debug_id: f200264a4e02a
          links:
            - href: https://developer.paypal.com/api/rest/reference/orders/v2/errors/#MISSING_SHIPPING_ADDRESS
              rel: information_link
              method: GET
    - title: Create Order - Buy Online Pickup In Store Shipping Type
      description: Creates an order with venmo payment source and contains the Buy
        Online Pickup in Store-related fields.
      operationId: orders.create
      request:
        method: post
        path: /v2/checkout/orders
        headers:
          Prefer: return=representation
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          intent: AUTHORIZE
          purchase_units:
            - reference_id: PUHF
              amount:
                currency_code: USD
                value: "50.00"
              payee:
                email_address: merchant@example.com
              shipping:
                address:
                  address_line_1: 123 Townsend St
                  address_line_2: Floor 6
                  admin_area_2: San Francisco
                  admin_area_1: CA
                  postal_code: "94107"
                  country_code: US
                type: PICKUP_IN_STORE
      response:
        status: 201 Created
        body:
          id: 4SP74185RW2405200
          intent: AUTHORIZE
          purchase_units:
            - reference_id: PUHF
              amount:
                currency_code: USD
                value: "50.00"
              payee:
                email_address: merchant@example.com
              shipping:
                address:
                  address_line_1: 123 Townsend St
                  address_line_2: Floor 6
                  admin_area_2: San Francisco
                  admin_area_1: CA
                  postal_code: "94107"
                  country_code: US
                type: PICKUP_IN_STORE
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200
              rel: self
              method: GET
            - href: https://www.paypal.com/checkoutnow?token=4SP74185RW2405200
              rel: approve
              method: GET
            - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200
              rel: edit
              method: PATCH
            - href: https://api-m.paypal.com/v2/checkout/orders/4SP74185RW2405200/authorize
              rel: authorize
              method: POST
          status: CREATED
    - title: Create and Authorize an order with PayPal Wallet and App Switch with
        return, cancel and fallback app URLs
      description: Creates a new order and authorizes the payment using PayPal wallet
        with App Switch. Merchant provides separate return_app_url and
        cancel_app_url for native app redirection, which PayPal uses as-is
        without appending /success or /cancel.
      operationId: orders.create
      request:
        method: post
        path: /v2/checkout/orders
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          intent: AUTHORIZE
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              amount:
                currency_code: USD
                value: "100.00"
          payment_source:
            paypal:
              email_address: customer@example.com
              experience_context:
                payment_method_preference: IMMEDIATE_PAYMENT_REQUIRED
                brand_name: EXAMPLE INC
                locale: en-US
                landing_page: LOGIN
                user_action: PAY_NOW
                return_url: https://example.com/returnUrl
                cancel_url: https://example.com/cancelUrl
                app_switch_context:
                  native_app:
                    return_app_url: https://example.com/merchant_app/return
                    cancel_app_url: https://example.com/merchant_app/cancel
                    os_type: IOS
                    os_version: 17.3.1
      response:
        status: 200 OK
        body:
          id: 5O190127TN364715T
          status: PAYER_ACTION_REQUIRED
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
            - href: https://www.paypal.com/app-switch-checkout?token=5O190127TN364715T
              rel: payer-action
              method: GET
    - title: Create and Authorize an order with PayPal Wallet where App Switch is
        Ineligible on a Low RAM Android Device
      description: Creates a new order with PayPal Wallet App Switch on a low RAM
        Android device (Samsung Galaxy A16 5G, SM-A166U, 4 GB total RAM). The
        merchant passes device metadata in device_info within
        app_switch_context. XOOS evaluates the device against the Elmo RAM
        threshold (default 400 MB) and model blocklist (SM-A166 prefix). The
        device fails both checks — available RAM is below the threshold and the
        model prefix is on the blocklist — so app_switch_eligibility is returned
        as false. The merchant must fall back to browser-based checkout using
        the returned payer-action URL.
      operationId: orders.create
      request:
        method: post
        path: /v2/checkout/orders
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          intent: AUTHORIZE
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              amount:
                currency_code: USD
                value: "100.00"
          payment_source:
            paypal:
              email_address: customer@example.com
              experience_context:
                payment_method_preference: IMMEDIATE_PAYMENT_REQUIRED
                brand_name: EXAMPLE INC
                locale: en-US
                landing_page: LOGIN
                user_action: PAY_NOW
                return_url: https://example.com/returnUrl
                cancel_url: https://example.com/cancelUrl
                app_switch_context:
                  native_app:
                    return_app_url: https://example.com/merchant_app/return
                    cancel_app_url: https://example.com/merchant_app/cancel
                    os_type: ANDROID
                    os_version: "14"
      response:
        status: 200 OK
        body:
          id: 5O190127TN364715T
          status: PAYER_ACTION_REQUIRED
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
            - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
              rel: payer-action
              method: GET
  orders.get:
    - title: Get Order - Show Order Details After Customer Approval
      description: Shows order details immediately after customer approval.
      operationId: orders.get
      request:
        method: get
        path: /v2/checkout/orders/5O190127TN364715T
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 200 OK
        body:
          id: 5O190127TN364715T
          status: APPROVED
          intent: CAPTURE
          payment_source:
            paypal:
              name:
                given_name: John
                surname: Doe
              email_address: customer@example.com
              account_id: QYR5Z8XDVJNXQ
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              amount:
                currency_code: USD
                value: "100.00"
          payer:
            name:
              given_name: John
              surname: Doe
            email_address: customer@example.com
            payer_id: QYR5Z8XDVJNXQ
          create_time: 2018-04-01T21:18:49Z
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
            - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
              rel: approve
              method: GET
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: edit
              method: PATCH
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T/capture
              rel: capture
              method: POST
    - title: Get Order - 404 Not Found Error - Order Not Found
      description: This code sample attempts to show details for an order, by ID, but
        the request fails because the order is not found.
      operationId: orders.get
      request:
        method: get
        path: /v2/checkout/orders/5O190127TN364715T
      response:
        status: 404 Not Found
        body:
          name: RESOURCE_NOT_FOUND
          debug_id: b1d1f06c7246c
          message: The specified resource does not exist.
  orders.patch:
    - title: Patch Order - Add Shipping Address
      description: Updates an order to add shipping address to purchase unit.
      operationId: orders.patch
      request:
        method: patch
        path: /v2/checkout/orders/5O190127TN364715T
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          - op: replace
            path: /purchase_units/@reference_id=='PUHF'/shipping/address
            value:
              address_line_1: 2211 N First Street
              address_line_2: Building 17
              admin_area_2: San Jose
              admin_area_1: CA
              postal_code: "95131"
              country_code: US
      response:
        status: 204 No Content
    - title: Patch Order - Replace Amount
      description: Updates an order to revise the amount, adding the cost of shipping,
        to a purchase unit.
      operationId: orders.patch
      request:
        method: patch
        path: /v2/checkout/orders/5O190127TN364715T
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          - op: replace
            path: /purchase_units/@reference_id=='PUHF'/amount
            value:
              currency_code: USD
              value: "200.00"
              breakdown:
                item_total:
                  currency_code: USD
                  value: "180.00"
                shipping:
                  currency_code: USD
                  value: "20.00"
      response:
        status: 204 No Content
    - title: Patch Order - Add Items and Replace Amount
      description: Updates an order to add items to and replace the amount within a
        purchase unit. The amount breakdown with an item total is added to
        reflect the newly added items. Whenever the quantity or price of items
        is modified in an order with a PATCH, the purchase_units.amount must
        also be updated.
      operationId: orders.patch
      request:
        method: patch
        path: /v2/checkout/orders/5O190127TN364715T
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          - op: add
            path: /purchase_units/@reference_id=='PUHF'/items
            value:
              - name: T-Shirt
                description: Green XL
                sku: sku01
                unit_amount:
                  currency_code: USD
                  value: "90.00"
                tax:
                  currency_code: USD
                  value: "10.00"
                quantity: "1"
                category: PHYSICAL_GOODS
              - name: Shoes
                description: Running, Size 10.5
                sku: sku02
                unit_amount:
                  currency_code: USD
                  value: "45.00"
                tax:
                  currency_code: USD
                  value: "5.00"
                quantity: "2"
                category: PHYSICAL_GOODS
          - op: replace
            path: /purchase_units/@reference_id=='PUHF'/amount
            value:
              currency_code: USD
              value: "205.00"
              breakdown:
                item_total:
                  currency_code: USD
                  value: "180.00"
                shipping:
                  currency_code: USD
                  value: "5.00"
                handling:
                  currency_code: USD
                  value: "0.00"
                tax_total:
                  currency_code: USD
                  value: "20.00"
                shipping_discount:
                  currency_code: USD
                  value: "0.00"
      response:
        status: 204 No Content
    - title: Patch Order - 400 Bad Request Error - Shipping Address Invalid
      description: This code sample attempts to update an the shipping address with an
        invalid value. The request fails.
      operationId: orders.patch
      request:
        method: patch
        path: /v2/checkout/orders/{id}
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 400 Bad Request
        body:
          name: INVALID_REQUEST
          details:
            - field: /purchase_units/@reference_id=='Reference ID 2'/shipping/address
              value: x
              location: body
              issue: INVALID_PARAMETER_SYNTAX
              description: The value of a field does not conform to the expected format.
          message: Request is not well-formed, syntactically incorrect, or violates
            schema.
          debug_id: f087ef02ffdb6
          links:
            - href: https://developer.paypal.com/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX
              rel: information_link
              method: GET
    - title: Patch Order - 422 Unprocessable Entity Error - Payer Patch Not Allowed
      description: This code sample attempts to update an order with a payer object.
        The request fails since buyer has already approved.
      operationId: orders.patch
      request:
        method: patch
        path: /v2/checkout/orders/5O190127TN364715T
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          - op: add
            path: /payer
            value:
              name:
                given_name: TestFirst
                surname: TestLast
              email_address: payee@example.com
              phone:
                phone_number:
                  national_number: "19876543210"
              address:
                address_line_1: 2211 North First Street
                address_line_2: Floor 6
                admin_area_2: San Jose
                admin_area_1: CA
                postal_code: "95126"
                country_code: US
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - field: /payer
              issue: PAYER_PATCH_NOT_ALLOWED
              description: Payer path patch is not allowed after payer has approved the order.
              location: body
          message: The requested action could not be performed, semantically incorrect, or
            failed business validation.
          debug_id: 90957fca61718
          links:
            - href: https://developer.paypal.com/api/orders/v2/#error-PAYER_PATCH_NOT_ALLOWED
              rel: information_link
              method: GET
  orders.confirm:
    - title: Confirm Order - PayPal Wallet Resulting in Payer Action Required
      description: The API Caller is adding or changing the PayPal wallet
        payment_source on an Order after the Order has been created. Orders
        status transitions to PAYER_ACTION_REQUIRED.
      operationId: orders.confirm
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/confirm-payment-source
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          payment_source:
            paypal:
              name:
                given_name: John
                surname: Doe
              email_address: customer@example.com
              experience_context:
                payment_method_preference: IMMEDIATE_PAYMENT_REQUIRED
                brand_name: EXAMPLE INC
                locale: en-US
                landing_page: LOGIN
                shipping_preference: SET_PROVIDED_ADDRESS
                user_action: PAY_NOW
                return_url: https://example.com/returnUrl
                cancel_url: https://example.com/cancelUrl
      response:
        status: 200 OK
        body:
          id: 5O190127TN364715T
          status: PAYER_ACTION_REQUIRED
          payment_source:
            paypal:
              name:
                given_name: John
                surname: Doe
              email_address: customer@example.com
          payer:
            name:
              given_name: John
              surname: Doe
            email_address: customer@example.com
          links:
            - href: https://api.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
            - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
              rel: payer-action
              method: GET
    - title: Confirm Order - 400 Bad Request Error - Missing Required Parameter -
        Payment Source
      description: This code sample attempts to confirm an order, but the payment
        source is missing. The request fails.
      operationId: orders.confirm
      request:
        method: post
        path: /v2/checkout/orders/{id}/confirm-payment-source
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 400 Bad Request
        body:
          name: INVALID_REQUEST
          details:
            - field: /payment_source
              issue: MISSING_REQUIRED_PARAMETER
              description: A required field or parameter is missing.
              location: body
          message: Request is not well-formed, syntactically incorrect, or violates
            schema.
          debug_id: 90957fca61718
          links:
            - href: https://developer.paypal.com/api/orders/v2/#error-MISSING_REQUIRED_PARAMETER
              rel: information_link
              method: GET
    - title: Confirm Order - 403 Forbidden Error -  Invalid PayPal Wallet Vault ID
      description: This code sample attempts to confirm an order but the PayPal wallet
        vault ID was not found. The request fails.
      operationId: orders.confirm
      request:
        method: post
        path: /v2/checkout/orders/{id}/confirm-payment-source
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 403 Forbidden
        body:
          name: NOT_AUTHORIZED
          debug_id: b1d1f06c7246c
          message: Authorization failed due to insufficient permissions.
    - title: Confirm Order - 404 Not Found Error - Resource Not Found
      description: This code sample attempts to confirm an order but the specified
        order is not found. The request fails.
      operationId: orders.confirm
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/confirm-payment-source
        body:
          payment_source:
            paypal:
              name:
                given_name: John
                surname: Doe
              email_address: customer@example.com
              experience_context:
                payment_method_preference: IMMEDIATE_PAYMENT_REQUIRED
                brand_name: EXAMPLE INC
                locale: en-US
                landing_page: LOGIN
                shipping_preference: SET_PROVIDED_ADDRESS
                user_action: PAY_NOW
                return_url: https://example.com/returnUrl
                cancel_url: https://example.com/cancelUrl
      response:
        status: 204 No Content
    - title: Confirm Order - 422 Unprocessable Entity Error -Using Card Vault ID for a
        PayPal Wallet Payment Source
      description: Attempt to Confirm PayPal Wallet for an order with card vault id.
        The request fails with a MISMATCHED_VAULT_ID_TO_PAYMENT_SOURCE error.
      operationId: orders.confirm
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/confirm-payment-source
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          payment_source:
            paypal:
              vault_id: 8kk845
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - field: /payment_source/paypal/vault_id
              location: body
              issue: MISMATCHED_VAULT_ID_TO_PAYMENT_SOURCE
              description: The vault_id does not match the payment_source provided. Please
                verify that the vault_id token used refers to the matching
                payment_source and try again. For example, a PayPal token cannot
                be passed in the vault_id field in the payment_source.card
                object.
          message: The requested action could not be performed, semantically incorrect, or
            failed business validation.
          debug_id: 90957fca61718
          links:
            - href: https://developer.paypal.com/docs/api/orders/v2/#error-MISMATCHED_VAULT_ID_TO_PAYMENT_SOURCE
              rel: information_link
              method: GET
    - title: Confirm Order - 500 Internal Server Error - A system error has occurred
      description: This code sample attempts to confirm an order, but a system error
        occurred. The request fails. The same request body may be reused by the
        API Caller to retry.
      operationId: orders.confirm
      request:
        method: post
        path: /v2/checkout/orders/{id}/confirm-payment-source
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 500 Internal Server Error
        body:
          name: INTERNAL_SERVER_ERROR
          debug_id: b1d1f06c7246c
          message: An internal server error has occurred.
  orders.authorize:
    - title: Authorize Order - PayPal Wallet as Payment Source
      description: Authorize payment for an order after PayPal wallet approval. By
        default, uses the minimal representation.
      operationId: orders.authorize
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/authorize
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 201 Created
        body:
          id: 5O190127TN364715T
          status: COMPLETED
          payment_source:
            paypal:
              name:
                given_name: John
                surname: Doe
              email_address: customer@example.com
              account_id: QYR5Z8XDVJNXQ
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              payments:
                authorizations:
                  - id: 3C679366HH908993F
                    status: CREATED
                    amount:
                      currency_code: USD
                      value: "100.00"
                    seller_protection:
                      status: ELIGIBLE
                      dispute_categories:
                        - ITEM_NOT_RECEIVED
                        - UNAUTHORIZED_TRANSACTION
                    expiration_time: 2021-10-08T23:37:39Z
                    links:
                      - href: https://api-m.paypal.com/v2/payments/authorizations/5O190127TN364715T
                        rel: self
                        method: GET
                      - href: https://api-m.paypal.com/v2/payments/authorizations/5O190127TN364715T/capture
                        rel: capture
                        method: POST
                      - href: https://api-m.paypal.com/v2/payments/authorizations/5O190127TN364715T/void
                        rel: void
                        method: POST
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: up
                        method: GET
          payer:
            name:
              given_name: John
              surname: Doe
            email_address: customer@example.com
            payer_id: QYR5Z8XDVJNXQ
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
    - title: Authorize Order - Idempotent Response with PayPal Wallet
      description: Authorizes payment for an order with the same idempotency key. By
        default, uses the minimal representation.
      operationId: orders.authorize
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/authorize
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 200 OK
        body:
          id: 5O190127TN364715T
          status: COMPLETED
          payment_source:
            paypal:
              name:
                given_name: John
                surname: Doe
              account_status: VERIFIED
              email_address: customer@example.com
              account_id: QYR5Z8XDVJNXQ
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              shipping:
                address:
                  address_line_1: 2211 N First Street
                  address_line_2: Building 17
                  admin_area_2: San Jose
                  admin_area_1: CA
                  postal_code: "95131"
                  country_code: US
              payments:
                authorizations:
                  - id: 0AW2184448108334S
                    status: CREATED
                    amount:
                      currency_code: USD
                      value: "100.00"
                    seller_protection:
                      status: ELIGIBLE
                      dispute_categories:
                        - ITEM_NOT_RECEIVED
                        - UNAUTHORIZED_TRANSACTION
                    expiration_time: 2018-05-01T21:20:49Z
                    create_time: 2018-04-01T21:20:49Z
                    update_time: 2018-04-01T21:20:49Z
                    links:
                      - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S
                        rel: self
                        method: GET
                      - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/capture
                        rel: capture
                        method: POST
                      - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/void
                        rel: void
                        method: POST
                      - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/reauthorize
                        rel: reauthorize
                        method: POST
          payer:
            name:
              given_name: John
              surname: Doe
            email_address: customer@example.com
            payer_id: QYR5Z8XDVJNXQ
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
    - title: Authorize Order - PayPal Wallet Vault ID
      description: Authorizes payment for an order through a previously acquired vault
        id for a PayPal wallet. By default, uses the minimal representation.
      operationId: orders.authorize
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/authorize
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          payment_source:
            paypal:
              vault_id: nkq2y9g
      response:
        status: 201 Created
        body:
          id: 5O190127TN364715T
          status: COMPLETED
          payment_source:
            paypal:
              name:
                given_name: John
                surname: Doe
              email_address: customer@example.com
              account_id: QYR5Z8XDVJNXQ
              account_status: VERIFIED
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              shipping:
                address:
                  address_line_1: 2211 N First Street
                  address_line_2: Building 17
                  admin_area_2: San Jose
                  admin_area_1: CA
                  postal_code: "95131"
                  country_code: US
              payments:
                authorizations:
                  - id: 0AW2184448108334S
                    status: CREATED
                    amount:
                      currency_code: USD
                      value: "100.00"
                    seller_protection:
                      status: ELIGIBLE
                      dispute_categories:
                        - ITEM_NOT_RECEIVED
                        - UNAUTHORIZED_TRANSACTION
                    expiration_time: 2022-01-29T21:20:49Z
                    create_time: 2021-12-29T21:20:49Z
                    update_time: 2021-12-29T21:20:49Z
                    links:
                      - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S
                        rel: self
                        method: GET
                      - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/capture
                        rel: capture
                        method: POST
                      - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/void
                        rel: void
                        method: POST
                      - href: https://api-m.paypal.com/v2/payments/authorizations/0AW2184448108334S/reauthorize
                        rel: reauthorize
                        method: POST
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
    - title: Authorize Order - 403 Forbidden Error - Charity is not confirmed
      description: This code sample attempts to authorize a donation order, but
        charity is not confirmed.
      operationId: orders.authorize
      request:
        method: post
        path: /v2/checkout/orders/{id}/authorize
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 403 Forbidden
        body:
          name: NOT_AUTHORIZED
          debug_id: b1d1f06c7246c
          message: Authorization failed due to insufficient permissions.
    - title: Authorize Order - 422 - Payer Action Required
      description: This code sample attempts to authorize payment for an order that
        was created by the api caller and the payment could not be processed due
        to PSD2 SCA compliance requirement.
      operationId: orders.authorize
      request:
        method: post
        path: /v2/checkout/orders/9SY02093A2309081P/authorize
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body: {}
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - issue: PAYER_ACTION_REQUIRED
              description: Transaction cannot complete successfully, instruct the buyer to
                return to PayPal.
          message: The requested action could not be performed, semantically incorrect, or
            failed business validation.
          debug_id: f63fbc340a6ce
          links:
            - href: https://developer.paypal.com/api/orders/v2/#error-PAYER_ACTION_REQUIRED
              rel: information_link
              method: GET
            - href: https://www.paypal.com/checkoutnow?token=9SY02093A2309081P
              rel: payer-action
              method: GET
    - title: Authorize Order - 422 Unprocessable Entity Error - Payment Denied
      description: This code sample attempts to authorize an order, but the payment is
        denied by PayPal. This can occur due to various reasons such as
        insufficient funds, expired card, incorrect payment information, or
        payment gateway issues.
      operationId: orders.authorize
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/authorize
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          payment_source:
            card:
              vault_id: 8cg02452we902502k
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - issue: PAYMENT_DENIED
              description: PayPal has declined to process this transaction.
          message: The requested action could not be performed, semantically incorrect, or
            failed business validation.
          debug_id: eb476257836d9
          links:
            - href: https://developer.paypal.com/docs/api/orders/v2/#error-PAYMENT_DENIED
              rel: information_link
              method: GET
  orders.capture:
    - title: Capture Order - PayPal Wallet as Payment Source
      description: Captures payment for an order after wallet approval. By default,
        uses the minimal representation.
      operationId: orders.capture
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/capture
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 201 Created
        body:
          id: 5O190127TN364715T
          status: COMPLETED
          payment_source:
            paypal:
              name:
                given_name: John
                surname: Doe
              email_address: customer@example.com
              account_id: QYR5Z8XDVJNXQ
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              shipping:
                address:
                  address_line_1: 2211 N First Street
                  address_line_2: Building 17
                  admin_area_2: San Jose
                  admin_area_1: CA
                  postal_code: "95131"
                  country_code: US
              payments:
                captures:
                  - id: 3C679366HH908993F
                    status: COMPLETED
                    amount:
                      currency_code: USD
                      value: "100.00"
                    seller_protection:
                      status: ELIGIBLE
                      dispute_categories:
                        - ITEM_NOT_RECEIVED
                        - UNAUTHORIZED_TRANSACTION
                    final_capture: true
                    disbursement_mode: INSTANT
                    seller_receivable_breakdown:
                      gross_amount:
                        currency_code: USD
                        value: "100.00"
                      paypal_fee:
                        currency_code: USD
                        value: "3.00"
                      net_amount:
                        currency_code: USD
                        value: "97.00"
                    create_time: 2018-04-01T21:20:49Z
                    update_time: 2018-04-01T21:20:49Z
                    links:
                      - href: https://api-m.paypal.com/v2/payments/captures/3C679366HH908993F
                        rel: self
                        method: GET
                      - href: https://api-m.paypal.com/v2/payments/captures/3C679366HH908993F/refund
                        rel: refund
                        method: POST
          payer:
            name:
              given_name: John
              surname: Doe
            email_address: customer@example.com
            payer_id: QYR5Z8XDVJNXQ
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
    - title: Capture Order - Idempotent Response with PayPal Wallet
      description: Captures payment for an order after wallet approval with the same
        idempotency key. By default, uses the minimal representation.
      operationId: orders.capture
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/capture
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 200 OK
        body:
          id: 5O190127TN364715T
          status: COMPLETED
          payment_source:
            paypal:
              name:
                given_name: John
                surname: Doe
              email_address: customer@example.com
              account_id: QYR5Z8XDVJNXQ
              account_status: VERIFIED
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              shipping:
                address:
                  address_line_1: 2211 N First Street
                  address_line_2: Building 17
                  admin_area_2: San Jose
                  admin_area_1: CA
                  postal_code: "95131"
                  country_code: US
              payments:
                captures:
                  - id: 3C679366HH908993F
                    status: COMPLETED
                    amount:
                      currency_code: USD
                      value: "100.00"
                    seller_protection:
                      status: ELIGIBLE
                      dispute_categories:
                        - ITEM_NOT_RECEIVED
                        - UNAUTHORIZED_TRANSACTION
                    final_capture: true
                    disbursement_mode: INSTANT
                    seller_receivable_breakdown:
                      gross_amount:
                        currency_code: USD
                        value: "100.00"
                      paypal_fee:
                        currency_code: USD
                        value: "3.00"
                      net_amount:
                        currency_code: USD
                        value: "97.00"
                    create_time: 2018-04-01T21:20:49Z
                    update_time: 2018-04-01T21:20:49Z
                    links:
                      - href: https://api-m.paypal.com/v2/payments/captures/3C679366HH908993F
                        rel: self
                        method: GET
                      - href: https://api-m.paypal.com/v2/payments/captures/3C679366HH908993F/refund
                        rel: refund
                        method: POST
          payer:
            name:
              given_name: John
              surname: Doe
            email_address: customer@example.com
            payer_id: QYR5Z8XDVJNXQ
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
    - title: Capture Order - Minimal Representation with PayPal Wallet Vault ID
      description: The partner captures payment for an order after PayPal Wallet
        approval. By default, uses the minimal representation.
      operationId: orders.capture
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/capture
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 201 Created
        body:
          id: 5O190127TN364715T
          status: COMPLETED
          payment_source:
            paypal:
              attributes:
                vault:
                  id: m6yd4yw
                  status: CREATED
          purchase_units:
            - reference_id: refernece_id_1001
              shipping:
                name:
                  full_name: William Chris
                address:
                  address_line_1: 500 Hillside Street
                  address_line_2: "#100"
                  admin_area_2: San Jose
                  admin_area_1: CA
                  postal_code: "95131"
                  country_code: US
              payments:
                captures:
                  - id: 54986457XR262021N
                    status: COMPLETED
                    amount:
                      currency_code: USD
                      value: "31.01"
                    final_capture: true
                    disbursement_mode: INSTANT
                    seller_protection:
                      status: ELIGIBLE
                      dispute_categories:
                        - ITEM_NOT_RECEIVED
                        - UNAUTHORIZED_TRANSACTION
                    seller_receivable_breakdown:
                      gross_amount:
                        currency_code: USD
                        value: "31.01"
                      platform_fees:
                        - amount:
                            currency_code: USD
                            value: "10.01"
                          payee:
                            merchant_id: J8NCBBULP5JH2
                      net_amount:
                        currency_code: USD
                        value: "21.00"
                    invoice_id: invoice_id_380358551C5240203
                    custom_id: custom_id_1001
                    links:
                      - href: https://api-m.paypal.com/v2/payments/captures/54986457XR262021N
                        rel: self
                        method: GET
                      - href: https://api-m.paypal.com/v2/payments/captures/54986457XR262021N/refund
                        rel: refund
                        method: POST
                      - href: https://api-m.paypal.com/v2/checkout/orders/12645781RH9888226
                        rel: up
                        method: GET
                    create_time: 2020-06-08T23:11:34Z
                    update_time: 2020-06-08T23:11:34Z
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
            - href: https://api-m.paypal.com/v2/vault/payment-tokens/m6yd4yw
              rel: payment-token
              method: GET
    - title: Capture Order - 403 Forbidden Error - Invalid Card Vault ID
      description: This code sample attempts to capture an order that was created with
        the `CAPTURE` intent but the card vault id can not be found. The request
        fails.
      operationId: orders.capture
      request:
        method: post
        path: /v2/checkout/orders/{id}/capture
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 403 Forbidden
        body:
          name: NOT_AUTHORIZED
          debug_id: b1d1f06c7246c
          message: Authorization failed due to insufficient permissions.
    - title: Capture Order - 404 Not Found Error - Resource Not Found
      description: This code sample attempts to capture an order but the specified
        order is not found. The request fails.
      operationId: orders.capture
      request:
        method: post
        path: /v2/checkout/orders/{id}/capture
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 404 Not Found
        body:
          name: RESOURCE_NOT_FOUND
          debug_id: b1d1f06c7246c
          message: The specified resource does not exist.
    - title: Capture Order - 422 - Payer Action Required
      description: This code sample attempts to capture payment for an order that was
        created by the api caller and the payment could not be processed due to
        PSD2 SCA compliance requirement.
      operationId: orders.capture
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/capture
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body: {}
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - issue: PAYER_ACTION_REQUIRED
              description: Transaction cannot complete successfully, instruct the buyer to
                return to PayPal.
          message: The requested action could not be performed, semantically incorrect, or
            failed business validation.
          debug_id: f63fbc340a6ce
          links:
            - href: https://developer.paypal.com/api/orders/v2/#error-PAYER_ACTION_REQUIRED
              rel: information_link
              method: GET
            - href: https://www.paypal.com/checkoutnow?token=5O190127TN364715T
              rel: payer-action
              method: GET
    - title: Capture Order - 422 Unprocessable Entity Error - Action Does Not Match
        Intent
      description: This code sample attempts to capture payment for an order that was
        created with `intent=AUTHORIZE`. The operation is incorrect.
      operationId: orders.capture
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/capture
        headers:
          PayPal-Request-Id: 17e81d06-77ab-11e8-adc0-fa71639ebebc
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - location: body
              issue: ACTION_DOES_NOT_MATCH_INTENT
              description: The order was created with an intent of `AUTHORIZE`. To complete
                authorization, use `/v2/checkout/orders/{order_id}/authorize`.
                Or, alternately create an order with an intent of `CAPTURE`.
          message: The requested action could not be performed, semantically incorrect, or
            failed business validation.
          debug_id: 90957fca61718
          links:
            - href: https://developer.paypal.com/api/orders/v2/#error-ACTION_DOES_NOT_MATCH_INTENT
              rel: information_link
              method: GET
  orders.track.create:
    - title: Add Tracking to Order - Carrier Information and Items Breakdown
      description: Adds tracking information for a PayPal order.
      operationId: orders.track.create
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/track
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          capture_id: 8MC585209K746392H
          tracking_number: "443844607820"
          carrier: FEDEX
          notify_payer: false
          items:
            - name: T-Shirt
              sku: sku02
              quantity: "1"
              upc:
                type: UPC-A
                code: "012345678901"
              image_url: https://www.example.com/example.jpg
              url: https://www.example.com/example
      response:
        status: 201 Created
        body:
          id: 5O190127TN364715T
          status: COMPLETED
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              items:
                - name: Air Jordan Shoe
                  sku: sku01
                  quantity: "1"
                  unit_amount:
                    currency_code: USD
                    value: "50.00"
                - name: T-Shirt
                  sku: sku02
                  quantity: "1"
                  unit_amount:
                    currency_code: USD
                    value: "50.00"
              shipping:
                trackers:
                  - id: 8MC585209K746392H-443844607820
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: up
                        method: GET
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T/trackers/8MC585209K746392H-443844607820
                        rel: edit
                        method: PATCH
                    create_time: 2022-08-12T21:20:49Z
                    update_time: 2022-08-12T21:20:49Z
              payments:
                captures:
                  - id: 8MC585209K746392H
                    status: COMPLETED
                    amount:
                      currency_code: USD
                      value: "100.00"
                    seller_protection:
                      status: NOT_ELIGIBLE
                    final_capture: true
                    seller_receivable_breakdown:
                      gross_amount:
                        currency_code: USD
                        value: "100.00"
                      paypal_fee:
                        currency_code: USD
                        value: "3.00"
                      net_amount:
                        currency_code: USD
                        value: "97.00"
                    create_time: 2018-04-01T21:20:49Z
                    update_time: 2018-04-01T21:20:49Z
                    links:
                      - href: https://api-m.paypal.com/v2/payments/captures/8MC585209K746392H
                        rel: self
                        method: GET
                      - href: https://api-m.paypal.com/v2/payments/captures/8MC585209K746392H/refund
                        rel: refund
                        method: POST
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
    - title: Add Tracking to Order - Idempotent Response
      description: Adds tracking information for a PayPal Order with the same capture
        id & tracking number. Idempotency for trackers is based on the
        capture_id and tracking_number combination sent in the request body.
      operationId: orders.track.create
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/track
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          capture_id: 8MC585209K746392H
          tracking_number: "443844607820"
          carrier: FEDEX
          notify_payer: false
          items:
            - name: T-Shirt
              sku: sku01
              quantity: "1"
              upc:
                type: UPC-A
                code: "012345678901"
              image_url: https://www.example.com/example.jpg
              url: https://www.example.com/example
      response:
        status: 200 OK
        body:
          id: 5O190127TN364715T
          status: COMPLETED
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              items:
                - name: Air Jordan Shoe
                  sku: sku01
                  quantity: "1"
                  unit_amount:
                    currency_code: USD
                    value: "50.00"
                - name: T-Shirt
                  sku: sku02
                  quantity: "1"
                  unit_amount:
                    currency_code: USD
                    value: "50.00"
              shipping:
                trackers:
                  - id: 8MC585209K746392H-443844607820
                    links:
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
                        rel: up
                        method: GET
                      - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T/trackers/8MC585209K746392H-443844607820
                        rel: edit
                        method: PATCH
                    create_time: 2022-08-12T21:20:49Z
                    update_time: 2022-08-12T21:20:49Z
              payments:
                captures:
                  - id: 8MC585209K746392H
                    status: COMPLETED
                    amount:
                      currency_code: USD
                      value: "100.00"
                    seller_protection:
                      status: NOT_ELIGIBLE
                    final_capture: true
                    seller_receivable_breakdown:
                      gross_amount:
                        currency_code: USD
                        value: "100.00"
                      paypal_fee:
                        currency_code: USD
                        value: "3.00"
                      net_amount:
                        currency_code: USD
                        value: "97.00"
                    create_time: 2018-04-01T21:20:49Z
                    update_time: 2018-04-01T21:20:49Z
                    links:
                      - href: https://api-m.paypal.com/v2/payments/captures/8MC585209K746392H
                        rel: self
                        method: GET
                      - href: https://api-m.paypal.com/v2/payments/captures/8MC585209K746392H/refund
                        rel: refund
                        method: POST
          links:
            - href: https://api-m.paypal.com/v2/checkout/orders/5O190127TN364715T
              rel: self
              method: GET
    - title: Add Tracking to Order - 400 Bad Request - Missing Required Parameter
      description: This code sample attempts to add tracking information for a PayPal
        order but required parameter capture id is not passed.
      operationId: orders.track.create
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/track
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 400 Bad Request
        body:
          name: INVALID_REQUEST
          message: Request is not well-formed, syntactically incorrect, or violates
            schema.
          debug_id: 360ee42996992
          details:
            - field: /capture_id
              issue: MISSING_REQUIRED_PARAMETER
              description: A required field / parameter is missing.
              location: body
          links:
            - href: https://developer.paypal.com/api/orders/v2/#error-MISSING_REQUIRED_PARAMETER
              rel: information_link
    - title: Add Tracking to Order - 403 Forbidden - No Permission for the Order
      description: This code sample attempts to add tracking information for a Paypal
        Order, but the API caller does not have permission to act on this
        resource.
      operationId: orders.track.create
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/track
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          capture_id: 8MC585209K746392H
          tracking_number: "443844607820"
          carrier: FEDEX
          notify_payer: false
          items:
            - name: T-Shirt
              sku: sku01
              quantity: "1"
              upc:
                type: UPC-A
                code: "012345678901"
              image_url: https://www.example.com/example.jpg
              url: https://www.example.com/example
      response:
        status: 403 Forbidden
        body:
          name: NOT_AUTHORIZED
          debug_id: b1d1f06c7246c
          message: Authorization failed due to insufficient permissions.
    - title: Add Tracking to Order - 422 Unprocessable Entity Error - Invalid Capture
        Status.
      description: This code sample attempts to add tracking information for a PayPal
        order but the request fails as capture status is invalid.
      operationId: orders.track.create
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/track
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          capture_id: 8MC585209K746392H
          tracking_number: "443844607820"
          carrier: FEDEX
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          message: The requested action could not be performed, semantically incorrect, or
            failed business validation.
          debug_id: 360ee42996992
          details:
            - issue: CAPTURE_STATUS_NOT_VALID
              description: Invalid capture status. Tracker information can only be added to
                captures in `COMPLETED` state.
          links:
            - href: https://developer.paypal.com/docs/api/orders/v2/#error-CAPTURE_STATUS_NOT_VALID
              rel: information_link
              method: GET
    - title: Add Tracking to Order - 500 Internal Server Error
      description: This code sample attempts to add tracking information for a PayPal
        Order but the request fails due to an internal server error.
      operationId: orders.track.create
      request:
        method: post
        path: /v2/checkout/orders/5O190127TN364715T/track
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          capture_id: 8MC585209K746392H
          tracking_number: "443844607820"
          carrier: FEDEX
          notify_payer: false
          items:
            - name: T-Shirt
              sku: sku01
              quantity: "1"
              upc:
                type: UPC-A
                code: "012345678901"
              image_url: https://www.example.com/example.jpg
              url: https://www.example.com/example
      response:
        status: 500 Internal Server Error
        body:
          name: INTERNAL_SERVER_ERROR
          debug_id: b1d1f06c7246c
          message: An internal server error has occurred.
  orders.trackers.patch:
    - title: Patch Tracking Information - Replace the Status of the Tracker.
      description: Updates order tracking information to replace the existing status
        with a new status.
      operationId: orders.trackers.patch
      request:
        method: patch
        path: /v2/checkout/orders/5O190127TN364715T/trackers/8MC585209K746392H443844607820
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          - op: replace
            path: /status
            value: CANCELLED
      response:
        status: 204 No Content
    - title: Patch Tracking Information - Add Notification for a Shipment.
      description: Updates an order tracking information to add notification for a shipment.
      operationId: orders.trackers.patch
      request:
        method: patch
        path: /v2/checkout/orders/5O190127TN364715T/trackers/8MC585209K746392H443844607820
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          - op: add
            path: /notify_payer
            value: true
      response:
        status: 204 No Content
    - title: Patch Tracking Information - 400 Bad Request Error - Invalid Request.
      description: This code sample attempts to update an order tracking information
        to replace notify_payer, but the request fails due to invalid value in
        the request.
      operationId: orders.trackers.patch
      request:
        method: patch
        path: /v2/checkout/orders/5O190127TN364715T/trackers/8MC585209K746392H443844607820
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
      response:
        status: 400 Bad Request
        body:
          name: INVALID_REQUEST
          message: Request is not well-formed, syntactically incorrect, or violates
            schema.
          debug_id: 2f541ace12987
          details:
            - field: /notify_payer
              issue: INVALID_PARAMETER_VALUE
              description: The value of a field is invalid.
              location: body
          links:
            - href: https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_VALUE
              rel: information_link
              method: GET
    - title: Patch Tracking Information - 403 Forbidden.
      description: This code sample attempts to update an Order Tracking information,
        but the API caller does not have permission to act on this resource.
      operationId: orders.trackers.patch
      request:
        method: patch
        path: /v2/checkout/orders/5O190127TN364715T/trackers/8MC585209K746392H443844607820
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          - op: add
            path: /notify_payer
            value: true
      response:
        status: 403 Forbidden
        body:
          name: NOT_AUTHORIZED
          debug_id: b1d1f06c7246c
          message: Authorization failed due to insufficient permissions.
    - title: Patch Tracking Information - 404 Not Found Error - Tracker ID Not Found.
      description: This code sample attempts to update an Order Tracking information
        but the request fails as specified tracker id is not found.
      operationId: orders.trackers.patch
      request:
        method: patch
        path: /v2/checkout/orders/5O190127TN364715T/trackers/8MC585209K746392H443844607820
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          - op: add
            path: /notify_payer
            value: true
      response:
        status: 404 Not Found
        body:
          name: RESOURCE_NOT_FOUND
          debug_id: b1d1f06c7246c
          message: The specified resource does not exist.
    - title: Patch Tracking Information - 422 UNPROCESSABLE ENTITY Error - Cannot
        patch cancelled tracker.
      description: This code sample attempts to update an order's Tracking information
        but the request fails as the tracker had been previously transitioned
        into the "cancelled" state.
      operationId: orders.trackers.patch
      request:
        method: patch
        path: /v2/checkout/orders/5O190127TN364715T/trackers/8MC585209K746392H443844607820
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          - op: replace
            path: items
            value:
              - name: T-Shirt
                sku: sku01
                quantity: "1"
                upc:
                  type: UPC-A
                  code: upc001
                image_url: https://www.example.com/example1.jpg
                url: https://www.example.com/example
              - name: NeoPhone
                sku: sku02
                quantity: "2"
                upc:
                  type: UPC-A
                  code: upc002
                image_url: https://www.example.com/example2.jpg
                url: https://www.example.com/example
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          message: The requested action could not be performed, semantically incorrect, or
            failed business validation.
          debug_id: 3178dbf457625
          details:
            - field: path
              value: /status
              location: body
              issue: CANNOT_PATCH_CANCELLED_TRACKER
              description: Cancelled trackers cannot be modified.
          links:
            - href: https://developer.paypal.com/docs/api/orders/v2/#error-NOT_PATCHABLE
              rel: information_link
              method: GET
    - title: Patch Tracking Information - 500 Internal Server Error.
      description: This code sample attempts to update an Order Tracking information
        but the request fails due to an internal server error.
      operationId: orders.trackers.patch
      request:
        method: patch
        path: /v2/checkout/orders/5O190127TN364715T/trackers/8MC585209K746392H443844607820
        headers:
          Authorization: Bearer
            A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ
        body:
          - op: add
            path: /notify_payer
            value: true
      response:
        status: 500 Internal Server Error
        body:
          name: INTERNAL_SERVER_ERROR
          debug_id: b1d1f06c7246c
          message: An internal server error has occurred.
  server.callback:
    - title: Shipping Options Callback Request - Shipping Address Only Event
      description: The PayPal callback server sends request with a buyer's shipping
        address, and the purchase_units of the order, to the merchant listener
        URL. The request payload is an example of the event that will be sent as
        soon as the buyer is presented with the "PayPal Buyer Approval" page.
        The merchant responds with a the appropriate tax calculation for the
        shipping address, and a list of available shipping options.
      operationId: server.callback
      request:
        method: post
        path: /v2/checkout/orders/order-update-callback
        headers:
          PayPal-Transmission-Id: 69cd13f0-d67a-11e5-baa3-778b53f4ae55
          PayPal-Transmission-Time: 2016-02-18T20:01:35Z
          PayPal-Cert-Url: https://api-m.paypal.com/v1/notifications/certs/CERT-1234567890
          PayPal-Transmission-Sig: lmI95Jx3Y9nhR5SJWlHVIWpg4AgFk7n9bCHSRxbrd8A9zrhdu2rMyFrmz+Zjh3s3boXB07VXCXUZy/UFzUlnGJn0wDugt7FlSvdKeIJenLRemUxYCPVoEZzg9VFNqOa48gMkvF+XTpxBeUx/kWy6B5cp7GkT2+pOowfRK7OaynuxUoKW3JcMWw272VKjLTtTAShncla7tGF+55rxyt2KNZIIqxNMJ48RDZheGU5w1npu9dZHnPgTXB9iomeVRoD8O/jhRpnKsGrDschyNdkeh81BJJMH4Ctc6lnCCquoP/GzCzz33MMsNdid7vL/NIWaCsekQpW26FpWPi/tfj8nLA==
          PayPal-Auth-Algo: SHA256withRSA
        body:
          id: 8HFTASDATTV
          shipping_address:
            country_code: US
            admin_area_1: TX
            admin_area_2: Dallas
            postal_code: "75001"
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              amount:
                currency_code: USD
                value: "100.00"
      response:
        status: 200 OK
        body:
          id: 8HFTASDATTV
          purchase_units:
            reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
            amount:
              currency_code: USD
              value: "105.00"
              breakdown:
                item_total:
                  currency_code: USD
                  value: "100.00"
                tax_total:
                  currency_code: USD
                  value: "5.00"
                shipping:
                  currency_code: USD
                  value: "0.00"
            shipping_options:
              - id: "1"
                amount:
                  currency_code: USD
                  value: "0.00"
                type: SHIPPING
                label: Free Shipping
                selected: true
              - id: "2"
                amount:
                  currency_code: USD
                  value: "7.00"
                type: SHIPPING
                label: USPS Priority Shipping
                selected: false
              - id: "3"
                amount:
                  currency_code: USD
                  value: "10.00"
                type: SHIPPING
                label: 1-Day Shipping
                selected: false
    - title: Shipping Options Callback Request - Shipping Address and Shipping Options
        Event
      description: The PayPal callback server sends request with a buyer's shipping
        address, the shipping option the buyer selected, and the purchase_units
        of the order, to the merchant listener URL. The merchant responds with a
        the appropriate tax calculation and breakdown for the given address and
        shipping option combination.
      operationId: server.callback
      request:
        method: post
        path: /v2/checkout/orders/order-update-callback
        headers:
          PayPal-Transmission-Id: 69cd13f0-d67a-11e5-baa3-778b53f4ae55
          PayPal-Transmission-Time: 2016-02-18T20:01:35Z
          PayPal-Cert-Url: https://api-m.paypal.com/v1/notifications/certs/CERT-1234567890
          PayPal-Transmission-Sig: lmI95Jx3Y9nhR5SJWlHVIWpg4AgFk7n9bCHSRxbrd8A9zrhdu2rMyFrmz+Zjh3s3boXB07VXCXUZy/UFzUlnGJn0wDugt7FlSvdKeIJenLRemUxYCPVoEZzg9VFNqOa48gMkvF+XTpxBeUx/kWy6B5cp7GkT2+pOowfRK7OaynuxUoKW3JcMWw272VKjLTtTAShncla7tGF+55rxyt2KNZIIqxNMJ48RDZheGU5w1npu9dZHnPgTXB9iomeVRoD8O/jhRpnKsGrDschyNdkeh81BJJMH4Ctc6lnCCquoP/GzCzz33MMsNdid7vL/NIWaCsekQpW26FpWPi/tfj8nLA==
          PayPal-Auth-Algo: SHA256withRSA
        body:
          id: 5O190127TN364715T
          shipping_address:
            country_code: US
            admin_area_1: TX
            admin_area_2: Dallas
            postal_code: "75001"
          shipping_option:
            id: "2"
            amount:
              currency_code: USD
              value: "20.00"
            type: SHIPPING
            label: USPS Priority Shipping
            selected: true
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              amount:
                currency_code: USD
                value: "100.00"
      response:
        status: 200 OK
        body:
          id: 8HFTASDATTV
          purchase_units:
            reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
            amount:
              currency_code: USD
              value: "125.00"
              breakdown:
                item_total:
                  currency_code: USD
                  value: "100.00"
                tax_total:
                  currency_code: USD
                  value: "5.00"
                shipping:
                  currency_code: USD
                  value: "20.00"
            shipping_options:
              - id: "1"
                amount:
                  currency_code: USD
                  value: "0.00"
                type: SHIPPING
                label: Free Shipping
                selected: false
              - id: "2"
                amount:
                  currency_code: USD
                  value: "20.00"
                type: SHIPPING
                label: USPS Priority Shipping
                selected: true
              - id: "3"
                amount:
                  currency_code: USD
                  value: "10.00"
                type: SHIPPING
                label: 1-Day Shipping
                selected: false
    - title: Shipping Options Callback - 422 Unprocessable Entity - ADDRESS_ERROR
      description: This code sample attempts to retrieves the shipping options for an
        order, but the request fails because the address is not accepted by the
        merchant.
      operationId: server.callback
      request:
        method: post
        path: /v2/checkout/orders/order-update-callback
        headers:
          PayPal-Transmission-Id: 69cd13f0-d67a-11e5-baa3-778b53f4ae55
          PayPal-Transmission-Time: 2016-02-18T20:01:35Z
          PayPal-Cert-Url: https://api-m.paypal.com/v1/notifications/certs/CERT-1234567890
          PayPal-Transmission-Sig: lmI95Jx3Y9nhR5SJWlHVIWpg4AgFk7n9bCHSRxbrd8A9zrhdu2rMyFrmz+Zjh3s3boXB07VXCXUZy/UFzUlnGJn0wDugt7FlSvdKeIJenLRemUxYCPVoEZzg9VFNqOa48gMkvF+XTpxBeUx/kWy6B5cp7GkT2+pOowfRK7OaynuxUoKW3JcMWw272VKjLTtTAShncla7tGF+55rxyt2KNZIIqxNMJ48RDZheGU5w1npu9dZHnPgTXB9iomeVRoD8O/jhRpnKsGrDschyNdkeh81BJJMH4Ctc6lnCCquoP/GzCzz33MMsNdid7vL/NIWaCsekQpW26FpWPi/tfj8nLA==
          PayPal-Auth-Algo: SHA256withRSA
        body:
          id: 5O190127TN364715T
          shipping_address:
            country_code: US
            admin_area_1: TX
            admin_area_2: Dallas
            postal_code: "75001"
          shipping_option:
            id: "2"
            amount:
              currency_code: USD
              value: "20.00"
            type: SHIPPING
            label: USPS Priority Shipping
            selected: true
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              amount:
                currency_code: USD
                value: "100.00"
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - issue: ADDRESS_ERROR
    - title: Shipping Options Callback - 422 Unprocessable Entity - COUNTRY_ERROR
      description: This code sample attempts to retrieves the shipping options for an
        order, but the request fails because the merchant doesnt ship to the
        country provided.
      operationId: server.callback
      request:
        method: post
        path: /v2/checkout/orders/order-update-callback
        headers:
          PayPal-Transmission-Id: 69cd13f0-d67a-11e5-baa3-778b53f4ae55
          PayPal-Transmission-Time: 2016-02-18T20:01:35Z
          PayPal-Cert-Url: https://api-m.paypal.com/v1/notifications/certs/CERT-1234567890
          PayPal-Transmission-Sig: lmI95Jx3Y9nhR5SJWlHVIWpg4AgFk7n9bCHSRxbrd8A9zrhdu2rMyFrmz+Zjh3s3boXB07VXCXUZy/UFzUlnGJn0wDugt7FlSvdKeIJenLRemUxYCPVoEZzg9VFNqOa48gMkvF+XTpxBeUx/kWy6B5cp7GkT2+pOowfRK7OaynuxUoKW3JcMWw272VKjLTtTAShncla7tGF+55rxyt2KNZIIqxNMJ48RDZheGU5w1npu9dZHnPgTXB9iomeVRoD8O/jhRpnKsGrDschyNdkeh81BJJMH4Ctc6lnCCquoP/GzCzz33MMsNdid7vL/NIWaCsekQpW26FpWPi/tfj8nLA==
          PayPal-Auth-Algo: SHA256withRSA
        body:
          id: 5O190127TN364715T
          shipping_address:
            country_code: US
            admin_area_1: TX
            admin_area_2: Dallas
            postal_code: "75001"
          shipping_option:
            id: "2"
            amount:
              currency_code: USD
              value: "20.00"
            type: SHIPPING
            label: USPS Priority Shipping
            selected: true
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              amount:
                currency_code: USD
                value: "100.00"
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - issue: COUNTRY_ERROR
    - title: Shipping Options Callback - 422 Unprocessable Entity - METHOD_UNAVAILABLE
      description: This code sample attempts to retrieves the shipping options for an
        order, but the request fails because the merchant support the shipping
        option provided.
      operationId: server.callback
      request:
        method: post
        path: /v2/checkout/orders/order-update-callback
        headers:
          PayPal-Transmission-Id: 69cd13f0-d67a-11e5-baa3-778b53f4ae55
          PayPal-Transmission-Time: 2016-02-18T20:01:35Z
          PayPal-Cert-Url: https://api-m.paypal.com/v1/notifications/certs/CERT-1234567890
          PayPal-Transmission-Sig: lmI95Jx3Y9nhR5SJWlHVIWpg4AgFk7n9bCHSRxbrd8A9zrhdu2rMyFrmz+Zjh3s3boXB07VXCXUZy/UFzUlnGJn0wDugt7FlSvdKeIJenLRemUxYCPVoEZzg9VFNqOa48gMkvF+XTpxBeUx/kWy6B5cp7GkT2+pOowfRK7OaynuxUoKW3JcMWw272VKjLTtTAShncla7tGF+55rxyt2KNZIIqxNMJ48RDZheGU5w1npu9dZHnPgTXB9iomeVRoD8O/jhRpnKsGrDschyNdkeh81BJJMH4Ctc6lnCCquoP/GzCzz33MMsNdid7vL/NIWaCsekQpW26FpWPi/tfj8nLA==
          PayPal-Auth-Algo: SHA256withRSA
        body:
          id: 5O190127TN364715T
          shipping_address:
            country_code: US
            admin_area_1: TX
            admin_area_2: Dallas
            postal_code: "75001"
          shipping_option:
            id: "2"
            amount:
              currency_code: USD
              value: "20.00"
            type: SHIPPING
            label: USPS Priority Shipping
            selected: true
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              amount:
                currency_code: USD
                value: "100.00"
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - issue: METHOD_UNAVAILABLE
    - title: Shipping Options Callback - 422 Unprocessable Entity - STATE_ERROR
      description: This code sample attempts to retrieves the shipping options for an
        order, but the request fails because the merchant doesnt ship to this
        state.
      operationId: server.callback
      request:
        method: post
        path: /v2/checkout/orders/order-update-callback
        headers:
          PayPal-Transmission-Id: 69cd13f0-d67a-11e5-baa3-778b53f4ae55
          PayPal-Transmission-Time: 2016-02-18T20:01:35Z
          PayPal-Cert-Url: https://api-m.paypal.com/v1/notifications/certs/CERT-1234567890
          PayPal-Transmission-Sig: lmI95Jx3Y9nhR5SJWlHVIWpg4AgFk7n9bCHSRxbrd8A9zrhdu2rMyFrmz+Zjh3s3boXB07VXCXUZy/UFzUlnGJn0wDugt7FlSvdKeIJenLRemUxYCPVoEZzg9VFNqOa48gMkvF+XTpxBeUx/kWy6B5cp7GkT2+pOowfRK7OaynuxUoKW3JcMWw272VKjLTtTAShncla7tGF+55rxyt2KNZIIqxNMJ48RDZheGU5w1npu9dZHnPgTXB9iomeVRoD8O/jhRpnKsGrDschyNdkeh81BJJMH4Ctc6lnCCquoP/GzCzz33MMsNdid7vL/NIWaCsekQpW26FpWPi/tfj8nLA==
          PayPal-Auth-Algo: SHA256withRSA
        body:
          id: 5O190127TN364715T
          shipping_address:
            country_code: US
            admin_area_1: TX
            admin_area_2: Dallas
            postal_code: "75001"
          shipping_option:
            id: "2"
            amount:
              currency_code: USD
              value: "20.00"
            type: SHIPPING
            label: USPS Priority Shipping
            selected: true
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              amount:
                currency_code: USD
                value: "100.00"
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - issue: STATE_ERROR
    - title: Shipping Options Callback - 422 Unprocessable Entity - STORE_UNAVAILABLE
      description: This code sample attempts to retrieves the shipping options for an
        order, but the request fails because part of the item is not available
        in the store.
      operationId: server.callback
      request:
        method: post
        path: /v2/checkout/orders/order-update-callback
        headers:
          PayPal-Transmission-Id: 69cd13f0-d67a-11e5-baa3-778b53f4ae55
          PayPal-Transmission-Time: 2016-02-18T20:01:35Z
          PayPal-Cert-Url: https://api-m.paypal.com/v1/notifications/certs/CERT-1234567890
          PayPal-Transmission-Sig: lmI95Jx3Y9nhR5SJWlHVIWpg4AgFk7n9bCHSRxbrd8A9zrhdu2rMyFrmz+Zjh3s3boXB07VXCXUZy/UFzUlnGJn0wDugt7FlSvdKeIJenLRemUxYCPVoEZzg9VFNqOa48gMkvF+XTpxBeUx/kWy6B5cp7GkT2+pOowfRK7OaynuxUoKW3JcMWw272VKjLTtTAShncla7tGF+55rxyt2KNZIIqxNMJ48RDZheGU5w1npu9dZHnPgTXB9iomeVRoD8O/jhRpnKsGrDschyNdkeh81BJJMH4Ctc6lnCCquoP/GzCzz33MMsNdid7vL/NIWaCsekQpW26FpWPi/tfj8nLA==
          PayPal-Auth-Algo: SHA256withRSA
        body:
          id: 5O190127TN364715T
          shipping_address:
            country_code: US
            admin_area_1: TX
            admin_area_2: Dallas
            postal_code: "75001"
          shipping_option:
            id: "2"
            amount:
              currency_code: USD
              value: "20.00"
            type: SHIPPING
            label: USPS Priority Shipping
            selected: true
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              amount:
                currency_code: USD
                value: "100.00"
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - issue: STORE_UNAVAILABLE
    - title: Shipping Options Callback - 422 Unprocessable Entity - ZIP_ERROR
      description: This code sample attempts to retrieves the shipping options for an
        order, but the request fails because the merchant doesnt ship to this
        state.
      operationId: server.callback
      request:
        method: post
        path: /v2/checkout/orders/order-update-callback
        headers:
          PayPal-Transmission-Id: 69cd13f0-d67a-11e5-baa3-778b53f4ae55
          PayPal-Transmission-Time: 2016-02-18T20:01:35Z
          PayPal-Cert-Url: https://api-m.paypal.com/v1/notifications/certs/CERT-1234567890
          PayPal-Transmission-Sig: lmI95Jx3Y9nhR5SJWlHVIWpg4AgFk7n9bCHSRxbrd8A9zrhdu2rMyFrmz+Zjh3s3boXB07VXCXUZy/UFzUlnGJn0wDugt7FlSvdKeIJenLRemUxYCPVoEZzg9VFNqOa48gMkvF+XTpxBeUx/kWy6B5cp7GkT2+pOowfRK7OaynuxUoKW3JcMWw272VKjLTtTAShncla7tGF+55rxyt2KNZIIqxNMJ48RDZheGU5w1npu9dZHnPgTXB9iomeVRoD8O/jhRpnKsGrDschyNdkeh81BJJMH4Ctc6lnCCquoP/GzCzz33MMsNdid7vL/NIWaCsekQpW26FpWPi/tfj8nLA==
          PayPal-Auth-Algo: SHA256withRSA
        body:
          id: 5O190127TN364715T
          shipping_address:
            country_code: US
            admin_area_1: TX
            admin_area_2: Dallas
            postal_code: "75001"
          shipping_option:
            id: "2"
            amount:
              currency_code: USD
              value: "20.00"
            type: SHIPPING
            label: USPS Priority Shipping
            selected: true
          purchase_units:
            - reference_id: d9f80740-38f0-11e8-b467-0ed5f89f718b
              amount:
                currency_code: USD
                value: "100.00"
      response:
        status: 422 Unprocessable Content
        body:
          name: UNPROCESSABLE_ENTITY
          details:
            - issue: ZIP_ERROR
  certs.get:
    - title: Get Public Certificate
      description: Retrieve the PEM-encoded public certificate for verifying PayPal
        callback request signatures.
      operationId: certs.get
      request:
        method: get
        path: /v2/checkout/callback/certs/d01361aa2b87337f
      response:
        status: 200 OK
        body: "-----BEGIN CERTIFICATE-----\r

          MIIHXzCCBkegAwIBAgIQAxJN5DSYOQAuQZSJU29v6zANBgkqhkiG9w0BAQsFADB1MQswC\
          QYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaW\
          NlcnQuY29tMTQwMgYDVQQDEytEaWdpQ2VydCBTSEEyIEV4dGVuZGVkIFZhbGlkYXRpb24\
          gU2VydmVyIENBMB4XDTI2MDIyNzAwMDAwMFoXDTI2MDQxNDIzNTk1OVowgdsxEzARBgsr\
          BgEEAYI3PAIBAxMCVVMxGTAXBgsrBgEEAYI3PAIBAhMIRGVsYXdhcmUxHTAbBgNVBA8MF\
          FByaXZhdGUgT3JnYW5pemF0aW9uMRAwDgYDVQQFEwczMDE0MjY3MQswCQYDVQQGEwJVUz\
          ETMBEGA1UECBMKQ2FsaWZvcm5pYTERMA8GA1UEBxMIU2FuIEpvc2UxFTATBgNVBAoTDFB\
          heVBhbCwgSW5jLjEsMCoGA1UEAxMjbWVzc2FnZXZlcmlmaWNhdGlvbmNlcnRzLnBheXBh\
          bC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCQL4UYfyaj8pdQYOy31\
          q2ECUEpHFKz/vXa0UMzwJrBGmdok5sMtE6ShUaGOO2JVUdhdnFro2HdR0dmCe4sSHrHmL\
          /58bpHsAhgZNtDdTY8ifm95b5rRKeG9aYLT9fcG+4qcp5lRNT6DxQJ9YFfK6fy5Ae15AP\
          6Oad+Z85dWcOS4Exm1hTzhwqoU1PcOm/a1cAtkBUdFehblWKPNWbOhaLGJZJwn7XYgQLL\
          xDeUY9mY4OhePYJuYrhGsrbH9giVgGH307ZMBsjMNjYtPnPNKzt3lsBUPRC+V45KcrWBB\
          aqqGUolh9mM2bPpp7D2P9ON8eotoUb+vg09Jo9GDvczYDfpAgMBAAGjggOCMIIDfjAfBg\
          NVHSMEGDAWgBQ901Cl1qCt7vNKYApl0yHU+PjWDzAdBgNVHQ4EFgQUv50CWLYHZK7qXjn\
          4O9yDMndc4wQwLgYDVR0RBCcwJYIjbWVzc2FnZXZlcmlmaWNhdGlvbmNlcnRzLnBheXBh\
          bC5jb20wSgYDVR0gBEMwQTALBglghkgBhv1sAgEwMgYFZ4EMAQEwKTAnBggrBgEFBQcCA\
          RYbaHR0cDovL3d3dy5kaWdpY2VydC5jb20vQ1BTMA4GA1UdDwEB/wQEAwIFoDAdBgNVHS\
          UEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwdQYDVR0fBG4wbDA0oDKgMIYuaHR0cDovL2N\
          ybDMuZGlnaWNlcnQuY29tL3NoYTItZXYtc2VydmVyLWczLmNybDA0oDKgMIYuaHR0cDov\
          L2NybDQuZGlnaWNlcnQuY29tL3NoYTItZXYtc2VydmVyLWczLmNybDCBiAYIKwYBBQUHA\
          QEEfDB6MCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5kaWdpY2VydC5jb20wUgYIKwYBBQ\
          UHMAKGRmh0dHA6Ly9jYWNlcnRzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydFNIQTJFeHRlbmR\
          lZFZhbGlkYXRpb25TZXJ2ZXJDQS5jcnQwDAYDVR0TAQH/BAIwADCCAX8GCisGAQQB1nkC\
          BAIEggFvBIIBawFpAHYAZBHEbKQS7KeJHKICLgC8q08oB9QeNSer6v7VA8l9zfAAAAGcn\
          kTDmgAABAMARzBFAiEAr/QMXEJsayhVJLOIevxM9jUUbrBPz20gu0zuT0YYsw8CIDlcyK\
          2WYBJArRP7uB8KzH2wsBik6j6DgBbe/UNoK6b7AHcADleUvPOuqT4zGyyZB7P3kN+bwj1\
          xMiXdIaklrGHFTiEAAAGcnkTDnAAABAMASDBGAiEA4nXFbxXfPRLH5hB7Ew6rbHg9FR7J\
          sCM32dFeNuauJ8kCIQDwqhVhR0aJc+MoRBfr3+7J/xadcU9akQgqRk4HXDt9wgB2AEmcm\
          2neHXzs/DbezYdkprhbrwqHgBnRVVL76esp3fjDAAABnJ5Ew6kAAAQDAEcwRQIhAKKaCt\
          2+XIKnNv6AwiNxGbrTq2AXmRaMxlBz4sfflzl8AiAlaS5k3fdqYJDEOSmY6jZuP5wpSDO\
          sJKsCFwkwE0HzfzANBgkqhkiG9w0BAQsFAAOCAQEA0IC51Rq9b8PQGnJOJEUuJnV8pbM8\
          JxnVXZW0iicU1cQcCVD69whgpJUka+GZrJCiWQErpFkw+AUZE83oVk/XfxbHZZnTiyqFg\
          ynsOEyerDkvlZuPmhBtudsbH6gZkFOQCRUysOkBmeyxLFb1h8B/kFeHgYeEoAJUv7FbBs\
          CDONGjonjDrJqvl7xKLMOBWWmJuW9NjzQ36MUHjrGASK4WZO8SDj6k7rRRQa1Zs8VbPG3\
          xkCi65QaPdmtBIASy2Ov5qrpXAQqLnt9hiQ7Hn9XRQUxGrzrXLmmHVHY9ISr6xDNOXbU2\
          MwWbIwhbyXTrmWhmzBHaLGKaeOp33vZ5yccyfg==\r

          -----END CERTIFICATE-----"
    - title: Get Public Certificate - 400 Invalid Request - Invalid Certificate ID
        Format
      description: Certificate id has invalid format or length.
      operationId: certs.get
      request:
        method: get
        path: /v2/checkout/callback/certs/d01361aa2b87337f
      response:
        status: 400 Bad Request
        body:
          name: INVALID_REQUEST
          message: Request is not well-formed, syntactically incorrect, or violates
            schema.
          debug_id: b6b3c3a2e1234
          details:
            - field: cert_id
              value: "!!!!!!!!!!!!!!!!"
              location: path
              issue: INVALID_PARAMETER_SYNTAX
              description: The value of a field does not conform to the expected format.
    - title: Get Public Certificate - 400 Invalid Request - Invalid Certificate ID
        Length
      description: Certificate id has invalid format or length.
      operationId: certs.get
      request:
        method: get
        path: /v2/checkout/callback/certs/d01361aa2b87337f
      response:
        status: 400 Bad Request
        body:
          name: INVALID_REQUEST
          message: Request is not well-formed, syntactically incorrect, or violates
            schema.
          debug_id: b6b3c3a2e1234
          details:
            - field: cert_id
              value: abc123
              location: path
              issue: INVALID_STRING_LENGTH
              description: The value of a field is either too short or too long.
