Operation request failed
This event occurs when operation is fail.
Type: object
Domain: assets
Event: collateral_operation_failure
Version: 1
|
external_id required
Title: External ID
Description: External identifier for operation provided by client.
Type: string
Example:
47c3cca0-3553-11ee-be56-0242ac120002
errors required
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Operation request failed",
"description": "This event occurs when operation is fail.",
"required": [
"external_id",
"errors"
],
"properties": {
"external_id": {
"type": "string",
"title": "External ID",
"description": "External identifier for operation provided by client.",
"examples": [
"47c3cca0-3553-11ee-be56-0242ac120002"
]
},
"errors": {
"type": "array",
"title": "Error messages",
"description": "Descriptions of errors when an operation fail",
"additionalProperties": false,
"items": {
"$id": "#/properties/error_details/items",
"anyOf": [
{
"$id": "#/properties/errors/items/anyOf/0",
"type": "object",
"title": "Errors object",
"required": [
"code",
"description"
],
"examples": [
{
"code": "F1900023",
"description": "some error message"
}
],
"properties": {
"code": {
"$id": "#/properties/errors/items/anyOf/0/properties/code",
"type": "string",
"title": "Code of error",
"examples": [
"F1900023"
]
},
"description": {
"$id": "#/properties/error_details/items/anyOf/0/properties/description",
"type": "string",
"title": "An Error Message",
"examples": [
"Failure message"
]
}
},
"additionalProperties": true
}
]
},
"examples": [
[
{
"code": "F1900023",
"description": "Failure message"
},
{
"code": "F1900024",
"description": "Failure message"
}
]
]
}
}
}
Updated 21 days ago