On This Page
Example: Unified Checkout Complete Capture
Context
Unified Checkout
Complete Capture
ContextCapture Context Request
{ "country": "US" "locale": "en_GB", "targetOrigins": [ "https://merchant.com", "https://reseller.com:8443" ], "clientVersion": "0.34", "allowedCardNetworks": [ "VISA", "MASTERCARD", "AMEX" ], "captureMandate": { "billingType": "FULL", "requestEmail": true, "requestPhone": true, "requestShipping": true, "shipToCountries": [ "US", "GB" ], "showAcceptedNetworkIcons": true }, "completeMandate": { "type": "PREFER_AUTH", "decisionManager": true, "consumerAuthentication": true, "tms": { "tokenCreate": true, "tokenTypes": [ "customer", "paymentInstrument", "instrumentIdentifier", "shippingAddress" ] } }, "allowedPaymentTypes": [ "PANENTRY", "CLICKTOPAY", "APPLEPAY", "GOOGLEPAY" ], "data": { "orderInformation": { "amountDetails": { "totalAmount": "102.21", "currency": "USD", "surcharge": { "amount": "2.50" }, "discountAmount": "2.00", "serviceFeeAmount": "5.00", "taxAmount": "10.00" }, "billTo": { "address1": "string", "address2": "string", "address3": "string", "address4": "string", "administrativeArea": "st", "buildingNumber": "string", "country": "US", "district": "string", "locality": "string", "postalCode": "string", "company": { "name": "Visa Inc", "address1": "900 Metro Center Blvd", "address2": "address2", "address3": "address3", "address4": "address4", "administrativeArea": "CA", "buildingNumber": "1", "country": "US", "district": "district", "locality": "Foster City", "postalCode": "94404" }, "email": "test@test.com", "firstName": "string", "lastName": "string", "middleName": "string", "nameSuffix": "string", "title": "string", "phoneNumber": "string", "phoneType": "string" }, "shipTo": { "address1": "string", "address2": "string", "address3": "string", "address4": "string", "administrativeArea": "st", "buildingNumber": "string", "country": "US", "district": "string", "locality": "string", "postalCode": "string", "firstName": "string", "lastName": "string" }, "lineItems": [ { "productCode": "string", "productName": "string", "productSku": "string", "quantity": 2, "unitPrice": "string", "unitOfMeasure": "string", "totalAmount": "string", "taxAmount": "string", "taxRate": "string", "taxAppliedAfterDiscount": "y", "taxStatusIndicator": "N", "taxTypeCode": "1234", "amountIncludesTax": true, "typeOfSupply": "12", "commodityCode": "string", "discountAmount": "string", "discountApplied": true, "discountRate": "string", "invoiceNumber": "string", "taxDetails": [ { "type": "string", "amount": "string", "rate": "string", "code": "1234", "taxId": "string", "applied": true, "exemptionCode": "1" } ], "fulfillmentType": "string", "weight": "string", "weightIdentifier": "N", "weightUnit": "mg", "referenceDataCode": "string", "referenceDataNumber": "string", "unitTaxAmount": "string", "productDescription": "string", "giftCardCurrency": "USD", "shippingDestinationTypes": "", "gift": false, "passenger": { "type": "string", "status": "string", "phone": "string", "firstName": "string", "lastName": "string", "id": "string", "email": "string", "nationality": "US" } } ] }, "buyerInformation": { "personalIdentification": { "cpf": "12345678900" }, "merchantCustomerId": "string", "companyTaxId": "string" }, "clientReferenceInformation": { "code": "TAGX001", "partner": { "developerId": "1234", "solutionId": "4567" } }, "consumerAuthenticationInformation": { "challengeCode": "01", "messageCategory": "01" }, "merchantInformation": { "merchantDescriptor": { "name": "Jane Sales" } }, "processingInformation": { "reconciliationId": "01234567", "authorizationOptions": { "aftIndicator": true, "initiator": { "credentialStoredOnFile": true, "merchantInitiatedTransaction": { "reason": "1" } } }, "businessApplicationId": "AA" }, "recipientInformation": { "firstName": "John", "middleName": "A", "lastName": "Buyer", "country": "GB", "accountId": "acc0123567", "administrativeArea": "GB", "accountType": "01" }, "merchantDefinedInformation": [ { "key": "1", "value": "12345" }, { "key": "2", "value": "67890" }, { "key": "3", "value": "DISCOUNT20" } ] } }