{"templateId":"markdown","versions":[{"version":"20240701","label":"2024-07-01 (Latest)","link":"/products/apms/paypal","default":true,"active":true,"folderId":"c6e104b6"}],"sharedDataIds":{"sidebar":"sidebar-products/apms/sidebars.yaml","current-catalog-info":"current-catalog-info-/products/apms/openapi","oas-products/apms/@20240701/openapi.yaml":"oas-products/apms/@20240701/openapi.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","tabs","tab","openapi-code-sample","json-schema","code-snippet"]},"custom_product":"APMs","type":"markdown"},"seo":{"title":"PayPal","description":"Worldpay for Developers - docs, code examples, resources and tools. Everything you need to build your omnichannel payment solution.","siteUrl":"https://docs.worldpay.com/access","image":"/access/assets/worldpay-logo-light.21b7daf79984773a9fcd7d4fbcb07ae5289dfffd6023c4c3dca720c7058e53dc.33f780a6.svg","keywords":"documentation, api, openapi, sdks, developer, payments, json, payouts, 3ds","jsonLd":{"@context":"https://schema.org","@type":"Organization","url":"https://docs.worldpay.com/access","name":"Worldpay"},"meta":[{"name":"google-site-verification","content":"zjziIKaP3ImsqsfhYnEBnq1R85UabiSwl7HTXuwtZuo"},{"name":"doc_product","content":"Access"},{"name":"doc_category","content":"Documentation"}],"llmstxt":{"hide":false,"sections":[{"title":"Payments API","description":"Payment orchestration API combining fraud assessment, 3ds authentication, SCA exemptions, Worldpay Token creation and a card or wallet based payment.","includeFiles":["products/payments/@20240601/**/*"],"excludeFiles":[]},{"title":"Payment Queries API","description":"Querying your payments data, based on a variety of parameters.","includeFiles":["products/payment-queries/@v1/**/*"],"excludeFiles":[]},{"title":"Card BIN Data API","description":"Provides detailed information about a card.","includeFiles":["products/card-bin/@v1/**/*"],"excludeFiles":[]},{"title":"3DS Authentication API","description":"Request 3DS authentication to protect against fraud, be SCA compliant and to shift liability using this standalone API.","includeFiles":["products/3ds/@v3/**/*"],"excludeFiles":[]},{"title":"FraudSight API","description":"Request a risk assessment and receive a response with an outcome (e.g. lowRisk) using this standalone API.","includeFiles":["products/fraudsight/@v1/**/*"],"excludeFiles":[]},{"title":"Checkout SDK","description":"Integrate using our clientside SDKs for both web and native devices. Benefit from SAQ-A/PCI-SSF compliance.","includeFiles":["products/checkout/web/@v2/**/*","products/checkout/ios/@v4/**/*","products/checkout/android/@v4/**/*","products/checkout/react-native/@v3/**/*","products/checkout/flutter/@v1/**/*"],"excludeFiles":[]},{"title":"Tokens API","description":"Minimizes the exposure of sensitive card details and increases the security of your customer's card details.","includeFiles":["products/tokens/@v3/**/*"],"excludeFiles":[]},{"title":"Card Payments API","description":"Request a card payment using this standalone API, requires separate requests for 3DS, Fraud assessment etc.","includeFiles":["products/card-payments/@v7/**/*"],"excludeFiles":[]},{"title":"Card Verifications API","description":"Verify your customer's card to maximize your authentication rates.","includeFiles":["products/card-verifications/@v6/**/*"],"excludeFiles":[]},{"title":"Account Payouts API","description":"Send funds to your customer's bank accounts and search for payouts using parameters.","includeFiles":["products/account-payouts/@20250101/**/*"],"excludeFiles":[]},{"title":"APMs","description":"Pay using eWallets, bank transfers, direct debits, local card schemes, Postpay and eInvoice/ Buy Now Pay Later.","includeFiles":["products/apms/@20240701/**/*"],"excludeFiles":[]},{"title":"Balance API","description":"Request your account details for a single account or all accounts under an entity.","includeFiles":["products/balance/@20250101/**/*"],"excludeFiles":[]},{"title":"Card Payouts API","description":"Send funds to your customer's cards.","includeFiles":["products/card-payouts/@v4/**/*"],"excludeFiles":[]},{"title":"Events (Webhooks)","description":"Receive status updates from Access Worldpay by setting up a webhook.","includeFiles":["products/events/@v1/**/*"],"excludeFiles":[]},{"title":"FX API","description":"Manage Foreign Exchange (FX) on your payments.","includeFiles":["products/fx/@v1/**/*"],"excludeFiles":[]},{"title":"Hosted Payment Pages (HPP) API","description":"Our low-code option to take payments securely at the lowest PCI compliance level - SAQ A.","includeFiles":["products/hosted-payment-pages/@v1/**/*"],"excludeFiles":[]},{"title":"Money Transfers API","description":"Money Transfer OCTs (Original Credit Transaction) allow funds to be pushed to an eligible card in 30 minutes or less.","includeFiles":["products/money-transfers/@v1/**/*"],"excludeFiles":[]},{"title":"Parties API","description":"Create parties, manage your payout instruments and beneficial owners and carry out identity verification checks.","includeFiles":["products/parties/@20250101/**/*"],"excludeFiles":[]},{"title":"SCA Exemptions API","description":"Maximize a frictionless checkout experience by using issuer data insights to apply exemptions.","includeFiles":["products/sca-exemptions/@v1/**/*"],"excludeFiles":[]},{"title":"Split Payments API","description":"Divide funds from a single payment amongst yourself and your parties/sellers.","includeFiles":["products/split-payments/@20250625/**/*"],"excludeFiles":[]},{"title":"Statements API","description":"Retrieve your account statement and see individual entries for all credits and debits.","includeFiles":["products/statements/@20250101/**/*"],"excludeFiles":[]},{"title":"Transfers API","description":"Transfer funds from source account to target account.","includeFiles":["products/transfers/@20250101/**/*"],"excludeFiles":[]},{"title":"Verified Tokens API","description":"Verified Tokens ensures that your customer's payment details are valid and CIT compliant when creating a token.","includeFiles":["products/verified-tokens/@v3/**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":["openapi"],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"paypal","__idx":0},"children":["PayPal"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A secure and globally accepted online payment transfer."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Make yourself familiar with our ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/api-principles"},"children":["API principles"]}," to ensure a resilient integration."]}]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Product overview"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"why-use-paypal","__idx":1},"children":["Why use PayPal"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["PayPal is a global payment method with strong consumer recognition and trust. It is also one of the most popular APMs in the world. PayPal opens up a large customer base who already have PayPal accounts and can make purchases with a payment flow that they are comfortable with."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["It is accepted in over 200 countries and supports 25 currencies."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"feature-summary","__idx":2},"children":["Feature summary"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Payment type"},"children":["Payment type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Countries"},"children":["Countries"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Pay later"},"children":["Pay later"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Recurring"},"children":["Recurring"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Reversals"},"children":["Reversals"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Partial reversals"},"children":["Partial reversals"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Disputes"},"children":["Disputes"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Auth only"},"children":["Auth only"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Auth and settlement (sale)"},"children":["Auth and settlement (sale)"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Airline data"},"children":["Airline data"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"PayPal risk data"},"children":["PayPal risk data"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Shipping and tracking info"},"children":["Shipping and tracking info"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"center","data-label":"Venmo"},"children":["Venmo"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":["Digital Wallet"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":["Global acceptance"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":["✅"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":["❌"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[" Refund - yes"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[" Cancel - yes"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Partial refund - yes"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Multiple refunds/Partial cancel - no"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":["Handled directly via PayPal"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":["✅"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":["✅"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":["❌"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":["❌"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":["❌"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"center"},"children":["❌"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"acceptance-currencies","__idx":3},"children":["Acceptance currencies"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Currency"},"children":["Currency"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Currency Codes"},"children":["Currency Codes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Australian Dollar"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AUD"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Brazilian Real"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BRL"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Canadian Dollar"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["CAD"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Czech Koruna"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["CZK"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Danish Krone"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DKK"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Euro"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EUR"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Hong Kong Dollar"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["HKD"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Hungarian Forint"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["HUF"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Indian Rupee"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["INR"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Israeli New Shekel"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ILS"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Japanese Yen"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JPY"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Malaysian Ringgit"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MYR"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Mexican Peso"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MXN"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["New Taiwan Dollar"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TWD"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["New Zealand Dollar"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["NZD"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Norwegian Krone"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["NOK"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Philippine Peso"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PHP"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Polish Złoty"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PLN"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pound Sterling"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GBP"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Singapore Dollar"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SGD"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Swedish Krona"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SEK"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Swiss Franc"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["CHF"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Thai Baht"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["THB"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["United States Dollar"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["USD"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For use of PayPal in the US please contact your Relationship Manager."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"payment-flows","__idx":4},"children":["Payment flows"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["There are two different ways to integrate PayPal:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Redirect URL mechanism"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Smart Button"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":5,"id":"redirect-url","__idx":5},"children":["Redirect URL"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Your customer is redirected to a web browser to log into PayPal where they complete the payment."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":5,"id":"smart-button","__idx":6},"children":["Smart Button"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Your customer clicks on the Smart Button, a pop-up window opens on top of their payment screen."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You must integrate with the PayPal SDK using the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.paypal.com/sdk/js/configuration/"},"children":["JavaScript SDK script configuration developer guide"]},"."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Important"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payment-source"]}," within the PayPal SDK must be \"paypal\" when integrating with Access Worldpay. This enables the PayPal option within the SDK. Other payment methods, offered by the PayPal SDK, will not work with Access Worldpay."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can also customize the PayPal Smart Button. The options are:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the size, color and shape of the button"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the language that appears on the buttons"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the layout of the button: horizontal or vertical"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"get-started","__idx":7},"children":["Get started"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use our ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/apms/openapi"},"children":["API reference"]}," and set your headers."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"request","__idx":8},"children":["Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/apmPayments"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Apply APM payment details directly using our APMs API, or use our ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/components"},"children":["Components SDK"]}," to create a session."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-request","__idx":9},"children":["Example request"]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"label":"API only","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Collect the APM details and send an API request with these details to create a payment."]},{"$$mdtype":"Tag","name":"OpenApiCodeSample","attributes":{"descriptionFile":"oas-products/apms/@20240701/openapi.yaml","operationId":"paymentV2","exampleKey":"PayPal","parameters":{},"environments":{}},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"Components SDK","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Receive a short lived session representing your customer details and apply this in the payment request."]},{"$$mdtype":"Tag","name":"OpenApiCodeSample","attributes":{"descriptionFile":"oas-products/apms/@20240701/openapi.yaml","operationId":"paymentV2","exampleKey":"PayPal - using a session (Components SDK)","parameters":{},"environments":{}},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters","__idx":10},"children":["Parameters"]},{"$$mdtype":"Tag","name":"JsonSchema","attributes":{"schema":{"$ref":"openapi.yaml#/components/schemas/ApmPaymentRequestV2"},"options":{"schemaExpansionLevel":0},"schemaResolved":{"openapi":"3.1.0","components":{"schemas":{"__root":{"$ref":"#/components/schemas/ApmPaymentRequestV2"},"MerchantV2":{"required":["entity"],"type":"object","properties":{"entity":{"maxLength":32,"minLength":3,"pattern":"^([A-Za-z0-9\\- ]*)$","type":"string","description":"Used to route the request in Access Worldpay, created as part of on-boarding.","example":"default"}}},"ValueV2":{"required":["amount","currency"],"type":"object","properties":{"currency":{"type":"string","description":"The supported [ISO 4217 currency codes](/products/reference/supported-countries-currencies#iso-currency-codes).","enum":["AED","AFN","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLP","CNH","CNY","COP","CRC","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RWF","SAR","SBD","SCR","SEK","SGD","SHP","SLE","SLL","SOS","SRD","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"]},"amount":{"maximum":2147483647,"minimum":1,"type":"integer","description":"The amount in the lowest denomination of the currency, e.g. pennies for GBP, cents for USD.","format":"int64","example":1234}},"description":"The value of the payment."},"NarrativeV2":{"required":["line1"],"type":"object","properties":{"line1":{"maxLength":24,"minLength":1,"pattern":"^[a-zA-Z0-9-., ]*$","type":"string","description":"The description shown on your customer's bank statement for the payment.","example":"MindPalace"}}},"AchPaymentInstrumentV2":{"required":["accountNumber","accountType","billingAddress","routingNumber","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"accountType":{"type":"string","description":"Account type.","example":"checking","enum":["checking","savings","corporate","corporateSavings"]},"accountNumber":{"maxLength":17,"minLength":1,"pattern":"^[0-9]*$","type":"string","description":"Account number of direct debit account.","example":"123456789"},"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]*$","type":"string","description":"Routing number of direct debit account.","example":"123456789"},"checkNumber":{"maxLength":15,"minLength":1,"pattern":"^[0-9]*$","type":"string","description":"Check number of the direct debit account.","example":"123456789"},"companyName":{"maxLength":40,"minLength":1,"type":"string","description":"Company name if a corporate account.","example":"Joe Plumbing Ltd."},"billingAddress":{"$ref":"#/components/schemas/AchBillingAddress"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/AchPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutAchPaymentInstrumentV2"}}},"CheckoutAchPaymentInstrumentV2":{"required":["accountNumber","accountType","billingAddress","routingNumber","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"accountType":{"type":"string","description":"Account type.","example":"checking","enum":["checking","savings","corporate","corporateSavings"]},"accountNumber":{"maxLength":17,"minLength":1,"pattern":"^[0-9]*$","type":"string","description":"Account number of direct debit account.","example":"123456789"},"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]*$","type":"string","description":"Routing number of direct debit account.","example":"123456789"},"checkNumber":{"maxLength":15,"minLength":1,"pattern":"^[0-9]*$","type":"string","description":"Check number of the direct debit account.","example":"123456789"},"companyName":{"maxLength":40,"minLength":1,"type":"string","description":"Company name if a corporate account.","example":"Joe Plumbing Ltd."},"billingAddress":{"$ref":"#/components/schemas/AchBillingAddress"},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/AchPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutAchPaymentInstrumentV2"}}},"AchBillingAddress":{"required":["address1","city","countryCode","postalCode"],"type":"object","properties":{"address1":{"maxLength":80,"minLength":1,"type":"string","description":"First line of the address."},"address2":{"maxLength":80,"minLength":1,"type":"string","description":"Second line of the address."},"address3":{"maxLength":80,"minLength":1,"type":"string","description":"Third line of the address."},"postalCode":{"maxLength":15,"minLength":1,"type":"string","description":"Postal code."},"city":{"maxLength":50,"minLength":1,"type":"string","description":"City."},"state":{"maxLength":30,"minLength":1,"type":"string","description":"State code of the billing address in ISO 3166-2 format.","example":"US-OH"},"countryCode":{"type":"string","description":"The supported [ISO 3166-1 alpha-2 country codes](/products/reference/supported-countries-currencies#iso-country-codes).","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}}},"CustomerDetailsAch":{"required":["firstName","lastName"],"type":"object","properties":{"email":{"maxLength":128,"minLength":1,"pattern":"^(.+@.+\\..+)?$","type":"string","description":"Your customer's email address.","example":"customer@example.com"},"firstName":{"maxLength":22,"minLength":1,"type":"string","description":"Your customer's first name."},"lastName":{"maxLength":22,"minLength":1,"type":"string","description":"Your customer's last name."},"customerId":{"maxLength":15,"minLength":1,"pattern":"[a-zA-Z0-9]*","type":"string","description":"Your unique reference for the customer so that the 'pay faster next time' function can be used during checkout. This allows your customer's chosen bank to be stored for their next payment.","example":"44528abcd"}}},"AchInstruction":{"required":["customer","method","narrative","paymentInstrument","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["ach"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/AchPaymentInstrumentV2"},"customer":{"$ref":"#/components/schemas/CustomerDetailsAch"}}},"AlipayCnInstrumentV2":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"language":{"type":"string","description":"Your customer's language, must be a supported ISO 639-1 language code.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/AlipayCnInstrumentV2","checkout":"#/components/schemas/CheckoutAlipayCnInstrumentV2"}}},"CheckoutAlipayCnInstrumentV2":{"required":["sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"language":{"type":"string","description":"Your customer's language, must be a supported ISO 639-1 language code.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/AlipayCnInstrumentV2","checkout":"#/components/schemas/CheckoutAlipayCnInstrumentV2"}}},"ResultUrlsAlipayCn":{"required":["failure","pending","success"],"type":"object","properties":{"success":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a successful payment outcome.","example":"https://worldpay.com/success"},"pending":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a pending payment outcome.","example":"https://worldpay.com/pending"},"failure":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a failed payment outcome.","example":"https://worldpay.com/failure"},"cancel":{"type":"string","description":"The URL your customer is redirected to, after a cancelled payment outcome.","example":"https://worldpay.com/cancel"}}},"DeviceData":{"type":"object","properties":{"device":{"type":"string","description":"Device type.","enum":["desktop","mobile"]},"operatingSystem":{"type":"string","description":"Operating system.","enum":["windows","osx","linux","ios","android","other"]}}},"CustomerWithName":{"type":"object","properties":{"email":{"maxLength":128,"minLength":1,"pattern":"^(.+@.+\\..+)?$","type":"string","description":"Your customer's email address.","example":"customer@example.com"},"firstName":{"maxLength":22,"minLength":1,"type":"string","description":"Your customer's first name."},"lastName":{"maxLength":22,"minLength":1,"type":"string","description":"Your customer's last name."}}},"AlipayCnInstruction":{"required":["method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["alipay_cn"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/AlipayCnInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsAlipayCn"},"deviceData":{"$ref":"#/components/schemas/DeviceData"},"customer":{"$ref":"#/components/schemas/CustomerWithName"}}},"AlipayHkInstrumentV2":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/AlipayHkInstrumentV2","checkout":"#/components/schemas/CheckoutAlipayHkInstrumentV2"}}},"CheckoutAlipayHkInstrumentV2":{"required":["sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/AlipayHkInstrumentV2","checkout":"#/components/schemas/CheckoutAlipayHkInstrumentV2"}}},"ResultUrlsAlipayHk":{"required":["failure","pending","success"],"type":"object","properties":{"success":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a successful payment outcome.","example":"https://worldpay.com/success"},"pending":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a pending payment outcome.","example":"https://worldpay.com/pending"},"failure":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a failed payment outcome.","example":"https://worldpay.com/failure"},"cancel":{"type":"string","description":"The URL your customer is redirected to, after a cancelled payment outcome.","example":"https://worldpay.com/cancel"}}},"AlipayHkInstruction":{"required":["method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["alipay_hk"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/AlipayHkInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsAlipayHk"},"deviceData":{"$ref":"#/components/schemas/DeviceData"},"customer":{"$ref":"#/components/schemas/CustomerWithName"}}},"AlipayPlusInstrumentV2":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/AlipayPlusInstrumentV2","checkout":"#/components/schemas/CheckoutAlipayPlusInstrumentV2"}}},"CheckoutAlipayPlusInstrumentV2":{"required":["sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/AlipayPlusInstrumentV2","checkout":"#/components/schemas/CheckoutAlipayPlusInstrumentV2"}}},"ResultUrlsAlipayPlus":{"required":["failure","pending","success"],"type":"object","properties":{"success":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a successful payment outcome.","example":"https://worldpay.com/success"},"pending":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a pending payment outcome.","example":"https://worldpay.com/pending"},"failure":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a failed payment outcome.","example":"https://worldpay.com/failure"},"cancel":{"type":"string","description":"The URL your customer is redirected to, after a cancelled payment outcome.","example":"https://worldpay.com/cancel"}}},"AlipayPlusInstruction":{"required":["method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["alipay_uni"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/AlipayPlusInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsAlipayPlus"},"deviceData":{"$ref":"#/components/schemas/DeviceData"},"customer":{"$ref":"#/components/schemas/CustomerWithName"}}},"BancomatPayPaymentInstrument":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}}},"CustomerDetailsBancomat":{"required":["email","firstName","lastName","phone"],"type":"object","properties":{"email":{"maxLength":128,"minLength":1,"pattern":"^(.+@.+\\..+)?$","type":"string","description":"Your customer's email address.","example":"moriarty@example.com"},"firstName":{"maxLength":22,"minLength":1,"type":"string","description":"Your customer's first name."},"lastName":{"maxLength":22,"minLength":1,"type":"string","description":"Your customer's last name."},"phone":{"maxLength":20,"minLength":4,"pattern":"^\\d*$","type":"string","description":"Phone number."}}},"BancomatPayInstruction":{"required":["customer","method","narrative","paymentInstrument","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["bancomat"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/BancomatPayPaymentInstrument"},"customer":{"$ref":"#/components/schemas/CustomerDetailsBancomat"}}},"CustomerWithEmail":{"required":["email"],"type":"object","properties":{"email":{"maxLength":128,"minLength":1,"pattern":"^(.+@.+\\..+)?$","type":"string","description":"Your customer's email address.","example":"moriarty@example.com"}}},"BancontactPaymentInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/BancontactPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutBancontactPaymentInstrumentV2"}}},"CheckoutBancontactPaymentInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/BancontactPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutBancontactPaymentInstrumentV2"}}},"ResultUrlsWithoutFailure":{"required":["cancel","pending","success"],"type":"object","properties":{"success":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a successful payment outcome.","example":"https://worldpay.com/success"},"pending":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a pending payment.","example":"https://worldpay.com/pending"},"cancel":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after payment cancellation.","example":"https://worldpay.com/cancel"}}},"BancontactInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["bancontact"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"},"paymentInstrument":{"$ref":"#/components/schemas/BancontactPaymentInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsWithoutFailure"}}},"BizumPaymentInstrument":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct"]},"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}}},"CustomerWithPhone":{"required":["phone"],"type":"object","properties":{"phone":{"maxLength":15,"minLength":5,"pattern":"^\\d*$","type":"string","description":"Your customer's phone number","example":"1234567890"}}},"BizumInstruction":{"required":["customer","method","narrative","paymentInstrument","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["bizum"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/BizumPaymentInstrument"},"customer":{"$ref":"#/components/schemas/CustomerWithPhone"}}},"BlikInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"The supported [ISO 3166-1 alpha-2 country codes](/products/reference/supported-countries-currencies#iso-country-codes).","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/BlikInstrumentV2","checkout":"#/components/schemas/CheckoutBlikInstrumentV2"}}},"CheckoutBlikInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"The supported [ISO 3166-1 alpha-2 country codes](/products/reference/supported-countries-currencies#iso-country-codes).","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/BlikInstrumentV2","checkout":"#/components/schemas/CheckoutBlikInstrumentV2"}}},"BlikInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","termsAccepted","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["blik"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"termsAccepted":{"type":"boolean","description":"You must collect your customer's consent to [Przelewy24's T&Cs](https://www.przelewy24.pl/regulamin) and pass the value as `true`. If the value is passed as `false`, your customer is redirected to a pending URL with an error appended."},"paymentInstrument":{"$ref":"#/components/schemas/BlikInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsWithoutFailure"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"}}},"EftPaymentInstrument":{"required":["accountNumber","accountType","billingAddress","routingNumber","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct"]},"accountType":{"type":"string","description":"Account type.","example":"checking","enum":["checking","savings","corporate","corporateSavings"]},"accountNumber":{"maxLength":17,"minLength":1,"pattern":"^[0-9]*$","type":"string","description":"Account number of direct debit account.","example":"123456789"},"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]*$","type":"string","description":"Routing number of direct debit account.","example":"123456789"},"checkNumber":{"maxLength":15,"minLength":1,"pattern":"^[0-9]*$","type":"string","description":"Check number of the direct debit account.","example":"123456789"},"companyName":{"maxLength":40,"minLength":1,"type":"string","description":"Company name if a corporate account.","example":"Joe Plumbing Ltd."},"billingAddress":{"$ref":"#/components/schemas/AchBillingAddress"}}},"EftInstruction":{"required":["customer","method","narrative","paymentInstrument","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["eft"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/EftPaymentInstrument"},"customer":{"$ref":"#/components/schemas/CustomerDetailsAch"}}},"EutellerPaymentInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/EutellerPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutEutellerPaymentInstrumentV2"}}},"CheckoutEutellerPaymentInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/EutellerPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutEutellerPaymentInstrumentV2"}}},"EutellerInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["euteller"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/EutellerPaymentInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsWithoutFailure"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"}}},"IdealInstrumentV2":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/IdealInstrumentV2","checkout":"#/components/schemas/CheckoutIdealInstrumentV2"}}},"CheckoutIdealInstrumentV2":{"required":["sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/IdealInstrumentV2","checkout":"#/components/schemas/CheckoutIdealInstrumentV2"}}},"ResultUrlsIdeal":{"required":["cancel","failure","success"],"type":"object","properties":{"success":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a successful payment outcome.","example":"https://worldpay.com/success"},"failure":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a failed payment outcome.","example":"https://worldpay.com/failure"},"cancel":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a cancelled payment outcome.","example":"https://worldpay.com/cancel"}}},"AddressV2":{"required":["address1","city","countryCode","postalCode","state"],"type":"object","properties":{"address1":{"maxLength":80,"minLength":1,"type":"string","description":"First line of the address."},"address2":{"maxLength":80,"minLength":1,"type":"string","description":"Second line of the address."},"address3":{"maxLength":80,"minLength":1,"type":"string","description":"Third line of the address."},"postalCode":{"maxLength":15,"minLength":1,"type":"string","description":"Postal code."},"city":{"maxLength":50,"minLength":1,"type":"string","description":"City."},"state":{"maxLength":30,"minLength":1,"type":"string","description":"State."},"countryCode":{"type":"string","description":"The supported [ISO 3166-1 alpha-2 country codes](/products/reference/supported-countries-currencies#iso-country-codes).","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}}},"Shipping":{"type":"object","properties":{"firstName":{"maxLength":22,"minLength":1,"type":"string","description":"First name."},"lastName":{"maxLength":22,"minLength":1,"type":"string","description":"Last name."},"email":{"maxLength":128,"minLength":1,"pattern":"^(.+@.+\\..+)?$","type":"string","description":"Email address.","example":"moriarty@example.com"},"address":{"$ref":"#/components/schemas/AddressV2"}},"description":"The shipping address is required for recurring payments."},"IdealInstruction":{"required":["method","narrative","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["ideal"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/IdealInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsIdeal"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"},"shipping":{"$ref":"#/components/schemas/Shipping"}}},"IdealMandate":{"required":["description","type"],"type":"object","properties":{"type":{"type":"string","description":"Field that contains the type of mandate.","enum":["recurring"]},"description":{"maxLength":255,"minLength":1,"type":"string","description":"Description of why the recurring payment is being created."}},"description":"Object that contains SEPA Direct Debit mandate information"},"IdealCustomerAgreement":{"required":["mandate","reference","type"],"type":"object","properties":{"type":{"type":"string","description":"Field required for recurring payments.","enum":["recurring"]},"reference":{"maxLength":64,"minLength":1,"type":"string","description":"A unique reference generated by you for recurring and token payments. This field must not have any spaces or start with \"_\"."},"mandate":{"$ref":"#/components/schemas/IdealMandate"}}},"IdealRecurringInstruction":{"required":["customer","customerAgreement","method","narrative","resultUrls","shipping","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["ideal"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/IdealInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsIdeal"},"customerAgreement":{"$ref":"#/components/schemas/IdealCustomerAgreement"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"},"shipping":{"$ref":"#/components/schemas/Shipping"}}},"KlarnaNetworkInstruction":{"required":["method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["klarna_network"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/KlarnaNetworkPaymentInstrumentV2"},"passthroughData":{"maxLength":10240,"minLength":1,"type":"string","description":"Passthrough field, we will treat the value you give here as an opaque string. We do not validate this field beyond checking length. Must contain escaped JSON ready for transmission."},"providerToken":{"maxLength":8192,"minLength":1,"type":"string","description":"Provide Klarna’s “Klarna Network Session Token” here. This enables the continuation of your customer's journey when they start through Klarna's Web SDK or Klarna Boost features."},"settlement":{"$ref":"#/components/schemas/Settlement"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsKlarnaNetwork"},"shipping":{"$ref":"#/components/schemas/KlarnaNetworkShipping"},"order":{"$ref":"#/components/schemas/KlarnaNetworkOrder"}},"discriminator":{"propertyName":"method","mapping":{"klarna_network":"#/components/schemas/KlarnaNetworkInstruction"}}},"KlarnaNetworkBillingAddress":{"required":["address1","city","countryCode","firstName","lastName","postalCode","state"],"type":"object","properties":{"firstName":{"maxLength":22,"minLength":1,"type":"string","description":"First name."},"lastName":{"maxLength":22,"minLength":1,"type":"string","description":"Last name."},"phone":{"maxLength":20,"minLength":4,"pattern":"^\\d*$","type":"string","description":"Phone number."},"address1":{"maxLength":80,"minLength":1,"type":"string","description":"First line of the address."},"address2":{"maxLength":80,"minLength":1,"type":"string","description":"Second line of the address."},"postalCode":{"maxLength":10,"minLength":1,"type":"string","description":"Postal code."},"city":{"maxLength":50,"minLength":1,"type":"string","description":"City."},"state":{"maxLength":30,"minLength":1,"type":"string","description":"State"},"countryCode":{"type":"string","description":"The supported [ISO 3166-1 alpha-2 country codes](/products/reference/supported-countries-currencies#iso-country-codes).","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}}},"KlarnaNetworkPaymentInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct"]},"country":{"type":"string","description":"The supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"billingAddress":{"$ref":"#/components/schemas/KlarnaNetworkBillingAddress"}}},"Settlement":{"type":"object","properties":{"auto":{"type":"boolean","description":"Default `false`"}},"description":"Indicates whether the transaction should be sent for settlement now = `true`, or later = `false` at a time of your choosing."},"ResultUrlsKlarnaNetwork":{"required":["cancel","failure","pending","success"],"type":"object","properties":{"success":{"maxLength":1024,"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a successful payment outcome.","example":"https://worldpay.com/success"},"pending":{"maxLength":1024,"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a pending payment outcome.","example":"https://worldpay.com/pending"},"failure":{"maxLength":1024,"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a failed payment outcome.","example":"https://worldpay.com/failure"},"cancel":{"maxLength":1024,"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a cancelled payment outcome.","example":"https://worldpay.com/cancel"}}},"Courier":{"type":"object","properties":{"name":{"maxLength":255,"minLength":1,"type":"string"},"preference":{"type":"string","enum":["contactlessDelivery","leaveAtDoor","leaveAtCurb","leaveWithNeighbour"]},"tracked":{"type":"boolean"},"identification":{"type":"boolean"},"signature":{"type":"boolean"},"empty":{"type":"boolean"}}},"KlarnaNetworkShipping":{"type":"object","properties":{"firstName":{"maxLength":22,"minLength":1,"type":"string","description":"First name."},"lastName":{"maxLength":22,"minLength":1,"type":"string","description":"Last name."},"email":{"maxLength":128,"minLength":1,"pattern":"^(.+@.+\\..+)?$","type":"string","description":"Email address.","example":"moriarty@example.com"},"timeFrame":{"type":"string","description":"Mandatory if being sent to an alternative non-residential address and must be sent together with `method`.","enum":["normal","express"]},"method":{"type":"string","description":"Mandatory if being sent to an alternative non-residential address and must be sent together with `method`.","enum":["physicalToDoor","physicalToCurb","physicalToMailbox","physicalPickupBox","physicalPickupPoint","physicalPickupStore","physicalPickupWarehouse","physicalOther","digitalEmail","digitalDownload","digitalOther"]},"courier":{"$ref":"#/components/schemas/Courier"},"phone":{"maxLength":20,"minLength":4,"pattern":"^\\d*$","type":"string"}}},"KlarnaNetworkItem":{"required":["name","quantity","totalAmount","totalTaxAmount","unitCost"],"type":"object","properties":{"productCode":{"maxLength":255,"minLength":1,"type":"string","description":"Your customer facing product code, e.g. SKU (stock keeping unit) or similar."},"name":{"maxLength":1024,"minLength":1,"type":"string","description":"Description or name of item, e.g. “mobile phone”."},"quantity":{"maximum":2147483647,"minimum":1,"type":"number","description":"Number of items being purchased."},"unitCost":{"maximum":2147483647,"type":"number","description":"Cost for each unit of the item with tax included."},"totalTaxAmount":{"maximum":2147483647,"minimum":0,"type":"number","description":"How much of totalAmount is tax. If you need to work it out backwards the formula is: totalTaxAmount = totalAmount - (totalAmount / (1+(taxRate/10000)))."},"totalAmount":{"maximum":2147483647,"minimum":-2147483648,"type":"number","description":"Sum of all chargeable elements on the line added together. Formula is: totalAmount = (unitCost x quantity) - totalDiscountAmount."},"productUrl":{"maxLength":2048,"minLength":1,"type":"string","description":"Link to the product page that can later be embedded in communications between Klarna and your customer."},"imageUrl":{"maxLength":2048,"minLength":1,"type":"string","description":"Link to the product image that can later be embedded in communications between Klarna and your customer.\n\nNote: we recommend you submit this to improve the post-purchase customer experience."}}},"KlarnaNetworkOrder":{"required":["items"],"type":"object","properties":{"items":{"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/KlarnaNetworkItem"}}},"description":"Object that contains the complete list of lines relating to the transaction."},"KlarnaPaymentInstrumentV2":{"required":["country","language","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"The supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"language":{"type":"string","description":"Your customer language, must be a supported ISO 639-1 language code.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},"billingAddress":{"$ref":"#/components/schemas/AddressV2"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/KlarnaPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutKlarnaPaymentInstrumentV2"}}},"CheckoutKlarnaPaymentInstrumentV2":{"required":["country","language","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"The supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"language":{"type":"string","description":"Your customer language, must be a supported ISO 639-1 language code.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},"billingAddress":{"$ref":"#/components/schemas/AddressV2"},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/KlarnaPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutKlarnaPaymentInstrumentV2"}}},"ResultUrlsKlarnaBase":{"required":["cancel","failure","pending","success"],"type":"object","properties":{"success":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a successful payment outcome.","example":"https://worldpay.com/success"},"pending":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a pending payment outcome.","example":"https://worldpay.com/pending"},"failure":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a failed payment outcome.","example":"https://worldpay.com/failure"},"cancel":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a cancelled payment outcome.","example":"https://worldpay.com/cancel"}}},"KlarnaShipping":{"required":["address","email","firstName","lastName","phone"],"type":"object","properties":{"firstName":{"maxLength":22,"minLength":1,"type":"string","description":"First name."},"lastName":{"maxLength":22,"minLength":1,"type":"string","description":"Last name."},"email":{"maxLength":128,"minLength":1,"pattern":"^(.+@.+\\..+)?$","type":"string","description":"Email address.","example":"moriarty@example.com"},"address":{"$ref":"#/components/schemas/AddressV2"},"phone":{"maxLength":20,"minLength":4,"pattern":"^\\d*$","type":"string","description":"Phone number."},"timeFrame":{"type":"string","description":"Mandatory if being sent to an alternative non-residential address and must be sent together with `method`.","enum":["normal","express"]},"method":{"type":"string","description":"Mandatory if being sent to an alternative non-residential address. This is required for physical goods being sent to an address not specified by your customer.","enum":["store pick up","pick up point","registered box","unregistered box"]}},"description":"This is required for physical goods. It can be omitted for digital goods."},"CustomerWithAdditionalDetails":{"type":"object","properties":{"email":{"maxLength":128,"minLength":1,"pattern":"^(.+@.+\\..+)?$","type":"string","description":"Your customer's email address.","example":"customer@example.com"},"firstName":{"maxLength":22,"minLength":1,"type":"string","description":"Your customer's first name."},"lastName":{"maxLength":22,"minLength":1,"type":"string","description":"Your customer's last name."},"phone":{"maxLength":20,"minLength":4,"pattern":"^\\d*$","type":"string","description":"Phone number."},"dateOfBirth":{"maxLength":10,"minLength":1,"pattern":"^\\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$","type":"string","description":"Date of birth."}}},"Item":{"required":["name","quantity","taxRate","totalAmount","totalTaxAmount","type","unitCost"],"type":"object","properties":{"type":{"type":"string","description":"The type of item.","enum":["discount","digital","giftCard","physical","shippingFee","storeCredit","salesTaxType","surcharge"]},"productCode":{"maxLength":180,"minLength":1,"pattern":"^([a-zA-Z0-9]*)$","type":"string","description":"Your customer facing product code, e.g. SKU (stock keeping unit) or similar."},"name":{"maxLength":260,"minLength":1,"pattern":"([a-zA-Z0-9 ]*)","type":"string","description":"Description or name of item, e.g. “mobile phone”."},"quantity":{"maximum":2147483647,"minimum":0,"type":"number","description":"Number of items being purchased."},"unitOfMeasure":{"maxLength":8,"minLength":1,"pattern":"^([a-zA-Z0-9 ]*)$","type":"string","description":"Free text field used to describe the unit of the item given, e.g. “kg”, “pcs”, “tickets”."},"unitCost":{"maximum":100000000,"type":"number","description":"Cost for each unit of the item with tax included."},"taxRate":{"maximum":10000,"type":"number","description":"Rate of tax as a percentage to be applied to the order line. Use the current tax rate on the date of order."},"totalTaxAmount":{"maximum":2147483647,"type":"number","description":"How much of totalAmount is tax. If you need to work it out backwards the formula is: totalTaxAmount = totalAmount - (totalAmount / (1+(taxRate/10000)))."},"totalAmount":{"maximum":2147483647,"type":"number","description":"Sum of all chargeable elements on the line added together. Formula is: totalAmount = (unitCost x quantity) - totalDiscountAmount."},"totalDiscountAmount":{"maximum":2147483647,"type":"number","description":"Total line discount."},"productUrl":{"maxLength":1024,"minLength":1,"type":"string","description":"Link to the product page that can later be embedded in communications between Klarna and your customer."},"imageUrl":{"maxLength":1024,"minLength":1,"type":"string","description":"Link to the product image that can later be embedded in communications between Klarna and your customer.\n\nNote: we recommend you submit this to improve the post-purchase customer experience."}}},"Order":{"required":["items","orderTotalTaxAmount","termsUrl"],"type":"object","properties":{"orderTotalTaxAmount":{"maximum":2147483647,"type":"number","description":"Sum of all tax in the order. A validation mechanism is in place to verify the tax calculations provided are correct and match the line level tax amounts."},"termsUrl":{"maxLength":1024,"minLength":1,"type":"string","description":"Link to your “Terms and Conditions”."},"items":{"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/Item"}}}},"KlarnaRecurringCustomerAgreement":{"required":["description","endDate","startDate","type"],"type":"object","properties":{"type":{"type":"string","enum":["recurring"]},"description":{"maxLength":255,"minLength":1,"type":"string","description":"Description of subscription, e.g. \"Monthly lenses plan\"."},"agreementName":{"maxLength":255,"minLength":1,"type":"string","description":"Name of the product on subscription, e.g. \"Contact lenses\" (displayed as it would be on a bill). The subscription name you send is accepted, regardless of whether it exists on your side."},"startDate":{"pattern":"^\\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$","type":"string","description":"Start date for the billing period the payment is for.","example":"2024-01-01"},"endDate":{"pattern":"^\\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$","type":"string","description":"End date for the billing period the payment is for.","example":"2024-01-01"},"affiliateName":{"maxLength":255,"minLength":1,"type":"string","description":"Affiliate marketing name that makes the product memorable and impactful."}}},"KlarnaRecurringInstruction":{"required":["customerAgreement","narrative","order","paymentInstrument","resultUrls"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["klarna"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/KlarnaPaymentInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsKlarnaBase"},"shipping":{"$ref":"#/components/schemas/KlarnaShipping"},"customer":{"$ref":"#/components/schemas/CustomerWithAdditionalDetails"},"order":{"$ref":"#/components/schemas/Order"},"customerAgreement":{"$ref":"#/components/schemas/KlarnaRecurringCustomerAgreement"}}},"KlarnaTokenInstrumentV2":{"required":["country","language","tokenId","type"],"type":"object","properties":{"type":{"type":"string","enum":["token"]},"tokenId":{"type":"string"},"country":{"type":"string","description":"The supported ISO 3166-1 alpha-2 country code.","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"language":{"type":"string","description":"Your customer language, must be a supported ISO 639-1 language code.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},"billingAddress":{"$ref":"#/components/schemas/AddressV2"}}},"KlarnaFollowupCustomerAgreement":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["recurring"]}}},"KlarnaFollowupInstruction":{"required":["customerAgreement","narrative","order","paymentInstrument","resultUrls"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["klarna"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/KlarnaTokenInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsKlarnaBase"},"shipping":{"$ref":"#/components/schemas/KlarnaShipping"},"customer":{"$ref":"#/components/schemas/CustomerWithAdditionalDetails"},"order":{"$ref":"#/components/schemas/Order"},"customerAgreement":{"$ref":"#/components/schemas/KlarnaFollowupCustomerAgreement"}}},"KonbiniInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"The supported [ISO 3166-1 alpha-2 country codes](/products/reference/supported-countries-currencies#iso-country-codes).","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/KonbiniInstrumentV2","checkout":"#/components/schemas/CheckoutKonbiniInstrumentV2"}}},"CheckoutKonbiniInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"The supported [ISO 3166-1 alpha-2 country codes](/products/reference/supported-countries-currencies#iso-country-codes).","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/KonbiniInstrumentV2","checkout":"#/components/schemas/CheckoutKonbiniInstrumentV2"}}},"ResultUrlsKonbini":{"required":["pending"],"type":"object","properties":{"pending":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a pending payment outcome.","example":"https://worldpay.com/pending"}}},"CustomerDetailsKonbini":{"required":["email","lastName","phone"],"type":"object","properties":{"email":{"maxLength":128,"minLength":1,"pattern":"^(.+@.+\\..+)?$","type":"string","description":"Your customer's email address.","example":"moriarty@example.com"},"lastName":{"maxLength":10,"minLength":1,"pattern":"^[a-zA-Z0-9- \\p{InCJK_Radicals_Supplement}\\p{InCJK_Symbols_and_Punctuation}\\p{InHiragana}\\p{InKatakana}\\p{InKatakana_Phonetic_Extensions}\\p{InEnclosed_CJK_Letters_and_Months}\\p{InCJK_Compatibility}\\p{InCJK_Unified_Ideographs_Extension_A}\\p{InCJK_Unified_Ideographs_Extension_B}\\p{InCJK_Unified_Ideographs}\\p{InCJK_Compatibility_Ideographs}\\p{InCJK_Compatibility_Ideographs_Supplement}\\p{InCJK_Compatibility_Forms}]*$","type":"string","description":"Your customer's last name."},"phone":{"maxLength":11,"minLength":10,"pattern":"^\\d*$","type":"string","description":"Your customer's phone number"}}},"KonbiniInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["konbini"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/KonbiniInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsKonbini"},"customer":{"$ref":"#/components/schemas/CustomerDetailsKonbini"}}},"MultibancoPaymentInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"The supported ISO 3166-1 alpha-2 country code.","example":"IT","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/MultibancoPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutMultibancoPaymentInstrumentV2"}}},"CheckoutMultibancoPaymentInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"The supported ISO 3166-1 alpha-2 country code.","example":"IT","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/MultibancoPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutMultibancoPaymentInstrumentV2"}}},"MultibancoInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["multibanco"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/MultibancoPaymentInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsWithoutFailure"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"}}},"MyBankPaymentInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"The supported [ISO 3166-1 alpha-2 country codes](/products/reference/supported-countries-currencies#iso-country-codes).","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/MyBankPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutMyBankPaymentInstrumentV2"}}},"CheckoutMyBankPaymentInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"The supported [ISO 3166-1 alpha-2 country codes](/products/reference/supported-countries-currencies#iso-country-codes).","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/MyBankPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutMyBankPaymentInstrumentV2"}}},"MyBankInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["mybank"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/MyBankPaymentInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsWithoutFailure"},"customer":{"$ref":"#/components/schemas/CustomerWithName"}}},"CustomerWithId":{"required":["email"],"type":"object","properties":{"email":{"maxLength":128,"minLength":1,"pattern":"^(.+@.+\\..+)?$","type":"string","description":"The customer's email address.","example":"customer@example.com"},"customerId":{"maxLength":50,"minLength":3,"pattern":"^[a-zA-Z0-9]*$","type":"string","description":"Your unique reference for the customer so that the 'pay faster next time' function can be used during checkout. This allows the shoppers chosen bank to be stored for their next payment.","example":"44528abcd"}}},"OpenBankingPaymentInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"language":{"type":"string","description":"Your customer's language, must be a supported ISO 639-1 language code.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},"bankCode":{"maxLength":36,"minLength":1,"pattern":"^[a-zA-Z0-9]+$","type":"string","description":"36-character bank GUID must be included to be considered an SDK request. This is a bank identifier from the bank selection step on the SDK."}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/OpenBankingPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutOpenBankingPaymentInstrumentV2"}}},"CheckoutOpenBankingPaymentInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"language":{"type":"string","description":"Your customer's language, must be a supported ISO 639-1 language code.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},"bankCode":{"maxLength":36,"minLength":1,"pattern":"^[a-zA-Z0-9]+$","type":"string","description":"36-character bank GUID must be included to be considered an SDK request. This is a bank identifier from the bank selection step on the SDK."},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/OpenBankingPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutOpenBankingPaymentInstrumentV2"}}},"ResultUrlsOpenBanking":{"required":["cancel","failure","pending","success"],"type":"object","properties":{"success":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a successful payment outcome.","example":"https://worldpay.com/success"},"pending":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a pending payment outcome.","example":"https://worldpay.com/pending"},"failure":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a failed payment outcome.","example":"https://worldpay.com/failure"},"cancel":{"minLength":1,"type":"string","description":"The URL your customer is redirected to, after a cancelled payment outcome.","example":"https://worldpay.com/cancel"}}},"OpenBankingInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"thirdPartyDataCustomerId":{"type":"string"},"method":{"type":"string","description":"Type of payment method.","enum":["open_banking"]},"expiryIn":{"maximum":43200,"minimum":30,"type":"integer","description":"Field is used for Pay by Link request. This parameter controls how many minutes a payment link will be available.","format":"int32","example":120},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"customer":{"$ref":"#/components/schemas/CustomerWithId"},"paymentInstrument":{"$ref":"#/components/schemas/OpenBankingPaymentInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsOpenBanking"}}},"PayPalInstrumentV2":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"billingAddress":{"$ref":"#/components/schemas/PayPalBillingAddressV2"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/PayPalInstrumentV2","checkout":"#/components/schemas/CheckoutPayPalInstrumentV2"}}},"CheckoutPayPalInstrumentV2":{"required":["sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"billingAddress":{"$ref":"#/components/schemas/PayPalBillingAddressV2"},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/PayPalInstrumentV2","checkout":"#/components/schemas/CheckoutPayPalInstrumentV2"}}},"PayPalBillingAddressV2":{"required":["address1","countryCode","state"],"type":"object","properties":{"address1":{"maxLength":80,"minLength":1,"type":"string"},"address2":{"maxLength":80,"minLength":1,"type":"string"},"address3":{"maxLength":80,"minLength":1,"type":"string"},"postalCode":{"maxLength":15,"minLength":1,"type":"string","description":"Only optional for country code IE (Ireland)."},"city":{"maxLength":50,"minLength":1,"type":"string","description":"Only optional for country code SG (Singapore)."},"state":{"maxLength":30,"minLength":1,"type":"string"},"countryCode":{"type":"string","description":"The supported [ISO 3166-1 alpha-2 country codes](/products/reference/supported-countries-currencies#iso-country-codes).","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}}},"CustomerWithOptionalEmail":{"type":"object","properties":{"email":{"maxLength":128,"minLength":1,"pattern":"^(.+@.+\\..+)?$","type":"string","description":"Your customer's email address.","example":"customer@example.com"}}},"ResultUrls":{"type":"object","properties":{"success":{"type":"string","description":"The URL your customer is redirected to, after a successful payment outcome.","example":"https://worldpay.com/success"},"pending":{"type":"string","description":"The URL your customer is redirected to, after a pending payment outcome.","example":"https://worldpay.com/pending"},"failure":{"type":"string","description":"The URL your customer is redirected to, after a failed payment outcome.","example":"https://worldpay.com/failure"},"cancel":{"type":"string","description":"The URL your customer is redirected to, after a cancelled payment outcome.","example":"https://worldpay.com/cancel"}}},"PayPalInstruction":{"required":["method","narrative","paymentInstrument","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["paypal"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/PayPalInstrumentV2"},"settlement":{"$ref":"#/components/schemas/Settlement"},"shipping":{"$ref":"#/components/schemas/Shipping"},"customer":{"$ref":"#/components/schemas/CustomerWithOptionalEmail"},"resultUrls":{"$ref":"#/components/schemas/ResultUrls"}}},"PaysafeCardPaymentInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/PaysafeCardPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutPaysafeCardPaymentInstrumentV2"}}},"CheckoutPaysafeCardPaymentInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/PaysafeCardPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutPaysafeCardPaymentInstrumentV2"}}},"PaysafeCardInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["paysafecard"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"},"paymentInstrument":{"$ref":"#/components/schemas/PaysafeCardPaymentInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsWithoutFailure"}}},"PixPaymentInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/PixPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutPixPaymentInstrumentV2"}}},"CheckoutPixPaymentInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/PixPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutPixPaymentInstrumentV2"}}},"IdentityDocuments":{"type":"object","properties":{"reference":{"pattern":"^(\\d*)$","type":"string","description":"Serial number of customer's identity document which is being sent for payment creation. This is a conditional field which, if sent, must be accompanied with serial number of the document and customer's first name and last name. Must be 11 chars for CPF and 14 chars in case of CNPJ."},"type":{"type":"string","description":"Type of customer's identity document which is being sent for payment creation. This is a conditional field which, if sent, must be accompanied with serial number of the document and customer's first name and last name. It can be either CPF or CNPJ.","enum":["CPF","CNPJ"]}},"description":"Object that contains identity document information."},"CustomerWithIdentity":{"type":"object","properties":{"firstName":{"maxLength":22,"minLength":1,"type":"string","description":"Your customer's first name."},"lastName":{"maxLength":22,"minLength":1,"type":"string","description":"Your customer's last name."},"identityDocuments":{"$ref":"#/components/schemas/IdentityDocuments"}}},"PixInstruction":{"required":["method","narrative","paymentInstrument","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["pix"]},"expiryIn":{"maximum":86400,"type":"integer","description":"Time the QR code will remain valid, in seconds. If not provided, the default value of 86400 seconds is set.","format":"int32"},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/PixPaymentInstrumentV2"},"customer":{"$ref":"#/components/schemas/CustomerWithIdentity"}}},"PrzelewyInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/PrzelewyInstrumentV2","checkout":"#/components/schemas/CheckoutPrzelewyInstrumentV2"}}},"CheckoutPrzelewyInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/PrzelewyInstrumentV2","checkout":"#/components/schemas/CheckoutPrzelewyInstrumentV2"}}},"PrzelewyInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["przelewy"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/PrzelewyInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsWithoutFailure"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"}}},"SepaInstrumentV2":{"required":["accountHolderName","billingAddress","iban","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"iban":{"maxLength":31,"minLength":1,"type":"string","description":"IBAN (International Bank Account Number)."},"accountHolderName":{"maxLength":255,"minLength":1,"type":"string","description":"Account holder name."},"language":{"type":"string","description":"Your customer's language.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},"billingAddress":{"$ref":"#/components/schemas/AddressV2"},"swiftBic":{"maxLength":11,"minLength":8,"pattern":"^[a-zA-Z0-9]+$","type":"string","description":"SEPA Direct Debit transactions to non-EEA countries require a BIC code, in addition to an IBAN. This attribute is mandatory for the UK, Switzerland, Monaco, Andorra, San Marino, Vatican city and Gibraltar."}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/SepaInstrumentV2","checkout":"#/components/schemas/CheckoutSepaInstrumentV2"}}},"CheckoutSepaInstrumentV2":{"required":["accountHolderName","billingAddress","iban","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"iban":{"maxLength":31,"minLength":1,"type":"string","description":"IBAN (International Bank Account Number)."},"accountHolderName":{"maxLength":255,"minLength":1,"type":"string","description":"Account holder name."},"language":{"type":"string","description":"Your customer's language.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},"billingAddress":{"$ref":"#/components/schemas/AddressV2"},"swiftBic":{"maxLength":11,"minLength":8,"pattern":"^[a-zA-Z0-9]+$","type":"string","description":"SEPA Direct Debit transactions to non-EEA countries require a BIC code, in addition to an IBAN. This attribute is mandatory for the UK, Switzerland, Monaco, Andorra, San Marino, Vatican city and Gibraltar."},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/SepaInstrumentV2","checkout":"#/components/schemas/CheckoutSepaInstrumentV2"}}},"SepaDirectInstrumentV2":{"required":["accountHolderName","billingAddress","iban","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"iban":{"maxLength":31,"minLength":1,"type":"string","description":"IBAN (International Bank Account Number)."},"accountHolderName":{"maxLength":255,"minLength":1,"type":"string","description":"Account holder name."},"language":{"type":"string","description":"Your customer's language.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},"billingAddress":{"$ref":"#/components/schemas/AddressV2"},"swiftBic":{"maxLength":11,"minLength":8,"pattern":"^[a-zA-Z0-9]+$","type":"string","description":"SEPA Direct Debit transactions to non-EEA countries require a BIC code, in addition to an IBAN. This attribute is mandatory for the UK, Switzerland, Monaco, Andorra, San Marino, Vatican city and Gibraltar."}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/SepaInstrumentV2","checkout":"#/components/schemas/CheckoutSepaInstrumentV2"}}},"SepaCustomerAgreementOneTime":{"required":["mandate","type"],"type":"object","properties":{"type":{"type":"string","enum":["oneTime"]},"mandate":{"$ref":"#/components/schemas/MandateOneTime"}},"description":"Object that contains agreement information.","discriminator":{"propertyName":"type","mapping":{"guest":"#/components/schemas/SepaCustomerAgreementOneTime","recurring":"#/components/schemas/SepaCustomerAgreementRecurring"}}},"MandateRecurring":{"required":["mandateId","type"],"type":"object","properties":{"type":{"type":"string","enum":["recurring"]},"mandateId":{"maxLength":35,"minLength":1,"pattern":"^M-[0-9]{9}-[a-zA-Z0-9]+$","type":"string","description":"Unique reference created by you which identifies each e-Mandate signed by your customer. See our [formatting requirements overview](/products/articles/sepa-emandate-and-best-practice#mandate-ids)."},"mandateSignatureDate":{"pattern":"^\\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$","type":"string","description":"ISO 8601 date-time (yyyy-mm-dd) when mandate has been signed."},"description":{"maxLength":255,"minLength":1,"type":"string","description":"Description of why the recurring payment is being created."}}},"SepaCustomerAgreementRecurring":{"required":["mandate","type"],"type":"object","properties":{"type":{"type":"string","enum":["recurring"]},"mandate":{"$ref":"#/components/schemas/MandateRecurring"}},"description":"Object that contains agreement information."},"MandateOneTime":{"required":["mandateId","type"],"type":"object","properties":{"type":{"type":"string","enum":["oneTime"]},"mandateId":{"maxLength":35,"minLength":1,"pattern":"^M-[0-9]{9}-[a-zA-Z0-9]+$","type":"string","description":"Unique reference created by you which identifies each e-Mandate signed by your customer. See our [formatting requirements overview](/products/articles/sepa-emandate-and-best-practice#mandate-ids)."},"mandateSignatureDate":{"pattern":"^\\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$","type":"string","description":"ISO 8601 date-time (yyyy-mm-dd) when mandate has been signed."},"description":{"maxLength":255,"minLength":1,"type":"string","description":"Description of why the recurring payment is being created."}}},"SepaInstruction":{"required":["customer","customerAgreement","narrative","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["sepa"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/SepaDirectInstrumentV2"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"},"customerAgreement":{"$ref":"#/components/schemas/SepaCustomerAgreementOneTime"}}},"SepaTokenInstrumentV2":{"required":["tokenId","type"],"type":"object","properties":{"type":{"type":"string","enum":["token"]},"tokenId":{"type":"string","description":"ID of the token generated by us. We return this in the SEPA DD recurring response."}}},"SepaTokenCustomerAgreement":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["recurring"]},"reference":{"maxLength":64,"minLength":1,"type":"string"}}},"SepaTokenInstruction":{"required":["customer","customerAgreement","narrative","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["sepa"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/SepaTokenInstrumentV2"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"},"customerAgreement":{"$ref":"#/components/schemas/SepaTokenCustomerAgreement"}}},"SafetyPayInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/SafetyPayInstrumentV2","checkout":"#/components/schemas/CheckoutSafetyPayInstrumentV2"}}},"CheckoutSafetyPayInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/SafetyPayInstrumentV2","checkout":"#/components/schemas/CheckoutSafetyPayInstrumentV2"}}},"SafetyPayInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["safetypay"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/SafetyPayInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsWithoutFailure"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"}}},"SatispayPaymentInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}}},"SatispayInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["satispay"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/SatispayPaymentInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsWithoutFailure"},"customer":{"$ref":"#/components/schemas/CustomerWithName"}}},"SwishPaymentInstrument":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/SwishPaymentInstrument","checkout":"#/components/schemas/CheckoutSwishPaymentInstrument"}}},"CheckoutSwishPaymentInstrument":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/SwishPaymentInstrument","checkout":"#/components/schemas/CheckoutSwishPaymentInstrument"}}},"CustomerWithOptionalPhone":{"type":"object","properties":{"phone":{"maxLength":15,"minLength":5,"pattern":"^\\d*$","type":"string","description":"Your customer's phone number.","example":"34700000001"}}},"SwishInstruction":{"required":["method","narrative","paymentInstrument","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["swish"]},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"value":{"$ref":"#/components/schemas/ValueV2"},"paymentInstrument":{"$ref":"#/components/schemas/SwishPaymentInstrument"},"customer":{"$ref":"#/components/schemas/CustomerWithOptionalPhone"}}},"TrustlyPaymentInstrumentV2":{"required":["country","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/TrustlyPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutTrustlyPaymentInstrumentV2"}}},"CheckoutTrustlyPaymentInstrumentV2":{"required":["country","sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"country":{"type":"string","description":"Your customer's country, must be a supported ISO 3166-1 alpha-2 country code.","example":"GB","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/TrustlyPaymentInstrumentV2","checkout":"#/components/schemas/CheckoutTrustlyPaymentInstrumentV2"}}},"TrustlyInstruction":{"required":["customer","method","narrative","paymentInstrument","resultUrls","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["trustly"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/TrustlyPaymentInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsWithoutFailure"},"customer":{"$ref":"#/components/schemas/CustomerWithEmail"}}},"ChinaUnionPayPaymentInstrumentV2":{"required":["language","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct"]},"language":{"type":"string","description":"Your customer's language, must be a supported ISO 639-1 language code.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]}}},"ResultUrlsChinaUnionPay":{"type":"object","properties":{"success":{"type":"string","description":"The URL your customer is redirected to, after a successful payment outcome.","example":"https://worldpay.com/success"},"pending":{"type":"string","description":"The URL your customer is redirected to, after a pending payment outcome.","example":"https://worldpay.com/pending"},"failure":{"type":"string","description":"The URL your customer is redirected to, after a payment creation fails.","example":"https://worldpay.com/failure"}}},"ChinaUnionPayInstruction":{"required":["method","narrative","paymentInstrument","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["unionpay"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/ChinaUnionPayPaymentInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsChinaUnionPay"}}},"WeChatPayInstrumentV2":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/WeChatPayInstrumentV2","checkout":"#/components/schemas/CheckoutWeChatPayInstrumentV2"}}},"CheckoutWeChatPayInstrumentV2":{"required":["sessionHref","type"],"type":"object","properties":{"type":{"type":"string","enum":["direct","checkout"]},"sessionHref":{"type":"string","description":" URL of the session in which customer fields can be saved via Components SDK.","format":"uri"}},"discriminator":{"propertyName":"type","mapping":{"direct":"#/components/schemas/WeChatPayInstrumentV2","checkout":"#/components/schemas/CheckoutWeChatPayInstrumentV2"}}},"WeChatPayInstruction":{"required":["method","narrative","paymentInstrument","value"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["wechatpay"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"expiryIn":{"maximum":120,"minimum":1,"type":"integer","description":"Payment expiration limit in minutes, with a value between 1 and 120.","format":"int32","example":15},"paymentInstrument":{"$ref":"#/components/schemas/WeChatPayInstrumentV2"}}},"KlarnaInstruction":{"required":["narrative","order","paymentInstrument","resultUrls"],"type":"object","properties":{"method":{"type":"string","description":"Type of payment method.","enum":["klarna"]},"value":{"$ref":"#/components/schemas/ValueV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"paymentInstrument":{"$ref":"#/components/schemas/KlarnaPaymentInstrumentV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsKlarnaBase"},"shipping":{"$ref":"#/components/schemas/KlarnaShipping"},"customer":{"$ref":"#/components/schemas/CustomerWithAdditionalDetails"},"order":{"$ref":"#/components/schemas/Order"}}},"Customer":{"type":"object"},"PaymentInstrumentV2":{"type":"object","properties":{"type":{"type":"string","enum":["direct","token","checkout"]}}},"ResultUrlsBase":{"type":"object","properties":{"success":{"type":"string"},"pending":{"type":"string"},"failure":{"type":"string"},"cancel":{"type":"string"}}},"InstructionV2":{"type":"object","properties":{"customer":{"$ref":"#/components/schemas/Customer"},"paymentInstrument":{"$ref":"#/components/schemas/PaymentInstrumentV2"},"narrative":{"$ref":"#/components/schemas/NarrativeV2"},"resultUrls":{"$ref":"#/components/schemas/ResultUrlsBase"},"value":{"$ref":"#/components/schemas/ValueV2"},"method":{"type":"string","description":"Type of payment method."}},"description":"Object that contains the payment type and details.","discriminator":{"propertyName":"method","mapping":{"ach":"#/components/schemas/AchInstruction","alipay_cn":"#/components/schemas/AlipayCnInstruction","alipay_hk":"#/components/schemas/AlipayHkInstruction","alipay_uni":"#/components/schemas/AlipayPlusInstruction","bancomat":"#/components/schemas/BancomatPayInstruction","bancontact":"#/components/schemas/BancontactInstruction","bizum":"#/components/schemas/BizumInstruction","blik":"#/components/schemas/BlikInstruction","eft":"#/components/schemas/EftInstruction","euteller":"#/components/schemas/EutellerInstruction","ideal guest":"#/components/schemas/IdealInstruction","ideal recurring":"#/components/schemas/IdealRecurringInstruction","klarna":"#/components/schemas/KlarnaNetworkInstruction","klarna recurring":"#/components/schemas/KlarnaRecurringInstruction","klarna token":"#/components/schemas/KlarnaFollowupInstruction","konbini":"#/components/schemas/KonbiniInstruction","multibanco":"#/components/schemas/MultibancoInstruction","mybank":"#/components/schemas/MyBankInstruction","open_banking":"#/components/schemas/OpenBankingInstruction","paypal":"#/components/schemas/PayPalInstruction","paysafecard":"#/components/schemas/PaysafeCardInstruction","pix":"#/components/schemas/PixInstruction","przelewy":"#/components/schemas/PrzelewyInstruction","sepa guest and first recurring":"#/components/schemas/SepaInstruction","sepa token":"#/components/schemas/SepaTokenInstruction","safetypay":"#/components/schemas/SafetyPayInstruction","satispay":"#/components/schemas/SatispayInstruction","swish":"#/components/schemas/SwishInstruction","trustly":"#/components/schemas/TrustlyInstruction","unionpay":"#/components/schemas/ChinaUnionPayInstruction","wechatpay":"#/components/schemas/WeChatPayInstruction"}},"oneOf":[{"$ref":"#/components/schemas/AchInstruction"},{"$ref":"#/components/schemas/AlipayCnInstruction"},{"$ref":"#/components/schemas/AlipayHkInstruction"},{"$ref":"#/components/schemas/AlipayPlusInstruction"},{"$ref":"#/components/schemas/BancomatPayInstruction"},{"$ref":"#/components/schemas/BancontactInstruction"},{"$ref":"#/components/schemas/BizumInstruction"},{"$ref":"#/components/schemas/BlikInstruction"},{"$ref":"#/components/schemas/EutellerInstruction"},{"$ref":"#/components/schemas/IdealInstruction"},{"$ref":"#/components/schemas/IdealRecurringInstruction"},{"$ref":"#/components/schemas/KlarnaNetworkInstruction"},{"$ref":"#/components/schemas/KlarnaInstruction"},{"$ref":"#/components/schemas/KlarnaRecurringInstruction"},{"$ref":"#/components/schemas/KlarnaFollowupInstruction"},{"$ref":"#/components/schemas/KonbiniInstruction"},{"$ref":"#/components/schemas/MultibancoInstruction"},{"$ref":"#/components/schemas/MyBankInstruction"},{"$ref":"#/components/schemas/OpenBankingInstruction"},{"$ref":"#/components/schemas/PayPalInstruction"},{"$ref":"#/components/schemas/PaysafeCardInstruction"},{"$ref":"#/components/schemas/PixInstruction"},{"$ref":"#/components/schemas/PrzelewyInstruction"},{"$ref":"#/components/schemas/SepaInstruction"},{"$ref":"#/components/schemas/SepaTokenInstruction"},{"$ref":"#/components/schemas/SafetyPayInstruction"},{"$ref":"#/components/schemas/SwishInstruction"},{"$ref":"#/components/schemas/TrustlyInstruction"},{"$ref":"#/components/schemas/WeChatPayInstruction"}]},"ApmPaymentRequestV2":{"required":["instruction","merchant","transactionReference"],"type":"object","properties":{"transactionReference":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_/!@#$%()*=.:;?\\[\\]{}~+]*$","type":"string","description":"For Bizum transactions, please follow this extra regex [a-zA-Z0-9]{4,12}"},"orderReference":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_/!@#$%()*=.:;?\\[\\]{}~+]*$","type":"string","description":"A reference that you can apply to one or more payments according to your business needs.\nYou may reuse the same reference across multiple payments, for example where:\n- the total amount for a single order is split across multiple payments\n- you use a single reference for each payment in a recurring agreement or split shipment scenario"},"merchant":{"$ref":"#/components/schemas/MerchantV2"},"instruction":{"$ref":"#/components/schemas/InstructionV2"}}}}}},"schemaResolvedErrors":[]},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Recommendation"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We suggest you provide the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cancelURL"]},",",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["failureURL"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pendingURL"]}," and  ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["successURL"]}," attribute to redirect your customer to, once you have received the payment result."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"response","__idx":11},"children":["Response"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-response","__idx":12},"children":["Example response"]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"label":"Successful Smart Button","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./code/paypal/response-smart-button.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n    \"paymentId\": \"nFxASqw-LV9HE_rr1mMONP6OuaBhNYiq0jRwvvUBRLffpu0O_8mOnTpFSIM9gnTSg8thuF8qvuzMKHjhAUKA-SBywF4F_ufX78jkgX7yoPwA8HF_HMLM0RSLDKrlDpMxs5bSRRbjItu_Me3kIkraos_XGMXXDzWYsmzASPr6BGo\",\n    \"lastEvent\": \"pending\",\n    \"_links\": {\n      \"self\": {\n        \"href\": \"https://access.worldpay.com/apmPayments/nFxASqw-LV9HE_rr1mMONP6OuaBhNYiq0jRwvvUBRLffpu0O_8mOnTpFSIM9gnTSg8thuF8qvuzMKHjhAUKA-SBywF4F_ufX78jkgX7yoPwA8HF_HMLM0RSLDKrlDpMxs5bSRRbjItu_Me3kIkraos_XGMXXDzWYsmzASPr6BGo\"\n      }\n    },\n    \"_actions\": {\n      \"confirmPayment\": {\n        \"href\": \"https://access.worldpay.com/apmPayments/nFxASqw-LV9HE_rr1mMONP6OuaBhNYiq0jRwvvUBRLffpu[…]rlDpMxs5bSRRbjItu_Me3kIkraos_XGMXXDzWYsmzASPr6BGo/confirmations\"\n      }\n    },\n    \"paymentInstrument\": {\n      \"method\": \"paypal\",\n      \"type\": \"sdk\",\n      \"sdkReference\": \"2HG28153DX910101U\"\n    },\n    \"redirect\": \"https://api.paypal.com/v2/checkout/orders/2HG28153DX910101U\",\n    \"commandId\": \"cmdEy5vwB0krLe9eMwAcE66c0\"\n  }"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"Successful redirect","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./code/paypal/response-redirect.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{   \n    \"paymentInstrument\": {\n      \"method\": \"paypal\",\n      \"type\": \"direct\",\n      \"sdkReference\": \"05567855EK995782J\"\n    },\n    \"paymentId\": \"nFxASqw-LV9HE_rr1mMONP6OuaBhNYiq0jRwvvUBRLffpu0O_8mOnTpFSIM9gnTSg8thuF8qvuzMKHjhAUKA-SBywF4F_ufX78jkgX7yoPwA8HF_HMLM0RSLDKrlDpMxs5bSRRbjItu_Me3kIkraos_XGMXXDzWYsmzASPr6BGo\",\n    \"lastEvent\": \"pending\",\n    \"_links\": {\n      \"self\": {\n        \"href\": \"https://access.worldpay.com/apmPayments/nFxASqw-LV9HE_rr1mMONP6OuaBhNYiq0jRwvvUBRLffpu0O_8mOnTpFSIM9gnTSg8thuF8qvuzMKHjhAUKA-SBywF4F_ufX78jkgX7yoPwA8HF_HMLM0RSLDKrlDpMxs5bSRRbjItu_Me3kIkraos_XGMXXDzWYsmzASPr6BGo\"\n      }\n    },\n    \"_actions\": {},\n    \"redirect\": \"https://www.paypal.com/checkoutnow?token=05567855EK995782J\",\n    \"commandId\": \"cmdEy5vwB0krLe9eMwAcE66c0\"\n  }"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"Successful in Try","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./code/paypal/response-try.json","header":{"controls":{"copy":{}}},"source":"{\n    \"paymentInstrument\": {\n        \"method\": \"paypal\",\n        \"type\": \"direct\",\n        \"sdkReference\": \"2HG28153DX910101U\"\n      },\n    \"paymentId\": \"eyJrIjoiYXBtLXNlcnZpY2UtZGVmYXVsdCIsImxpbmtWZXJzaW9uIjoiNi4wLjAifQ==.dz5mM2S9wOJFy0F+xZ63pJoY4MvCJmVKVX5RXy1cWGhFcthsPs91vvKMH5zN1RgFR8SWBDRoQFA4GRUVGjxZCWsfqOLqZzb6KliNHM8rs0EMWSqklWHSogj5rZUH5kI3DICJvCNxDzrRMZZB6OUT4E07AegBP0HiBKp5mX5kuxXiwMRCCwsuKTgtCsDJY8domtt6sBl+X8q+bpLWXQJ7YOrel1:d9ZYNUMt3N0QGVVX9O72EhvC6RLzeIxsFSOCM:ZO+3uJ34CX9E+HjhI1UTbdHYgEy9IRtW+fHHEyfvseYBMsOj8yG6LS:YpDsO0TtwhXU:ZJpmGdX3zjhg19bxkWAZFZeLAPFdvUQnHUe8Xr7Fzzgl3kRZ:UB44CGCmrMdyKRvmBV7kCfdFyAIavyL5ep9gO0r0VZn3escouFIUg=\",\n    \"lastEvent\": \"pending\",\n    \"_links\": {\n      \"self\": {\n        \"href\": \"https://try.access.worldpay.com/apmPayments/eyJrIjoiYXBtLXNlcnZpY2UtZGVmYXVsdCIsImxpbmtWZXJzaW9uIjoiNi4wLjAifQ==.dz5mM2S9wOJFy0F+xZ63pJoY4MvCJmVKVX5RXy1cWGhFcthsPs91vvKMH5zN1RgFR8SWBDRoQFA4GRUVGjxZCWsfqOLqZzb6KliNHM8rs0EMWSqklWHSogj5rZUH5kI3DICJvCNxDzrRMZZB6OUT4E07AegBP0HiBKp5mX5kuxXiwMRCCwsuKTgtCsDJY8domtt6sBl+X8q+bpLWXQJ7YOrel1:d9ZYNUMt3N0QGVVX9O72EhvC6RLzeIxsFSOCM:ZO+3uJ34CX9E+HjhI1UTbdHYgEy9IRtW+fHHEyfvseYBMsOj8yG6LS:YpDsO0TtwhXU:ZJpmGdX3zjhg19bxkWAZFZeLAPFdvUQnHUe8Xr7Fzzgl3kRZ:UB44CGCmrMdyKRvmBV7kCfdFyAIavyL5ep9gO0r0VZn3escouFIUg=\"\n      }\n    },\n    \"_actions\": {},\n    \"redirect\": \"https://secure-test.worldpay.com/jsp/test/shopper/APMSTSimulator.jsp?customerRef=3484717844&paymentMethod=PAYPAL\",\n    \"commandId\": \"cmdEy5vwB0krLe9eMwAcE66c0\"\n  }"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"Error","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./code/error.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n  \"errorName\": \"bodyDoesNotMatchSchema\",\n  \"message\": \"The json body provided does not match the expected schema\",\n  \"validationErrors\": [\n    {\n      \"errorName\": \"fieldHasInvalidValue\",\n      \"message\": \"Field is mandatory\",\n      \"jsonPath\": \"$.instruction.value.amount\"\n    }\n  ]\n}"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For the Smart Button flow, the method will be ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sdk"]},". Use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sdkReference"]}," to generate the Smart Button."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For the redirect flow, the method will be ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["redirect"]},". Use the url in the response to redirect your customer."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"schema","__idx":13},"children":["Schema"]},{"$$mdtype":"Tag","name":"JsonSchema","attributes":{"schema":{"$ref":"openapi.yaml#/components/schemas/PaymentResourceWithTransactionCode"},"options":{"schemaExpansionLevel":0},"schemaResolved":{"openapi":"3.1.0","components":{"schemas":{"__root":{"$ref":"#/components/schemas/PaymentResourceWithTransactionCode"},"SelfLink":{"type":"object","properties":{"href":{"type":"string"}},"description":"The URL you can invoke to fetch the last event for the payment."},"Links":{"type":"object","properties":{"self":{"$ref":"#/components/schemas/SelfLink"}},"description":"Links to resources related to the request."},"ActionLink":{"type":"object","properties":{"href":{"type":"string"},"method":{"type":"string"}},"description":"Link to resource to reverse, partially reverse, settle, partially settle, or confirm payment."},"ActionsV2":{"type":"object","properties":{"reverse":{"$ref":"#/components/schemas/ActionLink"},"partialReverse":{"$ref":"#/components/schemas/ActionLink"},"settle":{"$ref":"#/components/schemas/ActionLink"},"confirmPayment":{"$ref":"#/components/schemas/ActionLink"}}},"apm":{"title":"All others","type":"object","properties":{"method":{"type":"string","description":"Payment method."},"type":{"type":"string","description":"Type of the payment instrument."}},"description":"Payment instrument for: ACH, Alipay China, Alipay Hong Kong, Alipay Plus, BANCOMAT Pay, Bancontact, Bizum, BLIK, EFT, Euteller, iDEAL guest, iDEAL recurring, Klarna, Klarna (recurring), Konbini, Multibanco, MyBank, Open Banking, PaysafeCard, Pix, Przelewy24, SafetyPay, Satispay, Swish, Trustly, China UnionPay, WeChat Pay."},"paypal":{"title":"PayPal","type":"object","properties":{"method":{"type":"string","description":"Payment method."},"type":{"type":"string","description":"Type of the payment instrument.","enum":["redirect","sdk"]},"sdkReference":{"type":"string","description":"SDK reference for smart button."}},"description":"PayPal payment instrument."},"sepa":{"title":"SEPA DD","type":"object","properties":{"method":{"type":"string","description":"Payment method."},"type":{"type":"string","description":"Type of the payment instrument."},"tokenId":{"type":"string","description":"ID of the token generated by us. We return this in the SEPA DD recurring response."}},"description":"SEPA DD payment instrument."},"klarna_followup":{"title":"Klarna (recurring) token","type":"object","properties":{"method":{"type":"string","description":"Payment method."},"type":{"type":"string","description":"Type of the payment instrument."},"tokenId":{"type":"string","description":"Token ID."},"country":{"type":"string","description":"Country."},"productType":{"type":"string","description":"Product type."}},"description":"Klarna (recurring) token payment instrument."},"PaymentInstrument":{"type":"object","properties":{"method":{"type":"string","description":"Payment method."},"type":{"type":"string","description":"Type of the payment instrument."}},"description":"Payment instrument details for the payment response.","oneOf":[{"$ref":"#/components/schemas/apm"},{"$ref":"#/components/schemas/paypal"},{"$ref":"#/components/schemas/sepa"},{"$ref":"#/components/schemas/klarna_followup"}]},"PaymentResourceWithTransactionCode":{"type":"object","properties":{"paymentId":{"type":"string","description":"The identifier of the payment resource."},"lastEvent":{"type":"string","enum":["authorized","cancelFailed","cancelled","cancelRequested","sentForSettlement","sentForAuthorization","settlementFailed","chargebackReversed","chargedBack","disputeExpired","disputeFundsHeld","disputeFundsReleased","disputeReserveReleased","error","expired","disputeInformationRequested","disputInformationSupplied","miscellaneous","pending","refunded","refundExpired","refundFailed","refundReversed","refused","refusedByIssuer","requestExpired","sentForRefund","settled","settlementReversed","cancelledByCustomer","signedFormReceived","unknown","manuallyAmended"]},"_links":{"$ref":"#/components/schemas/Links"},"_actions":{"$ref":"#/components/schemas/ActionsV2"},"redirect":{"type":"string","description":"The URL to redirect your customer to, or a QR code in Base64 to show to your customer, in order to complete the transaction."},"commandId":{"type":"string","description":"An action ID generated by us, identifying a single merchant interaction.","example":"cmdYNdIHBPJwbkjLiykzTx0"},"paymentInstrument":{"$ref":"#/components/schemas/PaymentInstrument"},"transactionCode":{"type":"string","description":"For **Pix payments** - display to your customer for them to copy and paste in the Pix app.\n\n          For **Swish payments** - use this value as the {token} in the custom URL scheme: `swish://paymentrequest?token={token}&callbackurl={callbackURL}`. This will prompt the app to open, allowing your customer to complete their payment.","example":"IZQ3iUfePwiWiwldJlipl8NGVA7w5IUg"}}}}}},"schemaResolvedErrors":[]},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"errors","__idx":14},"children":["Errors"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check out our API reference for ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/apms/openapi/payment/paymentv2#payment/paymentv2/response&c=400"},"children":["more responses or error codes"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"payment-flows-diagrams","__idx":15},"children":["Payment flows diagrams"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"paypal-redirect-flow","__idx":16},"children":["PayPal redirect flow"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The payment flow varies depending on the payment experience you want to offer and how you settle/capture the payment. We offer two options for this flow:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["auto settlement"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["manual settlement"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Please refer to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.worldpay.com/products/apms"},"children":["main page"]}," for the redirect flow diagram."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"paypal-smart-button-flow","__idx":17},"children":["PayPal Smart Button flow"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":5,"id":"payment-confirmation","__idx":18},"children":["Payment confirmation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once your customer has closed the PayPal iframe, you must confirm the payment when using the PayPal Smart Button. This is done by using the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["confirmPayment"]}," href returned in the payment request response."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Make a POST request on the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["link:actions"]}," action link returned in your payment response."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://try.access.worldpay.com/apmPayments/nFxASqw-LV9HE_rr1mMONDTNO21DI7iBqIBDP8tbNT_pHfdVKepSMngqe9EDiBI1pHXEu-SbvqJyvSludyCd-2L21mL7uoB8zl62Ayz7E3GblXYsLnrW2-IZDMChfXfwWt7xrjVsKEPMGearp4PdIQp8hQ6k4_KTkZa_frsM4TQ/confirmations"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No request body is needed for this request."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For greater understanding of the PayPal Smart Button flow, view the sequence diagram below."]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"\nsequenceDiagram\n    participant Customer\n    participant Merchant\n    participant Worldpay\n    participant PayPal\n    Customer->>Merchant: 1. Clicks Smart Button\n    Merchant->>Worldpay: 2. Sends request to create a payment \n    Worldpay->>PayPal: 3. Validates and sends request to create a payment\n    PayPal->>Worldpay: 4. Generates and responds with paymentId\n    Worldpay->>Merchant: 5. Sends paymentId and SDK reference, including confirmPayment href\n    Merchant->>Customer: 6. Uses SDK ref to have Smart Button render the PayPal login screen\n    Customer->>PayPal: 7. Logs in and pays\n    PayPal->>Customer: 8. Closes PayPal screen\n    Merchant->>Worldpay: 9. Uses the confirmPayment href to confirm the payment\n    Worldpay->>PayPal: 10. Sends payment confirmation\n    PayPal->>Worldpay: 11. Processes payment and provides notification on transaction outcome\n    Worldpay->>Merchant: 12. Provides notification, via webhook, on transaction outcome\n\n","diagramHtml":"<svg id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 2038px;\" viewBox=\"-50 -10 2038 819\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><g><rect x=\"1788\" y=\"733\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"PayPal\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"1863\" y=\"765.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"1863\" dy=\"0\">PayPal</tspan></text></g><g><rect x=\"1176\" y=\"733\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Worldpay\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"1251\" y=\"765.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"1251\" dy=\"0\">Worldpay</tspan></text></g><g><rect x=\"576\" y=\"733\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Merchant\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"651\" y=\"765.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"651\" dy=\"0\">Merchant</tspan></text></g><g><rect x=\"0\" y=\"733\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Customer\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"765.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Customer</tspan></text></g><g><line id=\"actor3\" x1=\"1863\" y1=\"65\" x2=\"1863\" y2=\"733\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"PayPal\" data-et=\"life-line\" data-id=\"PayPal\"></line><g id=\"root-3\" data-et=\"participant\" data-type=\"participant\" data-id=\"PayPal\"><rect x=\"1788\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"PayPal\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"1863\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"1863\" dy=\"0\">PayPal</tspan></text></g></g><g><line id=\"actor2\" x1=\"1251\" y1=\"65\" x2=\"1251\" y2=\"733\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Worldpay\" data-et=\"life-line\" data-id=\"Worldpay\"></line><g id=\"root-2\" data-et=\"participant\" data-type=\"participant\" data-id=\"Worldpay\"><rect x=\"1176\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Worldpay\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"1251\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"1251\" dy=\"0\">Worldpay</tspan></text></g></g><g><line id=\"actor1\" x1=\"651\" y1=\"65\" x2=\"651\" y2=\"733\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Merchant\" data-et=\"life-line\" data-id=\"Merchant\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"Merchant\"><rect x=\"576\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Merchant\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"651\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"651\" dy=\"0\">Merchant</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"733\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Customer\" data-et=\"life-line\" data-id=\"Customer\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"Customer\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Customer\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"75\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Customer</tspan></text></g></g><style>#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .error-icon{fill:#552222;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .error-text{fill:#552222;stroke:#552222;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .edge-thickness-normal{stroke-width:1px;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .edge-thickness-thick{stroke-width:3.5px;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .edge-pattern-solid{stroke-dasharray:0;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .marker{fill:#333333;stroke:#333333;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .marker.cross{stroke:#333333;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 svg{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 p{margin:0;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .actor{stroke:#9370DB;fill:#ECECFF;stroke-width:1;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 rect.note[data-look=\"neo\"]{stroke:#aaaa33;fill:#fff5ad;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 text.actor&gt;tspan{fill:black;stroke:none;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .actor-line{stroke:#9370DB;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [id$=\"-arrowhead\"] path{fill:#333;stroke:#333;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .sequenceNumber{fill:white;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [id$=\"-sequencenumber\"]{fill:#333;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [id$=\"-crosshead\"] path{fill:#333;stroke:#333;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .messageText{fill:#333;stroke:none;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .labelBox{stroke:#9370DB;fill:#ECECFF;filter:none;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .labelText,#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .labelText&gt;tspan{fill:black;stroke:none;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .loopText,#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .loopText&gt;tspan{fill:black;stroke:none;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .sectionTitle,#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .sectionTitle&gt;tspan{fill:black;stroke:none;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#9370DB;fill:#9370DB;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .note{stroke:#aaaa33;fill:#fff5ad;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .noteText,#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .noteText&gt;tspan{fill:black;stroke:none;font-weight:normal;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .activation0{fill:#f4f4f4;stroke:#666;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .activation1{fill:#f4f4f4;stroke:#666;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .activation2{fill:#f4f4f4;stroke:#666;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .actorPopupMenu{position:absolute;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .actor-man circle,#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 line{fill:#ECECFF;stroke-width:2px;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 g rect.rect{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));stroke:#9370DB;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 .node .neo-node{stroke:#9370DB;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [data-look=\"neo\"].node rect,#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [data-look=\"neo\"].cluster rect,#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><text x=\"362\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">1. Clicks Smart Button</text><line x1=\"76\" y1=\"119\" x2=\"647\" y2=\"119\" class=\"messageLine0\" data-et=\"message\" data-id=\"i0\" data-from=\"Customer\" data-to=\"Merchant\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line><text x=\"950\" y=\"134\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">2. Sends request to create a payment</text><line x1=\"652\" y1=\"173\" x2=\"1247\" y2=\"173\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"Merchant\" data-to=\"Worldpay\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line><text x=\"1556\" y=\"188\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">3. Validates and sends request to create a payment</text><line x1=\"1252\" y1=\"227\" x2=\"1859\" y2=\"227\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"Worldpay\" data-to=\"PayPal\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line><text x=\"1559\" y=\"242\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">4. Generates and responds with paymentId</text><line x1=\"1862\" y1=\"281\" x2=\"1255\" y2=\"281\" class=\"messageLine0\" data-et=\"message\" data-id=\"i3\" data-from=\"PayPal\" data-to=\"Worldpay\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line><text x=\"953\" y=\"296\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">5. Sends paymentId and SDK reference, including confirmPayment href</text><line x1=\"1250\" y1=\"335\" x2=\"655\" y2=\"335\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"Worldpay\" data-to=\"Merchant\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line><text x=\"365\" y=\"350\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">6. Uses SDK ref to have Smart Button render the PayPal login screen</text><line x1=\"650\" y1=\"389\" x2=\"79\" y2=\"389\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"Merchant\" data-to=\"Customer\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line><text x=\"968\" y=\"404\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">7. Logs in and pays</text><line x1=\"76\" y1=\"443\" x2=\"1859\" y2=\"443\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"Customer\" data-to=\"PayPal\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line><text x=\"971\" y=\"458\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">8. Closes PayPal screen</text><line x1=\"1862\" y1=\"497\" x2=\"79\" y2=\"497\" class=\"messageLine0\" data-et=\"message\" data-id=\"i7\" data-from=\"PayPal\" data-to=\"Customer\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line><text x=\"950\" y=\"512\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">9. Uses the confirmPayment href to confirm the payment</text><line x1=\"652\" y1=\"551\" x2=\"1247\" y2=\"551\" class=\"messageLine0\" data-et=\"message\" data-id=\"i8\" data-from=\"Merchant\" data-to=\"Worldpay\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line><text x=\"1556\" y=\"566\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">10. Sends payment confirmation</text><line x1=\"1252\" y1=\"605\" x2=\"1859\" y2=\"605\" class=\"messageLine0\" data-et=\"message\" data-id=\"i9\" data-from=\"Worldpay\" data-to=\"PayPal\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line><text x=\"1559\" y=\"620\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">11. Processes payment and provides notification on transaction outcome</text><line x1=\"1862\" y1=\"659\" x2=\"1255\" y2=\"659\" class=\"messageLine0\" data-et=\"message\" data-id=\"i10\" data-from=\"PayPal\" data-to=\"Worldpay\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line><text x=\"953\" y=\"674\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">12. Provides notification, via webhook, on transaction outcome</text><line x1=\"1250\" y1=\"713\" x2=\"655\" y2=\"713\" class=\"messageLine0\" data-et=\"message\" data-id=\"i11\" data-from=\"Worldpay\" data-to=\"Merchant\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-89a4a14bc339323e8751ad3ab2da2411992e9a9acb0669b81c54023e7f830293-arrowhead)\" style=\"fill: none;\"></line></svg>","diagramHtmlDark":"<svg id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 2038px;\" viewBox=\"-50 -10 2038 819\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><g><rect x=\"1788\" y=\"733\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"PayPal\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"1863\" y=\"765.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"1863\" dy=\"0\">PayPal</tspan></text></g><g><rect x=\"1176\" y=\"733\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Worldpay\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"1251\" y=\"765.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"1251\" dy=\"0\">Worldpay</tspan></text></g><g><rect x=\"576\" y=\"733\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Merchant\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"651\" y=\"765.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"651\" dy=\"0\">Merchant</tspan></text></g><g><rect x=\"0\" y=\"733\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Customer\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"765.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Customer</tspan></text></g><g><line id=\"actor3\" x1=\"1863\" y1=\"65\" x2=\"1863\" y2=\"733\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"PayPal\" data-et=\"life-line\" data-id=\"PayPal\"></line><g id=\"root-3\" data-et=\"participant\" data-type=\"participant\" data-id=\"PayPal\"><rect x=\"1788\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"PayPal\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"1863\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"1863\" dy=\"0\">PayPal</tspan></text></g></g><g><line id=\"actor2\" x1=\"1251\" y1=\"65\" x2=\"1251\" y2=\"733\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Worldpay\" data-et=\"life-line\" data-id=\"Worldpay\"></line><g id=\"root-2\" data-et=\"participant\" data-type=\"participant\" data-id=\"Worldpay\"><rect x=\"1176\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Worldpay\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"1251\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"1251\" dy=\"0\">Worldpay</tspan></text></g></g><g><line id=\"actor1\" x1=\"651\" y1=\"65\" x2=\"651\" y2=\"733\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Merchant\" data-et=\"life-line\" data-id=\"Merchant\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"Merchant\"><rect x=\"576\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Merchant\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"651\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"651\" dy=\"0\">Merchant</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"733\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Customer\" data-et=\"life-line\" data-id=\"Customer\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"Customer\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Customer\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"75\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Customer</tspan></text></g></g><style>#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .error-icon{fill:#a44141;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .error-text{fill:#ddd;stroke:#ddd;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .edge-thickness-normal{stroke-width:1px;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .edge-thickness-thick{stroke-width:3.5px;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .edge-pattern-solid{stroke-dasharray:0;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .marker{fill:lightgrey;stroke:lightgrey;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .marker.cross{stroke:lightgrey;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 svg{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 p{margin:0;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .actor{stroke:#ccc;fill:#1f2020;stroke-width:1;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 rect.note[data-look=\"neo\"]{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 text.actor&gt;tspan{fill:lightgrey;stroke:none;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .actor-line{stroke:#ccc;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:lightgrey;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:lightgrey;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [id$=\"-arrowhead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .sequenceNumber{fill:black;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [id$=\"-sequencenumber\"]{fill:lightgrey;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [id$=\"-crosshead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .messageText{fill:lightgrey;stroke:none;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .labelBox{stroke:#ccc;fill:#1f2020;filter:none;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .labelText,#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .labelText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .loopText,#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .loopText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .sectionTitle,#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .sectionTitle&gt;tspan{fill:lightgrey;stroke:none;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#ccc;fill:#ccc;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .note{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .noteText,#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .noteText&gt;tspan{fill:rgb(183.8476190475, 181.5523809523, 181.5523809523);stroke:none;font-weight:normal;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .activation0{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .activation1{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .activation2{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .actorPopupMenu{position:absolute;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .actorPopupMenuPanel{position:absolute;fill:#1f2020;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .actor-man circle,#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 line{fill:#1f2020;stroke-width:2px;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 g rect.rect{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));stroke:#ccc;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 .node .neo-node{stroke:#ccc;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [data-look=\"neo\"].node rect,#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [data-look=\"neo\"].cluster rect,#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [data-look=\"neo\"].node polygon{stroke:url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [data-look=\"neo\"].node path{stroke:url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-gradient);stroke-width:1px;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [data-look=\"neo\"].node circle{stroke:url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><text x=\"362\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">1. Clicks Smart Button</text><line x1=\"76\" y1=\"119\" x2=\"647\" y2=\"119\" class=\"messageLine0\" data-et=\"message\" data-id=\"i0\" data-from=\"Customer\" data-to=\"Merchant\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line><text x=\"950\" y=\"134\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">2. Sends request to create a payment</text><line x1=\"652\" y1=\"173\" x2=\"1247\" y2=\"173\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"Merchant\" data-to=\"Worldpay\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line><text x=\"1556\" y=\"188\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">3. Validates and sends request to create a payment</text><line x1=\"1252\" y1=\"227\" x2=\"1859\" y2=\"227\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"Worldpay\" data-to=\"PayPal\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line><text x=\"1559\" y=\"242\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">4. Generates and responds with paymentId</text><line x1=\"1862\" y1=\"281\" x2=\"1255\" y2=\"281\" class=\"messageLine0\" data-et=\"message\" data-id=\"i3\" data-from=\"PayPal\" data-to=\"Worldpay\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line><text x=\"953\" y=\"296\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">5. Sends paymentId and SDK reference, including confirmPayment href</text><line x1=\"1250\" y1=\"335\" x2=\"655\" y2=\"335\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"Worldpay\" data-to=\"Merchant\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line><text x=\"365\" y=\"350\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">6. Uses SDK ref to have Smart Button render the PayPal login screen</text><line x1=\"650\" y1=\"389\" x2=\"79\" y2=\"389\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"Merchant\" data-to=\"Customer\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line><text x=\"968\" y=\"404\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">7. Logs in and pays</text><line x1=\"76\" y1=\"443\" x2=\"1859\" y2=\"443\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"Customer\" data-to=\"PayPal\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line><text x=\"971\" y=\"458\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">8. Closes PayPal screen</text><line x1=\"1862\" y1=\"497\" x2=\"79\" y2=\"497\" class=\"messageLine0\" data-et=\"message\" data-id=\"i7\" data-from=\"PayPal\" data-to=\"Customer\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line><text x=\"950\" y=\"512\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">9. Uses the confirmPayment href to confirm the payment</text><line x1=\"652\" y1=\"551\" x2=\"1247\" y2=\"551\" class=\"messageLine0\" data-et=\"message\" data-id=\"i8\" data-from=\"Merchant\" data-to=\"Worldpay\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line><text x=\"1556\" y=\"566\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">10. Sends payment confirmation</text><line x1=\"1252\" y1=\"605\" x2=\"1859\" y2=\"605\" class=\"messageLine0\" data-et=\"message\" data-id=\"i9\" data-from=\"Worldpay\" data-to=\"PayPal\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line><text x=\"1559\" y=\"620\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">11. Processes payment and provides notification on transaction outcome</text><line x1=\"1862\" y1=\"659\" x2=\"1255\" y2=\"659\" class=\"messageLine0\" data-et=\"message\" data-id=\"i10\" data-from=\"PayPal\" data-to=\"Worldpay\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line><text x=\"953\" y=\"674\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">12. Provides notification, via webhook, on transaction outcome</text><line x1=\"1250\" y1=\"713\" x2=\"655\" y2=\"713\" class=\"messageLine0\" data-et=\"message\" data-id=\"i11\" data-from=\"Worldpay\" data-to=\"Merchant\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-ad0caac15d5dbbd9df2d6c3fe9f45520e94724351fd1acbb8c46b385d011afb4-arrowhead)\" style=\"fill: none;\"></line></svg>"},"children":["\nsequenceDiagram\n    participant Customer\n    participant Merchant\n    participant Worldpay\n    participant PayPal\n    Customer->>Merchant: 1. Clicks Smart Button\n    Merchant->>Worldpay: 2. Sends request to create a payment \n    Worldpay->>PayPal: 3. Validates and sends request to create a payment\n    PayPal->>Worldpay: 4. Generates and responds with paymentId\n    Worldpay->>Merchant: 5. Sends paymentId and SDK reference, including confirmPayment href\n    Merchant->>Customer: 6. Uses SDK ref to have Smart Button render the PayPal login screen\n    Customer->>PayPal: 7. Logs in and pays\n    PayPal->>Customer: 8. Closes PayPal screen\n    Merchant->>Worldpay: 9. Uses the confirmPayment href to confirm the payment\n    Worldpay->>PayPal: 10. Sends payment confirmation\n    PayPal->>Worldpay: 11. Processes payment and provides notification on transaction outcome\n    Worldpay->>Merchant: 12. Provides notification, via webhook, on transaction outcome\n\n"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next steps"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/apms/manage/"},"children":["Manage your PayPal payment"]}]}]},"headings":[{"value":"PayPal","id":"paypal","depth":1},{"value":"Why use PayPal","id":"why-use-paypal","depth":4},{"value":"Feature summary","id":"feature-summary","depth":4},{"value":"Acceptance currencies","id":"acceptance-currencies","depth":4},{"value":"Payment flows","id":"payment-flows","depth":4},{"value":"Redirect URL","id":"redirect-url","depth":5},{"value":"Smart Button","id":"smart-button","depth":5},{"value":"Get started","id":"get-started","depth":2},{"value":"Request","id":"request","depth":2},{"value":"Example request","id":"example-request","depth":3},{"value":"Parameters","id":"parameters","depth":3},{"value":"Response","id":"response","depth":2},{"value":"Example response","id":"example-response","depth":3},{"value":"Schema","id":"schema","depth":3},{"value":"Errors","id":"errors","depth":4},{"value":"Payment flows diagrams","id":"payment-flows-diagrams","depth":3},{"value":"PayPal redirect flow","id":"paypal-redirect-flow","depth":4},{"value":"PayPal Smart Button flow","id":"paypal-smart-button-flow","depth":4},{"value":"Payment confirmation","id":"payment-confirmation","depth":5}],"frontmatter":{"seo":{"title":"PayPal"}},"lastModified":"2026-07-06T08:56:03.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/apms/paypal","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}