{ "type": ["null", "object"], "properties": { "id": { "type": ["null", "integer"] }, "refund_amount": { "type": ["null", "integer"] }, "currency": { "type": ["null", "string"] }, "status": { "type": ["null", "string"] }, "resolution": { "type": ["null", "string"] }, "domain": { "type": ["null", "string"] }, "transaction": { "type": ["null", "object"], "properties": {} }, "transaction_reference": { "type": ["null", "string"] }, "category": { "type": ["null", "string"] }, "customer": { "type": ["null", "object"], "properties": {} }, "bin": { "type": ["null", "string"] }, "last4": { "type": ["null", "string"] }, "dueAt": { "type": ["null", "string"], "format": "date-time" }, "resolvedAt": { "type": ["null", "string"], "format": "date-time" }, "evidence": { "type": ["null", "string"] }, "attachments": { "type": ["null", "string"] }, "note": { "type": ["null", "string"] }, "history": { "type": ["null", "array"], "items": { "type": ["null", "object"], "properties": { "status": { "type": ["null", "string"] }, "by": { "type": ["null", "string"] }, "createdAt": { "type": ["null", "string"], "format": "date-time" } } } }, "messages": { "type": ["null", "array"], "items": { "type": ["null", "object"], "properties": { "sender": { "type": ["null", "string"] }, "body": { "type": ["null", "string"] }, "createdAt": { "type": ["null", "string"], "format": "date-time" } } } }, "createdAt": { "type": ["null", "string"], "format": "date-time" }, "updatedAt": { "type": ["null", "string"], "format": "date-time" } } }