{"templateId":"markdown","versions":[{"version":"20240601","label":"2024-06-01 (Latest)","link":"/products/payments/recurring-subsequent","default":true,"active":true,"folderId":"15ab58d6"}],"sharedDataIds":{"sidebar":"sidebar-products/payments/sidebars.yaml","current-catalog-info":"current-catalog-info-/products/payments/openapi","api-docs-products/payments/@20240601/openapi.yaml":"api-docs-products/payments/@20240601/openapi.yaml"},"props":{"metadata":{"markdoc":{"tagList":["partial","box","badge","tabs","tab","code-snippet","openapi-code-sample","cards","card","admonition","openapi-response-sample"]},"custom_product":"Payments","type":"markdown"},"seo":{"title":"Subsequent recurring payment | Payments API","description":"Worldpay for Developers - docs, code examples, resources and tools. Everything you need to build your omnichannel payment solution.","siteUrl":"https://docs.worldpay-bsh.securedataplatform.co.uk","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-bsh.securedataplatform.co.uk/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/**/*"]},{"title":"Payment Queries API","description":"Querying your payments data, based on a variety of parameters.","includeFiles":["products/payment-queries/@v1/**/*"]},{"title":"Card BIN Data API","description":"Provides detailed information about a card.","includeFiles":["products/card-bin/@v1/**/*"]},{"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/**/*"]},{"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/**/*"]},{"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/**/*"]},{"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/**/*"]},{"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/**/*"]},{"title":"Card Verifications API","description":"Verify your customer's card to maximize your authentication rates.","includeFiles":["products/card-verifications/@v6/**/*"]},{"title":"Account Payouts API","description":"Send funds to your customer's bank accounts and search for payouts using parameters.","includeFiles":["products/account-payouts/@20250101/**/*"]},{"title":"APMs","description":"Pay using eWallets, bank transfers, direct debits, local card schemes, Postpay and eInvoice/ Buy Now Pay Later.","includeFiles":["products/apms/@20240701/**/*"]},{"title":"Balance API","description":"Request your account details for a single account or all accounts under an entity.","includeFiles":["products/balance/@20250101/**/*"]},{"title":"Card Payouts API","description":"Send funds to your customer's cards.","includeFiles":["products/card-payouts/@v4/**/*"]},{"title":"Events (Webhooks)","description":"Receive status updates from Access Worldpay by setting up a webhook.","includeFiles":["products/events/@v1/**/*"]},{"title":"FX API","description":"Manage Foreign Exchange (FX) on your payments.","includeFiles":["products/fx/@v1/**/*"]},{"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/**/*"]},{"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/**/*"]},{"title":"Parties API","description":"Create parties, manage your payout instruments and beneficial owners and carry out identity verification checks.","includeFiles":["products/parties/@20250101/**/*"]},{"title":"SCA Exemptions API","description":"Maximize a frictionless checkout experience by using issuer data insights to apply exemptions.","includeFiles":["products/sca-exemptions/@v1/**/*"]},{"title":"Split Payments API","description":"Divide funds from a single payment amongst yourself and your parties/sellers.","includeFiles":["products/split-payments/@20250625/**/*"]},{"title":"Statements API","description":"Retrieve your account statement and see individual entries for all credits and debits.","includeFiles":["products/statements/@20250101/**/*"]},{"title":"Transfers API","description":"Transfer funds from source account to target account.","includeFiles":["products/transfers/@20250101/**/*"]},{"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/**/*"]}]}},"dynamicMarkdocComponents":["openapi"],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Last updated"]},": 01 September 2026 | ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/payments/changelog/"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Change log"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"subsequent-recurring-payment","__idx":0},"children":["Subsequent recurring payment"]},{"$$mdtype":"Tag","name":"Box","attributes":{"display":"inline-flex","gridTemplateColumns":["1fr 1fr","1fr 1fr 1fr","1fr 1fr 1fr"],"gridGap":"0.5rem","mt":"1rem","mb":"1rem"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","to":"/","fontWeight":"bold","color":"var(--wp-colour-black)","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"#E0D5FC"},"children":["Enterprise"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","to":"/products/smb/","fontWeight":"bold","color":"var(--wp-colour-black)","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"#A5EFFF"},"children":["SMB (Worldpay eCommerce)"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Following an ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/payments/recurring-first"},"children":["initial agreement"]},", make subsequent recurring payments."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Subscription","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The request must contain:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"JSON","header":{"controls":{"copy":{}}},"source":"\"customerAgreement\": {\n    \"type\": \"subscription\", \n    \"storedCardUsage\": \"subsequent\" \n}\n","lang":"JSON"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"1-basic-request","__idx":1},"children":["1. Basic request"]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Plain card","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["schemeReference"]}," must be provided to link the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["first"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subsequent"]}," recurring payment."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../examples/extended/request/request-recurring-subsequent-min.json","language":"js","header":{"controls":{"copy":{}}},"lang":"js","source":"{\n    \"transactionReference\": \"Memory265-13/08/1876\",\n    \"merchant\": {\n        \"entity\": \"default\"\n    },\n    \"instruction\": {\n        \"method\": \"card\",\n        \"paymentInstrument\": {\n            \"type\": \"plain\",\n            \"cardNumber\": \"4000000000001091\",\n                \"expiryDate\": {\n                \"month\": 5,\n                \"year\": 2035\n            }\n        },\n        \"customerAgreement\": {\n            \"type\": \"subscription\",\n            \"storedCardUsage\":\"subsequent\",\n            \"schemeReference\": \"MCCOLXT1C0104\"\n        },\n        \"narrative\": {\n            \"line1\": \"trading name\"\n        },\n        \"value\": {\n            \"currency\": \"GBP\",\n            \"amount\": 42\n        }\n    }\n}","wrapContents":true},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Token","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If the token created as part of the initial agreement is used it will contain the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["schemeReference"]},". Otherwise it must be provided in the request separately to link the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["first"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subsequent"]}," recurring payment."]},{"$$mdtype":"Tag","name":"OpenApiCodeSample","attributes":{"descriptionFile":"api-docs-products/payments/@20240601/openapi.yaml","operationId":"payment","exampleKey":"Subscription - subsequent","parameters":{},"environments":{},"codeSamplesResolved":[{"lang":"json","title":"Payload application/json","source":"{\n  \"transactionReference\": \"Memory265-13/08/1876\",\n  \"orderReference\": \"order-12345\",\n  \"merchant\": {\n    \"entity\": \"default\"\n  },\n  \"instruction\": {\n    \"method\": \"card\",\n    \"paymentInstrument\": {\n      \"type\": \"token\",\n      \"href\": \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n    },\n    \"customerAgreement\": {\n      \"type\": \"subscription\",\n      \"storedCardUsage\": \"subsequent\",\n      \"schemeReference\": \"MCCOLXT1C0104\"\n    },\n    \"narrative\": {\n      \"line1\": \"trading name\"\n    },\n    \"value\": {\n      \"currency\": \"GBP\",\n      \"amount\": 42\n    }\n  }\n}"},{"lang":"shell","title":"curl","source":"curl -i -X POST \\\n  https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments \\\n  -H 'Content-Type: application/json' \\\n  -H 'WP-Api-Version: 2024-06-01' \\\n  -d '{\n    \"transactionReference\": \"Memory265-13/08/1876\",\n    \"orderReference\": \"order-12345\",\n    \"merchant\": {\n      \"entity\": \"default\"\n    },\n    \"instruction\": {\n      \"method\": \"card\",\n      \"paymentInstrument\": {\n        \"type\": \"token\",\n        \"href\": \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n      },\n      \"customerAgreement\": {\n        \"type\": \"subscription\",\n        \"storedCardUsage\": \"subsequent\",\n        \"schemeReference\": \"MCCOLXT1C0104\"\n      },\n      \"narrative\": {\n        \"line1\": \"trading name\"\n      },\n      \"value\": {\n        \"currency\": \"GBP\",\n        \"amount\": 42\n      }\n    }\n  }'"},{"lang":"python","title":"Python","source":"import requests\n\nurl = \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\"\n\npayload = {\n  \"transactionReference\": \"Memory265-13/08/1876\",\n  \"orderReference\": \"order-12345\",\n  \"merchant\": {\n    \"entity\": \"default\"\n  },\n  \"instruction\": {\n    \"method\": \"card\",\n    \"paymentInstrument\": {\n      \"type\": \"token\",\n      \"href\": \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n    },\n    \"customerAgreement\": {\n      \"type\": \"subscription\",\n      \"storedCardUsage\": \"subsequent\",\n      \"schemeReference\": \"MCCOLXT1C0104\"\n    },\n    \"narrative\": {\n      \"line1\": \"trading name\"\n    },\n    \"value\": {\n      \"currency\": \"GBP\",\n      \"amount\": 42\n    }\n  }\n}\n\nheaders = {\n  \"Content-Type\": \"application/json\",\n  \"WP-Api-Version\": \"2024-06-01\"\n}\n\nresponse = requests.post(url, json=payload, headers=headers)\n\ndata = response.json()\nprint(data)"},{"lang":"java","title":"Java","source":"import java.net.*;\nimport java.net.http.*;\nimport java.util.*;\n\npublic class App {\n  public static void main(String[] args) throws Exception {\n    var httpClient = HttpClient.newBuilder().build();\n\n    var payload = String.join(\"\\n\"\n      , \"{\"\n      , \" \\\"transactionReference\\\": \\\"Memory265-13/08/1876\\\",\"\n      , \" \\\"orderReference\\\": \\\"order-12345\\\",\"\n      , \" \\\"merchant\\\": {\"\n      , \"  \\\"entity\\\": \\\"default\\\"\"\n      , \" },\"\n      , \" \\\"instruction\\\": {\"\n      , \"  \\\"method\\\": \\\"card\\\",\"\n      , \"  \\\"paymentInstrument\\\": {\"\n      , \"   \\\"type\\\": \\\"token\\\",\"\n      , \"   \\\"href\\\": \\\"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\\\"\"\n      , \"  },\"\n      , \"  \\\"customerAgreement\\\": {\"\n      , \"   \\\"type\\\": \\\"subscription\\\",\"\n      , \"   \\\"storedCardUsage\\\": \\\"subsequent\\\",\"\n      , \"   \\\"schemeReference\\\": \\\"MCCOLXT1C0104\\\"\"\n      , \"  },\"\n      , \"  \\\"narrative\\\": {\"\n      , \"   \\\"line1\\\": \\\"trading name\\\"\"\n      , \"  },\"\n      , \"  \\\"value\\\": {\"\n      , \"   \\\"currency\\\": \\\"GBP\\\",\"\n      , \"   \\\"amount\\\": 42\"\n      , \"  }\"\n      , \" }\"\n      , \"}\"\n    );\n\n    var host = \"https://try.access.worldpay-bsh.securedataplatform.co.uk\";\n    var pathname = \"/api/payments\";\n    var request = HttpRequest.newBuilder()\n      .POST(HttpRequest.BodyPublishers.ofString(payload))\n      .uri(URI.create(host + pathname ))\n      .header(\"Content-Type\", \"application/json\")\n      .header(\"WP-Api-Version\", \"2024-06-01\")\n      .build();\n\n    var response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());\n\n    System.out.println(response.body());\n  }\n}"},{"lang":"javascript","title":"Node.js","source":"import fetch from 'node-fetch';\n\nasync function run() {\n  const resp = await fetch(\n    `https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments`,\n    {\n      method: 'POST',\n      headers: {\n        'Content-Type': 'application/json',\n        'WP-Api-Version': '2024-06-01'\n      },\n      body: JSON.stringify({\n        transactionReference: 'Memory265-13/08/1876',\n        orderReference: 'order-12345',\n        merchant: {entity: 'default'},\n        instruction: {\n          method: 'card',\n          paymentInstrument: {\n            type: 'token',\n            href: 'https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ'\n          },\n          customerAgreement: {\n            type: 'subscription',\n            storedCardUsage: 'subsequent',\n            schemeReference: 'MCCOLXT1C0104'\n          },\n          narrative: {line1: 'trading name'},\n          value: {\n            currency: 'GBP',\n            amount: 42\n          }\n        }\n      })\n    }\n  );\n\n  const data = await resp.json();\n  console.log(data);\n}\n\nrun();"},{"lang":"go","title":"Go","source":"package main\n\nimport (\n  \"fmt\"\n  \"bytes\"\n  \"net/http\"\n  \"io/ioutil\"\n)\n\nfunc main() {\n  reqUrl := \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\"\n  var data = []byte(`{\n    \"transactionReference\": \"Memory265-13/08/1876\",\n    \"orderReference\": \"order-12345\",\n    \"merchant\": {\n      \"entity\": \"default\"\n    },\n    \"instruction\": {\n      \"method\": \"card\",\n      \"paymentInstrument\": {\n        \"type\": \"token\",\n        \"href\": \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n      },\n      \"customerAgreement\": {\n        \"type\": \"subscription\",\n        \"storedCardUsage\": \"subsequent\",\n        \"schemeReference\": \"MCCOLXT1C0104\"\n      },\n      \"narrative\": {\n        \"line1\": \"trading name\"\n      },\n      \"value\": {\n        \"currency\": \"GBP\",\n        \"amount\": 42\n      }\n    }\n  }`)\n  req, err := http.NewRequest(\"POST\", reqUrl, bytes.NewBuffer(data))\n  if err != nil {\n    panic(err)\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n  req.Header.Add(\"WP-Api-Version\", \"2024-06-01\")\n  res, err := http.DefaultClient.Do(req)\n  if err != nil {\n    panic(err)\n  }\n  defer res.Body.Close()\n  body, err := ioutil.ReadAll(res.Body)\n  if err != nil {\n    panic(err)\n  }\n\n  fmt.Println(res)\n  fmt.Println(string(body))\n}"},{"lang":"php","title":"PHP","source":"/**\n * Requires libcurl\n */\n\n$curl = curl_init();\n\n$payload = array(\n  \"transactionReference\" => \"Memory265-13/08/1876\",\n  \"orderReference\" => \"order-12345\",\n  \"merchant\" => array(\n    \"entity\" => \"default\"\n  ),\n  \"instruction\" => array(\n    \"method\" => \"card\",\n    \"paymentInstrument\" => array(\n      \"type\" => \"token\",\n      \"href\" => \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n    ),\n    \"customerAgreement\" => array(\n      \"type\" => \"subscription\",\n      \"storedCardUsage\" => \"subsequent\",\n      \"schemeReference\" => \"MCCOLXT1C0104\"\n    ),\n    \"narrative\" => array(\n      \"line1\" => \"trading name\"\n    ),\n    \"value\" => array(\n      \"currency\" => \"GBP\",\n      \"amount\" => 42\n    )\n  )\n);\n\ncurl_setopt_array($curl, [\n  CURLOPT_HTTPHEADER => [\n    \"Content-Type: application/json\",\n    \"WP-Api-Version: 2024-06-01\"\n  ],\n  CURLOPT_POSTFIELDS => json_encode($payload),\n  CURLOPT_URL => \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n]);\n\n$response = curl_exec($curl);\n$error = curl_error($curl);\n\ncurl_close($curl);\n\nif ($error) {\n  echo \"cURL Error #:\" . $error;\n} else {\n  echo $response;\n}"},{"lang":"ruby","title":"Ruby","source":"require 'json'\nrequire 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI('https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments')\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest['Content-Type'] = 'application/json'\nrequest['WP-Api-Version'] = '2024-06-01'\nrequest.body = {\n  transactionReference: 'Memory265-13/08/1876',\n  orderReference: 'order-12345',\n  merchant: {entity: 'default'},\n  instruction: {\n    method: 'card',\n    paymentInstrument: {\n      type: 'token',\n      href: 'https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ'\n    },\n    customerAgreement: {\n      type: 'subscription',\n      storedCardUsage: 'subsequent',\n      schemeReference: 'MCCOLXT1C0104'\n    },\n    narrative: {line1: 'trading name'},\n    value: {\n      currency: 'GBP',\n      amount: 42\n    }\n  }\n}.to_json\n\nresponse = http.request(request)\nputs response.read_body\n"},{"lang":"csharp","title":"C#","source":"using System;\nusing System.Net.Http;\nusing System.Threading.Tasks;\nusing System.Text;\nusing System.Text.Json;\n\npublic class Program\n{\n  public static async Task Main()\n  {\n    System.Net.Http.HttpClient client = new()\n    {\n      DefaultRequestHeaders =\n      {\n        {\"WP-Api-Version\", \"2024-06-01\"},\n      }\n    };\n\n    string json = JsonSerializer.Serialize(new\n    {\n      transactionReference = \"Memory265-13/08/1876\",\n      orderReference = \"order-12345\",\n      merchant = new {\n        entity = \"default\"\n      },\n      instruction = new {\n        method = \"card\",\n        paymentInstrument = new {\n          type = \"token\",\n          href = \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n        },\n        customerAgreement = new {\n          type = \"subscription\",\n          storedCardUsage = \"subsequent\",\n          schemeReference = \"MCCOLXT1C0104\"\n        },\n        narrative = new {\n          line1 = \"trading name\"\n        },\n        value = new {\n          currency = \"GBP\",\n          amount = \"42\"\n        }\n      }\n    });\n\n    using StringContent postData = new(json, Encoding.UTF8, \"application/json\");\n    using HttpResponseMessage request = await client.PostAsync(\"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\", postData);\n    string response = await request.Content.ReadAsStringAsync();\n\n    Console.WriteLine(response);\n  }\n}"}]},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Installment","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The request must contain:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"JSON","header":{"controls":{"copy":{}}},"source":"\"customerAgreement\": {\n    \"type\": \"installment\", \n    \"storedCardUsage\": \"subsequent\" \n}\n","lang":"JSON"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"1-basic-request-1","__idx":2},"children":["1. Basic request"]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Plain card","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["schemeReference"]}," must be provided to link the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["first"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subsequent"]}," recurring payment."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../examples/extended/request/request-recurring-installment-subsequent-min.json","language":"js","header":{"controls":{"copy":{}}},"lang":"js","source":"{\n    \"transactionReference\": \"Memory265-13/08/1876\",\n    \"merchant\": {\n        \"entity\": \"default\"\n    },\n    \"instruction\": {\n        \"method\": \"card\",\n        \"paymentInstrument\": {\n            \"type\": \"plain\",\n            \"cardHolderName\": \"Sherlock Holmes\",\n            \"cardNumber\": \"4000000000001091\",\n                \"expiryDate\": {\n                \"month\": 5,\n                \"year\": 2035\n            }\n        },\n        \"customerAgreement\": {\n            \"type\": \"installment\",\n            \"installmentType\": \"merchant\",\n            \"storedCardUsage\":\"subsequent\",\n            \"schemeReference\": \"MCCOLXT1C0104\"\n        },\n        \"narrative\": {\n            \"line1\": \"trading name\"\n        },\n        \"value\": {\n            \"currency\": \"GBP\",\n            \"amount\": 42\n        }\n    }\n}","wrapContents":true},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Token","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If the Worldpay token created as part of the initial agreement is used it will contain the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["schemeReference"]},". Otherwise it must be provided in the request separately to link the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["first"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subsequent"]}," recurring payment."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../examples/extended/request/request-recurring-installment-subsequent-min-token.json","language":"js","header":{"controls":{"copy":{}}},"lang":"js","source":"{\n    \"transactionReference\": \"Memory265-13/08/1876\",\n    \"merchant\": {\n        \"entity\": \"default\"\n    },\n    \"instruction\": {\n        \"method\": \"card\",\n        \"paymentInstrument\": {\n            \"type\": \"token\",\n            \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNC...\"\n        },\n        \"customerAgreement\": {\n            \"type\": \"installment\",\n            \"installmentType\": \"merchant\",\n            \"storedCardUsage\":\"subsequent\",\n            \"schemeReference\": \"MCCOLXT1C0104\"\n        },\n        \"narrative\": {\n            \"line1\": \"trading name\"\n        },\n        \"value\": {\n            \"currency\": \"GBP\",\n            \"amount\": 42\n        }\n    }\n}","wrapContents":true},"children":[]},{"$$mdtype":"Tag","name":"OpenApiCodeSample","attributes":{"descriptionFile":"api-docs-products/payments/@20240601/openapi.yaml","operationId":"payment","exampleKey":"Installment - subsequent(merchant)","parameters":{},"environments":{},"codeSamplesResolved":[{"lang":"json","title":"Payload application/json","source":"{\n  \"transactionReference\": \"Memory265-13/08/1876\",\n  \"orderReference\": \"order-12345\",\n  \"merchant\": {\n    \"entity\": \"default\"\n  },\n  \"instruction\": {\n    \"method\": \"card\",\n    \"paymentInstrument\": {\n      \"type\": \"plain\",\n      \"cardHolderName\": \"Sherlock Holmes\",\n      \"cardNumber\": \"4000000000001091\",\n      \"expiryDate\": {\n        \"month\": 5,\n        \"year\": 2035\n      },\n      \"billingAddress\": {\n        \"address1\": \"221B Baker Street\",\n        \"address2\": \"Marylebone\",\n        \"address3\": \"Westminster\",\n        \"postalCode\": \"SW1 1AA\",\n        \"city\": \"London\",\n        \"state\": \"Greater London\",\n        \"countryCode\": \"GB\"\n      },\n      \"cvc\": \"123\"\n    },\n    \"narrative\": {\n      \"line1\": \"trading name\"\n    },\n    \"value\": {\n      \"currency\": \"GBP\",\n      \"amount\": 42\n    }\n  }\n}"},{"lang":"shell","title":"curl","source":"curl -i -X POST \\\n  https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments \\\n  -H 'Content-Type: application/json' \\\n  -H 'WP-Api-Version: 2024-06-01' \\\n  -d '{\n    \"transactionReference\": \"Memory265-13/08/1876\",\n    \"orderReference\": \"order-12345\",\n    \"merchant\": {\n      \"entity\": \"default\"\n    },\n    \"instruction\": {\n      \"method\": \"card\",\n      \"paymentInstrument\": {\n        \"type\": \"plain\",\n        \"cardHolderName\": \"Sherlock Holmes\",\n        \"cardNumber\": \"4000000000001091\",\n        \"expiryDate\": {\n          \"month\": 5,\n          \"year\": 2035\n        },\n        \"billingAddress\": {\n          \"address1\": \"221B Baker Street\",\n          \"address2\": \"Marylebone\",\n          \"address3\": \"Westminster\",\n          \"postalCode\": \"SW1 1AA\",\n          \"city\": \"London\",\n          \"state\": \"Greater London\",\n          \"countryCode\": \"GB\"\n        },\n        \"cvc\": \"123\"\n      },\n      \"narrative\": {\n        \"line1\": \"trading name\"\n      },\n      \"value\": {\n        \"currency\": \"GBP\",\n        \"amount\": 42\n      }\n    }\n  }'"},{"lang":"python","title":"Python","source":"import requests\n\nurl = \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\"\n\npayload = {\n  \"transactionReference\": \"Memory265-13/08/1876\",\n  \"orderReference\": \"order-12345\",\n  \"merchant\": {\n    \"entity\": \"default\"\n  },\n  \"instruction\": {\n    \"method\": \"card\",\n    \"paymentInstrument\": {\n      \"type\": \"plain\",\n      \"cardHolderName\": \"Sherlock Holmes\",\n      \"cardNumber\": \"4000000000001091\",\n      \"expiryDate\": {\n        \"month\": 5,\n        \"year\": 2035\n      },\n      \"billingAddress\": {\n        \"address1\": \"221B Baker Street\",\n        \"address2\": \"Marylebone\",\n        \"address3\": \"Westminster\",\n        \"postalCode\": \"SW1 1AA\",\n        \"city\": \"London\",\n        \"state\": \"Greater London\",\n        \"countryCode\": \"GB\"\n      },\n      \"cvc\": \"123\"\n    },\n    \"narrative\": {\n      \"line1\": \"trading name\"\n    },\n    \"value\": {\n      \"currency\": \"GBP\",\n      \"amount\": 42\n    }\n  }\n}\n\nheaders = {\n  \"Content-Type\": \"application/json\",\n  \"WP-Api-Version\": \"2024-06-01\"\n}\n\nresponse = requests.post(url, json=payload, headers=headers)\n\ndata = response.json()\nprint(data)"},{"lang":"java","title":"Java","source":"import java.net.*;\nimport java.net.http.*;\nimport java.util.*;\n\npublic class App {\n  public static void main(String[] args) throws Exception {\n    var httpClient = HttpClient.newBuilder().build();\n\n    var payload = String.join(\"\\n\"\n      , \"{\"\n      , \" \\\"transactionReference\\\": \\\"Memory265-13/08/1876\\\",\"\n      , \" \\\"orderReference\\\": \\\"order-12345\\\",\"\n      , \" \\\"merchant\\\": {\"\n      , \"  \\\"entity\\\": \\\"default\\\"\"\n      , \" },\"\n      , \" \\\"instruction\\\": {\"\n      , \"  \\\"method\\\": \\\"card\\\",\"\n      , \"  \\\"paymentInstrument\\\": {\"\n      , \"   \\\"type\\\": \\\"plain\\\",\"\n      , \"   \\\"cardHolderName\\\": \\\"Sherlock Holmes\\\",\"\n      , \"   \\\"cardNumber\\\": \\\"4000000000001091\\\",\"\n      , \"   \\\"expiryDate\\\": {\"\n      , \"    \\\"month\\\": 5,\"\n      , \"    \\\"year\\\": 2035\"\n      , \"   },\"\n      , \"   \\\"billingAddress\\\": {\"\n      , \"    \\\"address1\\\": \\\"221B Baker Street\\\",\"\n      , \"    \\\"address2\\\": \\\"Marylebone\\\",\"\n      , \"    \\\"address3\\\": \\\"Westminster\\\",\"\n      , \"    \\\"postalCode\\\": \\\"SW1 1AA\\\",\"\n      , \"    \\\"city\\\": \\\"London\\\",\"\n      , \"    \\\"state\\\": \\\"Greater London\\\",\"\n      , \"    \\\"countryCode\\\": \\\"GB\\\"\"\n      , \"   },\"\n      , \"   \\\"cvc\\\": \\\"123\\\"\"\n      , \"  },\"\n      , \"  \\\"narrative\\\": {\"\n      , \"   \\\"line1\\\": \\\"trading name\\\"\"\n      , \"  },\"\n      , \"  \\\"value\\\": {\"\n      , \"   \\\"currency\\\": \\\"GBP\\\",\"\n      , \"   \\\"amount\\\": 42\"\n      , \"  }\"\n      , \" }\"\n      , \"}\"\n    );\n\n    var host = \"https://try.access.worldpay-bsh.securedataplatform.co.uk\";\n    var pathname = \"/api/payments\";\n    var request = HttpRequest.newBuilder()\n      .POST(HttpRequest.BodyPublishers.ofString(payload))\n      .uri(URI.create(host + pathname ))\n      .header(\"Content-Type\", \"application/json\")\n      .header(\"WP-Api-Version\", \"2024-06-01\")\n      .build();\n\n    var response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());\n\n    System.out.println(response.body());\n  }\n}"},{"lang":"javascript","title":"Node.js","source":"import fetch from 'node-fetch';\n\nasync function run() {\n  const resp = await fetch(\n    `https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments`,\n    {\n      method: 'POST',\n      headers: {\n        'Content-Type': 'application/json',\n        'WP-Api-Version': '2024-06-01'\n      },\n      body: JSON.stringify({\n        transactionReference: 'Memory265-13/08/1876',\n        orderReference: 'order-12345',\n        merchant: {entity: 'default'},\n        instruction: {\n          method: 'card',\n          paymentInstrument: {\n            type: 'plain',\n            cardHolderName: 'Sherlock Holmes',\n            cardNumber: '4000000000001091',\n            expiryDate: {month: 5, year: 2035},\n            billingAddress: {\n              address1: '221B Baker Street',\n              address2: 'Marylebone',\n              address3: 'Westminster',\n              postalCode: 'SW1 1AA',\n              city: 'London',\n              state: 'Greater London',\n              countryCode: 'GB'\n            },\n            cvc: '123'\n          },\n          narrative: {line1: 'trading name'},\n          value: {\n            currency: 'GBP',\n            amount: 42\n          }\n        }\n      })\n    }\n  );\n\n  const data = await resp.json();\n  console.log(data);\n}\n\nrun();"},{"lang":"go","title":"Go","source":"package main\n\nimport (\n  \"fmt\"\n  \"bytes\"\n  \"net/http\"\n  \"io/ioutil\"\n)\n\nfunc main() {\n  reqUrl := \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\"\n  var data = []byte(`{\n    \"transactionReference\": \"Memory265-13/08/1876\",\n    \"orderReference\": \"order-12345\",\n    \"merchant\": {\n      \"entity\": \"default\"\n    },\n    \"instruction\": {\n      \"method\": \"card\",\n      \"paymentInstrument\": {\n        \"type\": \"plain\",\n        \"cardHolderName\": \"Sherlock Holmes\",\n        \"cardNumber\": \"4000000000001091\",\n        \"expiryDate\": {\n          \"month\": 5,\n          \"year\": 2035\n        },\n        \"billingAddress\": {\n          \"address1\": \"221B Baker Street\",\n          \"address2\": \"Marylebone\",\n          \"address3\": \"Westminster\",\n          \"postalCode\": \"SW1 1AA\",\n          \"city\": \"London\",\n          \"state\": \"Greater London\",\n          \"countryCode\": \"GB\"\n        },\n        \"cvc\": \"123\"\n      },\n      \"narrative\": {\n        \"line1\": \"trading name\"\n      },\n      \"value\": {\n        \"currency\": \"GBP\",\n        \"amount\": 42\n      }\n    }\n  }`)\n  req, err := http.NewRequest(\"POST\", reqUrl, bytes.NewBuffer(data))\n  if err != nil {\n    panic(err)\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n  req.Header.Add(\"WP-Api-Version\", \"2024-06-01\")\n  res, err := http.DefaultClient.Do(req)\n  if err != nil {\n    panic(err)\n  }\n  defer res.Body.Close()\n  body, err := ioutil.ReadAll(res.Body)\n  if err != nil {\n    panic(err)\n  }\n\n  fmt.Println(res)\n  fmt.Println(string(body))\n}"},{"lang":"php","title":"PHP","source":"/**\n * Requires libcurl\n */\n\n$curl = curl_init();\n\n$payload = array(\n  \"transactionReference\" => \"Memory265-13/08/1876\",\n  \"orderReference\" => \"order-12345\",\n  \"merchant\" => array(\n    \"entity\" => \"default\"\n  ),\n  \"instruction\" => array(\n    \"method\" => \"card\",\n    \"paymentInstrument\" => array(\n      \"type\" => \"plain\",\n      \"cardHolderName\" => \"Sherlock Holmes\",\n      \"cardNumber\" => \"4000000000001091\",\n      \"expiryDate\" => array(\n        \"month\" => 5,\n        \"year\" => 2035\n      ),\n      \"billingAddress\" => array(\n        \"address1\" => \"221B Baker Street\",\n        \"address2\" => \"Marylebone\",\n        \"address3\" => \"Westminster\",\n        \"postalCode\" => \"SW1 1AA\",\n        \"city\" => \"London\",\n        \"state\" => \"Greater London\",\n        \"countryCode\" => \"GB\"\n      ),\n      \"cvc\" => \"123\"\n    ),\n    \"narrative\" => array(\n      \"line1\" => \"trading name\"\n    ),\n    \"value\" => array(\n      \"currency\" => \"GBP\",\n      \"amount\" => 42\n    )\n  )\n);\n\ncurl_setopt_array($curl, [\n  CURLOPT_HTTPHEADER => [\n    \"Content-Type: application/json\",\n    \"WP-Api-Version: 2024-06-01\"\n  ],\n  CURLOPT_POSTFIELDS => json_encode($payload),\n  CURLOPT_URL => \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n]);\n\n$response = curl_exec($curl);\n$error = curl_error($curl);\n\ncurl_close($curl);\n\nif ($error) {\n  echo \"cURL Error #:\" . $error;\n} else {\n  echo $response;\n}"},{"lang":"ruby","title":"Ruby","source":"require 'json'\nrequire 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI('https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments')\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest['Content-Type'] = 'application/json'\nrequest['WP-Api-Version'] = '2024-06-01'\nrequest.body = {\n  transactionReference: 'Memory265-13/08/1876',\n  orderReference: 'order-12345',\n  merchant: {entity: 'default'},\n  instruction: {\n    method: 'card',\n    paymentInstrument: {\n      type: 'plain',\n      cardHolderName: 'Sherlock Holmes',\n      cardNumber: '4000000000001091',\n      expiryDate: {month: 5, year: 2035},\n      billingAddress: {\n        address1: '221B Baker Street',\n        address2: 'Marylebone',\n        address3: 'Westminster',\n        postalCode: 'SW1 1AA',\n        city: 'London',\n        state: 'Greater London',\n        countryCode: 'GB'\n      },\n      cvc: '123'\n    },\n    narrative: {line1: 'trading name'},\n    value: {\n      currency: 'GBP',\n      amount: 42\n    }\n  }\n}.to_json\n\nresponse = http.request(request)\nputs response.read_body\n"},{"lang":"csharp","title":"C#","source":"using System;\nusing System.Net.Http;\nusing System.Threading.Tasks;\nusing System.Text;\nusing System.Text.Json;\n\npublic class Program\n{\n  public static async Task Main()\n  {\n    System.Net.Http.HttpClient client = new()\n    {\n      DefaultRequestHeaders =\n      {\n        {\"WP-Api-Version\", \"2024-06-01\"},\n      }\n    };\n\n    string json = JsonSerializer.Serialize(new\n    {\n      transactionReference = \"Memory265-13/08/1876\",\n      orderReference = \"order-12345\",\n      merchant = new {\n        entity = \"default\"\n      },\n      instruction = new {\n        method = \"card\",\n        paymentInstrument = new {\n          type = \"plain\",\n          cardHolderName = \"Sherlock Holmes\",\n          cardNumber = \"4000000000001091\",\n          expiryDate = new {\n            month = \"5\",\n            year = \"2035\"\n          },\n          billingAddress = new {\n            address1 = \"221B Baker Street\",\n            address2 = \"Marylebone\",\n            address3 = \"Westminster\",\n            postalCode = \"SW1 1AA\",\n            city = \"London\",\n            state = \"Greater London\",\n            countryCode = \"GB\"\n          },\n          cvc = \"123\"\n        },\n        narrative = new {\n          line1 = \"trading name\"\n        },\n        value = new {\n          currency = \"GBP\",\n          amount = \"42\"\n        }\n      }\n    });\n\n    using StringContent postData = new(json, Encoding.UTF8, \"application/json\");\n    using HttpResponseMessage request = await client.PostAsync(\"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\", postData);\n    string response = await request.Content.ReadAsStringAsync();\n\n    Console.WriteLine(response);\n  }\n}"}]},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Unscheduled","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The request must contain:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"JSON","header":{"controls":{"copy":{}}},"source":"\"customerAgreement\": {\n    \"type\": \"unscheduled\"\n}\n","lang":"JSON"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"1-basic-request-2","__idx":3},"children":["1. Basic request"]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Plain card","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../examples/extended/request/request-recurring-unscheduled-min.json","language":"js","header":{"controls":{"copy":{}}},"lang":"js","source":"{\n    \"transactionReference\": \"Memory265-13/08/1876\",\n    \"merchant\": {\n        \"entity\": \"default\"\n    },\n    \"instruction\": {\n        \"method\": \"card\",\n        \"paymentInstrument\": {\n            \"type\": \"plain\",\n            \"cardNumber\": \"4000000000001091\",\n                \"expiryDate\": {\n                \"month\": 5,\n                \"year\": 2035\n            }\n        },\n        \"customerAgreement\": {\n            \"type\": \"unscheduled\",\n            \"schemeReference\": \"MCCOLXT1C0104\"\n        },\n        \"narrative\": {\n            \"line1\": \"trading name\"\n        },\n        \"value\": {\n            \"currency\": \"GBP\",\n            \"amount\": 42\n        }\n    }\n}","wrapContents":true},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Token","disable":false},"children":[{"$$mdtype":"Tag","name":"OpenApiCodeSample","attributes":{"descriptionFile":"api-docs-products/payments/@20240601/openapi.yaml","operationId":"payment","exampleKey":"Unscheduled","parameters":{},"environments":{},"codeSamplesResolved":[{"lang":"json","title":"Payload application/json","source":"{\n  \"transactionReference\": \"Memory265-13/08/1876\",\n  \"orderReference\": \"order-12345\",\n  \"merchant\": {\n    \"entity\": \"default\"\n  },\n  \"instruction\": {\n    \"method\": \"card\",\n    \"paymentInstrument\": {\n      \"type\": \"token\",\n      \"href\": \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n    },\n    \"customerAgreement\": {\n      \"type\": \"unscheduled\",\n      \"schemeReference\": \"MCCOLXT1C0104\"\n    },\n    \"narrative\": {\n      \"line1\": \"trading name\"\n    },\n    \"value\": {\n      \"currency\": \"GBP\",\n      \"amount\": 42\n    }\n  }\n}"},{"lang":"shell","title":"curl","source":"curl -i -X POST \\\n  https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments \\\n  -H 'Content-Type: application/json' \\\n  -H 'WP-Api-Version: 2024-06-01' \\\n  -d '{\n    \"transactionReference\": \"Memory265-13/08/1876\",\n    \"orderReference\": \"order-12345\",\n    \"merchant\": {\n      \"entity\": \"default\"\n    },\n    \"instruction\": {\n      \"method\": \"card\",\n      \"paymentInstrument\": {\n        \"type\": \"token\",\n        \"href\": \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n      },\n      \"customerAgreement\": {\n        \"type\": \"unscheduled\",\n        \"schemeReference\": \"MCCOLXT1C0104\"\n      },\n      \"narrative\": {\n        \"line1\": \"trading name\"\n      },\n      \"value\": {\n        \"currency\": \"GBP\",\n        \"amount\": 42\n      }\n    }\n  }'"},{"lang":"python","title":"Python","source":"import requests\n\nurl = \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\"\n\npayload = {\n  \"transactionReference\": \"Memory265-13/08/1876\",\n  \"orderReference\": \"order-12345\",\n  \"merchant\": {\n    \"entity\": \"default\"\n  },\n  \"instruction\": {\n    \"method\": \"card\",\n    \"paymentInstrument\": {\n      \"type\": \"token\",\n      \"href\": \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n    },\n    \"customerAgreement\": {\n      \"type\": \"unscheduled\",\n      \"schemeReference\": \"MCCOLXT1C0104\"\n    },\n    \"narrative\": {\n      \"line1\": \"trading name\"\n    },\n    \"value\": {\n      \"currency\": \"GBP\",\n      \"amount\": 42\n    }\n  }\n}\n\nheaders = {\n  \"Content-Type\": \"application/json\",\n  \"WP-Api-Version\": \"2024-06-01\"\n}\n\nresponse = requests.post(url, json=payload, headers=headers)\n\ndata = response.json()\nprint(data)"},{"lang":"java","title":"Java","source":"import java.net.*;\nimport java.net.http.*;\nimport java.util.*;\n\npublic class App {\n  public static void main(String[] args) throws Exception {\n    var httpClient = HttpClient.newBuilder().build();\n\n    var payload = String.join(\"\\n\"\n      , \"{\"\n      , \" \\\"transactionReference\\\": \\\"Memory265-13/08/1876\\\",\"\n      , \" \\\"orderReference\\\": \\\"order-12345\\\",\"\n      , \" \\\"merchant\\\": {\"\n      , \"  \\\"entity\\\": \\\"default\\\"\"\n      , \" },\"\n      , \" \\\"instruction\\\": {\"\n      , \"  \\\"method\\\": \\\"card\\\",\"\n      , \"  \\\"paymentInstrument\\\": {\"\n      , \"   \\\"type\\\": \\\"token\\\",\"\n      , \"   \\\"href\\\": \\\"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\\\"\"\n      , \"  },\"\n      , \"  \\\"customerAgreement\\\": {\"\n      , \"   \\\"type\\\": \\\"unscheduled\\\",\"\n      , \"   \\\"schemeReference\\\": \\\"MCCOLXT1C0104\\\"\"\n      , \"  },\"\n      , \"  \\\"narrative\\\": {\"\n      , \"   \\\"line1\\\": \\\"trading name\\\"\"\n      , \"  },\"\n      , \"  \\\"value\\\": {\"\n      , \"   \\\"currency\\\": \\\"GBP\\\",\"\n      , \"   \\\"amount\\\": 42\"\n      , \"  }\"\n      , \" }\"\n      , \"}\"\n    );\n\n    var host = \"https://try.access.worldpay-bsh.securedataplatform.co.uk\";\n    var pathname = \"/api/payments\";\n    var request = HttpRequest.newBuilder()\n      .POST(HttpRequest.BodyPublishers.ofString(payload))\n      .uri(URI.create(host + pathname ))\n      .header(\"Content-Type\", \"application/json\")\n      .header(\"WP-Api-Version\", \"2024-06-01\")\n      .build();\n\n    var response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());\n\n    System.out.println(response.body());\n  }\n}"},{"lang":"javascript","title":"Node.js","source":"import fetch from 'node-fetch';\n\nasync function run() {\n  const resp = await fetch(\n    `https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments`,\n    {\n      method: 'POST',\n      headers: {\n        'Content-Type': 'application/json',\n        'WP-Api-Version': '2024-06-01'\n      },\n      body: JSON.stringify({\n        transactionReference: 'Memory265-13/08/1876',\n        orderReference: 'order-12345',\n        merchant: {entity: 'default'},\n        instruction: {\n          method: 'card',\n          paymentInstrument: {\n            type: 'token',\n            href: 'https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ'\n          },\n          customerAgreement: {\n            type: 'unscheduled',\n            schemeReference: 'MCCOLXT1C0104'\n          },\n          narrative: {line1: 'trading name'},\n          value: {\n            currency: 'GBP',\n            amount: 42\n          }\n        }\n      })\n    }\n  );\n\n  const data = await resp.json();\n  console.log(data);\n}\n\nrun();"},{"lang":"go","title":"Go","source":"package main\n\nimport (\n  \"fmt\"\n  \"bytes\"\n  \"net/http\"\n  \"io/ioutil\"\n)\n\nfunc main() {\n  reqUrl := \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\"\n  var data = []byte(`{\n    \"transactionReference\": \"Memory265-13/08/1876\",\n    \"orderReference\": \"order-12345\",\n    \"merchant\": {\n      \"entity\": \"default\"\n    },\n    \"instruction\": {\n      \"method\": \"card\",\n      \"paymentInstrument\": {\n        \"type\": \"token\",\n        \"href\": \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n      },\n      \"customerAgreement\": {\n        \"type\": \"unscheduled\",\n        \"schemeReference\": \"MCCOLXT1C0104\"\n      },\n      \"narrative\": {\n        \"line1\": \"trading name\"\n      },\n      \"value\": {\n        \"currency\": \"GBP\",\n        \"amount\": 42\n      }\n    }\n  }`)\n  req, err := http.NewRequest(\"POST\", reqUrl, bytes.NewBuffer(data))\n  if err != nil {\n    panic(err)\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n  req.Header.Add(\"WP-Api-Version\", \"2024-06-01\")\n  res, err := http.DefaultClient.Do(req)\n  if err != nil {\n    panic(err)\n  }\n  defer res.Body.Close()\n  body, err := ioutil.ReadAll(res.Body)\n  if err != nil {\n    panic(err)\n  }\n\n  fmt.Println(res)\n  fmt.Println(string(body))\n}"},{"lang":"php","title":"PHP","source":"/**\n * Requires libcurl\n */\n\n$curl = curl_init();\n\n$payload = array(\n  \"transactionReference\" => \"Memory265-13/08/1876\",\n  \"orderReference\" => \"order-12345\",\n  \"merchant\" => array(\n    \"entity\" => \"default\"\n  ),\n  \"instruction\" => array(\n    \"method\" => \"card\",\n    \"paymentInstrument\" => array(\n      \"type\" => \"token\",\n      \"href\" => \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n    ),\n    \"customerAgreement\" => array(\n      \"type\" => \"unscheduled\",\n      \"schemeReference\" => \"MCCOLXT1C0104\"\n    ),\n    \"narrative\" => array(\n      \"line1\" => \"trading name\"\n    ),\n    \"value\" => array(\n      \"currency\" => \"GBP\",\n      \"amount\" => 42\n    )\n  )\n);\n\ncurl_setopt_array($curl, [\n  CURLOPT_HTTPHEADER => [\n    \"Content-Type: application/json\",\n    \"WP-Api-Version: 2024-06-01\"\n  ],\n  CURLOPT_POSTFIELDS => json_encode($payload),\n  CURLOPT_URL => \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n]);\n\n$response = curl_exec($curl);\n$error = curl_error($curl);\n\ncurl_close($curl);\n\nif ($error) {\n  echo \"cURL Error #:\" . $error;\n} else {\n  echo $response;\n}"},{"lang":"ruby","title":"Ruby","source":"require 'json'\nrequire 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI('https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments')\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest['Content-Type'] = 'application/json'\nrequest['WP-Api-Version'] = '2024-06-01'\nrequest.body = {\n  transactionReference: 'Memory265-13/08/1876',\n  orderReference: 'order-12345',\n  merchant: {entity: 'default'},\n  instruction: {\n    method: 'card',\n    paymentInstrument: {\n      type: 'token',\n      href: 'https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ'\n    },\n    customerAgreement: {\n      type: 'unscheduled',\n      schemeReference: 'MCCOLXT1C0104'\n    },\n    narrative: {line1: 'trading name'},\n    value: {\n      currency: 'GBP',\n      amount: 42\n    }\n  }\n}.to_json\n\nresponse = http.request(request)\nputs response.read_body\n"},{"lang":"csharp","title":"C#","source":"using System;\nusing System.Net.Http;\nusing System.Threading.Tasks;\nusing System.Text;\nusing System.Text.Json;\n\npublic class Program\n{\n  public static async Task Main()\n  {\n    System.Net.Http.HttpClient client = new()\n    {\n      DefaultRequestHeaders =\n      {\n        {\"WP-Api-Version\", \"2024-06-01\"},\n      }\n    };\n\n    string json = JsonSerializer.Serialize(new\n    {\n      transactionReference = \"Memory265-13/08/1876\",\n      orderReference = \"order-12345\",\n      merchant = new {\n        entity = \"default\"\n      },\n      instruction = new {\n        method = \"card\",\n        paymentInstrument = new {\n          type = \"token\",\n          href = \"https://try.access.developer.com/tokens/eyJrIjoxLCJkIjoialRBL0FFelBzcnZpNCtzRGNRemh0NzI0NE1rdUtjMUFJdjYxVnlibWZuUT0ifQ\"\n        },\n        customerAgreement = new {\n          type = \"unscheduled\",\n          schemeReference = \"MCCOLXT1C0104\"\n        },\n        narrative = new {\n          line1 = \"trading name\"\n        },\n        value = new {\n          currency = \"GBP\",\n          amount = \"42\"\n        }\n      }\n    });\n\n    using StringContent postData = new(json, Encoding.UTF8, \"application/json\");\n    using HttpResponseMessage request = await client.PostAsync(\"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments\", postData);\n    string response = await request.Content.ReadAsStringAsync();\n\n    Console.WriteLine(response);\n  }\n}"}]},"children":[]}]}]}]}]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":3,"cardMinWidth":180},"children":[{"$$mdtype":"Tag","name":"Card","attributes":{"title":"View the full API Request schema","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"center","variant":"filled","to":"/products/payments/openapi/payment"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"2-add-additional-features","__idx":4},"children":["2. Add additional features"]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":4,"cardMinWidth":100},"children":[{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Risk Assessment","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"start","variant":"filled","to":"/products/payments/enable-features/fraud-assessment"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We assess the payment for fraud before proceeding with authorization.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","fontSize":"0.8rem","fontWeight":"bold","color":"var(--wp-colour-black)","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"#E0D5FC"},"children":["Enterprise"]}," ",{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","fontSize":"0.8rem","fontWeight":"bold","color":"var(--wp-colour-black)","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"#A5EFFF"},"children":["Worldpay eCommerce"]}]}]},{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Auto Settlement","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"start","variant":"filled","to":"/products/payments/enable-features/auto-settlement"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Automatically settle a payment following the authorization.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","fontSize":"0.8rem","fontWeight":"bold","color":"var(--wp-colour-black)","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"#E0D5FC"},"children":["Enterprise"]}," ",{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","fontSize":"0.8rem","fontWeight":"bold","color":"var(--wp-colour-black)","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"#A5EFFF"},"children":["Worldpay eCommerce"]}]}]},{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Account Funding Transactions (AFT)","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"start","variant":"filled","to":"/products/payments/enable-features/account-funding-transactions"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Transfer funds from a card account to another destination, rather than for the provision of goods or services.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","fontSize":"0.8rem","fontWeight":"bold","color":"var(--wp-colour-black)","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"#E0D5FC"},"children":["Enterprise"]}]}]},{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Financial Service (MCC 6012/6051)","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"start","variant":"filled","to":"/products/payments/enable-features/financial-services-mcc6012-mcc6051"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For domestic Financial Services providers (MCC 6012) based in the Visa Europe Region, you must supply this additional data."," ",{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","fontSize":"0.8rem","fontWeight":"bold","color":"var(--wp-colour-black)","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"#E0D5FC"},"children":["Enterprise"]}]}]},{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Latin America Installments","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"start","variant":"filled","to":"/products/payments/enable-features/latam-installments"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Fulfill a one-time installment charge, to allow the customer's acquirer bank collecting the payments over time."," ",{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","fontSize":"0.8rem","fontWeight":"bold","color":"var(--wp-colour-black)","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"#E0D5FC"},"children":["Enterprise"]}]}]},{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Payment Facilitator","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"start","variant":"filled","to":"/products/payments/enable-features/payment-facilitator"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facilitate transactions on behalf of your sub-merchants.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","fontSize":"0.8rem","fontWeight":"bold","color":"var(--wp-colour-black)","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"#E0D5FC"},"children":["Enterprise"]}]}]},{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Account Updater","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"start","variant":"filled","to":"/products/payments/enable-features/account-updater"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Automatically update card details to prevent declines due to expired or changed cards."," ",{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","fontSize":"0.8rem","fontWeight":"bold","color":"var(--wp-colour-black)","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"#E0D5FC"},"children":["Enterprise"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"3-response","__idx":5},"children":["3. Response"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Features that change the API flow"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Certain features add additional requests and responses:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/payments/enable-features/fraud-assessment"},"children":["FraudSight"]}," - you may receive a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["201"]}," - ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fraudHighRisk"]}," outcome, stopping the payment"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/payments/enable-features/auto-settlement"},"children":["Auto Settlement"]}," - automatic ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["202"]}," - ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentForSettlement"]}," following authorization.",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If any of the AVS/CVC response riskFactors are marked as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notMatched"]}," the payment will be ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentForCancellation"]}," automatically by default but can be disabled."]}]}]}]}]},{"$$mdtype":"Tag","name":"OpenApiResponseSample","attributes":{"descriptionFile":"api-docs-products/payments/@20240601/openapi.yaml","operationId":"payment","exampleKey":"authorized (basic)","responseSamplesResolved":[{"lang":"json","title":"201 application/json","source":"{\n  \"outcome\": \"authorized\",\n  \"paymentId\": \"payI-dUcet9fk4_X4qZU0hpU0\",\n  \"commandId\": \"cmd026y9Ec-LjjCYkr4NgDvU0\",\n  \"transactionReference\": \"Memory265-13/08/1876\",\n  \"schemeReference\": \"060720116005060\",\n  \"issuer\": {\n    \"authorizationCode\": \"675725\"\n  },\n  \"riskFactors\": [\n    {\n      \"risk\": \"notChecked\",\n      \"type\": \"cvc\"\n    },\n    {\n      \"risk\": \"notChecked\",\n      \"detail\": \"address\",\n      \"type\": \"avs\"\n    },\n    {\n      \"risk\": \"notChecked\",\n      \"detail\": \"postcode\",\n      \"type\": \"avs\"\n    }\n  ],\n  \"paymentInstrument\": {\n    \"type\": \"card/plain+masked\",\n    \"cardBin\": \"400000\",\n    \"lastFour\": \"1000\",\n    \"countryCode\": \"GB\",\n    \"expiryDate\": {\n      \"year\": 2035,\n      \"month\": 5\n    },\n    \"cardBrand\": \"mastercard\",\n    \"fundingType\": \"debit\",\n    \"category\": \"consumer\",\n    \"issuerName\": \"BANK LIMITED\",\n    \"paymentAccountReference\": \"3001DBT34Q41D6J7PFC5W0UACOT4C\"\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ%3D%3D.sN%3Ag8wd64bwkbrp0md%2BbPxcanBnk2zLdsIqSa1pR99GeDrCwEtsymFb5gQw9WlrStDTK3eIWPy93y%3A7njc4649JSrU7%2BvFDl1J36%2BcwOkX0lW4Z%2BfnZKMutoUGX3m1%3AmZ%2BxHZ9nDpadu%2BBh7pRyJwnWeiSFTlqKvbrBxNm3HV0xann55pFjZ7qi4DNGZtx9zW6eOLVNOsPL6ecsn3Dp377s7pWRQKSZJKSFIJvAisP8cBzFPzqireuqfCu5ojcm60gRSsqS3glurO24RJkg5SrpRjgY6g7ca8uoA7tKDk9OVOIwORF5sGPHSSGMa2bEl2lMUkAANoWclQHiGzxWQQ%3AAwSoo6RsrBugbhEp0K8HxZkfVrqy4oVlW8FdQ7kIuZOH78i6pPLzArc%2BOtMdnU%3ArZ%3AVhRHFzbbwymcuTiRbNw%3D\"\n    }\n  },\n  \"_actions\": {\n    \"cancelPayment\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ%3D%3D.sN%3Ag8wd64bwkbrp0md%2BbPxcanBnk2zLdsIqSa1pR99GeDrCwEtsymFb5gQw9WlrStDTK3eIWPy93y%3A7njc4649JSrU7%2BvFDl1J36%2BcwOkX0lW4Z%2BfnZKMutoUGX3m1%3AmZ%2BxHZ9nDpadu%2BBh7pRyJwnWeiSFTlqKvbrBxNm3HV0xann55pFjZ7qi4DNGZtx9zW6eOLVNOsPL6ecsn3Dp377s7pWRQKSZJKSFIJvAisP8cBzFPzqireuqfCu5ojcm60gRSsqS3glurO24RJkg5SrpRjgY6g7ca8uoA7tKDk9OVOIwORF5sGPHSSGMa2bEl2lMUkAANoWclQHiGzxWQQ%3AAwSoo6RsrBugbhEp0K8HxZkfVrqy4oVlW8FdQ7kIuZOH78i6pPLzArc%2BOtMdnU%3ArZ%3AVhRHFzbbwymcuTiRbNw%3D/cancellations\",\n      \"method\": \"POST\"\n    },\n    \"partiallyCancelPayment\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/{linkData}/partialCancellations\",\n      \"method\": \"POST\"\n    },\n    \"settlePayment\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ%3D%3D.sN%3Ag8wd64bwkbrp0md%2BbPxcanBnk2zLdsIqSa1pR99GeDrCwEtsymFb5gQw9WlrStDTK3eIWPy93y%3A7njc4649JSrU7%2BvFDl1J36%2BcwOkX0lW4Z%2BfnZKMutoUGX3m1%3AmZ%2BxHZ9nDpadu%2BBh7pRyJwnWeiSFTlqKvbrBxNm3HV0xann55pFjZ7qi4DNGZtx9zW6eOLVNOsPL6ecsn3Dp377s7pWRQKSZJKSFIJvAisP8cBzFPzqireuqfCu5ojcm60gRSsqS3glurO24RJkg5SrpRjgY6g7ca8uoA7tKDk9OVOIwORF5sGPHSSGMa2bEl2lMUkAANoWclQHiGzxWQQ%3AAwSoo6RsrBugbhEp0K8HxZkfVrqy4oVlW8FdQ7kIuZOH78i6pPLzArc%2BOtMdnU%3ArZ%3AVhRHFzbbwymcuTiRbNw%3D/settlements\",\n      \"method\": \"POST\"\n    },\n    \"partiallySettlePayment\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ%3D%3D.sN%3Ag8wd64bwkbrp0md%2BbPxcanBnk2zLdsIqSa1pR99GeDrCwEtsymFb5gQw9WlrStDTK3eIWPy93y%3A7njc4649JSrU7%2BvFDl1J36%2BcwOkX0lW4Z%2BfnZKMutoUGX3m1%3AmZ%2BxHZ9nDpadu%2BBh7pRyJwnWeiSFTlqKvbrBxNm3HV0xann55pFjZ7qi4DNGZtx9zW6eOLVNOsPL6ecsn3Dp377s7pWRQKSZJKSFIJvAisP8cBzFPzqireuqfCu5ojcm60gRSsqS3glurO24RJkg5SrpRjgY6g7ca8uoA7tKDk9OVOIwORF5sGPHSSGMa2bEl2lMUkAANoWclQHiGzxWQQ%3AAwSoo6RsrBugbhEp0K8HxZkfVrqy4oVlW8FdQ7kIuZOH78i6pPLzArc%2BOtMdnU%3ArZ%3AVhRHFzbbwymcuTiRbNw%3D/partialSettlements\",\n      \"method\": \"POST\"\n    },\n    \"reversePayment\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ%3D%3D.sN%3Ag8wd64bwkbrp0md%2BbPxcanBnk2zLdsIqSa1pR99GeDrCwEtsymFb5gQw9WlrStDTK3eIWPy93y%3A7njc4649JSrU7%2BvFDl1J36%2BcwOkX0lW4Z%2BfnZKMutoUGX3m1%3AmZ%2BxHZ9nDpadu%2BBh7pRyJwnWeiSFTlqKvbrBxNm3HV0xann55pFjZ7qi4DNGZtx9zW6eOLVNOsPL6ecsn3Dp377s7pWRQKSZJKSFIJvAisP8cBzFPzqireuqfCu5ojcm60gRSsqS3glurO24RJkg5SrpRjgY6g7ca8uoA7tKDk9OVOIwORF5sGPHSSGMa2bEl2lMUkAANoWclQHiGzxWQQ%3AAwSoo6RsrBugbhEp0K8HxZkfVrqy4oVlW8FdQ7kIuZOH78i6pPLzArc%2BOtMdnU%3ArZ%3AVhRHFzbbwymcuTiRbNw%3D/reversals\",\n      \"method\": \"POST\"\n    }\n  }\n}"},{"lang":"json","title":"202 application/json","source":"{\n  \"outcome\": \"sentForSettlement\",\n  \"paymentId\": \"payI-dUcet9fk4_X4qZU0hpU0\",\n  \"commandId\": \"cmd026y9Ec-LjjCYkr4NgDvU0\",\n  \"transactionReference\": \"Memory265-13/08/1876\",\n  \"schemeReference\": \"060720116005060\",\n  \"issuer\": {\n    \"authorizationCode\": \"675725\"\n  },\n  \"riskFactors\": [\n    {\n      \"risk\": \"notChecked\",\n      \"type\": \"cvc\"\n    },\n    {\n      \"risk\": \"notChecked\",\n      \"detail\": \"address\",\n      \"type\": \"avs\"\n    },\n    {\n      \"risk\": \"notChecked\",\n      \"detail\": \"postcode\",\n      \"type\": \"avs\"\n    }\n  ],\n  \"paymentInstrument\": {\n    \"type\": \"card/plain+masked\",\n    \"cardBin\": \"400000\",\n    \"lastFour\": \"1000\",\n    \"countryCode\": \"GB\",\n    \"expiryDate\": {\n      \"year\": 2035,\n      \"month\": 5\n    },\n    \"cardBrand\": \"mastercard\",\n    \"fundingType\": \"debit\",\n    \"category\": \"consumer\",\n    \"issuerName\": \"BANK LIMITED\",\n    \"paymentAccountReference\": \"3001DBT34Q41D6J7PFC5W0UACOT4C\"\n  },\n  \"_links\": {\n    \"self\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ%3D%3D.sN%3Ag8wd64bwkbrp0md%2BbPxcanBnk2zLdsIqSa1pR99GeDrCwEtsymFb5gQw9WlrStDTK3eIWPy93y%3A7njc4649JSrU7%2BvFDl1J36%2BcwOkX0lW4Z%2BfnZKMutoUGX3m1%3AmUCGmlXGGNqJmZcIdZa%3Aufi8N9Y8uwrkGtx1suHsSFnXn2PMsm%3AcRBXHzZt3giUlFW6eOLVNOsPL6ecsn3Dp377s7pWRQKSZJKSFIJvAisP8cBzFPzqireuqfCu5ojcm60gRSsqS3glurO24RJkg5SrpRjgY6g7ca8uoA7tKDk9OVOIwORF5sGPHSSGMa2bEl2lMUkAANoWclQHiGzxWQQ2hKYh1GAhFAwfPvBamw%3AisDwI2AuXQ9KT%3AMt9SY%3AfYERqcZ58SBNT3Gkwn1j%2Bkd7LZ%3AVhRHFzbbwymcuTiRbNw%3D\"\n    }\n  },\n  \"_actions\": {\n    \"refundPayment\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ%3D%3D.sN%3Ag8wd64bwkbrp0md%2BbPxcanBnk2zLdsIqSa1pR99GeDrCwEtsymFb5gQw9WlrStDTK3eIWPy93y%3A7njc4649JSrU7%2BvFDl1J36%2BcwOkX0lW4Z%2BfnZKMutoUGX3m1%3AmUCGmlXGGNqJmZcIdZa%3Aufi8N9Y8uwrkGtx1suHsSFnXn2PMsm%3AcRBXHzZt3giUlFW6eOLVNOsPL6ecsn3Dp377s7pWRQKSZJKSFIJvAisP8cBzFPzqireuqfCu5ojcm60gRSsqS3glurO24RJkg5SrpRjgY6g7ca8uoA7tKDk9OVOIwORF5sGPHSSGMa2bEl2lMUkAANoWclQHiGzxWQQ2hKYh1GAhFAwfPvBamw%3AisDwI2AuXQ9KT%3AMt9SY%3AfYERqcZ58SBNT3Gkwn1j%2Bkd7LZ%3AVhRHFzbbwymcuTiRbNw%3D/refunds\",\n      \"method\": \"POST\"\n    },\n    \"partiallyRefundPayment\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ%3D%3D.sN%3Ag8wd64bwkbrp0md%2BbPxcanBnk2zLdsIqSa1pR99GeDrCwEtsymFb5gQw9WlrStDTK3eIWPy93y%3A7njc4649JSrU7%2BvFDl1J36%2BcwOkX0lW4Z%2BfnZKMutoUGX3m1%3AmUCGmlXGGNqJmZcIdZa%3Aufi8N9Y8uwrkGtx1suHsSFnXn2PMsm%3AcRBXHzZt3giUlFW6eOLVNOsPL6ecsn3Dp377s7pWRQKSZJKSFIJvAisP8cBzFPzqireuqfCu5ojcm60gRSsqS3glurO24RJkg5SrpRjgY6g7ca8uoA7tKDk9OVOIwORF5sGPHSSGMa2bEl2lMUkAANoWclQHiGzxWQQ2hKYh1GAhFAwfPvBamw%3AisDwI2AuXQ9KT%3AMt9SY%3AfYERqcZ58SBNT3Gkwn1j%2Bkd7LZ%3AVhRHFzbbwymcuTiRbNw%3D/partialRefunds\",\n      \"method\": \"POST\"\n    },\n    \"reversePayment\": {\n      \"href\": \"https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/eyJrIjoiazNhYjYzMiIsImxpbmtWZXJzaW9uIjoiNS4wLjAifQ%3D%3D.sN%3Ag8wd64bwkbrp0md%2BbPxcanBnk2zLdsIqSa1pR99GeDrCwEtsymFb5gQw9WlrStDTK3eIWPy93y%3A7njc4649JSrU7%2BvFDl1J36%2BcwOkX0lW4Z%2BfnZKMutoUGX3m1%3AmZ%2BxHZ9nDpadu%2BBh7pRyJwnWeiSFTlqKvbrBxNm3HV0xann55pFjZ7qi4DNGZtx9zW6eOLVNOsPL6ecsn3Dp377s7pWRQKSZJKSFIJvAisP8cBzFPzqireuqfCu5ojcm60gRSsqS3glurO24RJkg5SrpRjgY6g7ca8uoA7tKDk9OVOIwORF5sGPHSSGMa2bEl2lMUkAANoWclQHiGzxWQQ%3AAwSoo6RsrBugbhEp0K8HxZkfVrqy4oVlW8FdQ7kIuZOH78i6pPLzArc%2BOtMdnU%3ArZ%3AVhRHFzbbwymcuTiRbNw%3D/partialSettlements\",\n      \"method\": \"POST\"\n    }\n  }\n}"},{"lang":"json","title":"400 application/json","source":"{\n  \"errorName\": \"bodyDoesNotMatchSchema\",\n  \"message\": \"A JSON body matching the expected schema must be provided.\",\n  \"validationErrors\": [\n    {\n      \"errorName\": \"fieldIsNotAllowed\",\n      \"message\": \"Field at path is not allowed.\",\n      \"jsonPath\": \"$.instruction.paymentInstrument.narrative\"\n    }\n  ]\n}"},{"lang":"json","title":"401 application/json","source":"{\n  \"errorName\": \"accessDenied\",\n  \"message\": \"Access to the requested resource has been denied.\"\n}"},{"lang":"json","title":"404 application/json","source":"{\n  \"errorName\": \"endpointNotFound\",\n  \"message\": \"Requested endpoint was not found.\"\n}"},{"lang":"json","title":"406 application/json","source":"{\n  \"errorName\": \"headerIsMissing\",\n  \"message\": \"A valid header must be provided.\",\n  \"headerName\": \"Content-Type\"\n}"},{"lang":"json","title":"415 application/json","source":"{\n  \"errorName\": \"headerHasInvalidValue\",\n  \"message\": \"A valid header must be provided.\"\n}"},{"lang":"json","title":"500 application/json","source":"{\n  \"errorName\": \"internalErrorOccurred\",\n  \"message\": \"We cannot currently process your request. Please contact support.\"\n}"}]},"children":[]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":3,"cardMinWidth":180},"children":[{"$$mdtype":"Tag","name":"Card","attributes":{"title":"View the full API Response schema","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"center","variant":"outlined","to":"/products/payments/openapi/payment/payment#payment/payment/response&c=201"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sequence-diagram","__idx":6},"children":["Sequence diagram"]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Subsequent MIT","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send a Merchant Initiated Transaction (MIT) request for subsequent recurring transactions."]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"\nsequenceDiagram\n    participant Browser\n    participant Merchant_Frontend as Merchant Frontend\n    participant Merchant_Backend as Merchant Backend\n    participant Payments_API as Payments API\n    participant Issuers\n    Browser->>Merchant_Frontend: Click Pay\n    Merchant_Frontend->>Merchant_Backend: Pay \n    Merchant_Backend->>Payments_API: Payment request\n    Note over Merchant_Backend,Payments_API: Set `customerAgreement.type = subscription` <br> `customerAgreement.storedCardUsage = subsequent`\n    Payments_API->>Merchant_Backend: Payment response\n    Merchant_Backend->>Payments_API: Settlement request\n    Payments_API->>Merchant_Backend: Settlement response\n    Merchant_Backend->>Merchant_Frontend: Transaction complete\n    Note left of Merchant_Frontend: Order receipt page\n","diagramHtml":"<svg id=\"diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 1129px;\" viewBox=\"-50 -10 1129 607\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><style>\n    #diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe foreignObject {\n      overflow: visible;\n    }\n  </style><g><rect x=\"879\" y=\"521\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Issuers\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"954\" y=\"553.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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"954\" dy=\"0\">Issuers</tspan></text></g><g><rect x=\"679\" y=\"521\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Payments_API\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"754\" y=\"553.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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"754\" dy=\"0\">Payments API</tspan></text></g><g><rect x=\"424.5\" y=\"521\" fill=\"#eaeaea\" stroke=\"#666\" width=\"153\" height=\"65\" name=\"Merchant_Backend\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"501\" y=\"553.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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"501\" dy=\"0\">Merchant Backend</tspan></text></g><g><rect x=\"201.5\" y=\"521\" fill=\"#eaeaea\" stroke=\"#666\" width=\"155\" height=\"65\" name=\"Merchant_Frontend\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"279\" y=\"553.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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"279\" dy=\"0\">Merchant Frontend</tspan></text></g><g><rect x=\"0\" y=\"521\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Browser\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"553.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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Browser</tspan></text></g><g><line id=\"actor4\" x1=\"954\" y1=\"65\" x2=\"954\" y2=\"521\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Issuers\" data-et=\"life-line\" data-id=\"Issuers\"></line><g id=\"root-4\" data-et=\"participant\" data-type=\"participant\" data-id=\"Issuers\"><rect x=\"879\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Issuers\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"954\" 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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"954\" dy=\"0\">Issuers</tspan></text></g></g><g><line id=\"actor3\" x1=\"754\" y1=\"65\" x2=\"754\" y2=\"521\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Payments_API\" data-et=\"life-line\" data-id=\"Payments_API\"></line><g id=\"root-3\" data-et=\"participant\" data-type=\"participant\" data-id=\"Payments_API\"><rect x=\"679\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Payments_API\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"754\" 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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"754\" dy=\"0\">Payments API</tspan></text></g></g><g><line id=\"actor2\" x1=\"501\" y1=\"65\" x2=\"501\" y2=\"521\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Merchant_Backend\" data-et=\"life-line\" data-id=\"Merchant_Backend\"></line><g id=\"root-2\" data-et=\"participant\" data-type=\"participant\" data-id=\"Merchant_Backend\"><rect x=\"424.5\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"153\" height=\"65\" name=\"Merchant_Backend\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"501\" 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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"501\" dy=\"0\">Merchant Backend</tspan></text></g></g><g><line id=\"actor1\" x1=\"279\" y1=\"65\" x2=\"279\" y2=\"521\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Merchant_Frontend\" data-et=\"life-line\" data-id=\"Merchant_Frontend\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"Merchant_Frontend\"><rect x=\"201.5\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"155\" height=\"65\" name=\"Merchant_Frontend\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"279\" 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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"279\" dy=\"0\">Merchant Frontend</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"521\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Browser\" data-et=\"life-line\" data-id=\"Browser\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"Browser\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Browser\" 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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Browser</tspan></text></g></g><style>#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .error-icon{fill:#552222;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .error-text{fill:#552222;stroke:#552222;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .edge-thickness-normal{stroke-width:1px;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .edge-thickness-thick{stroke-width:3.5px;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .edge-pattern-solid{stroke-dasharray:0;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .edge-pattern-dashed{stroke-dasharray:3;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .edge-pattern-dotted{stroke-dasharray:2;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .marker{fill:#333333;stroke:#333333;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .marker.cross{stroke:#333333;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe p{margin:0;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .actor{stroke:#9370DB;fill:#ECECFF;stroke-width:1;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe rect.note[data-look=\"neo\"]{stroke:#aaaa33;fill:#fff5ad;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe text.actor&gt;tspan{fill:black;stroke:none;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .actor-line{stroke:#9370DB;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [id$=\"-arrowhead\"] path{fill:#333;stroke:#333;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .sequenceNumber{fill:white;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [id$=\"-sequencenumber\"]{fill:#333;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [id$=\"-crosshead\"] path{fill:#333;stroke:#333;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .messageText{fill:#333;stroke:none;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .labelBox{stroke:#9370DB;fill:#ECECFF;filter:none;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .labelText,#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .labelText&gt;tspan{fill:black;stroke:none;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .loopText,#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .loopText&gt;tspan{fill:black;stroke:none;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .sectionTitle,#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .sectionTitle&gt;tspan{fill:black;stroke:none;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#9370DB;fill:#9370DB;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .note{stroke:#aaaa33;fill:#fff5ad;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .noteText,#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .noteText&gt;tspan{fill:black;stroke:none;font-weight:normal;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .activation0{fill:#f4f4f4;stroke:#666;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .activation1{fill:#f4f4f4;stroke:#666;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .activation2{fill:#f4f4f4;stroke:#666;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .actorPopupMenu{position:absolute;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .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-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .actor-man circle,#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe line{fill:#ECECFF;stroke-width:2px;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe g rect.rect{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));stroke:#9370DB;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe .node .neo-node{stroke:#9370DB;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [data-look=\"neo\"].node rect,#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [data-look=\"neo\"].cluster rect,#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-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-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-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-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-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-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-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-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-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-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-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-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-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-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-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-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-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-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-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-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-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><g data-et=\"note\" data-id=\"i3\"><rect x=\"476\" y=\"213\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"303\" height=\"56\" class=\"note\"></rect><text x=\"628\" y=\"218\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"628\">Set `customerAgreement.type = subscription` </tspan></text><text x=\"628\" y=\"236\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"628\"> `customerAgreement.storedCardUsage = subsequent`</tspan></text></g><g data-et=\"note\" data-id=\"i8\"><rect x=\"99\" y=\"463\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"155\" height=\"38\" class=\"note\"></rect><text x=\"177\" y=\"468\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"177\">Order receipt page</tspan></text></g><text x=\"176\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Click Pay</text><line x1=\"76\" y1=\"111\" x2=\"275\" y2=\"111\" class=\"messageLine0\" data-et=\"message\" data-id=\"i0\" data-from=\"Browser\" data-to=\"Merchant_Frontend\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-arrowhead)\" style=\"fill: none;\"></line><text x=\"389\" y=\"126\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Pay</text><line x1=\"280\" y1=\"157\" x2=\"497\" y2=\"157\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"Merchant_Frontend\" data-to=\"Merchant_Backend\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-arrowhead)\" style=\"fill: none;\"></line><text x=\"626\" y=\"172\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Payment request</text><line x1=\"502\" y1=\"203\" x2=\"750\" y2=\"203\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"Merchant_Backend\" data-to=\"Payments_API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-arrowhead)\" style=\"fill: none;\"></line><text x=\"629\" y=\"284\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Payment response</text><line x1=\"753\" y1=\"315\" x2=\"505\" y2=\"315\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"Payments_API\" data-to=\"Merchant_Backend\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-arrowhead)\" style=\"fill: none;\"></line><text x=\"626\" y=\"330\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Settlement request</text><line x1=\"502\" y1=\"361\" x2=\"750\" y2=\"361\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"Merchant_Backend\" data-to=\"Payments_API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-arrowhead)\" style=\"fill: none;\"></line><text x=\"629\" y=\"376\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Settlement response</text><line x1=\"753\" y1=\"407\" x2=\"505\" y2=\"407\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"Payments_API\" data-to=\"Merchant_Backend\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-arrowhead)\" style=\"fill: none;\"></line><text x=\"392\" y=\"422\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Transaction complete</text><line x1=\"500\" y1=\"453\" x2=\"283\" y2=\"453\" class=\"messageLine0\" data-et=\"message\" data-id=\"i7\" data-from=\"Merchant_Backend\" data-to=\"Merchant_Frontend\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-a9f8fd258172d28b014eb9e24baafa42b080b64325a6ced995c642a3a7fd77fe-arrowhead)\" style=\"fill: none;\"></line></svg>","diagramHtmlDark":"<svg id=\"diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 1129px;\" viewBox=\"-50 -10 1129 607\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><style>\n    #diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 foreignObject {\n      overflow: visible;\n    }\n  </style><g><rect x=\"879\" y=\"521\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Issuers\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"954\" y=\"553.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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"954\" dy=\"0\">Issuers</tspan></text></g><g><rect x=\"679\" y=\"521\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Payments_API\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"754\" y=\"553.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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"754\" dy=\"0\">Payments API</tspan></text></g><g><rect x=\"424.5\" y=\"521\" fill=\"#eaeaea\" stroke=\"#666\" width=\"153\" height=\"65\" name=\"Merchant_Backend\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"501\" y=\"553.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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"501\" dy=\"0\">Merchant Backend</tspan></text></g><g><rect x=\"201.5\" y=\"521\" fill=\"#eaeaea\" stroke=\"#666\" width=\"155\" height=\"65\" name=\"Merchant_Frontend\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"279\" y=\"553.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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"279\" dy=\"0\">Merchant Frontend</tspan></text></g><g><rect x=\"0\" y=\"521\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Browser\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"553.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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Browser</tspan></text></g><g><line id=\"actor4\" x1=\"954\" y1=\"65\" x2=\"954\" y2=\"521\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Issuers\" data-et=\"life-line\" data-id=\"Issuers\"></line><g id=\"root-4\" data-et=\"participant\" data-type=\"participant\" data-id=\"Issuers\"><rect x=\"879\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Issuers\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"954\" 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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"954\" dy=\"0\">Issuers</tspan></text></g></g><g><line id=\"actor3\" x1=\"754\" y1=\"65\" x2=\"754\" y2=\"521\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Payments_API\" data-et=\"life-line\" data-id=\"Payments_API\"></line><g id=\"root-3\" data-et=\"participant\" data-type=\"participant\" data-id=\"Payments_API\"><rect x=\"679\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Payments_API\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"754\" 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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"754\" dy=\"0\">Payments API</tspan></text></g></g><g><line id=\"actor2\" x1=\"501\" y1=\"65\" x2=\"501\" y2=\"521\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Merchant_Backend\" data-et=\"life-line\" data-id=\"Merchant_Backend\"></line><g id=\"root-2\" data-et=\"participant\" data-type=\"participant\" data-id=\"Merchant_Backend\"><rect x=\"424.5\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"153\" height=\"65\" name=\"Merchant_Backend\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"501\" 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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"501\" dy=\"0\">Merchant Backend</tspan></text></g></g><g><line id=\"actor1\" x1=\"279\" y1=\"65\" x2=\"279\" y2=\"521\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Merchant_Frontend\" data-et=\"life-line\" data-id=\"Merchant_Frontend\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"Merchant_Frontend\"><rect x=\"201.5\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"155\" height=\"65\" name=\"Merchant_Frontend\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"279\" 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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"279\" dy=\"0\">Merchant Frontend</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"521\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Browser\" data-et=\"life-line\" data-id=\"Browser\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"Browser\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Browser\" 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;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Browser</tspan></text></g></g><style>#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .error-icon{fill:#a44141;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .error-text{fill:#ddd;stroke:#ddd;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .edge-thickness-normal{stroke-width:1px;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .edge-thickness-thick{stroke-width:3.5px;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .edge-pattern-solid{stroke-dasharray:0;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .marker{fill:lightgrey;stroke:lightgrey;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .marker.cross{stroke:lightgrey;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 p{margin:0;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .actor{stroke:#ccc;fill:#1f2020;stroke-width:1;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 text.actor&gt;tspan{fill:lightgrey;stroke:none;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .actor-line{stroke:#ccc;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:lightgrey;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:lightgrey;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [id$=\"-arrowhead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .sequenceNumber{fill:black;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [id$=\"-sequencenumber\"]{fill:lightgrey;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [id$=\"-crosshead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .messageText{fill:lightgrey;stroke:none;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .labelBox{stroke:#ccc;fill:#1f2020;filter:none;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .labelText,#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .labelText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .loopText,#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .loopText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .sectionTitle,#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .sectionTitle&gt;tspan{fill:lightgrey;stroke:none;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#ccc;fill:#ccc;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .note{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .noteText,#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .noteText&gt;tspan{fill:rgb(183.8476190475, 181.5523809523, 181.5523809523);stroke:none;font-weight:normal;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .activation0{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .activation1{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .activation2{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .actorPopupMenu{position:absolute;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .actor-man circle,#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 line{fill:#1f2020;stroke-width:2px;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 g rect.rect{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));stroke:#ccc;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 .node .neo-node{stroke:#ccc;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [data-look=\"neo\"].node rect,#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [data-look=\"neo\"].cluster rect,#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [data-look=\"neo\"].node polygon{stroke:url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [data-look=\"neo\"].node path{stroke:url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-gradient);stroke-width:1px;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [data-look=\"neo\"].node circle{stroke:url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-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-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-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><g data-et=\"note\" data-id=\"i3\"><rect x=\"476\" y=\"213\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"303\" height=\"56\" class=\"note\"></rect><text x=\"628\" y=\"218\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"628\">Set `customerAgreement.type = subscription` </tspan></text><text x=\"628\" y=\"236\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"628\"> `customerAgreement.storedCardUsage = subsequent`</tspan></text></g><g data-et=\"note\" data-id=\"i8\"><rect x=\"99\" y=\"463\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"155\" height=\"38\" class=\"note\"></rect><text x=\"177\" y=\"468\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"177\">Order receipt page</tspan></text></g><text x=\"176\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Click Pay</text><line x1=\"76\" y1=\"111\" x2=\"275\" y2=\"111\" class=\"messageLine0\" data-et=\"message\" data-id=\"i0\" data-from=\"Browser\" data-to=\"Merchant_Frontend\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-arrowhead)\" style=\"fill: none;\"></line><text x=\"389\" y=\"126\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Pay</text><line x1=\"280\" y1=\"157\" x2=\"497\" y2=\"157\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"Merchant_Frontend\" data-to=\"Merchant_Backend\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-arrowhead)\" style=\"fill: none;\"></line><text x=\"626\" y=\"172\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Payment request</text><line x1=\"502\" y1=\"203\" x2=\"750\" y2=\"203\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"Merchant_Backend\" data-to=\"Payments_API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-arrowhead)\" style=\"fill: none;\"></line><text x=\"629\" y=\"284\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Payment response</text><line x1=\"753\" y1=\"315\" x2=\"505\" y2=\"315\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"Payments_API\" data-to=\"Merchant_Backend\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-arrowhead)\" style=\"fill: none;\"></line><text x=\"626\" y=\"330\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Settlement request</text><line x1=\"502\" y1=\"361\" x2=\"750\" y2=\"361\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"Merchant_Backend\" data-to=\"Payments_API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-arrowhead)\" style=\"fill: none;\"></line><text x=\"629\" y=\"376\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Settlement response</text><line x1=\"753\" y1=\"407\" x2=\"505\" y2=\"407\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"Payments_API\" data-to=\"Merchant_Backend\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-arrowhead)\" style=\"fill: none;\"></line><text x=\"392\" y=\"422\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Transaction complete</text><line x1=\"500\" y1=\"453\" x2=\"283\" y2=\"453\" class=\"messageLine0\" data-et=\"message\" data-id=\"i7\" data-from=\"Merchant_Backend\" data-to=\"Merchant_Frontend\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-17e90195b84b86562b5615e0eb961d99295539551f559b4a15619c549bc71e36-arrowhead)\" style=\"fill: none;\"></line></svg>"},"children":["\nsequenceDiagram\n    participant Browser\n    participant Merchant_Frontend as Merchant Frontend\n    participant Merchant_Backend as Merchant Backend\n    participant Payments_API as Payments API\n    participant Issuers\n    Browser->>Merchant_Frontend: Click Pay\n    Merchant_Frontend->>Merchant_Backend: Pay \n    Merchant_Backend->>Payments_API: Payment request\n    Note over Merchant_Backend,Payments_API: Set `customerAgreement.type = subscription` <br> `customerAgreement.storedCardUsage = subsequent`\n    Payments_API->>Merchant_Backend: Payment response\n    Merchant_Backend->>Payments_API: Settlement request\n    Payments_API->>Merchant_Backend: Settlement response\n    Merchant_Backend->>Merchant_Frontend: Transaction complete\n    Note left of Merchant_Frontend: Order receipt page\n"]}]}]}]},"headings":[{"value":"Subsequent recurring payment","id":"subsequent-recurring-payment","depth":1},{"value":"1. Basic request","id":"1-basic-request","depth":2},{"value":"1. Basic request","id":"1-basic-request-1","depth":2},{"value":"1. Basic request","id":"1-basic-request-2","depth":2},{"value":"2. Add additional features","id":"2-add-additional-features","depth":2},{"value":"3. Response","id":"3-response","depth":2},{"value":"Sequence diagram","id":"sequence-diagram","depth":2}],"frontmatter":{"seo":{"title":"Subsequent recurring payment | Payments API"},"markdown":{"toc":{"hide":true}}},"lastModified":"2026-05-12T11:56:42.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/payments/recurring-subsequent","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}