# Validate Cart Details

<mark style="color:green;">`POST`</mark> `https://{base_url}/v2/merchant/cartValidation`

The **Request Body** must be an array containing exactly one object. This object includes the details of the transaction and payment information.

This endpoint is used to validate the transaction details provided in a cart. It performs both general validation and mandatory field checks on the transaction data. The endpoint returns a success message if all validations pass, or detailed error messages if any validations fail.

### **Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

### **Body**

<table data-full-width="true"><thead><tr><th>Name</th><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td><code>arn</code></td><td>String</td><td>False</td><td>Alphanumeric string with a maximum length of 24 characters.</td></tr><tr><td><code>orderId</code></td><td>String</td><td>False</td><td>Order ID with a maximum length of 25 characters.</td></tr><tr><td><code>orderDate</code></td><td>String</td><td>False</td><td>The date of the order in ISO 8601 format. Must be a string and cannot exceed 20 characters.</td></tr><tr><td><code>paymentDescriptor</code></td><td>String</td><td>False</td><td>Descriptor for the payment, with a maximum length of 25 characters.</td></tr><tr><td><code>authorizationCode</code></td><td>String</td><td>False</td><td>Alphanumeric code with a maximum length of 6 characters.</td></tr><tr><td><code>authorizationDate</code></td><td>String</td><td>False</td><td>The date of authorization in ISO 8601 format. Must be a string and cannot exceed 25 characters.</td></tr><tr><td><code>authorizationCurrency</code></td><td>String</td><td>False</td><td>The currency of the authorization. Must be a string and cannot exceed 3 characters.</td></tr><tr><td><code>authorizationAmount</code></td><td>Number</td><td>False</td><td>The amount of the authorization. Must be a decimal value with up to 2 decimal places, and cannot exceed 13 characters.</td></tr><tr><td><code>settlementDate</code></td><td>String</td><td>False</td><td>The date of settlement in ISO 8601 format. Must be a string and cannot exceed 25 characters.</td></tr><tr><td><code>settlementCurrency</code></td><td>String</td><td>False</td><td>The currency of the settlement. Must be a string and cannot exceed 3 characters.</td></tr><tr><td><code>settleAmount</code></td><td>Number</td><td>False</td><td>The amount of the settlement. Must be a decimal value with up to 2 decimal places, and cannot exceed 13 characters.</td></tr><tr><td><code>creditCardBin</code></td><td>String</td><td>False</td><td>The first 6 digits of the credit card number. Must be exactly 6 characters.</td></tr><tr><td><code>creditCardLastFour</code></td><td>String</td><td>False</td><td>The last 4 digits of the credit card number. Must be exactly 4 characters.</td></tr><tr><td><code>details</code></td><td>Object</td><td>False</td><td>Additional details related to the transaction.</td></tr><tr><td><code>details.transactionDetail</code></td><td>Object</td><td>False</td><td>Specific transaction details.</td></tr><tr><td><code>details.transactionDetail.taxAmount</code></td><td>Array</td><td>False</td><td>Array containing tax amounts.</td></tr><tr><td><code>details.transactionDetail.taxAmountCurrency</code></td><td>Array</td><td>False</td><td>Array containing tax amount currencies.</td></tr><tr><td><code>details.transactionDetail.shippingAndHandlingAmount</code></td><td>Array</td><td>False</td><td>Array containing shipping and handling amounts.</td></tr><tr><td><code>details.transactionDetail.shippingAndHandlingCurrency</code></td><td>Array</td><td>False</td><td>Array containing shipping and handling amount currencies.</td></tr><tr><td><code>details.transactionDetail.totalAmount</code></td><td>Number</td><td>False</td><td>The total amount of the transaction.</td></tr><tr><td><code>details.transactionDetail.totalAmountCurrency</code></td><td>String</td><td>False</td><td>The currency of the total amount.</td></tr><tr><td><code>details.transactionDetail.billingAddressDetails</code></td><td>Object</td><td>False</td><td>Object containing billing address details.</td></tr><tr><td><code>details.transactionDetail.billingAddressDetails.address</code></td><td>Array</td><td>False</td><td>Array containing billing address lines.</td></tr><tr><td><code>details.transactionDetail.billingAddressDetails.city</code></td><td>String</td><td>False</td><td>The city of the billing address.</td></tr><tr><td><code>details.transactionDetail.billingAddressDetails.state</code></td><td>String</td><td>False</td><td>The state of the billing address.</td></tr><tr><td><code>details.transactionDetail.billingAddressDetails.zip</code></td><td>String</td><td>False</td><td>The ZIP code of the billing address.</td></tr><tr><td><code>details.transactionDetail.billingAddressDetails.country</code></td><td>String</td><td>False</td><td>The country of the billing address.</td></tr><tr><td><code>details.transactionDetail.shippingAddressDetails</code></td><td>Array</td><td>False</td><td>Array containing shipping address details.</td></tr><tr><td><code>details.transactionDetail.avsChecked</code></td><td>Boolean</td><td>False</td><td>Whether AVS was checked or not.</td></tr><tr><td><code>details.transactionDetail.cvvChecked</code></td><td>Boolean</td><td>False</td><td>Whether CVV was checked or not.</td></tr><tr><td><code>details.transactionDetail.refundAmount</code></td><td>Number</td><td>False</td><td>The amount refunded.</td></tr><tr><td><code>details.transactionDetail.refundCurrency</code></td><td>String</td><td>False</td><td>The currency of the refund amount.</td></tr><tr><td><code>details.transactionDetail.dateOfRefund</code></td><td>String</td><td>False</td><td>The date of the refund in ISO 8601 format.</td></tr><tr><td><code>details.transactionDetail.deviceName</code></td><td>String</td><td>False</td><td>The name of the device used for the transaction.</td></tr><tr><td><code>details.transactionDetail.deviceId</code></td><td>String</td><td>False</td><td>The ID of the device used for the transaction.</td></tr><tr><td><code>details.transactionDetail.ipAddress</code></td><td>String</td><td>False</td><td>The IP address of the device used for the transaction.</td></tr><tr><td><code>details.transactionDetail.termsAndConditions</code></td><td>String</td><td>False</td><td>URL to the terms and conditions.</td></tr><tr><td><code>details.customerInformation</code></td><td>Object</td><td>False</td><td>Object containing customer information.</td></tr><tr><td><code>details.customerInformation.firstName</code></td><td>String</td><td>False</td><td>The first name of the customer.</td></tr><tr><td><code>details.customerInformation.lastName</code></td><td>String</td><td>False</td><td>The last name of the customer.</td></tr><tr><td><code>details.customerInformation.lengthOfRelationship</code></td><td>String</td><td>False</td><td>The length of the relationship with the customer.</td></tr><tr><td><code>details.customerInformation.emailAddress</code></td><td>String</td><td>False</td><td>The email address of the customer.</td></tr><tr><td><code>details.productPurchased</code></td><td>Array</td><td>False</td><td>Array containing information about the products purchased.</td></tr><tr><td><code>details.productPurchased[].productName</code></td><td>String</td><td>False</td><td>The name of the product purchased.</td></tr><tr><td><code>details.productPurchased[].productUrl</code></td><td>String</td><td>False</td><td>The URL of the product purchased.</td></tr><tr><td><code>details.productPurchased[].unitPriceCurrency</code></td><td>String</td><td>False</td><td>The currency of the unit price.</td></tr><tr><td><code>details.productPurchased[].unitPriceAmount</code></td><td>Object</td><td>False</td><td>Object containing the unit price amount and currency.</td></tr><tr><td><code>details.productPurchased[].unitPriceAmount.amount</code></td><td>Number</td><td>False</td><td>The unit price amount of the product.</td></tr><tr><td><code>details.productPurchased[].unitPriceAmount.currency</code></td><td>String</td><td>False</td><td>The currency of the unit price.</td></tr><tr><td><code>details.productPurchased[].quantity</code></td><td>String</td><td>False</td><td>The quantity of the product purchased.</td></tr><tr><td><code>details.productPurchased[].industryDetails</code></td><td>Object</td><td>False</td><td>Object containing industry-specific details such as flight or hotel details.</td></tr><tr><td><code>details.productPurchased[].industryDetails.flightDetails</code></td><td>Array</td><td>False</td><td>Array containing flight-related details.</td></tr><tr><td><code>details.productPurchased[].industryDetails.hotelDetails</code></td><td>Array</td><td>False</td><td>Array containing hotel-related details.</td></tr><tr><td><code>details.deliveryDetails</code></td><td>Object</td><td>False</td><td>Object containing delivery-related details.</td></tr><tr><td><code>details.deliveryDetails.physicalFulfillment</code></td><td>Array</td><td>False</td><td>Array containing physical fulfillment details, such as shipment and delivery information.</td></tr><tr><td><code>details.deliveryDetails.physicalFulfillment[].shippingCarrierUrl</code></td><td>String</td><td>False</td><td>The URL of the shipping carrier's tracking page.</td></tr><tr><td><code>details.deliveryDetails.physicalFulfillment[].trackingNumber</code></td><td>String</td><td>False</td><td>The tracking number provided by the shipping carrier.</td></tr><tr><td><code>details.deliveryDetails.physicalFulfillment[].dateOfShipment</code></td><td>String</td><td>False</td><td>The date the item was shipped.</td></tr><tr><td><code>details.deliveryDetails.physicalFulfillment[].dateOfDelivery</code></td><td>String</td><td>False</td><td>The date the item was delivered.</td></tr><tr><td><code>details.crmDetails</code></td><td>Array</td><td>False</td><td>Array containing customer relationship management (CRM) details.</td></tr><tr><td><code>details.crmDetails[].notes</code></td><td>String</td><td>False</td><td>Notes about the interaction.</td></tr><tr><td><code>details.attachments</code></td><td>Array</td><td>False</td><td>Array containing attachments related to the transaction.</td></tr><tr><td><code>details.attachments[].id</code></td><td>String</td><td>False</td><td>The ID of the attachment.</td></tr><tr><td><code>details.attachments[].fileName</code></td><td>String</td><td>False</td><td>The file name of the attachment.</td></tr><tr><td><code>details.attachments[].friendlyFileName</code></td><td>String</td><td>False</td><td>The friendly name of the attachment.</td></tr><tr><td><code>details.attachments[].mimeType</code></td><td>String</td><td>False</td><td>The MIME type of the attachment.</td></tr><tr><td><code>details.attachments[].receivedDate</code></td><td>String</td><td>False</td><td>The date the attachment was received.</td></tr><tr><td><code>details.attachments[].fileSource</code></td><td>String</td><td>False</td><td>The source of the file.</td></tr><tr><td><code>details.attachments[].data</code></td><td>String</td><td>False</td><td>The base64 encoded data of the attachment</td></tr></tbody></table>

## Validate Transaction Details

> Merchant Cart Validation

```json
{"openapi":"3.0.1","info":{"title":"TxFind API's Version 2 Endpoints","version":"2.0.0"},"tags":[{"name":"Merchant","description":"Call related to merchant transaction."}],"servers":[{"url":"https://{baseUrl}","description":"Current server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/api/v2/merchant/cartValidation":{"post":{"tags":["Merchant"],"summary":"Validate Transaction Details","description":"Merchant Cart Validation","operationId":"cartValidation","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","minItems":1,"maxItems":1,"items":{"type":"object","required":["cardBin","cardLast4","transactionDate","paymentDescriptor","receipt","merchantInformation"],"properties":{"cardBin":{"type":"string","description":"First 6 or 8 digits of the card used in the transaction. Must be numeric.","minLength":6,"maxLength":8,"pattern":"^[0-9]+$"},"cardLast4":{"type":"string","description":"Last 4 digits of the card used in the transaction. Must be numeric.","minLength":4,"maxLength":4,"pattern":"^[0-9]+$"},"transactionDate":{"type":"string","format":"date-time","description":"The date and time of the transaction in ISO 8601 format. Must be earlier than today."},"paymentDescriptor":{"type":"string","description":"Payment descriptor identifying the transaction.","maxLength":25},"arn":{"type":"string","description":"Acquirer Reference Number.","maxLength":24},"authCode":{"type":"string","description":"Authorization code for the transaction.","maxLength":6},"receipt":{"type":"object","required":["productsPurchasedList"],"properties":{"orderDate":{"type":"string","format":"date-time","description":"The date and time when the order was placed."},"orderNumber":{"type":"string","maxLength":25,"description":"The unique identifier for the order defined by the Merchant."},"purchaseCategory":{"type":"string","maxLength":20,"description":"The type of purchase made (MERCHANDISE or SERVICE)."},"invoiceNumber":{"type":"string","maxLength":25,"description":"The invoice number related to the order."},"downloadDateTime":{"type":"string","format":"date-time","description":"The date and time when a digital download was completed, if applicable."},"subTotalAmount":{"type":"object","description":"The subtotal before tax and shipping fees.","properties":{"amount":{"type":"number","format":"float","description":"The subtotal amount."},"currency":{"type":"string","maxLength":3,"description":"Currency in ISO 4217 3-letter format."}}},"taxAmount":{"type":"object","description":"The tax amount applied to the purchase.","properties":{"amount":{"type":"number","format":"float","description":"The total tax amount."},"currency":{"type":"string","maxLength":3,"description":"Currency in ISO 4217 3-letter format."}}},"taxDescription":{"type":"string","maxLength":100,"description":"Description of the tax applied."},"shippingAndHandlingAmount":{"type":"object","description":"The shipping and handling fee amount.","properties":{"amount":{"type":"number","format":"float","description":"Shipping and handling cost."},"currency":{"type":"string","maxLength":3,"description":"Currency in ISO 4217 3-letter format."}}},"orderTotalAmount":{"type":"object","description":"The total order amount including all charges.","properties":{"amount":{"type":"number","format":"float","description":"The final total amount."},"currency":{"type":"string","maxLength":3,"description":"Currency in ISO 4217 3-letter format."}}},"paymentInformation":{"type":"object","description":"Payment information for the order.","properties":{"paymentMethod":{"type":"string","maxLength":45,"description":"Masked representation of the payment card, showing last 4 digits."},"billingName":{"type":"string","maxLength":50,"description":"Full name of the cardholder used for billing."},"billingAddressDetails":{"type":"object","description":"Billing address details of the cardholder.","properties":{"address1":{"type":"string","maxLength":50,"description":"Primary address line."},"address2":{"type":"string","maxLength":50,"description":"Secondary address line (optional)."},"city":{"type":"string","maxLength":50,"description":"City name."},"region":{"type":"string","maxLength":3,"description":"State, province, or region (e.g., CA, ON)."},"postalCode":{"type":"string","maxLength":9,"description":"Postal or ZIP code."},"country":{"type":"string","maxLength":3,"description":"Country in ISO 3166-1 alpha-3 format."}}},"paymentSubTotalAmount":{"type":"object","description":"Subtotal of the payment amount.","properties":{"amount":{"type":"number","format":"float"},"currency":{"type":"string","maxLength":3}}},"paymentTotalBeforeTax":{"type":"object","description":"Total before tax applied.","properties":{"amount":{"type":"number","format":"float"},"currency":{"type":"string","maxLength":3}}},"paymentTaxAmount":{"type":"object","description":"Tax amount applied to the payment.","properties":{"amount":{"type":"number","format":"float"},"currency":{"type":"string","maxLength":3}}},"paymentTaxDescription":{"type":"string","maxLength":100,"description":"Description of the tax applied."},"paymentTotalAmount":{"type":"object","description":"Total amount charged.","properties":{"amount":{"type":"number","format":"float"},"currency":{"type":"string","maxLength":3}}},"cvvChecked":{"type":"boolean","description":"Indicates whether CVV check was performed during the transaction."}}},"productsPurchasedList":{"type":"array","description":"A list of products or services purchased in the order.","minItems":1,"items":{"type":"object","required":["productDescription"],"properties":{"productType":{"type":"string","maxLength":20,"description":"Category or type of product."},"productDescription":{"type":"string","description":"Description of the product.","maxLength":1000},"productUrl":{"type":"string","format":"uri","maxLength":1000,"description":"URL to the product detail page."},"artistOrSeller":{"type":"string","maxLength":100,"description":"Name of the artist or seller of the product."},"unitPriceAmount":{"type":"object","description":"Price per unit of the item.","properties":{"amount":{"type":"number","format":"float","description":"Price for a single unit."},"currency":{"type":"string","maxLength":3,"description":"Currency in ISO 4217 3-letter format."}}},"quantity":{"type":"integer","description":"Number of units purchased."},"deliveryDetails":{"type":"object","description":"Delivery details for the item.","properties":{"shippingCarrier":{"type":"string","maxLength":45,"description":"Carrier used for shipping the product."},"trackingNumber":{"type":"string","maxLength":255,"description":"Tracking number provided by the carrier."},"dateOfShipment":{"type":"string","format":"date-time","description":"Date the item was shipped."},"dateOfDelivery":{"type":"string","format":"date-time","description":"Date the item was delivered."},"deliveryStatus":{"type":"string","maxLength":25,"description":"Current status of the delivery."},"otherStatusDescription":{"type":"string","maxLength":25,"description":"Additional description if deliveryStatus is \"OTHER\"."}}}}}}}},"merchantInformation":{"type":"object","required":["merchantName","merchantUrl","merchantContactPhone","storeDetails"],"properties":{"merchantName":{"type":"string","description":"Name of the merchant.","maxLength":100},"merchantUrl":{"type":"string","description":"URL of the merchant.","format":"uri","maxLength":1000},"websiteUrl":{"type":"string","format":"uri","maxLength":1000,"description":"The website where the consumer made the online purchase."},"merchantContactPhone":{"type":"string","description":"Contact phone number in E.164 format (e.g., +12345678901).","pattern":"^\\+[1-9]\\d{10,14}$"},"merchantAddress":{"type":"object","description":"Merchant's business mailing address.","properties":{"address1":{"type":"string","maxLength":50,"description":"Primary address line."},"address2":{"type":"string","maxLength":50,"description":"Additional address line."},"city":{"type":"string","maxLength":50,"description":"City name."},"region":{"type":"string","maxLength":3,"description":"State, province, or region (ISO 3166-2)."},"postalCode":{"type":"string","maxLength":9,"description":"ZIP or postal code."},"country":{"type":"string","maxLength":3,"description":"Country in ISO 3166-1 alpha-3 format."}}},"termsAndConditions":{"type":"string","format":"uri","maxLength":2000,"description":"URL pointing to terms and conditions."},"storeDetails":{"type":"object","required":["storeName"],"properties":{"storeName":{"type":"string","description":"Name of the store.","maxLength":100},"storeContactPhone":{"type":"string","pattern":"^\\+[1-9]\\d{10,14}$","description":"Customer service phone number for the store, in E.164 format."},"storeLocation":{"type":"object","description":"Physical store location (for card-present transactions).","properties":{"geoLocation":{"type":"object","description":"Geographic location of the store.","properties":{"latitude":{"type":"string","maxLength":10,"description":"Latitude in signed decimal degrees (DDD.dddd)."},"longitude":{"type":"string","maxLength":10,"description":"Longitude in signed decimal degrees (DDD.dddd)."}}},"locationAddress":{"type":"object","description":"Address of the store.","properties":{"address1":{"type":"string","maxLength":50,"description":"Primary address line."},"address2":{"type":"string","maxLength":50,"description":"Secondary address line."},"city":{"type":"string","maxLength":50,"description":"City name."},"region":{"type":"string","maxLength":3,"description":"State/province/region."},"postalCode":{"type":"string","maxLength":9,"description":"ZIP or postal code."},"country":{"type":"string","maxLength":3,"description":"Country in ISO 3166-1 alpha-3 format."}}}}}}}}},"customerInformation":{"type":"object","description":"Customer information.","properties":{"accountId":{"type":"string","description":"Customer account identifier. Required for Compelling Evidence(CE).","maxLength":50},"emailAddress":{"type":"string","format":"email","description":"Customer email address."},"firstName":{"type":"string","description":"Customer's first name."},"lastName":{"type":"string","description":"Customer's last name."},"lengthOfRelationship":{"type":"string","description":"Length of relationship with the Merchant in number of months."}}},"deliveryAddress":{"type":"object","description":"Delivery Address. Required for Compelling Evidence(CE).","properties":{"address1":{"type":"string","description":"Primary address line. Required for Compelling Evidence(CE).","maxLength":50},"address2":{"type":"string","maxLength":50,"description":"Secondary address line."},"city":{"type":"string","maxLength":50,"description":"City name. Required for Compelling Evidence(CE)."},"region":{"type":"string","maxLength":3,"description":"State/province/region. Required for Compelling Evidence(CE)."},"postalCode":{"type":"string","maxLength":9,"description":"ZIP or postal code. Required for Compelling Evidence(CE)."},"country":{"type":"string","maxLength":3,"description":"Country in ISO 3166-1 alpha-3 format. Required for Compelling Evidence(CE)."}}},"recipientCustomerName":{"type":"string","description":"Name of the recipient customer.","maxLength":20},"device":{"type":"object","description":"Device details. Required for Compelling Evidence(CE).","properties":{"deviceId":{"type":"string","description":"Device identifier. Required for Compelling Evidence(CE).","minLength":15,"maxLength":32},"devicename":{"type":"string","description":"Name of the device.","maxLength":50},"deviceType":{"type":"string","description":"Type of device (e.g., mobile, desktop).","maxLength":20},"ipAddress":{"type":"string","format":"ipv4","description":"IP address of the device. Required for Compelling Evidence(CE).","maxLength":45},"deviceFingerprint":{"type":"string","description":"Fingerprint of the device. Required for Compelling Evidence(CE).","maxLength":45},"deviceLocation":{"type":"object","description":"Location of the device.","properties":{"geoLocation":{"type":"object","description":"Geographic location of the device.","properties":{"latitude":{"type":"string","maxLength":10,"description":"Latitude in signed decimal degrees (DDD.dddd)."},"longitude":{"type":"string","maxLength":10,"description":"Longitude in signed decimal degrees (DDD.dddd)."}}}}}}},"flightDetails":{"description":"Information about flight(s) associated with the purchase.","type":"object","properties":{"reservationNumber":{"type":"string","maxLength":50},"reservationDate":{"type":"string","format":"date-time"},"memberRewardsNumber":{"type":"string","maxLength":20},"memberRewardsName":{"type":"string","maxLength":50},"passengerName1":{"type":"string","maxLength":50},"passengerName2":{"type":"string","maxLength":50},"passengerName3":{"type":"string","maxLength":50},"passengerName4":{"type":"string","maxLength":50},"passengerName5":{"type":"string","maxLength":50},"itinerary":{"type":"string","description":"Flight itinerary details.","maxLength":2000},"additionalRelatedPurchases":{"type":"integer"},"flightManifestName":{"type":"string","maxLength":50},"flightManifestDateOfBirth":{"type":"string","format":"date-time"},"travelUtilizationIndicator":{"type":"boolean"},"travelInsurance":{"type":"string","format":"uri","maxLength":2000},"reservationReceivedFrom":{"type":"string","maxLength":50},"termsAndConditions":{"type":"string","format":"uri","maxLength":2000}}},"hotelDetails":{"type":"object","properties":{"reservationNumber":{"type":"string","maxLength":50},"reservationDate":{"type":"string","format":"date-time"},"memberRewardsNumber":{"type":"string","maxLength":20},"memberRewardsNameRegistered":{"type":"string","maxLength":50},"checkInDate":{"type":"string","format":"date-time"},"checkOutDate":{"type":"string","format":"date-time"},"lengthOfStay":{"type":"integer"},"hotelRoomType":{"type":"string","maxLength":20},"travelInsurance":{"type":"string","maxLength":2000},"reservationReceivedFrom":{"type":"string","maxLength":50},"termsAndConditions":{"type":"string","format":"uri","maxLength":2000}}},"carRentalDetails":{"type":"object","properties":{"reservationNumber":{"type":"string","maxLength":50},"reservationDate":{"type":"string","format":"date-time"},"memberRewardsNumber":{"type":"string","maxLength":20},"memberRewardsName":{"type":"string","maxLength":50},"carRentalVehicleDescription":{"type":"string","maxLength":50},"carRentalPickupDate":{"type":"string","format":"date-time"},"carRentalPickupLocation":{"type":"object","properties":{"geoLocation":{"type":"object","properties":{"latitude":{"type":"string","maxLength":10},"longitude":{"type":"string","maxLength":10}}},"locationAddress":{"type":"object","properties":{"address1":{"type":"string","maxLength":50},"address2":{"type":"string","maxLength":50},"city":{"type":"string","maxLength":50},"region":{"type":"string","maxLength":3},"postalCode":{"type":"string","maxLength":9},"country":{"type":"string","maxLength":3}}}}},"carRentalDropOffDate":{"type":"string","format":"date-time"},"carRentalDropOffLocation":{"type":"object","properties":{"geoLocation":{"type":"object","properties":{"latitude":{"type":"string","maxLength":10},"longitude":{"type":"string","maxLength":10}}},"locationAddress":{"type":"object","properties":{"address1":{"type":"string","maxLength":50},"address2":{"type":"string","maxLength":50},"city":{"type":"string","maxLength":50},"region":{"type":"string","maxLength":3},"postalCode":{"type":"string","maxLength":9},"country":{"type":"string","maxLength":3}}}}},"travelInsurance":{"type":"string","maxLength":2000},"reservationReceivedFrom":{"type":"string","maxLength":50},"termsAndConditions":{"type":"string","format":"uri","maxLength":2000}}},"rideShareDetails":{"type":"object","properties":{"pickupLocation":{"type":"object","properties":{"geoLocation":{"type":"object","properties":{"latitude":{"type":"string","maxLength":10},"longitude":{"type":"string","maxLength":10}}},"locationAddress":{"type":"object","properties":{"address1":{"type":"string","maxLength":50},"address2":{"type":"string","maxLength":50},"city":{"type":"string","maxLength":50},"region":{"type":"string","maxLength":3},"postalCode":{"type":"string","maxLength":9},"country":{"type":"string","maxLength":3}}}}},"dropOffLocation":{"type":"object","properties":{"geoLocation":{"type":"object","properties":{"latitude":{"type":"string","maxLength":10},"longitude":{"type":"string","maxLength":10}}},"locationAddress":{"type":"object","properties":{"address1":{"type":"string","maxLength":50},"address2":{"type":"string","maxLength":50},"city":{"type":"string","maxLength":50},"region":{"type":"string","maxLength":3},"postalCode":{"type":"string","maxLength":9},"country":{"type":"string","maxLength":3}}}}},"dateOfTrip":{"type":"string","format":"date-time"},"totalAmount":{"type":"object","properties":{"amount":{"type":"number","format":"float"},"currency":{"type":"string","maxLength":3}}},"vehicleDescription":{"type":"string","maxLength":50},"termsAndConditions":{"type":"string","format":"uri","maxLength":2000}}}}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"msg":{"type":"string"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"msg":{"type":"string"}}}}}},"default":{"description":"Error Payload","content":{"application/json":{"schema":{"type":"object","properties":{"msg":{"type":"string"}}}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payshield.ai/txfind-payreveal-order-insight-ican/merchant/validate-cart-details.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
