VTEX · Schema

CancelPaymentRequest

Cancel payment request body information.

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
paymentId string VTEX payment identifier.
requestId string VTEX request identifier.
authorizationId string Payment authorization identifier (in case it was authorized previous to the cancellation request).
tid string Provider's unique identifier for the transaction.
transactionId string VTEX transaction ID related to this payment.
nsu string Provider's unique sequential number for the transaction.
sandboxMode boolean Indicates whether or not this request is being sent from a sandbox environment.
merchantSettings array Custom fields (for the given provider) which the merchant must fill. Each element of this array is a key-value pair.
connectorMetadata array Array containing metadata fields sent from the provider to the payment gateway.
View JSON Schema on GitHub

JSON Schema

vtex-cancelpaymentrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CancelPaymentRequest",
  "title": "CancelPaymentRequest",
  "required": [
    "paymentId",
    "requestId",
    "authorizationId"
  ],
  "type": "object",
  "description": "Cancel payment request body information.",
  "properties": {
    "paymentId": {
      "type": "string",
      "description": "VTEX payment identifier.",
      "example": "F5C1A4E20D3B4E07B7E871F5B5BC9F91"
    },
    "requestId": {
      "type": "string",
      "description": "VTEX request identifier.",
      "example": "D12D9B80972C462980F5067A3A126837"
    },
    "authorizationId": {
      "type": "string",
      "description": "Payment authorization identifier (in case it was authorized previous to the cancellation request).",
      "example": "5784589"
    },
    "tid": {
      "type": "string",
      "description": "Provider's unique identifier for the transaction.",
      "example": "10022005181543584603"
    },
    "transactionId": {
      "type": "string",
      "description": "VTEX transaction ID related to this payment.",
      "example": "D3AA1FC8372E430E8236649DB5EBD08E"
    },
    "nsu": {
      "type": "string",
      "description": "Provider's unique sequential number for the transaction.",
      "example": "NSU987432"
    },
    "sandboxMode": {
      "type": "boolean",
      "description": "Indicates whether or not this request is being sent from a sandbox environment.",
      "example": false
    },
    "merchantSettings": {
      "type": "array",
      "description": "Custom fields (for the given provider) which the merchant must fill. Each element of this array is a key-value pair.",
      "items": {
        "type": "object",
        "description": "Merchant settings information.",
        "required": [
          "name",
          "value"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "The custom field name.",
            "example": "Public Merchant ID Test."
          },
          "value": {
            "type": "string",
            "description": "The custom field value.",
            "example": "1"
          }
        }
      }
    },
    "connectorMetadata": {
      "type": "array",
      "description": "Array containing metadata fields sent from the provider to the payment gateway.",
      "items": {
        "type": "object",
        "description": "Metadata fields information.",
        "required": [
          "name",
          "value"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the metadata to be stored in the gateway (limited to 20 characters).",
            "example": "MetadataName"
          },
          "value": {
            "type": "string",
            "description": "The value of the metadata stored (limited to 200 characters).",
            "example": "MetadataValue"
          }
        }
      }
    }
  }
}

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/vtex-cancelpaymentrequest"
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 email required.

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