{"templateId":"markdown","versions":[{"version":"v5","label":"v5","link":"/products/card-payments/v5/features/l2-l3-purchasing","default":false,"active":false,"folderId":"5e391095"},{"version":"v6","label":"v6","link":"/products/card-payments/v6/features/l2-l3-purchasing","default":false,"active":false,"folderId":"5e391095"},{"version":"v7","label":"v7 (Latest)","link":"/products/card-payments/features/l2-l3-purchasing","default":true,"active":true,"folderId":"5e391095"}],"sharedDataIds":{"sidebar":"sidebar-products/card-payments/sidebars.yaml","current-catalog-info":"current-catalog-info-/products/card-payments/openapi"},"props":{"metadata":{"markdoc":{"tagList":["json-schema"]},"custom_product":"Card Payments","type":"markdown"},"seo":{"title":"Corporate Purchasing Data (Level 2 / Level 3) | Card 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.com/access","image":"/access/assets/worldpay-logo-light.21b7daf79984773a9fcd7d4fbcb07ae5289dfffd6023c4c3dca720c7058e53dc.33f780a6.svg","keywords":"documentation, api, openapi, sdks, developer, payments, json, payouts, 3ds","jsonLd":{"@context":"https://schema.org","@type":"Organization","url":"https://docs.worldpay.com/access","name":"Worldpay"},"meta":[{"name":"google-site-verification","content":"zjziIKaP3ImsqsfhYnEBnq1R85UabiSwl7HTXuwtZuo"},{"name":"doc_product","content":"Access"},{"name":"doc_category","content":"Documentation"}],"llmstxt":{"hide":false,"sections":[{"title":"Payments API","description":"Payment orchestration API combining fraud assessment, 3ds authentication, SCA exemptions, Worldpay Token creation and a card or wallet based payment.","includeFiles":["products/payments/@20240601/**/*"],"excludeFiles":[]},{"title":"Payment Queries API","description":"Querying your payments data, based on a variety of parameters.","includeFiles":["products/payment-queries/@v1/**/*"],"excludeFiles":[]},{"title":"Card BIN Data API","description":"Provides detailed information about a card.","includeFiles":["products/card-bin/@v1/**/*"],"excludeFiles":[]},{"title":"3DS Authentication API","description":"Request 3DS authentication to protect against fraud, be SCA compliant and to shift liability using this standalone API.","includeFiles":["products/3ds/@v3/**/*"],"excludeFiles":[]},{"title":"FraudSight API","description":"Request a risk assessment and receive a response with an outcome (e.g. lowRisk) using this standalone API.","includeFiles":["products/fraudsight/@v1/**/*"],"excludeFiles":[]},{"title":"Checkout SDK","description":"Integrate using our clientside SDKs for both web and native devices. Benefit from SAQ-A/PCI-SSF compliance.","includeFiles":["products/checkout/web/@v2/**/*","products/checkout/ios/@v4/**/*","products/checkout/android/@v4/**/*","products/checkout/react-native/@v3/**/*","products/checkout/flutter/@v1/**/*"],"excludeFiles":[]},{"title":"Tokens API","description":"Minimizes the exposure of sensitive card details and increases the security of your customer's card details.","includeFiles":["products/tokens/@v3/**/*"],"excludeFiles":[]},{"title":"Card Payments API","description":"Request a card payment using this standalone API, requires separate requests for 3DS, Fraud assessment etc.","includeFiles":["products/card-payments/@v7/**/*"],"excludeFiles":[]},{"title":"Card Verifications API","description":"Verify your customer's card to maximize your authentication rates.","includeFiles":["products/card-verifications/@v6/**/*"],"excludeFiles":[]},{"title":"Account Payouts API","description":"Send funds to your customer's bank accounts and search for payouts using parameters.","includeFiles":["products/account-payouts/@20250101/**/*"],"excludeFiles":[]},{"title":"APMs","description":"Pay using eWallets, bank transfers, direct debits, local card schemes, Postpay and eInvoice/ Buy Now Pay Later.","includeFiles":["products/apms/@20240701/**/*"],"excludeFiles":[]},{"title":"Balance API","description":"Request your account details for a single account or all accounts under an entity.","includeFiles":["products/balance/@20250101/**/*"],"excludeFiles":[]},{"title":"Card Payouts API","description":"Send funds to your customer's cards.","includeFiles":["products/card-payouts/@v4/**/*"],"excludeFiles":[]},{"title":"Events (Webhooks)","description":"Receive status updates from Access Worldpay by setting up a webhook.","includeFiles":["products/events/@v1/**/*"],"excludeFiles":[]},{"title":"FX API","description":"Manage Foreign Exchange (FX) on your payments.","includeFiles":["products/fx/@v1/**/*"],"excludeFiles":[]},{"title":"Hosted Payment Pages (HPP) API","description":"Our low-code option to take payments securely at the lowest PCI compliance level - SAQ A.","includeFiles":["products/hosted-payment-pages/@v1/**/*"],"excludeFiles":[]},{"title":"Money Transfers API","description":"Money Transfer OCTs (Original Credit Transaction) allow funds to be pushed to an eligible card in 30 minutes or less.","includeFiles":["products/money-transfers/@v1/**/*"],"excludeFiles":[]},{"title":"Parties API","description":"Create parties, manage your payout instruments and beneficial owners and carry out identity verification checks.","includeFiles":["products/parties/@20250101/**/*"],"excludeFiles":[]},{"title":"SCA Exemptions API","description":"Maximize a frictionless checkout experience by using issuer data insights to apply exemptions.","includeFiles":["products/sca-exemptions/@v1/**/*"],"excludeFiles":[]},{"title":"Split Payments API","description":"Divide funds from a single payment amongst yourself and your parties/sellers.","includeFiles":["products/split-payments/@20250625/**/*"],"excludeFiles":[]},{"title":"Statements API","description":"Retrieve your account statement and see individual entries for all credits and debits.","includeFiles":["products/statements/@20250101/**/*"],"excludeFiles":[]},{"title":"Transfers API","description":"Transfer funds from source account to target account.","includeFiles":["products/transfers/@20250101/**/*"],"excludeFiles":[]},{"title":"Verified Tokens API","description":"Verified Tokens ensures that your customer's payment details are valid and CIT compliant when creating a token.","includeFiles":["products/verified-tokens/@v3/**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":["openapi"],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"corporate-purchasing-data-level-2--level-3","__idx":0},"children":["Corporate purchasing data (level 2 / level 3)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Submit additional order, tax, and line item data in your payment authorization and settlement requests where your customer is using a commercial or purchasing card."]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"b","attributes":{},"children":["Benefits"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"style":{"width":"290px"}},"children":["Benefit"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Reduced interchange fees"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["If you are a US based merchant, you can qualify for lower interchange fees on transactions by providing additional order-specific data, such as tax reference, product code or sales tax amount. Card networks often offer lower rates for transactions with enhanced data, reducing processing costs."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enhanced fraud detection"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Detailed transaction data allows card networks to better authenticate purchases, reducing fraud and chargeback rates."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Improved dispute management"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["With comprehensive transaction details, card networks can better handle and resolve disputes. This reduces the time and effort you spend managing chargebacks and can lead to faster resolutions."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Increased customer trust and satisfaction"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Providing enhanced data improves transaction transparency, giving customers more confidence in their purchases. It also leads to more accurate transaction records on your customer's statements, minimizing confusion or disputes."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Compliance with industry standards"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Card networks increasingly require detailed transaction data to maintain compliance with industry standards and processing requirements."]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"pre-requisites","__idx":1},"children":["Pre-requisites"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To benefit from sending level 2 and level 3 data, the following must apply to your transaction:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"mastercard","__idx":2},"children":["Mastercard"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["transaction must be taxable"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["tax must be between 0.1% and 30% of the transaction amount"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["for level 3 the transaction must use a corporate, business or purchasing card"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["for level 3 at least one line item must be included"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"visa","__idx":3},"children":["Visa"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["transaction must be taxable"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["tax must be between 0.1% and 22% of the transaction amount"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["for level 3 the transaction must use a corporate or purchasing card"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"parameters","__idx":4},"children":["Parameters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can submit Level 2 and level 3 data within the following root-level objects in the following endpoints:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/cardPayments/customerInitiatedTransactions"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/cardPayments/merchantInitiatedTransactions"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/payments/settlements/full/{linkData}"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/payments/settlements/partials/{linkData}"]}]}]},{"$$mdtype":"Tag","name":"JsonSchema","attributes":{"schema":{"type":"object","title":"level","properties":{"shipping":{"$ref":"../openapi.yaml#/components/schemas/shipping"},"merchant":{"type":"object","properties":{"taxReference":{"$ref":"../openapi.yaml#/components/schemas/taxReference"}}},"order":{"$ref":"../openapi.yaml#/components/schemas/order"},"customer":{"type":"object","description":"Additional customer data.","properties":{"reference":{"type":"string","description":"Merchant-generated customer reference."}}}}},"options":{"schemaExpansionLevel":3},"schemaResolved":{"openapi":"3.1.0","components":{"schemas":{"__root":{"type":"object","title":"level","properties":{"shipping":{"$ref":"#/components/schemas/shipping"},"merchant":{"type":"object","properties":{"taxReference":{"$ref":"#/components/schemas/taxReference"}}},"order":{"$ref":"#/components/schemas/order"},"customer":{"type":"object","description":"Additional customer data.","properties":{"reference":{"type":"string","description":"Merchant-generated customer reference."}}}}},"shipping":{"type":"object","description":"An object containing shipping details.","properties":{"sender":{"type":"object","properties":{"address":{"type":"object","description":"An object containing sender's (shipped from) address.","properties":{"postalCode":{"maxLength":10,"minLength":1,"pattern":"^[a-zA-Z0-9 ]*$","type":"string"}}}}},"recipient":{"type":"object","properties":{"address":{"type":"object","description":"An object containing recipient's shipping address.","properties":{"countryCode":{"maxLength":2,"minLength":2,"pattern":"^[A-Z]*$","type":"string"},"postalCode":{"maxLength":10,"minLength":1,"pattern":"^[a-zA-Z0-9 ]*$","type":"string"}}}}}}},"taxReference":{"maxLength":20,"minLength":1,"pattern":"^(?!\\s*$)[a-zA-Z0-9\\s-]*$","type":"string","description":"Merchant's tax reference."},"order":{"type":"object","description":"An object containing details about the order.","properties":{"taxExempt":{"type":"boolean","description":"A flag to indicate whether the purchase is exempt from tax. Must be set to `true` if `order.salesTax` is 0."},"orderDate":{"type":"object","description":"Date of the order.","properties":{"day":{"type":"integer"},"month":{"type":"integer"},"year":{"type":"integer"}},"required":["day","month","year"]},"items":{"description":"Array of order items. You can send up to 99 individual order objects within this array.","items":{"type":"object","required":["name"],"properties":{"commodityCode":{"maxLength":12,"minLength":1,"type":"string","description":"Commodity code as defined by the National Institute of Governmental Purchasing.","pattern":"^[A-Za-z0-9@!£*#$)(-+_=.,/;:'\"]{1,12}$","example":"ABC123@#"},"totalTaxAmount":{"type":"integer","description":"Total tax amount for the item(s)."},"unitCost":{"type":"integer","description":"The price of one unit of the item purchased."},"totalAmount":{"type":"integer","description":"Total cost of the item(s) including tax."},"totalAmountNoTax":{"type":"integer","description":"Total cost of the item(s) excluding tax."},"unitOfMeasure":{"maxLength":8,"minLength":1,"type":"string","description":"The unit of measure of the purchased item. Explains how to interpret `items.quantity` field, e.g. quantity = 15, unitOfMeasure = kg.","pattern":"^[A-Za-z0-9@!£*#$)(+_=.,/;:'\"-]{1,8}$"},"name":{"maxLength":26,"minLength":1,"type":"string","description":"Name of the item(s).","pattern":"^[A-Za-z0-9 @!£*#$)(+_=.,/;:'\"-]{1,26}$"},"quantity":{"type":"integer","description":"Number of items purchased."},"productCode":{"maxLength":12,"minLength":1,"type":"string","description":"Merchant defined product code.","pattern":"^[A-Za-z0-9@!£*#\\$)(+_=.,/;:'\"-]{1,12}$"},"totalDiscountAmount":{"type":"integer","description":"Total discount amount for the item(s)."}}},"type":"array"},"dutyAmount":{"type":"integer","description":"Total amount of duty costs for the order."},"salesTax":{"type":"integer","description":"Total amount of sales tax for the order. Must be provided if `merchant.taxReference` is supplied."},"shippingAmount":{"type":"integer","description":"Total amount of shipping costs for the order."},"invoiceReference":{"maxLength":15,"minLength":1,"type":"string","description":"Invoice reference for the order.","pattern":"^[A-Za-z0-9 @!£*#\\$)\\(+_=.,/;:'\"-]{1,15}$"},"discountAmount":{"type":"integer","description":"Total amount of discounts for the order."}}}}}},"schemaResolvedErrors":[]},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"level-2-data","__idx":5},"children":["Level 2 data"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To qualify for level 2, you must send at a minimum:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["merchant.taxReference"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["customer.reference"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order.salesTax"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order.taxExempt"]}," if ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order.salesTax"]}," is 0."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"level-3-data","__idx":6},"children":["Level 3 data"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To qualify for level 3, you must send level 2 data and at a minimum:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order.discountAmount"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order.shippingAmount"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order.dutyAmount"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order.items"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"code-example","__idx":7},"children":["Code example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"merchant\": {\n        \"taxReference\": \"VAT1999292\",\n    },\n    \"shipping\": {\n        \"recipient\": {\n            \"address\": {\n                \"postalCode\": \"NW1 6XE\",\n                \"countryCode\": \"GB\"\n            }\n        },\n        \"sender\": {\n            \"address\": {\n                \"postalCode\": \"NW1 6XE\"\n            }\n        }\n    },\n    \"customer\": {\n        \"reference\": \"CUST00000001\"\n    },\n    \"order\": {\n        \"invoiceReference\": \"INV000123451\",\n        \"salesTax\": 3500,\n        \"discountAmount\": 400,\n        \"shippingAmount\": 150,\n        \"dutyAmount\": 325,\n        \"orderDate\": {\n            \"day\": 1,\n            \"month\": 3,\n            \"year\": 2024\n        },\n        \"taxExempt\": false,\n        \"items\": [\n            {\n                \"productCode\": \"fff-1223\",\n                \"commodityCode\": \"ABC123\",\n                \"name\": \"Red Hat\",\n                \"quantity\": 4,\n                \"unitCost\": 3500,\n                \"unitOfMeasure\": \"kg\",\n                \"totalAmountNoTax\": 2000,\n                \"totalTaxAmount\": 2000,\n                \"totalAmount\": 2000,\n                \"totalDiscountAmount\": 2000\n            }\n        ]\n    }\n}\n","lang":"json"},"children":[]}]},"headings":[{"value":"Corporate purchasing data (level 2 / level 3)","id":"corporate-purchasing-data-level-2--level-3","depth":1},{"value":"Pre-requisites","id":"pre-requisites","depth":2},{"value":"Mastercard","id":"mastercard","depth":4},{"value":"Visa","id":"visa","depth":4},{"value":"Parameters","id":"parameters","depth":2},{"value":"Level 2 data","id":"level-2-data","depth":3},{"value":"Level 3 data","id":"level-3-data","depth":3},{"value":"Code example","id":"code-example","depth":2}],"frontmatter":{"seo":{"title":"Corporate Purchasing Data (Level 2 / Level 3) | Card Payments API"}},"lastModified":"2025-09-22T09:15:26.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/card-payments/features/l2-l3-purchasing","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}