@portone/browser-sdk 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Entity } from '../../../index.js';
|
|
2
|
+
/**
|
|
3
|
+
* 정규화가 어려운 페이팔 bypass 파라미터
|
|
4
|
+
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
|
|
5
|
+
*/
|
|
6
|
+
export type PaypalV2PaymentBypass = {
|
|
7
|
+
purchase_units?: {
|
|
8
|
+
shipping?: {
|
|
9
|
+
address?: {
|
|
10
|
+
address_line_1: string;
|
|
11
|
+
address_line_2?: string;
|
|
12
|
+
admin_area_1?: string;
|
|
13
|
+
admin_area_2: string;
|
|
14
|
+
postal_code?: string;
|
|
15
|
+
country_code: Entity.Country;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
}[];
|
|
19
|
+
payer?: {
|
|
20
|
+
tax_info?: {
|
|
21
|
+
tax_id: string;
|
|
22
|
+
tax_id_type: string;
|
|
23
|
+
};
|
|
24
|
+
address?: {
|
|
25
|
+
address_line_1?: string;
|
|
26
|
+
address_line_2?: string;
|
|
27
|
+
admin_area_1?: string;
|
|
28
|
+
admin_area_2?: string;
|
|
29
|
+
postal_code?: string;
|
|
30
|
+
country_code: Entity.Country;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
additional_data?: {
|
|
34
|
+
key: string;
|
|
35
|
+
value: string;
|
|
36
|
+
}[];
|
|
37
|
+
};
|
|
@@ -7,6 +7,7 @@ import { KpnBypass } from './Kpn.js';
|
|
|
7
7
|
import { KsnetPaymentBypass } from './Ksnet.js';
|
|
8
8
|
import { NaverpayPaymentBypass } from './Naverpay.js';
|
|
9
9
|
import { NiceV2PaymentBypass } from './NiceV2.js';
|
|
10
|
+
import { PaypalV2PaymentBypass } from './PaypalV2.js';
|
|
10
11
|
import { SmartroV2PaymentBypass } from './SmartroV2.js';
|
|
11
12
|
import { TossBrandpayPaymentBypass } from './TossBrandpay.js';
|
|
12
13
|
import { TosspaymentsPaymentBypass } from './Tosspayments.js';
|
|
@@ -16,6 +17,7 @@ import { InicisJpBypass } from './InicisJp.js';
|
|
|
16
17
|
export type PaymentBypass = {
|
|
17
18
|
tosspayments?: TosspaymentsPaymentBypass;
|
|
18
19
|
ksnet?: KsnetPaymentBypass;
|
|
20
|
+
paypal_v2?: PaypalV2PaymentBypass;
|
|
19
21
|
kakaopay?: KakaopayPaymentBypass;
|
|
20
22
|
smartro_v2?: SmartroV2PaymentBypass;
|
|
21
23
|
naverpay?: NaverpayPaymentBypass;
|