Dispute status updated

Type: object
Domain: audit
Event: dispute_status_change
Version: 2

|
method required

Title: The HTTP Method of dispute creation operation
Type: string
Example:
POST

uri required

Title: The URI of dispute creation operation
Type: string
Example:
/v1/disputes/{disputeId}/event

email required

Title: The operator email of dispute creation operation
Type: string or null
Example:
[email protected]

object required

Title: The object that represents the dispute creation operation
Type: object

authorization_id required

Title: The authorization identifier
Type: integer
Example:
14123

account_id required

Title: The account identifier
Type: integer
Example:
12314

modality required

Title: The disputes modality
Type: string
Example:
00123

amount required

Title: The dispute amount
Type: number
Example:
305.0

comment

Title: The operator comment in dispute operation
Type: string or null
Example:
Some comment

protocol

Title: The protocol given from CRM platform
Type: string or null
Example:
24042020M

dispute_id required

Title: The dispute identifier
Type: integer
Example:
724

reason_code required

Title: The reason code
Type: integer
Example:
4855

dispute_modality required

Title: The dispute modality
Description: Could be null, because this attribute is reason code from rules-disputes.
Type: string or null
Example:
Non-receipt of merchandise

created_at required

Title: The dispute creation date, returned in UTC format (RFC 3339)
Type: string
Example:
2020-05-29T20:51:23.000000000Z

update_at required

Title: The dispute update date, returned in UTC format (RFC 3339)
Type: string or null
Example:
2020-05-29T20:51:23.000000000Z

status required

Title: It's the current dispute status
Type: string
Example:
OPEN

previous_status required

Title: It's the previous dispute status
Type: string
Example:
DRAFT

network_return_reason_code

Title: It's a code that is mapped by the network to identify the dispute reason. It's a field wich its content is free
Type: string
Example:
4853

{
    "type": "object",
    "title": "Dispute status updated",
    "required": [
        "method",
        "uri",
        "email",
        "object"
    ],
    "properties": {
        "method": {
            "type": "string",
            "title": "The HTTP Method of dispute creation operation",
            "examples": [
                "POST"
            ]
        },
        "uri": {
            "type": "string",
            "title": "The URI of dispute creation operation",
            "examples": [
                "/v1/disputes/{disputeId}/event"
            ]
        },
        "email": {
            "type": [
                "string",
                "null"
            ],
            "title": "The operator email of dispute creation operation",
            "examples": [
                "[email protected]"
            ]
        },
        "object": {
            "type": "object",
            "title": "The object that represents the dispute creation operation",
            "required": [
                "authorization_id",
                "account_id",
                "modality",
                "amount",
                "dispute_id",
                "reason_code",
                "dispute_modality",
                "created_at",
                "update_at",
                "status",
                "previous_status"
            ],
            "properties": {
                "authorization_id": {
                    "type": "integer",
                    "title": "The authorization identifier",
                    "examples": [
                        14123
                    ]
                },
                "account_id": {
                    "type": "integer",
                    "title": "The account identifier",
                    "examples": [
                        12314
                    ]
                },
                "modality": {
                    "type": "string",
                    "title": "The disputes modality",
                    "examples": [
                        "00123"
                    ]
                },
                "amount": {
                    "type": "number",
                    "title": "The dispute amount",
                    "examples": [
                        305.0
                    ]
                },
                "comment": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "title": "The operator comment in dispute operation",
                    "examples": [
                        "Some comment"
                    ]
                },
                "protocol": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "title": "The protocol given from CRM platform",
                    "examples": [
                        "24042020M"
                    ]
                },
                "dispute_id": {
                    "type": "integer",
                    "title": "The dispute identifier",
                    "examples": [
                        724
                    ]
                },
                "reason_code": {
                    "type": "integer",
                    "title": "The reason code",
                    "examples": [
                        4855
                    ]
                },
                "dispute_modality": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "title": "The dispute modality",
                    "description": "Could be null, because this attribute is reason code from rules-disputes.",
                    "examples": [
                        "Non-receipt of merchandise"
                    ]
                },
                "created_at": {
                    "type": "string",
                    "title": "The dispute creation date, returned in UTC format (RFC 3339)",
                    "examples": [
                        "2020-05-29T20:51:23.000000000Z"
                    ]
                },
                "update_at": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "title": "The dispute update date, returned in UTC format (RFC 3339)",
                    "examples": [
                        "2020-05-29T20:51:23.000000000Z"
                    ]
                },
                "status": {
                    "type": "string",
                    "title": "It's the current dispute status",
                    "examples": [
                        "OPEN"
                    ]
                },
                "previous_status": {
                    "type": "string",
                    "title": "It's the previous dispute status",
                    "examples": [
                        "DRAFT"
                    ]
                },
                "network_return_reason_code": {
                    "type": "string",
                    "title": "It's a code that is mapped by the network to identify the dispute reason. It's a field wich its content is free",
                    "examples": [
                        "4853"
                    ]
                }
            }
        }
    }
}
{
    "method": "POST",
    "uri": "/v1/disputes/{disputeId}/event",
    "email": "[email protected]",
    "object": {
        "authorization_id": 14123,
        "account_id": 12314,
        "modality": "00123",
        "amount": 305.0,
        "comment": "Some comment",
        "protocol": "24042020M",
        "dispute_id": 724,
        "reason_code": 4855,
        "dispute_modality": "Non-receipt of merchandise",
        "created_at": "2020-05-29T20:51:23.000000000Z",
        "update_at": "2020-05-29T20:51:23.000000000Z",
        "status": "OPEN",
        "previous_status": "DRAFT",
        "network_return_reason_code": "4853"
    }
}