Сгенерированные из OpenAPI типы для operations
Init: { requestBody: { content: { application/json: components["schemas"]["Init_FULL"] | components["schemas"]["Init_SDK"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["Response"]; }; }; }; }
InitPayments: { requestBody: { content: { application/json: components["schemas"]["InitPayments"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["InitPaymentsResponse"]; }; }; }; }
Check3dsVersion: { requestBody: { content: { application/json: { PaymentId: string; TerminalKey: string; CardData: unknown; Token: string; }; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: { Version: string; TdsServerTransID?: string; ThreeDSMethodURL?: string; PaymentSystem: string; Success: boolean; ErrorCode: string; Message?: string; Details?: string; }; }; }; }; }
FinishAuthorize: { requestBody: { content: { application/json: components["schemas"]["FinishAuthorize_FULL"] | components["schemas"]["FinishAuthorize_SDK"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["Without3DS"]
| components["schemas"]["With3DS"]
| components["schemas"]["With3DSv2APP"]
| components["schemas"]["With3DSv2BRW"]; }; }; }; }
Confirm: { requestBody: { content: { application/json: components["schemas"]["Confirm"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["Confirm-2"]; }; }; }; }
Cancel: { requestBody: { content: { application/json: components["schemas"]["Cancel"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["Cancel-2"]; }; }; }; }
ChargePCI: { requestBody: { content: { application/json: components["schemas"]["Charge_FULL"] | components["schemas"]["Charge_SDK"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: { TerminalKey: string; Amount: number; OrderId: string; Success: boolean; Status: string; PaymentId: string; ErrorCode: string; Message?: string; Details?: string; }; }; }; }; }
GetState: { requestBody: { content: { application/json: components["schemas"]["GetState_FULL"] | components["schemas"]["GetState_SDK"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: { TerminalKey: string; Amount: number; OrderId: string; Success: boolean; Status: string; PaymentId: string; ErrorCode: string; Message?: string; Details?: string; Params?: components["schemas"]["Items_Params"][]; }; }; }; }; }
AddCustomer: { requestBody: { content: { application/json: components["schemas"]["AddCustomer"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["AddCustomerResponse"]; }; }; }; }
GetCustomer: { requestBody: { content: { application/json: components["schemas"]["GetOrRemoveCustomer"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["GetCustomerResponse"]; }; }; }; }
RemoveCustomer: { requestBody: { content: { application/json: components["schemas"]["GetOrRemoveCustomer"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["RemoveCustomerResponse"]; }; }; }; }
AddCard: { requestBody: { content: { application/json: components["schemas"]["AddCard_FULL"] | components["schemas"]["AddCard_SDK"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["AddCardResponse_FULL"] | components["schemas"]["AddCardResponse_SDK"]; }; }; }; }
AttachCard: { requestBody: { content: { application/json: components["schemas"]["AttachCard"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["AttachCardResponse"]; }; }; }; }
GetAddCardState: { requestBody: { content: { application/json: components["schemas"]["GetAddCardState"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["GetAddCardStateResponse"]; }; }; }; }
GetCardList: { requestBody: { content: { application/json: components["schemas"]["GetCardList_FULL"] | components["schemas"]["GetCardList_SDK"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: { CardId: string; Pan: string; Status: "A"
| "I"
| "D"; RebillId?: string; CardType: 0
| 1
| 2; ExpDate?: string; }[]; }; }; }; }
RemoveCard: { requestBody: { content: { application/json: components["schemas"]["RemoveCard"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["RemoveCardResponse"]; }; }; }; }
GetQr: { requestBody: { content: { application/json: components["schemas"]["GetQr"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["QrResponse_FULL"] | components["schemas"]["QrResponse_SDK"]; }; }; }; }
SubmitRandomAmount: { requestBody: { content: { application/json: { TerminalKey: string; RequestKey: string; Amount: number; Token: string; }; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: { TerminalKey: string; CustomerKey: string; RequestKey: string; RebillId?: string; CardId: string; Success: boolean; ErrorCode: string; Message?: string; Details?: string; Status?: string; }; }; }; }; }
Submit3DSAuthorization: { requestBody: { content: { application/x-www-form-urlencoded: { MD: string; PaRes: string; PaymentId?: string; TerminalKey?: string; Token?: string; }; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: { TerminalKey: string; OrderId: string; Success: boolean; Status: string; PaymentId: string; ErrorCode: string; Message?: string; Details?: string; }; }; }; }; }
Submit3DSAuthorizationV2: { requestBody: { content: { application/x-www-form-urlencoded: { PaymentId: string; TerminalKey: string; Token: string; }; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: { OrderId: string; TerminalKey: string; Status: string; PaymentId: string; Success: boolean; ErrorCode: string; Message?: string; Details?: string; }; }; }; }; }
T-PayEvent: { requestBody: { content: { application/json: components["schemas"]["T-PayEvent"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: { Success: true | false; ErrorCode: string; Message?: string; Details?: string; }; }; }; }; }
QrMembersList: { requestBody: { content: { application/json: { TerminalKey: string; PaymentId: string; Token: string; }; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: { Members?: components["schemas"]["Member"][]; OrderId: string; Success: boolean; ErrorCode: string; Message?: string; }; }; }; }; }
AddAccountQr: { requestBody: { content: { application/json: components["schemas"]["AddAccountQr"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["AddAccountQrResponse"]; }; }; }; }
GetAddAccountQrState: { requestBody?: { content: { application/json: components["schemas"]["GetAddAccountQrState"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["GetAddAccountQrStateResponse"]; }; }; }; }
GetAccountQrList: { requestBody?: { content: { application/json: components["schemas"]["GetAccountQrList"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["GetAccountQrListResponse"]; }; }; }; }
ChargeQr: { requestBody: { content: { application/json: components["schemas"]["ChargeQr"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["ChargeQrResponse"]; }; }; }; }
SbpPayTest: { requestBody: { content: { application/json: components["schemas"]["SbpPayTest"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["SbpPayTestResponse"]; }; }; }; }
GetQRState: { requestBody: { content: { application/json: { TerminalKey: string; PaymentId: string; Token: string; }; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["GetQRStateResponse_FULL"] | components["schemas"]["GetQRStateResponse_SDK"]; }; }; }; }
CheckOrder: { requestBody: { content: { application/json: components["schemas"]["CheckOrder"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["CheckOrder-2"]; }; }; }; }
SendClosingReceipt: { requestBody: { content: { application/json: components["schemas"]["SendClosingReceipt"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["SendClosingReceipt-2"]; }; }; }; }
GetDeepLink: { requestBody: { content: { application/json: components["schemas"]["GetDeepLink"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["GetDeepLinkResponse"]; }; }; }; }
GetTerminalPayMethods: { requestBody: { content: { application/json: components["schemas"]["GetTerminalPayMethods"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["GetTerminalPayMethodsResponse"]; }; }; }; }
GetConfirmOperation: { requestBody?: { content: { application/json: components["schemas"]["by_url"] | components["schemas"]["by_email"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { application/json: components["schemas"]["response_by_url"] | components["schemas"]["response_by_email"]; }; }; }; }
Notification: { requestBody?: { content: { application/json: components["schemas"]["NotificationPayment"]
| components["schemas"]["NotificationAddCard"]
| components["schemas"]["NotificationFiscalization"]
| components["schemas"]["NotificationQr"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; }; }; }