Properties
| Name | Type | Description |
|---|---|---|
| PaymentId | string | Unique identifier of specific [Payment](https://mews-systems.gitbook.io/connector-api/operations/payments/#payment). |
| RefundId | string | Unique identifier of refund. |
| Type | object | Type of refund. CreditCardPayment AlternativePayment |
| Amount | object | Absolute value of the fee. |
| State | object | Payment state of the refund. Charged Canceled Pending Failed Verifying |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PaymentRefundResult",
"title": "PaymentRefundResult",
"required": [
"Amount",
"PaymentId",
"RefundId",
"State",
"Type"
],
"type": "object",
"properties": {
"PaymentId": {
"type": "string",
"description": "Unique identifier of specific [Payment](https://mews-systems.gitbook.io/connector-api/operations/payments/#payment).",
"format": "uuid"
},
"RefundId": {
"type": "string",
"description": "Unique identifier of refund.",
"format": "uuid"
},
"Type": {
"title": "Refund type",
"allOf": [
{
"$ref": "#/components/schemas/RefundTypeEnum"
}
],
"description": "Type of refund.\n\nCreditCardPayment\n\nAlternativePayment",
"x-enumNames": [
"CreditCardPayment",
"AlternativePayment"
],
"x-enumDescriptions": [
"",
""
]
},
"Amount": {
"title": "Currency value (ver 2023-02-02)",
"allOf": [
{
"$ref": "#/components/schemas/CurrencyValue"
}
],
"description": "Absolute value of the fee."
},
"State": {
"title": "Payment state",
"allOf": [
{
"$ref": "#/components/schemas/PaymentStateEnum"
}
],
"description": "Payment state of the refund.\n\nCharged\n\nCanceled\n\nPending\n\nFailed\n\nVerifying",
"x-enumNames": [
"Charged",
"Canceled",
"Pending",
"Failed",
"Verifying"
],
"x-enumDescriptions": [
"",
"",
"",
"",
""
]
}
},
"additionalProperties": false,
"x-schema-id": "PaymentRefundResult"
}