Mindbody · Schema

PurchaseAccountCreditRequest

Implementation of the 'PurchaseAccountCreditRequest' model.

FitnessWellnessBeautySchedulingBookingPoint-of-SaleStudiosSalonsSpasWebhook

Properties

Name Type Description
ClientId string The ID of the location where the account credit is being sold.
Test boolean When `true`, allows you to test the request without affecting the database. When `false`, the request is carried out and the database is affected.
LocationId integer The ID of the location where the account credit is being sold.
SendEmailReceipt boolean When `true`, indicates that a purchase receipt email should be sent to the purchasing client, if all settings are correctly configured.
When `false`, no email is sent to the purchaser.
SalesRepId integer The ID of the staff member to be marked as the sales rep for this account credit sale.
ConsumerPresent boolean When `true`, indicates that the consumer is present or otherwise able to successfully negotiate an SCA challenge. It is not a good idea to have this always be false as that could very likely lead to a
PaymentAuthenticationCallbackUrl string The URL consumer is redirected to if the bank requests SCA. This field is only needed if ConsumerPresent is true.
PaymentInfo object Contains information about the payment.
View JSON Schema on GitHub

JSON Schema

public-api-v6-purchase-account-credit-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-purchase-account-credit-request-schema.json",
  "title": "PurchaseAccountCreditRequest",
  "description": "Implementation of the 'PurchaseAccountCreditRequest' model.",
  "type": "object",
  "properties": {
    "ClientId": {
      "type": "string",
      "description": "The ID of the location where the account credit is being sold.",
      "example": "example-value"
    },
    "Test": {
      "type": "boolean",
      "description": "When `true`, allows you to test the request without affecting the database. When `false`, the request is carried out and the database is affected.",
      "example": true
    },
    "LocationId": {
      "type": "integer",
      "format": "int32",
      "description": "The ID of the location where the account credit is being sold.",
      "example": 123456
    },
    "SendEmailReceipt": {
      "type": "boolean",
      "description": "When `true`, indicates that a purchase receipt email should be sent to the purchasing client, if all settings are correctly configured.<br /> When `false`, no email is sent to the purchaser.",
      "example": true
    },
    "SalesRepId": {
      "type": "integer",
      "format": "int32",
      "description": "The ID of the staff member to be marked as the sales rep for this account credit sale.",
      "example": 123456
    },
    "ConsumerPresent": {
      "type": "boolean",
      "description": "When `true`, indicates that the consumer is present or otherwise able to successfully negotiate an SCA challenge. It is not a good idea to have this always be false as that could very likely lead to a bank declining all transactions for the merchant. Defaults to false. Default: **false**",
      "example": true
    },
    "PaymentAuthenticationCallbackUrl": {
      "type": "string",
      "description": "The URL consumer is redirected to if the bank requests SCA. This field is only needed if ConsumerPresent is true.",
      "example": "https://example.mindbodyonline.com/resource/abc123"
    },
    "PaymentInfo": {
      "$ref": "#/components/schemas/CheckoutPaymentInfo",
      "description": "Contains information about the payment."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/public-api-v6-purchase-account-credit-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.