Clickatell · Schema

TransactionStatusEndpointResponse

CompanySMSWhatsAppMessagingCPaaSChat CommercePayments

Properties

Name Type Description
orderNumber string The order number associated with the payment
paymentLinkRef string The payment link reference of the transaction you requested the details for
transactionStatuses array The list of all transaction statuses transitions
paymentStatuses array The list of all payment status transitions
paymentStatus string The status of the payment
paymentStatusId string The ID of the payment status
paymentStatusTimestamp string The date and time the payment outcome from the Payment Gateway was received (ISO 8601 format)
totalAmount number The total amount of the transaction
receiptLinkRef string The receipt link reference number for the transaction
channelName string The name of the channel used for the transaction
currency string The currency that the transaction was conducted in
taxAmount number The tax amount of the transaction
subTotalAmount number The sub-total of the transaction (before tax)
additionalData string Any additional data over and above what is already included that you want to store in the database along with that record and/or return in the response
paymentStatusConversionTime string This field will contain the timestamp received from the payment gateway when a transaction which was in a Review status was finalized.
integrator object
paymentReviewAutoReversal boolean Make automatically transaction reversal in case of REVIEW state
transactionType string Specifies the type of transaction that was be performed by Payment Gateway.
environment string Chat 2 Pay configuration run environment (SANDBOX or PRODUCTION)
reconciliationId string Reference number that you use to reconcile your transaction reports with your processor reports. Also known as Transaction Reference Number or TRN.
merchantDescriptor string Merchant's business name.
orderLineItems array The list of items associated with an order, e.g. products.
View JSON Schema on GitHub

JSON Schema

clickatell-transaction-status-endpoint-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/clickatell/main/json-schema/clickatell-transaction-status-endpoint-response-schema.json",
  "title": "TransactionStatusEndpointResponse",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clickatell-chat-2-pay-api-openapi.json#/components/schemas/TransactionStatusEndpointResponse",
  "type": "object",
  "properties": {
    "orderNumber": {
      "type": "string",
      "description": "The order number associated with the payment"
    },
    "paymentLinkRef": {
      "type": "string",
      "description": "The payment link reference of the transaction you requested the details for"
    },
    "transactionStatuses": {
      "type": "array",
      "description": "The list of all transaction statuses transitions",
      "items": {
        "$ref": "#/$defs/TransactionStatusEntryResponse"
      }
    },
    "paymentStatuses": {
      "type": "array",
      "description": "The list of all payment status transitions",
      "items": {
        "$ref": "#/$defs/PaymentStatusLogResponse"
      }
    },
    "paymentStatus": {
      "type": "string",
      "description": "The status of the payment",
      "enum": [
        "SUCCESS",
        "FAILED",
        "PENDING",
        "UNKNOWN",
        "REVIEW",
        "REVERSED",
        "VOIDED"
      ]
    },
    "paymentStatusId": {
      "type": "string",
      "description": "The ID of the payment status"
    },
    "paymentStatusTimestamp": {
      "type": "string",
      "description": "The date and time the payment outcome from the Payment Gateway was received (ISO 8601 format)",
      "format": "date-time"
    },
    "totalAmount": {
      "type": "number",
      "description": "The total amount of the transaction"
    },
    "receiptLinkRef": {
      "type": "string",
      "description": "The receipt link reference number for the transaction"
    },
    "channelName": {
      "type": "string",
      "description": "The name of the channel used for the transaction"
    },
    "currency": {
      "type": "string",
      "description": "The currency that the transaction was conducted in"
    },
    "taxAmount": {
      "type": "number",
      "description": "The tax amount of the transaction"
    },
    "subTotalAmount": {
      "type": "number",
      "description": "The sub-total of the transaction (before tax)"
    },
    "additionalData": {
      "type": "string",
      "description": "Any additional data over and above what is already included that you want to store in the database along with that record and/or return in the response"
    },
    "paymentStatusConversionTime": {
      "type": "string",
      "description": "This field will contain the timestamp received from the payment gateway when a transaction which was in a Review status was finalized.\n",
      "format": "date-time"
    },
    "integrator": {
      "$ref": "#/$defs/IntegratorResponse"
    },
    "paymentReviewAutoReversal": {
      "type": "boolean",
      "description": "Make automatically transaction reversal in case of REVIEW state",
      "default": false
    },
    "transactionType": {
      "type": "string",
      "description": "Specifies the type of transaction that was be performed by Payment Gateway.",
      "enum": [
        "TransactionType.AUTHORIZATION(name=Authorization, id=1)",
        "TransactionType.SALE(name=Sale, id=2)",
        "TransactionType.VOID(name=Void, id=3)",
        "TransactionType.CAPTURE(name=Capture, id=4)"
      ]
    },
    "environment": {
      "type": "string",
      "description": "Chat 2 Pay configuration run environment (SANDBOX or PRODUCTION)"
    },
    "reconciliationId": {
      "type": "string",
      "description": "Reference number that you use to reconcile your transaction reports with your processor reports. Also known as Transaction Reference Number or TRN."
    },
    "merchantDescriptor": {
      "type": "string",
      "description": "Merchant's business name."
    },
    "orderLineItems": {
      "type": "array",
      "description": "The list of items associated with an order, e.g. products. ",
      "items": {
        "$ref": "#/$defs/LineItemResponse"
      }
    }
  },
  "$defs": {
    "IntegratorResponse": {
      "type": "object",
      "properties": {
        "applicationId": {
          "type": "string",
          "description": "Unique identifier generated for each custom application the customer links to the account"
        },
        "name": {
          "type": "string",
          "description": "Name of the integrator"
        }
      },
      "description": "The integrator/application that requested this payment"
    },
    "LineItemResponse": {
      "required": [
        "name",
        "unitPrice"
      ],
      "type": "object",
      "properties": {
        "code": {
          "maxLength": 255,
          "minLength": 0,
          "type": "string",
          "description": "Type of product"
        },
        "name": {
          "maxLength": 255,
          "minLength": 0,
          "type": "string",
          "description": "Name of the item"
        },
        "quantity": {
          "minimum": 1,
          "type": "integer",
          "description": "Quantity of line items",
          "format": "int32"
        },
        "sku": {
          "maxLength": 255,
          "minLength": 0,
          "type": "string",
          "description": "Identification code for the product"
        },
        "unitPrice": {
          "minimum": 0,
          "exclusiveMinimum": true,
          "type": "number",
          "description": "Price of the line item"
        },
        "taxAmount": {
          "minimum": 0,
          "exclusiveMinimum": true,
          "type": "number",
          "description": "Tax amount to apply to the line item"
        }
      },
      "description": "The list of items associated with an order, e.g. products. "
    },
    "PaymentStatusLogResponse": {
      "type": "object",
      "properties": {
        "transactionType": {
          "type": "string",
          "description": "The type of transaction executed",
          "enum": [
            "TransactionType.AUTHORIZATION(name=Authorization, id=1)",
            "TransactionType.SALE(name=Sale, id=2)",
            "TransactionType.VOID(name=Void, id=3)",
            "TransactionType.CAPTURE(name=Capture, id=4)"
          ]
        },
        "totalAmount": {
          "type": "number",
          "description": "The total amount of the transaction"
        },
        "paymentGatewayDecision": {
          "type": "string",
          "description": "Decision received back from the Payment Gateway for the payment request"
        },
        "paymentGatewayReqReferenceNumber": {
          "type": "string",
          "description": "Payment Reference number received back from the Payment Gateway for the payment request"
        },
        "paymentGatewayResponseTimestamp": {
          "type": "string",
          "description": "Timestamp received back from the Payment Gateway for the payment request",
          "format": "date-time"
        },
        "paymentGatewayResponseCode": {
          "type": "integer",
          "description": "Response code received back from the Payment Gateway for the payment request",
          "format": "int32"
        },
        "paymentGatewayErrorDecision": {
          "type": "string",
          "description": "Error description received back from Payment Gateway if error occurred"
        },
        "paymentGatewayAuthReconciliationReferenceNumber": {
          "type": "string",
          "description": "Unique number generated by Payment Gateway to identify the transaction for the payment request"
        },
        "cardType": {
          "type": "string",
          "description": "The type of card used for the transaction, as received back from the Payment Gateway for the payment request"
        },
        "maskedCardNumber": {
          "type": "string",
          "description": "The masked card number used for the transaction, as received back from the Payment Gateway for the payment request\n"
        },
        "cardExpiryDate": {
          "type": "string",
          "description": "The expiry date of the card used for the payment, as received back from the Payment Gateway for the payment request\n"
        }
      },
      "description": "The list of all payment status transitions"
    },
    "TransactionStatusEntryResponse": {
      "type": "object",
      "properties": {
        "transactionStatusId": {
          "type": "integer",
          "description": "Transaction status ID",
          "format": "int32"
        },
        "transactionStatusName": {
          "type": "string",
          "description": "Transaction status name"
        },
        "created": {
          "type": "string",
          "description": "Transaction date",
          "format": "date-time"
        },
        "httpResponseCode": {
          "type": "integer",
          "description": "HTTP response code received from third-parties after interaction",
          "format": "int32"
        },
        "responseCode": {
          "type": "string",
          "description": "Error code received from third-parties after interaction"
        },
        "responseCodeDescription": {
          "type": "string",
          "description": "Error description received from third-parties after interaction"
        }
      },
      "description": "The list of all transaction statuses transitions"
    }
  }
}

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/clickatell-transaction-status-endpoint-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.