diff --git a/openapi/components/schemas/Account.yaml b/openapi/components/schemas/Account.yaml index b8a5995..c1b9eef 100644 --- a/openapi/components/schemas/Account.yaml +++ b/openapi/components/schemas/Account.yaml @@ -1,11 +1,10 @@ -description: Информация по ошибке +description: Информация о счете required: - - errorCode + - accountId properties: - errorCode: - description: Код ошибки + accountId: + description: Номер счета type: string - errorMessage: - description: Описание ошибки + currency: + description: Валюта type: string - diff --git a/openapi/components/schemas/FraudPayment.yaml b/openapi/components/schemas/FraudPayment.yaml index c1b9eef..a979bdf 100644 --- a/openapi/components/schemas/FraudPayment.yaml +++ b/openapi/components/schemas/FraudPayment.yaml @@ -1,10 +1,19 @@ -description: Информация о счете +description: Информация по мошеннической операции required: - - accountId + - paymentContext + - paymentStatus + - eventTime properties: - accountId: - description: Номер счета + payemntId: + description: Идентификатор платежа type: string - currency: - description: Валюта + eventTime: + description: Дата и время создания + type: string + format: date-time + type: + description: Тип мошенничества + type: string + comment: + description: Комментарий type: string diff --git a/openapi/components/schemas/Withdrawal.yaml b/openapi/components/schemas/Withdrawal.yaml index 9f5883f..8dfd687 100644 --- a/openapi/components/schemas/Withdrawal.yaml +++ b/openapi/components/schemas/Withdrawal.yaml @@ -15,6 +15,8 @@ properties: format: date-time bankCard: $ref: './BankCard.yaml' + account: + $ref: './Account.yaml' cashInfo: $ref: './CashInfo.yaml' providerInfo: