Worldpay Payment API

Take a payment

OpenAPI Specification

worldpay-payment-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: 3DS 3DS actions Payment API
  description: "Protect your business and meet regulatory requirements by verifying your customer's identity.\n\n__Authentication header__\n  ```\n    Authorization: {your_credentials}\n  ```\nReplace `{your_credentials}` with your base64-encoded Basic Auth username and password given to your by your Worldpay Implementation Manager.\n<br /> <br />\n\nYou **must** use the `Authorization` header for any request you send to our 3DS API.\n\n__Accept/Content-Type header__\n  ```\n  Content-Type: application/vnd.worldpay.verifications.customers-v3.hal+json\n  Accept: application/vnd.worldpay.verifications.customers-v3.hal+json\n  ```\nWe use the Accept header to identify which version of our API you are using. You must use the Accept header for any request you send to our 3DS API.\n\nWe require the Content-Type header if the request you're sending includes a request body, and if the HTTP method is a `POST` or a `PUT`.\n<br /><br />\n\n\n__DNS whitelisting__  \nWhitelist the following URLs:\n* `https://try.access.worldpay.com/`\n* `https://access.worldpay.com/`\n\nPlease ensure you use DNS whitelisting, not explicit IP whitelisting."
  version: '3'
  x-metadata:
    category:
    - 3DS
    - SCA Exemptions
    business:
    - Enterprise
    catalog-list: true
    generated: false
servers:
- url: https://try.access.worldpay.com
  description: Test (Try)
- url: https://access.worldpay.com
  description: Live
security:
- BasicAuth: []
tags:
- name: Payment
  description: Take a payment
paths:
  /api/payments:
    post:
      tags:
      - Payment
      summary: Payment request
      description: Initiate payment
      operationId: payment
      parameters:
      - name: WP-Api-Version
        in: header
        description: The API version
        required: true
        schema:
          type: string
          description: The API version
          enum:
          - '2024-06-01'
          example: '2024-06-01'
        example: '2024-06-01'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentRequest'
            examples:
              Card - ecom:
                $ref: '#/components/examples/card-payment'
              Card - moto:
                $ref: '#/components/examples/card-payment_moto'
              Card - auto settlement:
                $ref: '#/components/examples/card-payment-auto-settlement'
              Card - integrated 3DS authentication:
                $ref: '#/components/examples/card-payment-integrated-3ds'
              Card - external 3DS authentication:
                $ref: '#/components/examples/card-payment-external-3ds'
              Card - SCA exemption:
                $ref: '#/components/examples/card-payment-exemption'
              Card - Fraud assessment:
                $ref: '#/components/examples/card-payment-fraud'
              Card - Payment facilitator:
                $ref: '#/components/examples/card-payment-payfac'
              Card - Account funding transaction (AFT):
                $ref: '#/components/examples/card-payment-fundsTransfer'
              Card - Preferred card brand:
                $ref: '#/components/examples/card-payment-cobranded'
              Card - Checkout SDK session:
                $ref: '#/components/examples/card-payment-checkout'
              Card - Delegate token:
                $ref: '#/components/examples/card-payment-delegate'
              Card - payment & store (Worldpay Token):
                $ref: '#/components/examples/store-card-token'
              Card - Store card (no payment):
                $ref: '#/components/examples/store-card-only-token'
              Stored - Worldpay Token (href):
                $ref: '#/components/examples/use-stored-card-token-href'
              Stored - Worldpay Token (tokenId & namespace):
                $ref: '#/components/examples/use-stored-card-token-tokenId-namespace'
              Stored - Network Token:
                $ref: '#/components/examples/use-stored-card-network-token'
              Stored - Worldpay Token & Checkout CVC session:
                $ref: '#/components/examples/use-stored-card-checkout-cvc'
              Apple Pay - encrypted:
                $ref: '#/components/examples/apple-pay-encrypted'
              Apple Pay - decrypted:
                $ref: '#/components/examples/apple-pay-decrypted'
              Google Pay - encrypted:
                $ref: '#/components/examples/google-pay-encrypted'
              Google Pay - decrypted (CRYPTOGRAM_3DS):
                $ref: '#/components/examples/google-pay-decrypted-cryptogram-3ds'
              Google Pay - decrypted (PAN_ONLY):
                $ref: '#/components/examples/google-pay-decrypted-pan-only'
              Subscription - setup:
                $ref: '#/components/examples/setup-recurring-subscription'
              Subscription - setup - (no payment):
                $ref: '#/components/examples/setup-recurring-subscription-zero'
              Subscription - subsequent:
                $ref: '#/components/examples/subsequent-recurring-subscription'
              Installment - setup (merchant):
                $ref: '#/components/examples/setup-recurring-installment-merchant'
              Installment - subsequent (merchant):
                $ref: '#/components/examples/subsequent-recurring-installment-merchant'
              Installment - setup (Latin America):
                $ref: '#/components/examples/setup-recurring-installment-latam'
              Unscheduled:
                $ref: '#/components/examples/recurring-unscheduled'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentsResponse201'
              examples:
                authorized (basic):
                  $ref: '#/components/examples/authorized-201-basic'
                authorized (full):
                  $ref: '#/components/examples/authorized-201-full'
                3dsDeviceDataRequired:
                  $ref: '#/components/examples/3ds-device-data-required-201'
                fraudHighRisk:
                  $ref: '#/components/examples/fs-highrisk'
                refused:
                  $ref: '#/components/examples/refused-201'
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentsResponse202'
              examples:
                sentForSettlement (basic):
                  $ref: '#/components/examples/sent-for-settlement-202-basic'
                sentForSettlement (full):
                  $ref: '#/components/examples/sent-for-settlement-202-full'
                sentForCancellation:
                  $ref: '#/components/examples/sent-for-cancellation-202'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
              examples:
                Bad request:
                  $ref: '#/components/examples/400'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Unauthorized:
                  $ref: '#/components/examples/401'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Not found:
                  $ref: '#/components/examples/404'
        '406':
          description: Not acceptable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeaderErrorResponse'
              examples:
                Not acceptable:
                  $ref: '#/components/examples/406'
        '415':
          description: Unsupported media type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Unsupported media type:
                  $ref: '#/components/examples/415'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Internal server error:
                  $ref: '#/components/examples/500'
      x-orderingPosition: '1'
components:
  examples:
    store-card-token:
      description: 'Card payment using a plain card number that will also create a Worldpay Token for use with future customer initiated transactions (CIT)

        '
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            cvc: '123'
          tokenCreation:
            type: worldpay
          customerAgreement:
            type: cardOnFile
            storedCardUsage: first
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    refused-201:
      description: 'Example of a refused response.

        '
      value:
        outcome: refused
        paymentId: payI-dUcet9fk4_X4qZU0hpU0
        transactionReference: Memory265-13/08/1876
        refusalDescription: REFUSED
        refusalCode: '5'
        advice:
          code: '01'
        riskFactors:
        - risk: notChecked
          type: cvc
        - risk: notChecked
          detail: address
          type: avs
        - risk: notChecked
          detail: postcode
          type: avs
    google-pay-decrypted-pan-only:
      description: Provide the decrypted PAN_ONLY Google Pay payload
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: googlepay
          paymentInstrument:
            type: decrypted
            number: '4444333322221111'
            expiryDate:
              month: 5
              year: 2035
          threeDS:
            type: integrated
            mode: always
            exemptionOnOutage: true
            deviceData:
              acceptHeader: text/html
              userAgentHeader: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)
              browserLanguage: en-GB
              browserScreenWidth: 900
              browserScreenHeight: 1200
              browserJavaEnabled: true
              browserColorDepth: '32'
              timeZone: '300'
              browserJavascriptEnabled: true
              channel: browser
            challenge:
              returnUrl: http://payment.example.com
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    setup-recurring-subscription:
      description: Set up a recurring subscription payment (first). This is a customer initiated transaction (CIT)
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            cvc: '123'
          tokenCreation:
            type: worldpay
          customerAgreement:
            type: subscription
            storedCardUsage: first
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    '406':
      value:
        errorName: headerIsMissing
        message: A valid header must be provided.
        headerName: Content-Type
    card-payment-fraud:
      description: 'A one-off card payment using a plain card number that also performs a fraud assessment

        * See [how to enable fraud assessment](/products/payments/enable-features/fraud-assessment) for details

        '
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            billingAddress:
              address1: 221B Baker Street
              address2: Marylebone
              address3: Westminster
              postalCode: SW1 1AA
              city: London
              state: Greater London
              countryCode: GB
            cvc: '123'
          fraud:
            type: fraudSight
          customer:
            firstName: John
            lastName: Appleseed
            email: john.appleseed@example.com
            phone: '00000000000'
            ipAddress: 192.168.0.1
            dateOfBirth: '1985-11-23'
            customerId: id123
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    card-payment_moto:
      description: A one-off MOTO card payment using a plain card number
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        channel: moto
        instruction:
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            billingAddress:
              address1: 221B Baker Street
              address2: Marylebone
              address3: Westminster
              postalCode: SW1 1AA
              city: London
              state: Greater London
              countryCode: GB
            cvc: '123'
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    setup-recurring-installment-merchant:
      description: Set up a recurring installment payment (first). This is a customer initiated transaction (CIT)
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            cvc: '123'
          tokenCreation:
            type: worldpay
          customerAgreement:
            type: installment
            installmentType: merchant
            storedCardUsage: first
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    card-payment-external-3ds:
      description: "A one-off card payment using a plain card number that also contains 3DS authentication details.  \n* Values that are [required by the schemes](/products/payments/enable-features/3ds-authentication/integrated-3ds/#emvco-required-values) are included in this example. \n* See [how to enable external MPI authentication](/products/payments/enable-features/3ds-authentication/external-3ds) for integration details\n"
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            billingAddress:
              address1: 221B Baker Street
              address2: Marylebone
              address3: Westminster
              postalCode: SW1 1AA
              city: London
              state: Greater London
              countryCode: GB
            cvc: '123'
          threeDS:
            type: external
            version: 2.2.0
            eci: '05'
            authenticationValue: kBNHXUAy4+HT1gAMBSDajheBcxQh
            dsTransactionId: b8fb4ecc-7e2e-4b1c-816d-0149849776b8
          customer:
            email: john.appleseed@example.com
            phone: '00000000000'
            ipAddress: 192.168.0.1
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    card-payment-auto-settlement:
      description: A guest card payment using a plain card number. The payment will move to `authorize` and `send for settlement` if basic CVC/AVS checks pass. <br><br> __We recommend disabling cancel on avsNotMatched/cvcNotMatched as shown in the example.__
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          settlement:
            auto: true
            cancelOn:
              avsNotMatched: disabled
              cvcNotMatched: disabled
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            billingAddress:
              address1: 221B Baker Street
              address2: Marylebone
              address3: Westminster
              postalCode: SW1 1AA
              city: London
              state: Greater London
              countryCode: GB
            cvc: '123'
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    use-stored-card-checkout-cvc:
      description: Use a previously stored Worldpay token for a customer initiated transaction (CIT) and use the Checkout SDK (cvcSessionHref) to capture the CVC value
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: card
          paymentInstrument:
            type: token
            href: https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ
            cvcSessionHref: https://try.access.worldpay.com/sessions/eyJrIjoxLCJkIjoialRBL0FFelB....
          customerAgreement:
            type: cardOnFile
            storedCardUsage: subsequent
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    use-stored-card-network-token:
      description: Use a previously stored network token for a customer initiated payment (CIT).
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: card
          paymentInstrument:
            type: networkToken
            tokenNumber: '4444333322221111'
            cryptogram: MAAAAAAAAAAAAAAAAAAAAAAAAAB=
            eci: '07'
            expiryDate:
              month: 2
              year: 2035
          customerAgreement:
            type: cardOnFile
            storedCardUsage: subsequent
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    store-card-only-token:
      description: 'Create a Worldpay Token for use with future customer initiated transactions (CIT)

        * `value.amount` is set to `0` to indicate this is not a payment and a card verification will be performed instead

        '
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            cvc: '123'
          tokenCreation:
            type: worldpay
          customerAgreement:
            type: cardOnFile
            storedCardUsage: first
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 0
    card-payment-exemption:
      description: "A guest card payment using a plain card number that also performs 3DS authentication.  \n* Values [required by the schemes](/products/payments/enable-features/3ds-authentication/#emvco-required-values) are included in this example\n* See [how to enable an SCA exemption](/products/payments/enable-features/sca-exemptions/) for integration details\n"
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            billingAddress:
              address1: 221B Baker Street
              address2: Marylebone
              address3: Westminster
              postalCode: SW1 1AA
              city: London
              state: Greater London
              countryCode: GB
            cvc: '123'
          threeDS:
            type: integrated
            mode: always
            deviceData:
              acceptHeader: text/html
              userAgentHeader: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)
              browserLanguage: en-GB
              browserScreenWidth: 900
              browserScreenHeight: 1200
              browserJavaEnabled: true
              browserColorDepth: '32'
              timeZone: '300'
              browserJavascriptEnabled: true
              channel: browser
            challenge:
              returnUrl: http://payment.example.com
          exemption:
            type: integrated
            mode: always
            capability: authorizationAndAuthentication
            request:
              placement: optimized
              type: optimized
          customer:
            email: john.appleseed@example.com
            phone: '00000000000'
            ipAddress: 192.168.0.1
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    card-payment-fundsTransfer:
      description: A one-off cryptocurrency wallet load card payment using a plain card number
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            billingAddress:
              address1: 221B Baker Street
              address2: Marylebone
              address3: Westminster
              postalCode: SW1 1AA
              city: London
              state: Greater London
              countryCode: GB
            cvc: '123'
          fundsTransfer:
            type: walletLoad
            purpose: crypto
            recipient:
              account:
                type: storedValueWallet
                walletReference: ABCDE12345
              firstName: John
              middleName: Roger
              lastName: Smith
              address:
                address1: 221B Baker Street
                address2: Marylebone
                postalCode: NW1 6XE
                city: London
                state: LDN
                countryCode: GB
              dateOfBirth: '1985-11-23'
              phoneNumber: +447987 654321
            sender:
              firstName: John
              middleName: Roger
              lastName: Smith
              address:
                address1: 221B Baker Street
                address2: Marylebone
                postalCode: NW1 6XE
                city: London
                state: LDN
                countryCode: GB
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    '500':
      value:
        errorName: internalErrorOccurred
        message: We cannot currently process your request. Please contact support.
    sent-for-cancellation-202:
      value:
        outcome: sentForCancellation
        paymentId: payI-dUcet9fk4_X4qZU0hpU0
        transactionReference: f4806b75-89d1-498a-8634-bfa79afca54f
        schemeReference: '060720116005060'
        issuer:
          authorizationCode: '675725'
        riskFactors:
        - risk: notMatched
          type: cvc
        - risk: notChecked
          detail: address
          type: avs
        - risk: notChecked
          detail: postcode
          type: avs
        fraud:
          outcome: lowRisk
          score: 44
        threeDS:
          outcome: authenticated
          issuerResponse: frictionless
        paymentInstrument:
          type: card/plain+masked
          cardBin: '400000'
          lastFour: '1000'
          countryCode: GB
          expiryDate:
            year: 2035
            month: 5
          cardBrand: mastercard
          fundingType: debit
          category: consumer
          issuerName: BANK LIMITED
          paymentAccountReference: 3001DBT34Q41D6J7PFC5W0UACOT4C
        _links:
          self:
            href: https://try.access.worldpay.com/api/payments/eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ%3D%3D.sN%3Ag8wd64bwkbrp0md%2BbPxcanBnk2zLdsIqSa1pR99GeDrCwEtsymFb5gQw9WlrStDTK3eIWPy93y%3A7njc4649JSrU7%2BvFDl1J36%2BcwOkX0lW4Z%2BfnZKMutoUGX3m1%3Am1abCnrwHIBOLZ%3A8ZpsSaLoyDtB%3A8H%2BxSOOOGjEbko3O%3A%3A7gTMASwaw7KY3SuOCoh4KCq84ktTU7AB2kOFpTY0bs7pWRQKSZJKSFIJvAisP8cBzFPzqireuqfCu5ojcm60gRSsqS3glurO24RJkg5SrpRjgY6g7ca8uoA7tKDk9OVOIwORF5sGPHSSGMa2bEl2lMUkAANoWclQHiGzxWQQ3ZOMOj3ix5oo3ctSHv2uo5m6InByzI1XuTONS3N8O%2B1%2BuC8Xk67Ze0uAJk%2BrJN9o7Z%3AVhRHFzbbwymcuTiRbNw%3D
    '404':
      value:
        errorName: endpointNotFound
        message: Requested endpoint was not found.
    card-payment-payfac:
      description: A one-off payment facilitator card payment using a plain card number
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
          paymentFacilitator:
            schemeId: '12345'
            independentSalesOrganizationId: '12345'
            subMerchant:
              name: Sub Merchant Plc
              reference: '12345'
              address:
                postalCode: SW1 1AA
                street: Regent Street
                city: London
                countryCode: GB
                state: CA
              taxReference: '12345'
              phoneNumber: 0123456789
              email: test@email.com
              url: url.example.com
        instruction:
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            billingAddress:
              address1: 221B Baker Street
              address2: Marylebone
              address3: Westminster
              postalCode: SW1 1AA
              city: London
              state: Greater London
              countryCode: GB
            cvc: '123'
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 42
    setup-recurring-subscription-zero:
      description: Set up a recurring subscription payment (first). This is a customer initiated transaction (CIT)
      value:
        transactionReference: Memory265-13/08/1876
        orderReference: order-12345
        merchant:
          entity: default
        instruction:
          method: card
          paymentInstrument:
            type: plain
            cardHolderName: Sherlock Holmes
            cardNumber: '4000000000001091'
            expiryDate:
              month: 5
              year: 2035
            cvc: '123'
          tokenCreation:
            type: worldpay
          customerAgreement:
            type: subscription
            storedCardUsage: first
          narrative:
            line1: trading name
          value:
            currency: GBP
            amount: 0
    authorized-201-full:
      description: "Example of an authorized response. Use the action `settlePayment` to complete the transaction. \n\nIncludes response information for: \n  - [Fraud assessment](/products/payments/enable-features/fraud-assessment) \n  - [Worldpay token creation](/products/payments/store-a-card)\n  - [SCA Exemption](/products/payments/enable-features/sca-exemptions)\n  - [Revenue Boost](/products/payments/openapi/payment/payment#payment/payment/t=response&c=201&path=&d=0/updatedpaymentinstrument)\n  - [Account Updater](/products/payments/enable-features/account-updater)\n  - [Partial Authorization](/products/payments/openapi/payment/payment#payment/payment/t=request&path=instruction&d=0/value/acceptpartialamount)\n"
      value:
        outcome: authorized
        paymentId: payI-dUcet9fk4_X4qZU0hpU0
        transactionReference: Memory265-13/08/1876
        schemeReference: '060720116005060'
        issuer:
          authorizationCode: '675725'
        riskFactors:
        - risk: notChecked
          type: cvc
        - risk: notChecked
          detail: address
          type: avs
        - risk: notChecked
          detail: postcode
          type: avs
        fraud:
          outcome: lowRisk
          score: 44.6
        exemption:
          granted: true
          placement: authorization
          type: lowRisk
          result: honored
          reason: issuerHonored
        token:
          href: https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiRVl3SDBtNnpEVmVTR3UzRUV3VEJEVDExTkxuVDVydXNiREdLR01hUXUwVT0ifQ
          tokenId: '9968110159504301628'
          tokenExpiryDateTime: '2024-04-11T15:59:23Z'
          cardNumber: 4000********1000
          cardHolderName: test
          cardExpiry:
            year: 2035
            month: 5
          bin: '400000'
          fundingType: debit
          countryCode: GB
          schemeReference: '060720116005060'
          conflicts:
            conflictsExpiryDateTime: '2024-07-04T06:40:32.310316518Z'
            paymentInstrument:
              cardHolderName: John Snow
        paymentInstrument:
          type: card/plain+masked
          cardBin: '400000'
          lastFour: '1000'
          countryCode: GB
          expiryDate:
            year: 2035
            month: 5
          cardBrand: mastercard
          fundingType: debit
          category: consumer
          issuerName: BANK LIMITED
          paymentAccountReference: 3001DBT34Q41D6J7PFC5W0UACOT4C
        updatedPaymentInstrument:
          appliedNetworkToken: true
          accountUpdaterMessage: The account number was changed
          type: card/plain+masked
          cardBin: '888877'
          lastFour: '5555'
          expiryDate:
            month: 9
            year: 2031
          cardBrand: visa
          fundingType: credit
        amounts:
          requested: 1000
          totalAuthorized: 700
          currency: GBP
          partialAuthorization: true
        _links:
          self:
            href: https://try.access.worldpay.com/api/payments/eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ%3D%3D.sN%3Ag8wd64bwkbrp0md%2BbPxcanBnk2zLdsIqSa1pR99GeDrCwEtsymFb5gQw9WlrStDTK3eIWPy93y%3A7njc4649JSrU7%2BvFDl1J36%2BcwOkX0lW4Z%2BfnZKMutoUGX3m1%3AmZ%2BxHZ9nDpadu%2BBh7pRyJwnWeiSFTlqKvbrBxNm3HV0xann55pFjZ7qi4DNGZtx9zW6eOLVNOsPL6ecsn3Dp377s7pWRQKSZJKSFIJvAisP8cBzFPzqireuqfCu5ojcm60gRSsqS3glurO

# --- truncated at 32 KB (121 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/worldpay/refs/heads/main/openapi/worldpay-payment-api-openapi.yml