VTEX · Schema
Fail-GenericError1
Cancellation failure information.
CommerceE-CommerceRetailMarketplacePayments
Properties
| Name | Type | Description |
|---|---|---|
| paymentId | string | The same `paymentId` sent in the request. |
| cancellationId | string | Provider's cancellation identifier. If the operation has failed you **MUST** return `null`. |
| code | string | Provider's operation/error code to be logged. Return `cancel-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. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Fail-GenericError1",
"title": "Fail-GenericError1",
"required": [
"paymentId",
"cancellationId",
"code",
"message",
"requestId"
],
"type": "object",
"description": "Cancellation failure information.",
"properties": {
"paymentId": {
"type": "string",
"description": "The same `paymentId` sent in the request."
},
"cancellationId": {
"type": "string",
"nullable": true,
"description": "Provider's cancellation identifier. If the operation has failed you **MUST** return `null`."
},
"code": {
"type": "string",
"description": "Provider's operation/error code to be logged. Return `cancel-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."
}
}
}