Mindbody · Schema

InitiateCheckoutShoppingCartUsingAlternativePaymentsRequest

Implementation of the 'InitiateCheckoutShoppingCartUsingAlternativePaymentsRequest' model. The API Request model for Initiate Checkout Shopping Cart API.

FitnessWellnessBeautySchedulingBookingPoint of SaleStudiosSalonsSpasWebhooks

Properties

Name Type Description
ClientId string The RSSID of the client making the purchase. A cart can be validated without a client ID, but a client ID must be specified to complete a sale.
Items array A list of the items in the cart.
Payments array A list of payment information objects to be applied to payment against the items in the cart.
PaymentAuthenticationCallbackUrl string The URL consumer is redirected to after the payment.
CartId string The unique ID of the shopping cart to be processed. You can use this value to maintain a persistent cart. If you do not specify a cart ID, the MINDBODY software generates one.
PayerClientId string The RSSID of the client paying for the purchase. This client needs to have a relationship of type "Pays for" with the client specified in the "ClientId" field.
Test boolean When `true`, indicates that the contents of the cart are validated, but the transaction does not take place. You should use this parameter during testing and when checking the calculated totals of the
InStore boolean When `true`, indicates that the cart is to be completed by a staff member and is to take place at one of the business’ physical locations.
When `false`, indicates that the cart is to be complete
CalculateTax boolean When `true`, indicates that the tax should be calculated. When `false`, indicates that the tax should not be calculated. Default: **true**
PromotionCode string Promotion code to be applied to the cart.
SendEmail boolean When `true`, sends a purchase receipt email to the client. Note that all appropriate permissions and settings must be enabled for the client to receive an email.
Default: **false**
LocationId integer The location ID to be used for pulling business mode prices and taxes. If no location ID is supplied, it defaults to the online store, represented by a null value. Default: **null** (the online store)
TransactionIds array The list of TransactionIds provided with initial response containing SCA Challenge URLs for ConsumerPresent transactions
IsBillingPostalCodeRequired boolean the flag to check billing post code is required or not.
EnforceLocationRestrictions boolean When `true`, enforces "sell at" location restrictions on the cart items. When `false`, "sell at" location restrictions are not enforced. Default: **false**
View JSON Schema on GitHub

JSON Schema

public-api-v6-initiate-checkout-shopping-cart-using-alternative-payments-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mindbody/refs/heads/main/json-schema/public-api-v6-initiate-checkout-shopping-cart-using-alternative-payments-request-schema.json",
  "title": "InitiateCheckoutShoppingCartUsingAlternativePaymentsRequest",
  "description": "Implementation of the 'InitiateCheckoutShoppingCartUsingAlternativePaymentsRequest' model. The API Request model for Initiate Checkout Shopping Cart API.",
  "type": "object",
  "properties": {
    "ClientId": {
      "type": "string",
      "description": "The RSSID of the client making the purchase. A cart can be validated without a client ID, but a client ID must be specified to complete a sale.",
      "example": "example-value"
    },
    "Items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CheckoutItemWrapper"
      },
      "description": "A list of the items in the cart.",
      "example": [
        {}
      ]
    },
    "Payments": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CheckoutAlternativePaymentInfo"
      },
      "description": "A list of payment information objects to be applied to payment against the items in the cart.",
      "example": [
        {}
      ]
    },
    "PaymentAuthenticationCallbackUrl": {
      "type": "string",
      "description": "The URL consumer is redirected to after the payment.",
      "example": "https://example.mindbodyonline.com/resource/abc123"
    },
    "CartId": {
      "type": "string",
      "description": "The unique ID of the shopping cart to be processed. You can use this value to maintain a persistent cart. If you do not specify a cart ID, the MINDBODY software generates one.",
      "example": "example-value"
    },
    "PayerClientId": {
      "type": "string",
      "description": "The RSSID of the client paying for the purchase. This client needs to have a relationship of type \"Pays for\" with the client specified in the \"ClientId\" field.",
      "example": "example-value"
    },
    "Test": {
      "type": "boolean",
      "description": "When `true`, indicates that the contents of the cart are validated, but the transaction does not take place. You should use this parameter during testing and when checking the calculated totals of the items in the cart.<br /> When `false`, the transaction takes place and the database is affected.<br /> Default: **false**",
      "example": true
    },
    "InStore": {
      "type": "boolean",
      "description": "When `true`, indicates that the cart is to be completed by a staff member and is to take place at one of the business\u2019 physical locations.<br /> When `false`, indicates that the cart is to be completed by a client from the business\u2019 online store.<br /> Default: **false**",
      "example": true
    },
    "CalculateTax": {
      "type": "boolean",
      "description": "When `true`, indicates that the tax should be calculated. When `false`, indicates that the tax should not be calculated. Default: **true**",
      "example": true
    },
    "PromotionCode": {
      "type": "string",
      "description": "Promotion code to be applied to the cart.",
      "example": "example-value"
    },
    "SendEmail": {
      "type": "boolean",
      "description": "When `true`, sends a purchase receipt email to the client. Note that all appropriate permissions and settings must be enabled for the client to receive an email.<br /> Default: **false**",
      "example": true
    },
    "LocationId": {
      "type": "integer",
      "format": "int32",
      "description": "The location ID to be used for pulling business mode prices and taxes. If no location ID is supplied, it defaults to the online store, represented by a null value. Default: **null** (the online store)",
      "example": 123456
    },
    "TransactionIds": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int32"
      },
      "description": "The list of TransactionIds provided with initial response containing SCA Challenge URLs for ConsumerPresent transactions",
      "example": [
        1
      ]
    },
    "IsBillingPostalCodeRequired": {
      "type": "boolean",
      "description": "the flag to check billing post code is required or not.",
      "example": true
    },
    "EnforceLocationRestrictions": {
      "type": "boolean",
      "description": "When `true`, enforces \"sell at\" location restrictions on the cart items. When `false`, \"sell at\" location restrictions are not enforced. Default: **false**",
      "example": true
    }
  }
}