Bolt · Schema

credit-card-error

CheckoutPaymentseCommerceOne-Click CheckoutShopper NetworkFraud Protection

Properties

Name Type Description
.tag string The type of error returned
message string A human-readable error message, which might include information specific to the request that was made.
View JSON Schema on GitHub

JSON Schema

credit-card-error.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.bolt.com/schemas/credit-card-error",
  "title": "credit-card-error",
  "type": "object",
  "required": [
    ".tag",
    "message"
  ],
  "properties": {
    ".tag": {
      "type": "string",
      "enum": [
        "declined",
        "declined_invalid_amount",
        "declined_invalid_cvv",
        "declined_invalid_merchant",
        "declined_invalid_number",
        "declined_expired",
        "declined_call_issuer",
        "declined_unsupported"
      ],
      "description": "The type of error returned",
      "example": "declined_invalid_cvv"
    },
    "message": {
      "type": "string",
      "description": "A human-readable error message, which might include information specific to the request that was made.",
      "example": "The payment was declined because the CVV is not valid"
    }
  }
}