notifications update

master
Vyacheslav N. Boyko 2022-08-05 13:06:34 +03:00
parent a282302956
commit 12dae7cb15
1 changed files with 29 additions and 1 deletions

View File

@ -26,52 +26,80 @@ components:
properties: properties:
uuid: uuid:
type: string type: string
description: Universally unique identifier, which is set for the payment
status: status:
type: string type: string
description: Payment status to indicate whether authorization is successful, pending or failed
type: type:
type: object type: object
description: The detailed transaction type
properties: properties:
code: code:
type: string type: string
description: The code used to identify the transaction type
direction: direction:
type: string type: string
description: The direction of funds, which can be crediting or withdrawal ("DEBIT" or "CREDIT")
description: description:
type: string type: string
description: The description provided for the specified transaction type
mcc: mcc:
type: number type: number
description: Merchant category code for the operation
authDate: authDate:
type: string type: string
format: date format: date
authTyme: description: Authorization date for the operation
authTime:
type: string type: string
format: time format: time
description: Authorization time for the operation
postingDate: postingDate:
type: string type: string
description: Posting date for the operation
authCode: authCode:
type: string type: string
description: Authorization code for the operation
rrn: rrn:
type: number type: number
description: Retrieval reference number, which is provided by the acquiring bank
merchantId: merchantId:
type: number type: number
description: The identifier of the merchant
terminalId: terminalId:
type: number type: number
description: The identifier of the terminal
merchantName: merchantName:
type: string type: string
description: The name of the merchant
merchantCity: merchantCity:
type: string type: string
description: The city or location of the merchant
example: VISA DIRECT
merchantSum: merchantSum:
type: object type: object
description: The parameters of the payment on the merchant side
properties: properties:
amount: amount:
type: number type: number
description: The amount of the payment on the merchant side, can be null
currency: currency:
type: string type: string
description: The currency on the merchant side, which is represented in alpha codes ISO 4217
cardSum: cardSum:
type: object type: object
description: The parameters of the payment on the card side
properties: properties:
amount: amount:
type: number type: number
description: The amount of the payment on the card side, can be null
currency: currency:
type: string type: string
description: The currency on the card side, which is represented in alpha codes ISO 4217
authDescription: authDescription:
type: string type: string
description: A description to elaborate on the status of the operation
example: Approved by Issuer
otb:
type: number
description: Card balance after the transaction (with authorization)