---
title: Cancel Payment
slug: api/cancel-payment
createdAt: 2026-11-09T23:53:42.479Z
---

{
  "id": "iPPJ8j7dltSsR-xDO4FY7",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "https://sand-api.monoova.com/au/card/ccm/CreditCardTransaction/cancel",
    "servers": [
      {
        "url": "https://sand-api.monoova.com/au/card/ccm/CreditCardTransaction/cancel",
        "description": "Sandbox URL"
      },
      {
        "url": "https://api.monoova.com/au/card/ccm/CreditCardTransaction/cancel",
        "description": "Production URL"
      }
    ],
    "name": "Cancel Payment",
    "description": "Cancel a payment.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "object",
          "description": "Request payload used to cancel a payment.",
          "customType": "CancelCreditCardPaymentDto",
          "schema": [
            {
              "name": "clientTransactionUniqueReference",
              "kind": "required",
              "type": "string",
              "description": "<p>Unique reference of the payment to cancel, as provided when the payment was created. Case insensitive.</p>",
              "example": "PAY-20261013-0001",
              "default": "PAY-20261013-0001",
              "pattern": "^[a-zA-Z0-9_-]{1,40}$"
            },
            {
              "name": "reason",
              "kind": "optional",
              "type": "string",
              "nullable": true,
              "description": "<p><strong>Optional</strong>. Reason for the cancellation, 1 to 250 printable characters.</p>",
              "example": "Customer cancelled the order",
              "default": "Customer cancelled the order",
              "pattern": "^[ -~]{1,250}$"
            }
          ],
          "modelRef": "#/components/schemas/CancelCreditCardPaymentDto",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "bearerAuth",
          "name": "bearerAuth",
          "kind": "optional",
          "type": "http",
          "description": "<p>To authenticate, pass a bearer token in the Authorization header. Generate the token with the Generate a Bearer Token endpoint, which uses basic authentication with your mAccount number as the username and your API key as the password. Bearer tokens are short-lived, so generate a new token when the current one expires.</p>",
          "scheme": "bearer"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "<p>Success. The cancellation request was processed; check status for the outcome. The API can also return this response with HTTP status 201 Created.</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"traceId\":\"cdcc846a-16a4-5d5a-bfe5-bddad099eb37\",\"clientTransactionUniqueReference\":\"PAY-20261013-0001\",\"status\":\"Cancelled\"}",
            "description": "",
            "customType": "CancelCreditCardPaymentResponse",
            "schema": [
              {
                "name": "traceId",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "<p>Unique ID for the request, used for logging and troubleshooting.</p>",
                "example": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "default": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
              },
              {
                "name": "clientTransactionUniqueReference",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "<p>Your unique reference for the payment, as provided in the request.</p>",
                "example": "PAY-20261013-0001",
                "default": "PAY-20261013-0001",
                "pattern": "^[a-zA-Z0-9_-]{1,40}$"
              },
              {
                "name": "status",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "Current status of the transaction.",
                "example": "Cancelled",
                "default": "Cancelled",
                "pattern": "^[A-Za-z ]+$"
              },
              {
                "name": "statusReasonCode",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "<p><strong>Conditional</strong>. Reason code for the status, if any.</p>",
                "example": "05",
                "default": "05",
                "pattern": "^\\S+$"
              },
              {
                "name": "statusReasonDescription",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "<p><strong>Conditional</strong>. Description of the status reason, if any.</p>",
                "example": "Do not honour",
                "default": "Do not honour",
                "pattern": "^.+$"
              }
            ],
            "modelRef": "#/components/schemas/CancelCreditCardPaymentResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "<p>Bad request. The request failed validation - for example clientTransactionUniqueReference is missing or invalid, or the payment cannot be cancelled in its current status.</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"traceId\":\"d8caa49d-5014-5cb8-8a2d-fefaf8a9e102\",\"errors\":[{\"errorCode\":\"CCM_UID_INVALID\",\"errorMessage\":\"clientTransactionUniqueReference PAY.0001 must match ^[a-zA-Z0-9_-]{1,40}$\"}]}",
            "description": "",
            "customType": "ErrorResponse",
            "schema": [
              {
                "name": "traceId",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "<p>Unique ID for the request, used for logging and troubleshooting.</p>",
                "example": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "default": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "array",
                "nullable": true,
                "description": "Errors that occurred while processing the request.",
                "modelRef": "#/components/schemas/ErrorDto",
                "customType": "ErrorDto[]",
                "schema": [
                  {
                    "name": "errorCode",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>Monoova error code. All codes start with CCM_. See Error codes in the Cards overview for the full list.</p>",
                    "example": "CCM_VALIDATION_ERROR",
                    "default": "CCM_VALIDATION_ERROR",
                    "pattern": "^CCM_[A-Za-z0-9_]+$"
                  },
                  {
                    "name": "errorMessage",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>More detailed description of the error, which may include values from the request.</p>",
                    "example": "Error validating request message - amount.currencyAmount required",
                    "default": "Error validating request message - amount.currencyAmount required",
                    "pattern": "^.+$"
                  },
                  {
                    "name": "sourceErrorCode",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p><strong>Conditional</strong>. Error code from an upstream system, if any.</p>",
                    "example": "DECLINED",
                    "default": "DECLINED",
                    "pattern": "^\\S+$"
                  },
                  {
                    "name": "sourceErrorMessage",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p><strong>Conditional</strong>. Error message from an upstream system, if any.</p>",
                    "example": "Transaction declined by issuer",
                    "default": "Transaction declined by issuer",
                    "pattern": "^.+$"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/ErrorResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "<p>Unauthorized. The bearer token is missing, malformed or expired. Generate a new bearer token and retry the request.</p>",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "403",
        "description": "<p>Forbidden. Your mAccount is not permitted to perform this operation - for example card payments are not enabled for your account.</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"traceId\":\"7562224d-f3b7-5626-a35d-405c53554a6e\",\"errors\":[{\"errorCode\":\"CCM_ACC_DISABLED_ERROR\",\"errorMessage\":\"Card transactions disabled for accountId 6279059700012345\"}]}",
            "description": "",
            "customType": "ErrorResponse",
            "schema": [
              {
                "name": "traceId",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "<p>Unique ID for the request, used for logging and troubleshooting.</p>",
                "example": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "default": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "array",
                "nullable": true,
                "description": "Errors that occurred while processing the request.",
                "modelRef": "#/components/schemas/ErrorDto",
                "customType": "ErrorDto[]",
                "schema": [
                  {
                    "name": "errorCode",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>Monoova error code. All codes start with CCM_. See Error codes in the Cards overview for the full list.</p>",
                    "example": "CCM_VALIDATION_ERROR",
                    "default": "CCM_VALIDATION_ERROR",
                    "pattern": "^CCM_[A-Za-z0-9_]+$"
                  },
                  {
                    "name": "errorMessage",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>More detailed description of the error, which may include values from the request.</p>",
                    "example": "Error validating request message - amount.currencyAmount required",
                    "default": "Error validating request message - amount.currencyAmount required",
                    "pattern": "^.+$"
                  },
                  {
                    "name": "sourceErrorCode",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p><strong>Conditional</strong>. Error code from an upstream system, if any.</p>",
                    "example": "DECLINED",
                    "default": "DECLINED",
                    "pattern": "^\\S+$"
                  },
                  {
                    "name": "sourceErrorMessage",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p><strong>Conditional</strong>. Error message from an upstream system, if any.</p>",
                    "example": "Transaction declined by issuer",
                    "default": "Transaction declined by issuer",
                    "pattern": "^.+$"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/ErrorResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "404",
        "description": "Not found. No payment matches clientTransactionUniqueReference for your mAccount.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"traceId\":\"a6740ec2-e883-51b3-84fa-d3095bd9ae88\",\"errors\":[{\"errorCode\":\"CCM_TRN_NOT_FOUND_ERROR\",\"errorMessage\":\"CreditCardTransaction not found for Account 6279059700012345 / clientTransactionUniqueReference PAY-20261013-0001\"}]}",
            "description": "",
            "customType": "ErrorResponse",
            "schema": [
              {
                "name": "traceId",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "<p>Unique ID for the request, used for logging and troubleshooting.</p>",
                "example": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "default": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "array",
                "nullable": true,
                "description": "Errors that occurred while processing the request.",
                "modelRef": "#/components/schemas/ErrorDto",
                "customType": "ErrorDto[]",
                "schema": [
                  {
                    "name": "errorCode",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>Monoova error code. All codes start with CCM_. See Error codes in the Cards overview for the full list.</p>",
                    "example": "CCM_VALIDATION_ERROR",
                    "default": "CCM_VALIDATION_ERROR",
                    "pattern": "^CCM_[A-Za-z0-9_]+$"
                  },
                  {
                    "name": "errorMessage",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>More detailed description of the error, which may include values from the request.</p>",
                    "example": "Error validating request message - amount.currencyAmount required",
                    "default": "Error validating request message - amount.currencyAmount required",
                    "pattern": "^.+$"
                  },
                  {
                    "name": "sourceErrorCode",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p><strong>Conditional</strong>. Error code from an upstream system, if any.</p>",
                    "example": "DECLINED",
                    "default": "DECLINED",
                    "pattern": "^\\S+$"
                  },
                  {
                    "name": "sourceErrorMessage",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p><strong>Conditional</strong>. Error message from an upstream system, if any.</p>",
                    "example": "Transaction declined by issuer",
                    "default": "Transaction declined by issuer",
                    "pattern": "^.+$"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/ErrorResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "500",
        "description": "Internal server error. An unexpected condition prevented Monoova from completing the request. Retry the request and contact Monoova support if the error persists.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"traceId\":\"7b9b7e44-2f00-5e8c-a019-ce958688115a\",\"errors\":[{\"errorCode\":\"CCM_UNEXPECTED_ERROR\",\"errorMessage\":\"Internal server error. Please contact Monoova support.\"}]}",
            "description": "",
            "customType": "ErrorResponse",
            "schema": [
              {
                "name": "traceId",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "<p>Unique ID for the request, used for logging and troubleshooting.</p>",
                "example": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "default": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "array",
                "nullable": true,
                "description": "Errors that occurred while processing the request.",
                "modelRef": "#/components/schemas/ErrorDto",
                "customType": "ErrorDto[]",
                "schema": [
                  {
                    "name": "errorCode",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>Monoova error code. All codes start with CCM_. See Error codes in the Cards overview for the full list.</p>",
                    "example": "CCM_VALIDATION_ERROR",
                    "default": "CCM_VALIDATION_ERROR",
                    "pattern": "^CCM_[A-Za-z0-9_]+$"
                  },
                  {
                    "name": "errorMessage",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>More detailed description of the error, which may include values from the request.</p>",
                    "example": "Error validating request message - amount.currencyAmount required",
                    "default": "Error validating request message - amount.currencyAmount required",
                    "pattern": "^.+$"
                  },
                  {
                    "name": "sourceErrorCode",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p><strong>Conditional</strong>. Error code from an upstream system, if any.</p>",
                    "example": "DECLINED",
                    "default": "DECLINED",
                    "pattern": "^\\S+$"
                  },
                  {
                    "name": "sourceErrorMessage",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p><strong>Conditional</strong>. Error message from an upstream system, if any.</p>",
                    "example": "Transaction declined by issuer",
                    "default": "Transaction declined by issuer",
                    "pattern": "^.+$"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/ErrorResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "502",
        "description": "<p>Bad gateway. A downstream service returned an invalid response, so the outcome of the request is unknown. Check the result with Get Transaction By Id before you retry.</p>",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "504",
        "description": "<p>Gateway timeout. A downstream service did not respond in time, so the outcome of the request is unknown. Check the result with Get Transaction By Id before you retry.</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"traceId\":\"aebffaac-71ce-5956-bfbb-7e9854bbba9e\",\"errors\":[{\"errorCode\":\"CCM_CC_GWM_TIMEOUT\",\"errorMessage\":\"Timeout from CC Gateway Manager\"}]}",
            "description": "",
            "customType": "ErrorResponse",
            "schema": [
              {
                "name": "traceId",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "<p>Unique ID for the request, used for logging and troubleshooting.</p>",
                "example": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "default": "71170aca-7ed5-5045-b317-39f21a1d985e",
                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "array",
                "nullable": true,
                "description": "Errors that occurred while processing the request.",
                "modelRef": "#/components/schemas/ErrorDto",
                "customType": "ErrorDto[]",
                "schema": [
                  {
                    "name": "errorCode",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>Monoova error code. All codes start with CCM_. See Error codes in the Cards overview for the full list.</p>",
                    "example": "CCM_VALIDATION_ERROR",
                    "default": "CCM_VALIDATION_ERROR",
                    "pattern": "^CCM_[A-Za-z0-9_]+$"
                  },
                  {
                    "name": "errorMessage",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>More detailed description of the error, which may include values from the request.</p>",
                    "example": "Error validating request message - amount.currencyAmount required",
                    "default": "Error validating request message - amount.currencyAmount required",
                    "pattern": "^.+$"
                  },
                  {
                    "name": "sourceErrorCode",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p><strong>Conditional</strong>. Error code from an upstream system, if any.</p>",
                    "example": "DECLINED",
                    "default": "DECLINED",
                    "pattern": "^\\S+$"
                  },
                  {
                    "name": "sourceErrorMessage",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "<p><strong>Conditional</strong>. Error message from an upstream system, if any.</p>",
                    "example": "Transaction declined by issuer",
                    "default": "Transaction declined by issuer",
                    "pattern": "^.+$"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/ErrorResponse",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "example-0-curl",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url https://sand-api.monoova.com/au/card/ccm/CreditCardTransaction/cancel \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"clientTransactionUniqueReference\": \"PAY-20261013-0001\",\n     \"reason\": \"Customer cancelled the order\"\n     }'"
        },
        {
          "id": "example-1-javascript",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"clientTransactionUniqueReference\": \"PAY-20261013-0001\",\n   \"reason\": \"Customer cancelled the order\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://sand-api.monoova.com/au/card/ccm/CreditCardTransaction/cancel\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "example-2-ruby",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://sand-api.monoova.com/au/card/ccm/CreditCardTransaction/cancel\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"clientTransactionUniqueReference\": \"PAY-20261013-0001\",\n   \"reason\": \"Customer cancelled the order\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "example-3-python",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://sand-api.monoova.com/au/card/ccm/CreditCardTransaction/cancel\"\n\npayload = json.dumps({\n   \"clientTransactionUniqueReference\": \"PAY-20261013-0001\",\n   \"reason\": \"Customer cancelled the order\"\n})\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "example-0-curl"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// Success. The cancellation request was processed; check status for the outcome. The API can also return this response with HTTP status 201 Created.\n{\n  \"traceId\": \"71170aca-7ed5-5045-b317-39f21a1d985e\",\n  \"clientTransactionUniqueReference\": \"PAY-20261013-0001\",\n  \"status\": \"Cancelled\",\n  \"statusReasonCode\": \"05\",\n  \"statusReasonDescription\": \"Do not honour\"\n}"
        },
        {
          "id": "response-1-400",
          "language": "400",
          "code": "// Bad request. The request failed validation - for example clientTransactionUniqueReference is missing or invalid, or the payment cannot be cancelled in its current status.\n{\n  \"traceId\": \"71170aca-7ed5-5045-b317-39f21a1d985e\",\n  \"errors\": [\n    {\n      \"errorCode\": \"CCM_VALIDATION_ERROR\",\n      \"errorMessage\": \"Error validating request message - amount.currencyAmount required\",\n      \"sourceErrorCode\": \"DECLINED\",\n      \"sourceErrorMessage\": \"Transaction declined by issuer\"\n    }\n  ]\n}"
        },
        {
          "id": "response-2-401",
          "language": "401",
          "code": "// Unauthorized. The bearer token is missing, malformed or expired. Generate a new bearer token and retry the request.\n"
        },
        {
          "id": "response-3-403",
          "language": "403",
          "code": "// Forbidden. Your mAccount is not permitted to perform this operation - for example card payments are not enabled for your account.\n{\n  \"traceId\": \"71170aca-7ed5-5045-b317-39f21a1d985e\",\n  \"errors\": [\n    {\n      \"errorCode\": \"CCM_VALIDATION_ERROR\",\n      \"errorMessage\": \"Error validating request message - amount.currencyAmount required\",\n      \"sourceErrorCode\": \"DECLINED\",\n      \"sourceErrorMessage\": \"Transaction declined by issuer\"\n    }\n  ]\n}"
        },
        {
          "id": "response-4-404",
          "language": "404",
          "code": "// Not found. No payment matches clientTransactionUniqueReference for your mAccount.\n{\n  \"traceId\": \"71170aca-7ed5-5045-b317-39f21a1d985e\",\n  \"errors\": [\n    {\n      \"errorCode\": \"CCM_VALIDATION_ERROR\",\n      \"errorMessage\": \"Error validating request message - amount.currencyAmount required\",\n      \"sourceErrorCode\": \"DECLINED\",\n      \"sourceErrorMessage\": \"Transaction declined by issuer\"\n    }\n  ]\n}"
        },
        {
          "id": "response-5-500",
          "language": "500",
          "code": "// Internal server error. An unexpected condition prevented Monoova from completing the request. Retry the request and contact Monoova support if the error persists.\n{\n  \"traceId\": \"71170aca-7ed5-5045-b317-39f21a1d985e\",\n  \"errors\": [\n    {\n      \"errorCode\": \"CCM_VALIDATION_ERROR\",\n      \"errorMessage\": \"Error validating request message - amount.currencyAmount required\",\n      \"sourceErrorCode\": \"DECLINED\",\n      \"sourceErrorMessage\": \"Transaction declined by issuer\"\n    }\n  ]\n}"
        },
        {
          "id": "response-6-502",
          "language": "502",
          "code": "// Bad gateway. A downstream service returned an invalid response, so the outcome of the request is unknown. Check the result with Get Transaction By Id before you retry.\n"
        },
        {
          "id": "response-7-504",
          "language": "504",
          "code": "// Gateway timeout. A downstream service did not respond in time, so the outcome of the request is unknown. Check the result with Get Transaction By Id before you retry.\n{\n  \"traceId\": \"71170aca-7ed5-5045-b317-39f21a1d985e\",\n  \"errors\": [\n    {\n      \"errorCode\": \"CCM_VALIDATION_ERROR\",\n      \"errorMessage\": \"Error validating request message - amount.currencyAmount required\",\n      \"sourceErrorCode\": \"DECLINED\",\n      \"sourceErrorMessage\": \"Transaction declined by issuer\"\n    }\n  ]\n}"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}