@capibox/bridge-nextjs-client 0.1.3 → 0.1.5
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.
- package/dist/index.d.mts +442 -227
- package/dist/index.d.ts +442 -227
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -507,6 +507,9 @@ declare const browser: {
|
|
|
507
507
|
token: string;
|
|
508
508
|
source: string;
|
|
509
509
|
provider: string;
|
|
510
|
+
extra?: {
|
|
511
|
+
[key: string]: unknown;
|
|
512
|
+
};
|
|
510
513
|
}[]>;
|
|
511
514
|
updateSession: (data: {
|
|
512
515
|
referenceId: string;
|
|
@@ -533,6 +536,9 @@ declare const browser: {
|
|
|
533
536
|
token: string;
|
|
534
537
|
source: string;
|
|
535
538
|
provider: string;
|
|
539
|
+
extra?: {
|
|
540
|
+
[key: string]: unknown;
|
|
541
|
+
};
|
|
536
542
|
}[];
|
|
537
543
|
}) => Promise<{
|
|
538
544
|
success: boolean;
|
|
@@ -547,7 +553,142 @@ declare const browser: {
|
|
|
547
553
|
};
|
|
548
554
|
description?: string;
|
|
549
555
|
orderId?: string;
|
|
550
|
-
}) => Promise<
|
|
556
|
+
}) => Promise<{
|
|
557
|
+
id: string;
|
|
558
|
+
date: string;
|
|
559
|
+
dateUpdated: string;
|
|
560
|
+
amount: number;
|
|
561
|
+
currencyCode: string;
|
|
562
|
+
customerId: string;
|
|
563
|
+
metadata: Record<string, never>;
|
|
564
|
+
orderId: string;
|
|
565
|
+
status: "PENDING" | "FAILED" | "AUTHORIZED" | "SETTLING" | "PARTIALLY_SETTLED" | "SETTLED" | "DECLINED" | "CANCELLED";
|
|
566
|
+
order: {
|
|
567
|
+
countryCode: string;
|
|
568
|
+
};
|
|
569
|
+
customer: {
|
|
570
|
+
emailAddress: string;
|
|
571
|
+
billingAddress: {
|
|
572
|
+
countryCode: string;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
paymentMethod: {
|
|
576
|
+
detail: {
|
|
577
|
+
verify: boolean;
|
|
578
|
+
};
|
|
579
|
+
token: string;
|
|
580
|
+
type?: string;
|
|
581
|
+
vault_on_success?: boolean;
|
|
582
|
+
};
|
|
583
|
+
processor: {
|
|
584
|
+
name: string;
|
|
585
|
+
processorMerchantId: string;
|
|
586
|
+
amountCaptured: number;
|
|
587
|
+
amountRefunded: number;
|
|
588
|
+
};
|
|
589
|
+
transactions: {
|
|
590
|
+
id: string;
|
|
591
|
+
type: string;
|
|
592
|
+
status: string;
|
|
593
|
+
category: string;
|
|
594
|
+
amount: number;
|
|
595
|
+
provider_id: string;
|
|
596
|
+
payment_method: {
|
|
597
|
+
vaulted_token: string;
|
|
598
|
+
type: string;
|
|
599
|
+
vault_on_success: boolean;
|
|
600
|
+
token: string;
|
|
601
|
+
detail: {
|
|
602
|
+
bank_transfer: {
|
|
603
|
+
provider_image: string;
|
|
604
|
+
account_type: Record<string, never> | null;
|
|
605
|
+
bank_name: string;
|
|
606
|
+
beneficiary_name: string;
|
|
607
|
+
bank_account: string;
|
|
608
|
+
bank_account_2: Record<string, never> | null;
|
|
609
|
+
beneficiary_document_type: string;
|
|
610
|
+
beneficiary_document: string;
|
|
611
|
+
payment_instruction: Record<string, never> | null;
|
|
612
|
+
redirect_url: string;
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
response_code: string;
|
|
617
|
+
response_message: string;
|
|
618
|
+
reason: Record<string, never> | null;
|
|
619
|
+
description: string;
|
|
620
|
+
merchant_reference: Record<string, never> | null;
|
|
621
|
+
provider_data: {
|
|
622
|
+
id: string;
|
|
623
|
+
transaction_id: string;
|
|
624
|
+
account_id: string;
|
|
625
|
+
status: string;
|
|
626
|
+
status_detail: string;
|
|
627
|
+
response_code: string;
|
|
628
|
+
response_message: string;
|
|
629
|
+
iso8583_response_code: string;
|
|
630
|
+
iso8583_response_message: string;
|
|
631
|
+
raw_response: {
|
|
632
|
+
data: {
|
|
633
|
+
amount_in_cents: number;
|
|
634
|
+
bill_id: Record<string, never> | null;
|
|
635
|
+
billing_data: Record<string, never> | null;
|
|
636
|
+
created_at: string;
|
|
637
|
+
currency: string;
|
|
638
|
+
customer_data: Record<string, never> | null;
|
|
639
|
+
customer_email: string;
|
|
640
|
+
finalized_at: Record<string, never> | null;
|
|
641
|
+
id: string;
|
|
642
|
+
payment_link_id: Record<string, never> | null;
|
|
643
|
+
payment_method: {
|
|
644
|
+
extra: {
|
|
645
|
+
is_three_ds: boolean;
|
|
646
|
+
};
|
|
647
|
+
payment_description: string;
|
|
648
|
+
sandbox_status: string;
|
|
649
|
+
type: string;
|
|
650
|
+
user_type: string;
|
|
651
|
+
};
|
|
652
|
+
payment_method_type: string;
|
|
653
|
+
payment_source_id: Record<string, never> | null;
|
|
654
|
+
redirect_url: string;
|
|
655
|
+
reference: string;
|
|
656
|
+
shipping_address: {
|
|
657
|
+
address_line_1: string;
|
|
658
|
+
address_line_2: Record<string, never> | null;
|
|
659
|
+
city: string;
|
|
660
|
+
state: string;
|
|
661
|
+
country: string;
|
|
662
|
+
zip_code: string;
|
|
663
|
+
};
|
|
664
|
+
status: string;
|
|
665
|
+
status_message: Record<string, never> | null;
|
|
666
|
+
taxes: unknown[];
|
|
667
|
+
};
|
|
668
|
+
meta: Record<string, never>;
|
|
669
|
+
};
|
|
670
|
+
third_party_transaction_id: string;
|
|
671
|
+
};
|
|
672
|
+
three_d_secure_action_required: Record<string, never> | null;
|
|
673
|
+
created_at: string;
|
|
674
|
+
updated_at: string;
|
|
675
|
+
}[];
|
|
676
|
+
riskData: {
|
|
677
|
+
cvvCheck: {
|
|
678
|
+
source: string;
|
|
679
|
+
result: string;
|
|
680
|
+
};
|
|
681
|
+
avsCheck: {
|
|
682
|
+
source: string;
|
|
683
|
+
result: {
|
|
684
|
+
streetAddress: string;
|
|
685
|
+
postalCode: string;
|
|
686
|
+
};
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
} | {
|
|
690
|
+
success: boolean;
|
|
691
|
+
}>;
|
|
551
692
|
chargeFromCart: ({ cartUUID, type, description, metadata, }: {
|
|
552
693
|
cartUUID: string;
|
|
553
694
|
type: "capture" | "authorize";
|
|
@@ -555,7 +696,142 @@ declare const browser: {
|
|
|
555
696
|
[key: string]: any;
|
|
556
697
|
};
|
|
557
698
|
description?: string;
|
|
558
|
-
}) => Promise<
|
|
699
|
+
}) => Promise<{
|
|
700
|
+
id: string;
|
|
701
|
+
date: string;
|
|
702
|
+
dateUpdated: string;
|
|
703
|
+
amount: number;
|
|
704
|
+
currencyCode: string;
|
|
705
|
+
customerId: string;
|
|
706
|
+
metadata: Record<string, never>;
|
|
707
|
+
orderId: string;
|
|
708
|
+
status: "PENDING" | "FAILED" | "AUTHORIZED" | "SETTLING" | "PARTIALLY_SETTLED" | "SETTLED" | "DECLINED" | "CANCELLED";
|
|
709
|
+
order: {
|
|
710
|
+
countryCode: string;
|
|
711
|
+
};
|
|
712
|
+
customer: {
|
|
713
|
+
emailAddress: string;
|
|
714
|
+
billingAddress: {
|
|
715
|
+
countryCode: string;
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
paymentMethod: {
|
|
719
|
+
detail: {
|
|
720
|
+
verify: boolean;
|
|
721
|
+
};
|
|
722
|
+
token: string;
|
|
723
|
+
type?: string;
|
|
724
|
+
vault_on_success?: boolean;
|
|
725
|
+
};
|
|
726
|
+
processor: {
|
|
727
|
+
name: string;
|
|
728
|
+
processorMerchantId: string;
|
|
729
|
+
amountCaptured: number;
|
|
730
|
+
amountRefunded: number;
|
|
731
|
+
};
|
|
732
|
+
transactions: {
|
|
733
|
+
id: string;
|
|
734
|
+
type: string;
|
|
735
|
+
status: string;
|
|
736
|
+
category: string;
|
|
737
|
+
amount: number;
|
|
738
|
+
provider_id: string;
|
|
739
|
+
payment_method: {
|
|
740
|
+
vaulted_token: string;
|
|
741
|
+
type: string;
|
|
742
|
+
vault_on_success: boolean;
|
|
743
|
+
token: string;
|
|
744
|
+
detail: {
|
|
745
|
+
bank_transfer: {
|
|
746
|
+
provider_image: string;
|
|
747
|
+
account_type: Record<string, never> | null;
|
|
748
|
+
bank_name: string;
|
|
749
|
+
beneficiary_name: string;
|
|
750
|
+
bank_account: string;
|
|
751
|
+
bank_account_2: Record<string, never> | null;
|
|
752
|
+
beneficiary_document_type: string;
|
|
753
|
+
beneficiary_document: string;
|
|
754
|
+
payment_instruction: Record<string, never> | null;
|
|
755
|
+
redirect_url: string;
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
response_code: string;
|
|
760
|
+
response_message: string;
|
|
761
|
+
reason: Record<string, never> | null;
|
|
762
|
+
description: string;
|
|
763
|
+
merchant_reference: Record<string, never> | null;
|
|
764
|
+
provider_data: {
|
|
765
|
+
id: string;
|
|
766
|
+
transaction_id: string;
|
|
767
|
+
account_id: string;
|
|
768
|
+
status: string;
|
|
769
|
+
status_detail: string;
|
|
770
|
+
response_code: string;
|
|
771
|
+
response_message: string;
|
|
772
|
+
iso8583_response_code: string;
|
|
773
|
+
iso8583_response_message: string;
|
|
774
|
+
raw_response: {
|
|
775
|
+
data: {
|
|
776
|
+
amount_in_cents: number;
|
|
777
|
+
bill_id: Record<string, never> | null;
|
|
778
|
+
billing_data: Record<string, never> | null;
|
|
779
|
+
created_at: string;
|
|
780
|
+
currency: string;
|
|
781
|
+
customer_data: Record<string, never> | null;
|
|
782
|
+
customer_email: string;
|
|
783
|
+
finalized_at: Record<string, never> | null;
|
|
784
|
+
id: string;
|
|
785
|
+
payment_link_id: Record<string, never> | null;
|
|
786
|
+
payment_method: {
|
|
787
|
+
extra: {
|
|
788
|
+
is_three_ds: boolean;
|
|
789
|
+
};
|
|
790
|
+
payment_description: string;
|
|
791
|
+
sandbox_status: string;
|
|
792
|
+
type: string;
|
|
793
|
+
user_type: string;
|
|
794
|
+
};
|
|
795
|
+
payment_method_type: string;
|
|
796
|
+
payment_source_id: Record<string, never> | null;
|
|
797
|
+
redirect_url: string;
|
|
798
|
+
reference: string;
|
|
799
|
+
shipping_address: {
|
|
800
|
+
address_line_1: string;
|
|
801
|
+
address_line_2: Record<string, never> | null;
|
|
802
|
+
city: string;
|
|
803
|
+
state: string;
|
|
804
|
+
country: string;
|
|
805
|
+
zip_code: string;
|
|
806
|
+
};
|
|
807
|
+
status: string;
|
|
808
|
+
status_message: Record<string, never> | null;
|
|
809
|
+
taxes: unknown[];
|
|
810
|
+
};
|
|
811
|
+
meta: Record<string, never>;
|
|
812
|
+
};
|
|
813
|
+
third_party_transaction_id: string;
|
|
814
|
+
};
|
|
815
|
+
three_d_secure_action_required: Record<string, never> | null;
|
|
816
|
+
created_at: string;
|
|
817
|
+
updated_at: string;
|
|
818
|
+
}[];
|
|
819
|
+
riskData: {
|
|
820
|
+
cvvCheck: {
|
|
821
|
+
source: string;
|
|
822
|
+
result: string;
|
|
823
|
+
};
|
|
824
|
+
avsCheck: {
|
|
825
|
+
source: string;
|
|
826
|
+
result: {
|
|
827
|
+
streetAddress: string;
|
|
828
|
+
postalCode: string;
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
} | {
|
|
833
|
+
success: boolean;
|
|
834
|
+
}>;
|
|
559
835
|
};
|
|
560
836
|
confirmPayment: (uuid: string, { cart }: {
|
|
561
837
|
cart: {
|
|
@@ -697,6 +973,7 @@ declare const browser: {
|
|
|
697
973
|
value: string;
|
|
698
974
|
};
|
|
699
975
|
invoice_id?: string;
|
|
976
|
+
custom_id?: string;
|
|
700
977
|
seller_protection: {
|
|
701
978
|
status: string;
|
|
702
979
|
dispute_categories: string[];
|
|
@@ -829,6 +1106,7 @@ declare const browser: {
|
|
|
829
1106
|
value: string;
|
|
830
1107
|
};
|
|
831
1108
|
invoice_id?: string;
|
|
1109
|
+
custom_id?: string;
|
|
832
1110
|
seller_protection: {
|
|
833
1111
|
status: string;
|
|
834
1112
|
dispute_categories: string[];
|
|
@@ -904,109 +1182,91 @@ declare const browser: {
|
|
|
904
1182
|
}[];
|
|
905
1183
|
};
|
|
906
1184
|
transactions: {
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
1185
|
+
id: string;
|
|
1186
|
+
type: string;
|
|
1187
|
+
status: string;
|
|
1188
|
+
category: string;
|
|
1189
|
+
amount: number;
|
|
1190
|
+
provider_id: string;
|
|
1191
|
+
payment_method: {
|
|
1192
|
+
vaulted_token: string;
|
|
1193
|
+
type: string;
|
|
1194
|
+
vault_on_success: boolean;
|
|
1195
|
+
token: string;
|
|
1196
|
+
detail: {
|
|
1197
|
+
bank_transfer: {
|
|
1198
|
+
provider_image: string;
|
|
1199
|
+
account_type: Record<string, never> | null;
|
|
1200
|
+
bank_name: string;
|
|
1201
|
+
beneficiary_name: string;
|
|
1202
|
+
bank_account: string;
|
|
1203
|
+
bank_account_2: Record<string, never> | null;
|
|
1204
|
+
beneficiary_document_type: string;
|
|
1205
|
+
beneficiary_document: string;
|
|
1206
|
+
payment_instruction: Record<string, never> | null;
|
|
1207
|
+
redirect_url: string;
|
|
1208
|
+
};
|
|
917
1209
|
};
|
|
918
1210
|
};
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
};
|
|
1211
|
+
response_code: string;
|
|
1212
|
+
response_message: string;
|
|
1213
|
+
reason: Record<string, never> | null;
|
|
923
1214
|
description: string;
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
currency_code: string;
|
|
956
|
-
value: string;
|
|
1215
|
+
merchant_reference: Record<string, never> | null;
|
|
1216
|
+
provider_data: {
|
|
1217
|
+
id: string;
|
|
1218
|
+
transaction_id: string;
|
|
1219
|
+
account_id: string;
|
|
1220
|
+
status: string;
|
|
1221
|
+
status_detail: string;
|
|
1222
|
+
response_code: string;
|
|
1223
|
+
response_message: string;
|
|
1224
|
+
iso8583_response_code: string;
|
|
1225
|
+
iso8583_response_message: string;
|
|
1226
|
+
raw_response: {
|
|
1227
|
+
data: {
|
|
1228
|
+
amount_in_cents: number;
|
|
1229
|
+
bill_id: Record<string, never> | null;
|
|
1230
|
+
billing_data: Record<string, never> | null;
|
|
1231
|
+
created_at: string;
|
|
1232
|
+
currency: string;
|
|
1233
|
+
customer_data: Record<string, never> | null;
|
|
1234
|
+
customer_email: string;
|
|
1235
|
+
finalized_at: Record<string, never> | null;
|
|
1236
|
+
id: string;
|
|
1237
|
+
payment_link_id: Record<string, never> | null;
|
|
1238
|
+
payment_method: {
|
|
1239
|
+
extra: {
|
|
1240
|
+
is_three_ds: boolean;
|
|
1241
|
+
};
|
|
1242
|
+
payment_description: string;
|
|
1243
|
+
sandbox_status: string;
|
|
1244
|
+
type: string;
|
|
1245
|
+
user_type: string;
|
|
957
1246
|
};
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
1247
|
+
payment_method_type: string;
|
|
1248
|
+
payment_source_id: Record<string, never> | null;
|
|
1249
|
+
redirect_url: string;
|
|
1250
|
+
reference: string;
|
|
1251
|
+
shipping_address: {
|
|
1252
|
+
address_line_1: string;
|
|
1253
|
+
address_line_2: Record<string, never> | null;
|
|
1254
|
+
city: string;
|
|
1255
|
+
state: string;
|
|
1256
|
+
country: string;
|
|
1257
|
+
zip_code: string;
|
|
961
1258
|
};
|
|
962
|
-
};
|
|
963
|
-
invoice_id?: string;
|
|
964
|
-
custom_id?: string;
|
|
965
|
-
status: string;
|
|
966
|
-
supplementary_data: {
|
|
967
|
-
related_ids: Record<string, never>;
|
|
968
|
-
};
|
|
969
|
-
payee: {
|
|
970
|
-
email_address: string;
|
|
971
|
-
merchant_id: string;
|
|
972
|
-
};
|
|
973
|
-
create_time: string;
|
|
974
|
-
update_time: string;
|
|
975
|
-
links: {
|
|
976
|
-
href: string;
|
|
977
|
-
rel: string;
|
|
978
|
-
method: string;
|
|
979
|
-
}[];
|
|
980
|
-
};
|
|
981
|
-
authorization?: {
|
|
982
|
-
id: string;
|
|
983
|
-
status: string;
|
|
984
|
-
amount: {
|
|
985
|
-
currency_code: string;
|
|
986
|
-
value: string;
|
|
987
|
-
};
|
|
988
|
-
invoice_id?: string;
|
|
989
|
-
seller_protection: {
|
|
990
1259
|
status: string;
|
|
991
|
-
|
|
1260
|
+
status_message: Record<string, never> | null;
|
|
1261
|
+
taxes: unknown[];
|
|
992
1262
|
};
|
|
993
|
-
|
|
994
|
-
related_ids: Record<string, never>;
|
|
995
|
-
};
|
|
996
|
-
payee: {
|
|
997
|
-
email_address: string;
|
|
998
|
-
merchant_id: string;
|
|
999
|
-
};
|
|
1000
|
-
expiration_time: string;
|
|
1001
|
-
create_time: string;
|
|
1002
|
-
update_time: string;
|
|
1003
|
-
links: {
|
|
1004
|
-
href: string;
|
|
1005
|
-
rel: string;
|
|
1006
|
-
method: string;
|
|
1007
|
-
}[];
|
|
1263
|
+
meta: Record<string, never>;
|
|
1008
1264
|
};
|
|
1009
|
-
|
|
1265
|
+
third_party_transaction_id: string;
|
|
1266
|
+
};
|
|
1267
|
+
three_d_secure_action_required: Record<string, never> | null;
|
|
1268
|
+
created_at: string;
|
|
1269
|
+
updated_at: string;
|
|
1010
1270
|
}[];
|
|
1011
1271
|
create_time: string;
|
|
1012
1272
|
update_time: string;
|
|
@@ -1018,11 +1278,12 @@ declare const browser: {
|
|
|
1018
1278
|
}>;
|
|
1019
1279
|
};
|
|
1020
1280
|
yuno: {
|
|
1021
|
-
createPayment: (dto: {
|
|
1281
|
+
createPayment: (dto: Omit<{
|
|
1022
1282
|
referenceId: string;
|
|
1023
1283
|
paymentMethod: string;
|
|
1024
1284
|
token: string;
|
|
1025
|
-
|
|
1285
|
+
amount: number;
|
|
1286
|
+
}, "amount">) => Promise<never>;
|
|
1026
1287
|
};
|
|
1027
1288
|
primer: {
|
|
1028
1289
|
oneUsdChargeAndRefund: (dto: {
|
|
@@ -1065,40 +1326,12 @@ declare const browser: {
|
|
|
1065
1326
|
};
|
|
1066
1327
|
};
|
|
1067
1328
|
paymentMethod: {
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
paymentMethodToken: string;
|
|
1071
|
-
isVaulted: boolean;
|
|
1072
|
-
analyticsId: string;
|
|
1073
|
-
paymentMethodType: string;
|
|
1074
|
-
paymentMethodData: {
|
|
1075
|
-
last4Digits: string;
|
|
1076
|
-
first6Digits: string;
|
|
1077
|
-
expirationMonth: string;
|
|
1078
|
-
expirationYear: string;
|
|
1079
|
-
network: string;
|
|
1080
|
-
isNetworkTokenized: boolean;
|
|
1081
|
-
binData: {
|
|
1082
|
-
[key: string]: unknown;
|
|
1083
|
-
} & {
|
|
1084
|
-
network: string;
|
|
1085
|
-
issuerCountryCode: string;
|
|
1086
|
-
issuerName: string;
|
|
1087
|
-
issuerCurrencyCode: string;
|
|
1088
|
-
regionalRestriction: string;
|
|
1089
|
-
accountNumberType: string;
|
|
1090
|
-
accountFundingType: string;
|
|
1091
|
-
prepaidReloadableIndicator: string;
|
|
1092
|
-
productUsageType: string;
|
|
1093
|
-
productCode: string;
|
|
1094
|
-
productName: string;
|
|
1095
|
-
};
|
|
1096
|
-
networkTransactionId: string;
|
|
1097
|
-
accountFundingType: string;
|
|
1098
|
-
};
|
|
1099
|
-
threeDSecureAuthentication: {
|
|
1100
|
-
responseCode: string;
|
|
1329
|
+
detail: {
|
|
1330
|
+
verify: boolean;
|
|
1101
1331
|
};
|
|
1332
|
+
token: string;
|
|
1333
|
+
type?: string;
|
|
1334
|
+
vault_on_success?: boolean;
|
|
1102
1335
|
};
|
|
1103
1336
|
processor: {
|
|
1104
1337
|
name: string;
|
|
@@ -1107,109 +1340,91 @@ declare const browser: {
|
|
|
1107
1340
|
amountRefunded: number;
|
|
1108
1341
|
};
|
|
1109
1342
|
transactions: {
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1343
|
+
id: string;
|
|
1344
|
+
type: string;
|
|
1345
|
+
status: string;
|
|
1346
|
+
category: string;
|
|
1347
|
+
amount: number;
|
|
1348
|
+
provider_id: string;
|
|
1349
|
+
payment_method: {
|
|
1350
|
+
vaulted_token: string;
|
|
1351
|
+
type: string;
|
|
1352
|
+
vault_on_success: boolean;
|
|
1353
|
+
token: string;
|
|
1354
|
+
detail: {
|
|
1355
|
+
bank_transfer: {
|
|
1356
|
+
provider_image: string;
|
|
1357
|
+
account_type: Record<string, never> | null;
|
|
1358
|
+
bank_name: string;
|
|
1359
|
+
beneficiary_name: string;
|
|
1360
|
+
bank_account: string;
|
|
1361
|
+
bank_account_2: Record<string, never> | null;
|
|
1362
|
+
beneficiary_document_type: string;
|
|
1363
|
+
beneficiary_document: string;
|
|
1364
|
+
payment_instruction: Record<string, never> | null;
|
|
1365
|
+
redirect_url: string;
|
|
1366
|
+
};
|
|
1120
1367
|
};
|
|
1121
1368
|
};
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
};
|
|
1369
|
+
response_code: string;
|
|
1370
|
+
response_message: string;
|
|
1371
|
+
reason: Record<string, never> | null;
|
|
1126
1372
|
description: string;
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
currency_code: string;
|
|
1159
|
-
value: string;
|
|
1373
|
+
merchant_reference: Record<string, never> | null;
|
|
1374
|
+
provider_data: {
|
|
1375
|
+
id: string;
|
|
1376
|
+
transaction_id: string;
|
|
1377
|
+
account_id: string;
|
|
1378
|
+
status: string;
|
|
1379
|
+
status_detail: string;
|
|
1380
|
+
response_code: string;
|
|
1381
|
+
response_message: string;
|
|
1382
|
+
iso8583_response_code: string;
|
|
1383
|
+
iso8583_response_message: string;
|
|
1384
|
+
raw_response: {
|
|
1385
|
+
data: {
|
|
1386
|
+
amount_in_cents: number;
|
|
1387
|
+
bill_id: Record<string, never> | null;
|
|
1388
|
+
billing_data: Record<string, never> | null;
|
|
1389
|
+
created_at: string;
|
|
1390
|
+
currency: string;
|
|
1391
|
+
customer_data: Record<string, never> | null;
|
|
1392
|
+
customer_email: string;
|
|
1393
|
+
finalized_at: Record<string, never> | null;
|
|
1394
|
+
id: string;
|
|
1395
|
+
payment_link_id: Record<string, never> | null;
|
|
1396
|
+
payment_method: {
|
|
1397
|
+
extra: {
|
|
1398
|
+
is_three_ds: boolean;
|
|
1399
|
+
};
|
|
1400
|
+
payment_description: string;
|
|
1401
|
+
sandbox_status: string;
|
|
1402
|
+
type: string;
|
|
1403
|
+
user_type: string;
|
|
1160
1404
|
};
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1405
|
+
payment_method_type: string;
|
|
1406
|
+
payment_source_id: Record<string, never> | null;
|
|
1407
|
+
redirect_url: string;
|
|
1408
|
+
reference: string;
|
|
1409
|
+
shipping_address: {
|
|
1410
|
+
address_line_1: string;
|
|
1411
|
+
address_line_2: Record<string, never> | null;
|
|
1412
|
+
city: string;
|
|
1413
|
+
state: string;
|
|
1414
|
+
country: string;
|
|
1415
|
+
zip_code: string;
|
|
1164
1416
|
};
|
|
1165
|
-
};
|
|
1166
|
-
invoice_id?: string;
|
|
1167
|
-
custom_id?: string;
|
|
1168
|
-
status: string;
|
|
1169
|
-
supplementary_data: {
|
|
1170
|
-
related_ids: Record<string, never>;
|
|
1171
|
-
};
|
|
1172
|
-
payee: {
|
|
1173
|
-
email_address: string;
|
|
1174
|
-
merchant_id: string;
|
|
1175
|
-
};
|
|
1176
|
-
create_time: string;
|
|
1177
|
-
update_time: string;
|
|
1178
|
-
links: {
|
|
1179
|
-
href: string;
|
|
1180
|
-
rel: string;
|
|
1181
|
-
method: string;
|
|
1182
|
-
}[];
|
|
1183
|
-
};
|
|
1184
|
-
authorization?: {
|
|
1185
|
-
id: string;
|
|
1186
|
-
status: string;
|
|
1187
|
-
amount: {
|
|
1188
|
-
currency_code: string;
|
|
1189
|
-
value: string;
|
|
1190
|
-
};
|
|
1191
|
-
invoice_id?: string;
|
|
1192
|
-
seller_protection: {
|
|
1193
1417
|
status: string;
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
supplementary_data: {
|
|
1197
|
-
related_ids: Record<string, never>;
|
|
1418
|
+
status_message: Record<string, never> | null;
|
|
1419
|
+
taxes: unknown[];
|
|
1198
1420
|
};
|
|
1199
|
-
|
|
1200
|
-
email_address: string;
|
|
1201
|
-
merchant_id: string;
|
|
1202
|
-
};
|
|
1203
|
-
expiration_time: string;
|
|
1204
|
-
create_time: string;
|
|
1205
|
-
update_time: string;
|
|
1206
|
-
links: {
|
|
1207
|
-
href: string;
|
|
1208
|
-
rel: string;
|
|
1209
|
-
method: string;
|
|
1210
|
-
}[];
|
|
1421
|
+
meta: Record<string, never>;
|
|
1211
1422
|
};
|
|
1212
|
-
|
|
1423
|
+
third_party_transaction_id: string;
|
|
1424
|
+
};
|
|
1425
|
+
three_d_secure_action_required: Record<string, never> | null;
|
|
1426
|
+
created_at: string;
|
|
1427
|
+
updated_at: string;
|
|
1213
1428
|
}[];
|
|
1214
1429
|
riskData: {
|
|
1215
1430
|
cvvCheck: {
|