-
Notifications
You must be signed in to change notification settings - Fork 5
/
InitCheckoutPaymentRequest.ts
42 lines (39 loc) · 1.3 KB
/
InitCheckoutPaymentRequest.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import Currency from '../model/Currency';
import PaymentGroup from '../model/PaymentGroup';
import PaymentMethod from '../model/PaymentMethod';
import PaymentPhase from '../model/PaymentPhase';
import CustomInstallment from './dto/CustomInstallment';
import FraudCheckParameters from './dto/FraudCheckParameters';
import PaymentItem from './dto/PaymentItem';
type InitCheckoutPaymentRequest = {
price: number;
paidPrice: number;
buyerMemberId?: number;
currency: Currency;
paymentGroup: PaymentGroup;
paymentPhase?: PaymentPhase;
paymentChannel?: string;
enabledPaymentMethods?: PaymentMethod[];
masterpassGsmNumber?: string;
masterpassUserId?: string;
conversationId?: string;
externalId?: string;
bankOrderId?: string;
cardUserKey?: string;
callbackUrl: string;
clientIp?: string;
enabledInstallments?: number[];
alwaysStoreCardAfterPayment?: boolean;
allowOnlyStoredCards?: boolean;
allowOnlyCreditCard?: boolean;
depositPayments?: boolean;
allowInstallmentOnlyCommercialCards?: boolean;
forceThreeDS?: boolean;
forceAuthForNonCreditCards?: boolean;
ttl?: number;
customInstallments?: CustomInstallment[];
items?: PaymentItem[];
fraudParams?: FraudCheckParameters;
additionalParams?: Map<string, Record<string, unknown>>;
};
export default InitCheckoutPaymentRequest;