VTEX · Schema

Fail-GenericError3

Internal server error information.

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
paymentId string The same `paymentId` sent in the request.
refundId string Provider's refund identifier. If the operation has failed you **MUST** return `null`.
value integer The amount to be settled.
code string Provider's operation/error code to be logged. Return `refund-manually` if you do not support this operation, so we can send a notification to the merchant.
message string Provider's operation/error message to be logged.
requestId string The same `requestId` sent in the request.
View JSON Schema on GitHub

JSON Schema

vtex-fail-genericerror3-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Fail-GenericError3",
  "title": "Fail-GenericError3",
  "required": [
    "paymentId",
    "refundId",
    "value",
    "code",
    "message",
    "requestId"
  ],
  "type": "object",
  "description": "Internal server error information.",
  "properties": {
    "paymentId": {
      "type": "string",
      "description": "The same `paymentId` sent in the request."
    },
    "refundId": {
      "type": "string",
      "nullable": true,
      "description": "Provider's refund identifier. If the operation has failed you **MUST** return `null`."
    },
    "value": {
      "type": "integer",
      "description": "The amount to be settled."
    },
    "code": {
      "type": "string",
      "description": "Provider's operation/error code to be logged. Return `refund-manually` if you do not support this operation, so we can send a notification to the merchant."
    },
    "message": {
      "type": "string",
      "description": "Provider's operation/error message to be logged."
    },
    "requestId": {
      "type": "string",
      "description": "The same `requestId` sent in the request."
    }
  }
}