@capibox/bridge-nextjs-client 0.1.4 → 0.1.6
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 +336 -481
- package/dist/index.d.ts +336 -481
- 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
|
@@ -503,10 +503,14 @@ declare const browser: {
|
|
|
503
503
|
};
|
|
504
504
|
pathname?: string;
|
|
505
505
|
}[];
|
|
506
|
+
customerId?: string;
|
|
506
507
|
}) => Promise<{
|
|
507
508
|
token: string;
|
|
508
509
|
source: string;
|
|
509
510
|
provider: string;
|
|
511
|
+
extra?: {
|
|
512
|
+
[key: string]: unknown;
|
|
513
|
+
};
|
|
510
514
|
}[]>;
|
|
511
515
|
updateSession: (data: {
|
|
512
516
|
referenceId: string;
|
|
@@ -533,7 +537,11 @@ declare const browser: {
|
|
|
533
537
|
token: string;
|
|
534
538
|
source: string;
|
|
535
539
|
provider: string;
|
|
540
|
+
extra?: {
|
|
541
|
+
[key: string]: unknown;
|
|
542
|
+
};
|
|
536
543
|
}[];
|
|
544
|
+
customerId?: string;
|
|
537
545
|
}) => Promise<{
|
|
538
546
|
success: boolean;
|
|
539
547
|
}>;
|
|
@@ -567,40 +575,12 @@ declare const browser: {
|
|
|
567
575
|
};
|
|
568
576
|
};
|
|
569
577
|
paymentMethod: {
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
paymentMethodToken: string;
|
|
573
|
-
isVaulted: boolean;
|
|
574
|
-
analyticsId: string;
|
|
575
|
-
paymentMethodType: string;
|
|
576
|
-
paymentMethodData: {
|
|
577
|
-
last4Digits: string;
|
|
578
|
-
first6Digits: string;
|
|
579
|
-
expirationMonth: string;
|
|
580
|
-
expirationYear: string;
|
|
581
|
-
network: string;
|
|
582
|
-
isNetworkTokenized: boolean;
|
|
583
|
-
binData: {
|
|
584
|
-
[key: string]: unknown;
|
|
585
|
-
} & {
|
|
586
|
-
network: string;
|
|
587
|
-
issuerCountryCode: string;
|
|
588
|
-
issuerName: string;
|
|
589
|
-
issuerCurrencyCode: string;
|
|
590
|
-
regionalRestriction: string;
|
|
591
|
-
accountNumberType: string;
|
|
592
|
-
accountFundingType: string;
|
|
593
|
-
prepaidReloadableIndicator: string;
|
|
594
|
-
productUsageType: string;
|
|
595
|
-
productCode: string;
|
|
596
|
-
productName: string;
|
|
597
|
-
};
|
|
598
|
-
networkTransactionId: string;
|
|
599
|
-
accountFundingType: string;
|
|
600
|
-
};
|
|
601
|
-
threeDSecureAuthentication: {
|
|
602
|
-
responseCode: string;
|
|
578
|
+
detail: {
|
|
579
|
+
verify: boolean;
|
|
603
580
|
};
|
|
581
|
+
token: string;
|
|
582
|
+
type?: string;
|
|
583
|
+
vault_on_success?: boolean;
|
|
604
584
|
};
|
|
605
585
|
processor: {
|
|
606
586
|
name: string;
|
|
@@ -609,109 +589,91 @@ declare const browser: {
|
|
|
609
589
|
amountRefunded: number;
|
|
610
590
|
};
|
|
611
591
|
transactions: {
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
592
|
+
id: string;
|
|
593
|
+
type: string;
|
|
594
|
+
status: string;
|
|
595
|
+
category: string;
|
|
596
|
+
amount: number;
|
|
597
|
+
provider_id: string;
|
|
598
|
+
payment_method: {
|
|
599
|
+
vaulted_token: string;
|
|
600
|
+
type: string;
|
|
601
|
+
vault_on_success: boolean;
|
|
602
|
+
token: string;
|
|
603
|
+
detail: {
|
|
604
|
+
bank_transfer: {
|
|
605
|
+
provider_image: string;
|
|
606
|
+
account_type: Record<string, never> | null;
|
|
607
|
+
bank_name: string;
|
|
608
|
+
beneficiary_name: string;
|
|
609
|
+
bank_account: string;
|
|
610
|
+
bank_account_2: Record<string, never> | null;
|
|
611
|
+
beneficiary_document_type: string;
|
|
612
|
+
beneficiary_document: string;
|
|
613
|
+
payment_instruction: Record<string, never> | null;
|
|
614
|
+
redirect_url: string;
|
|
615
|
+
};
|
|
622
616
|
};
|
|
623
617
|
};
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
};
|
|
618
|
+
response_code: string;
|
|
619
|
+
response_message: string;
|
|
620
|
+
reason: Record<string, never> | null;
|
|
628
621
|
description: string;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
currency_code: string;
|
|
661
|
-
value: string;
|
|
622
|
+
merchant_reference: Record<string, never> | null;
|
|
623
|
+
provider_data: {
|
|
624
|
+
id: string;
|
|
625
|
+
transaction_id: string;
|
|
626
|
+
account_id: string;
|
|
627
|
+
status: string;
|
|
628
|
+
status_detail: string;
|
|
629
|
+
response_code: string;
|
|
630
|
+
response_message: string;
|
|
631
|
+
iso8583_response_code: string;
|
|
632
|
+
iso8583_response_message: string;
|
|
633
|
+
raw_response: {
|
|
634
|
+
data: {
|
|
635
|
+
amount_in_cents: number;
|
|
636
|
+
bill_id: Record<string, never> | null;
|
|
637
|
+
billing_data: Record<string, never> | null;
|
|
638
|
+
created_at: string;
|
|
639
|
+
currency: string;
|
|
640
|
+
customer_data: Record<string, never> | null;
|
|
641
|
+
customer_email: string;
|
|
642
|
+
finalized_at: Record<string, never> | null;
|
|
643
|
+
id: string;
|
|
644
|
+
payment_link_id: Record<string, never> | null;
|
|
645
|
+
payment_method: {
|
|
646
|
+
extra: {
|
|
647
|
+
is_three_ds: boolean;
|
|
648
|
+
};
|
|
649
|
+
payment_description: string;
|
|
650
|
+
sandbox_status: string;
|
|
651
|
+
type: string;
|
|
652
|
+
user_type: string;
|
|
662
653
|
};
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
654
|
+
payment_method_type: string;
|
|
655
|
+
payment_source_id: Record<string, never> | null;
|
|
656
|
+
redirect_url: string;
|
|
657
|
+
reference: string;
|
|
658
|
+
shipping_address: {
|
|
659
|
+
address_line_1: string;
|
|
660
|
+
address_line_2: Record<string, never> | null;
|
|
661
|
+
city: string;
|
|
662
|
+
state: string;
|
|
663
|
+
country: string;
|
|
664
|
+
zip_code: string;
|
|
666
665
|
};
|
|
667
|
-
};
|
|
668
|
-
invoice_id?: string;
|
|
669
|
-
custom_id?: string;
|
|
670
|
-
status: string;
|
|
671
|
-
supplementary_data: {
|
|
672
|
-
related_ids: Record<string, never>;
|
|
673
|
-
};
|
|
674
|
-
payee: {
|
|
675
|
-
email_address: string;
|
|
676
|
-
merchant_id: string;
|
|
677
|
-
};
|
|
678
|
-
create_time: string;
|
|
679
|
-
update_time: string;
|
|
680
|
-
links: {
|
|
681
|
-
href: string;
|
|
682
|
-
rel: string;
|
|
683
|
-
method: string;
|
|
684
|
-
}[];
|
|
685
|
-
};
|
|
686
|
-
authorization?: {
|
|
687
|
-
id: string;
|
|
688
|
-
status: string;
|
|
689
|
-
amount: {
|
|
690
|
-
currency_code: string;
|
|
691
|
-
value: string;
|
|
692
|
-
};
|
|
693
|
-
invoice_id?: string;
|
|
694
|
-
seller_protection: {
|
|
695
666
|
status: string;
|
|
696
|
-
|
|
667
|
+
status_message: Record<string, never> | null;
|
|
668
|
+
taxes: unknown[];
|
|
697
669
|
};
|
|
698
|
-
|
|
699
|
-
related_ids: Record<string, never>;
|
|
700
|
-
};
|
|
701
|
-
payee: {
|
|
702
|
-
email_address: string;
|
|
703
|
-
merchant_id: string;
|
|
704
|
-
};
|
|
705
|
-
expiration_time: string;
|
|
706
|
-
create_time: string;
|
|
707
|
-
update_time: string;
|
|
708
|
-
links: {
|
|
709
|
-
href: string;
|
|
710
|
-
rel: string;
|
|
711
|
-
method: string;
|
|
712
|
-
}[];
|
|
670
|
+
meta: Record<string, never>;
|
|
713
671
|
};
|
|
714
|
-
|
|
672
|
+
third_party_transaction_id: string;
|
|
673
|
+
};
|
|
674
|
+
three_d_secure_action_required: Record<string, never> | null;
|
|
675
|
+
created_at: string;
|
|
676
|
+
updated_at: string;
|
|
715
677
|
}[];
|
|
716
678
|
riskData: {
|
|
717
679
|
cvvCheck: {
|
|
@@ -756,40 +718,12 @@ declare const browser: {
|
|
|
756
718
|
};
|
|
757
719
|
};
|
|
758
720
|
paymentMethod: {
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
paymentMethodToken: string;
|
|
762
|
-
isVaulted: boolean;
|
|
763
|
-
analyticsId: string;
|
|
764
|
-
paymentMethodType: string;
|
|
765
|
-
paymentMethodData: {
|
|
766
|
-
last4Digits: string;
|
|
767
|
-
first6Digits: string;
|
|
768
|
-
expirationMonth: string;
|
|
769
|
-
expirationYear: string;
|
|
770
|
-
network: string;
|
|
771
|
-
isNetworkTokenized: boolean;
|
|
772
|
-
binData: {
|
|
773
|
-
[key: string]: unknown;
|
|
774
|
-
} & {
|
|
775
|
-
network: string;
|
|
776
|
-
issuerCountryCode: string;
|
|
777
|
-
issuerName: string;
|
|
778
|
-
issuerCurrencyCode: string;
|
|
779
|
-
regionalRestriction: string;
|
|
780
|
-
accountNumberType: string;
|
|
781
|
-
accountFundingType: string;
|
|
782
|
-
prepaidReloadableIndicator: string;
|
|
783
|
-
productUsageType: string;
|
|
784
|
-
productCode: string;
|
|
785
|
-
productName: string;
|
|
786
|
-
};
|
|
787
|
-
networkTransactionId: string;
|
|
788
|
-
accountFundingType: string;
|
|
789
|
-
};
|
|
790
|
-
threeDSecureAuthentication: {
|
|
791
|
-
responseCode: string;
|
|
721
|
+
detail: {
|
|
722
|
+
verify: boolean;
|
|
792
723
|
};
|
|
724
|
+
token: string;
|
|
725
|
+
type?: string;
|
|
726
|
+
vault_on_success?: boolean;
|
|
793
727
|
};
|
|
794
728
|
processor: {
|
|
795
729
|
name: string;
|
|
@@ -798,109 +732,91 @@ declare const browser: {
|
|
|
798
732
|
amountRefunded: number;
|
|
799
733
|
};
|
|
800
734
|
transactions: {
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
735
|
+
id: string;
|
|
736
|
+
type: string;
|
|
737
|
+
status: string;
|
|
738
|
+
category: string;
|
|
739
|
+
amount: number;
|
|
740
|
+
provider_id: string;
|
|
741
|
+
payment_method: {
|
|
742
|
+
vaulted_token: string;
|
|
743
|
+
type: string;
|
|
744
|
+
vault_on_success: boolean;
|
|
745
|
+
token: string;
|
|
746
|
+
detail: {
|
|
747
|
+
bank_transfer: {
|
|
748
|
+
provider_image: string;
|
|
749
|
+
account_type: Record<string, never> | null;
|
|
750
|
+
bank_name: string;
|
|
751
|
+
beneficiary_name: string;
|
|
752
|
+
bank_account: string;
|
|
753
|
+
bank_account_2: Record<string, never> | null;
|
|
754
|
+
beneficiary_document_type: string;
|
|
755
|
+
beneficiary_document: string;
|
|
756
|
+
payment_instruction: Record<string, never> | null;
|
|
757
|
+
redirect_url: string;
|
|
758
|
+
};
|
|
811
759
|
};
|
|
812
760
|
};
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
};
|
|
761
|
+
response_code: string;
|
|
762
|
+
response_message: string;
|
|
763
|
+
reason: Record<string, never> | null;
|
|
817
764
|
description: string;
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
currency_code: string;
|
|
850
|
-
value: string;
|
|
765
|
+
merchant_reference: Record<string, never> | null;
|
|
766
|
+
provider_data: {
|
|
767
|
+
id: string;
|
|
768
|
+
transaction_id: string;
|
|
769
|
+
account_id: string;
|
|
770
|
+
status: string;
|
|
771
|
+
status_detail: string;
|
|
772
|
+
response_code: string;
|
|
773
|
+
response_message: string;
|
|
774
|
+
iso8583_response_code: string;
|
|
775
|
+
iso8583_response_message: string;
|
|
776
|
+
raw_response: {
|
|
777
|
+
data: {
|
|
778
|
+
amount_in_cents: number;
|
|
779
|
+
bill_id: Record<string, never> | null;
|
|
780
|
+
billing_data: Record<string, never> | null;
|
|
781
|
+
created_at: string;
|
|
782
|
+
currency: string;
|
|
783
|
+
customer_data: Record<string, never> | null;
|
|
784
|
+
customer_email: string;
|
|
785
|
+
finalized_at: Record<string, never> | null;
|
|
786
|
+
id: string;
|
|
787
|
+
payment_link_id: Record<string, never> | null;
|
|
788
|
+
payment_method: {
|
|
789
|
+
extra: {
|
|
790
|
+
is_three_ds: boolean;
|
|
791
|
+
};
|
|
792
|
+
payment_description: string;
|
|
793
|
+
sandbox_status: string;
|
|
794
|
+
type: string;
|
|
795
|
+
user_type: string;
|
|
851
796
|
};
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
797
|
+
payment_method_type: string;
|
|
798
|
+
payment_source_id: Record<string, never> | null;
|
|
799
|
+
redirect_url: string;
|
|
800
|
+
reference: string;
|
|
801
|
+
shipping_address: {
|
|
802
|
+
address_line_1: string;
|
|
803
|
+
address_line_2: Record<string, never> | null;
|
|
804
|
+
city: string;
|
|
805
|
+
state: string;
|
|
806
|
+
country: string;
|
|
807
|
+
zip_code: string;
|
|
855
808
|
};
|
|
856
|
-
};
|
|
857
|
-
invoice_id?: string;
|
|
858
|
-
custom_id?: string;
|
|
859
|
-
status: string;
|
|
860
|
-
supplementary_data: {
|
|
861
|
-
related_ids: Record<string, never>;
|
|
862
|
-
};
|
|
863
|
-
payee: {
|
|
864
|
-
email_address: string;
|
|
865
|
-
merchant_id: string;
|
|
866
|
-
};
|
|
867
|
-
create_time: string;
|
|
868
|
-
update_time: string;
|
|
869
|
-
links: {
|
|
870
|
-
href: string;
|
|
871
|
-
rel: string;
|
|
872
|
-
method: string;
|
|
873
|
-
}[];
|
|
874
|
-
};
|
|
875
|
-
authorization?: {
|
|
876
|
-
id: string;
|
|
877
|
-
status: string;
|
|
878
|
-
amount: {
|
|
879
|
-
currency_code: string;
|
|
880
|
-
value: string;
|
|
881
|
-
};
|
|
882
|
-
invoice_id?: string;
|
|
883
|
-
seller_protection: {
|
|
884
809
|
status: string;
|
|
885
|
-
|
|
810
|
+
status_message: Record<string, never> | null;
|
|
811
|
+
taxes: unknown[];
|
|
886
812
|
};
|
|
887
|
-
|
|
888
|
-
related_ids: Record<string, never>;
|
|
889
|
-
};
|
|
890
|
-
payee: {
|
|
891
|
-
email_address: string;
|
|
892
|
-
merchant_id: string;
|
|
893
|
-
};
|
|
894
|
-
expiration_time: string;
|
|
895
|
-
create_time: string;
|
|
896
|
-
update_time: string;
|
|
897
|
-
links: {
|
|
898
|
-
href: string;
|
|
899
|
-
rel: string;
|
|
900
|
-
method: string;
|
|
901
|
-
}[];
|
|
813
|
+
meta: Record<string, never>;
|
|
902
814
|
};
|
|
903
|
-
|
|
815
|
+
third_party_transaction_id: string;
|
|
816
|
+
};
|
|
817
|
+
three_d_secure_action_required: Record<string, never> | null;
|
|
818
|
+
created_at: string;
|
|
819
|
+
updated_at: string;
|
|
904
820
|
}[];
|
|
905
821
|
riskData: {
|
|
906
822
|
cvvCheck: {
|
|
@@ -1059,6 +975,7 @@ declare const browser: {
|
|
|
1059
975
|
value: string;
|
|
1060
976
|
};
|
|
1061
977
|
invoice_id?: string;
|
|
978
|
+
custom_id?: string;
|
|
1062
979
|
seller_protection: {
|
|
1063
980
|
status: string;
|
|
1064
981
|
dispute_categories: string[];
|
|
@@ -1191,6 +1108,7 @@ declare const browser: {
|
|
|
1191
1108
|
value: string;
|
|
1192
1109
|
};
|
|
1193
1110
|
invoice_id?: string;
|
|
1111
|
+
custom_id?: string;
|
|
1194
1112
|
seller_protection: {
|
|
1195
1113
|
status: string;
|
|
1196
1114
|
dispute_categories: string[];
|
|
@@ -1266,109 +1184,91 @@ declare const browser: {
|
|
|
1266
1184
|
}[];
|
|
1267
1185
|
};
|
|
1268
1186
|
transactions: {
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1187
|
+
id: string;
|
|
1188
|
+
type: string;
|
|
1189
|
+
status: string;
|
|
1190
|
+
category: string;
|
|
1191
|
+
amount: number;
|
|
1192
|
+
provider_id: string;
|
|
1193
|
+
payment_method: {
|
|
1194
|
+
vaulted_token: string;
|
|
1195
|
+
type: string;
|
|
1196
|
+
vault_on_success: boolean;
|
|
1197
|
+
token: string;
|
|
1198
|
+
detail: {
|
|
1199
|
+
bank_transfer: {
|
|
1200
|
+
provider_image: string;
|
|
1201
|
+
account_type: Record<string, never> | null;
|
|
1202
|
+
bank_name: string;
|
|
1203
|
+
beneficiary_name: string;
|
|
1204
|
+
bank_account: string;
|
|
1205
|
+
bank_account_2: Record<string, never> | null;
|
|
1206
|
+
beneficiary_document_type: string;
|
|
1207
|
+
beneficiary_document: string;
|
|
1208
|
+
payment_instruction: Record<string, never> | null;
|
|
1209
|
+
redirect_url: string;
|
|
1210
|
+
};
|
|
1279
1211
|
};
|
|
1280
1212
|
};
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
};
|
|
1213
|
+
response_code: string;
|
|
1214
|
+
response_message: string;
|
|
1215
|
+
reason: Record<string, never> | null;
|
|
1285
1216
|
description: string;
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1217
|
+
merchant_reference: Record<string, never> | null;
|
|
1218
|
+
provider_data: {
|
|
1219
|
+
id: string;
|
|
1220
|
+
transaction_id: string;
|
|
1221
|
+
account_id: string;
|
|
1222
|
+
status: string;
|
|
1223
|
+
status_detail: string;
|
|
1224
|
+
response_code: string;
|
|
1225
|
+
response_message: string;
|
|
1226
|
+
iso8583_response_code: string;
|
|
1227
|
+
iso8583_response_message: string;
|
|
1228
|
+
raw_response: {
|
|
1229
|
+
data: {
|
|
1230
|
+
amount_in_cents: number;
|
|
1231
|
+
bill_id: Record<string, never> | null;
|
|
1232
|
+
billing_data: Record<string, never> | null;
|
|
1233
|
+
created_at: string;
|
|
1234
|
+
currency: string;
|
|
1235
|
+
customer_data: Record<string, never> | null;
|
|
1236
|
+
customer_email: string;
|
|
1237
|
+
finalized_at: Record<string, never> | null;
|
|
1238
|
+
id: string;
|
|
1239
|
+
payment_link_id: Record<string, never> | null;
|
|
1240
|
+
payment_method: {
|
|
1241
|
+
extra: {
|
|
1242
|
+
is_three_ds: boolean;
|
|
1243
|
+
};
|
|
1244
|
+
payment_description: string;
|
|
1245
|
+
sandbox_status: string;
|
|
1246
|
+
type: string;
|
|
1247
|
+
user_type: string;
|
|
1315
1248
|
};
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1249
|
+
payment_method_type: string;
|
|
1250
|
+
payment_source_id: Record<string, never> | null;
|
|
1251
|
+
redirect_url: string;
|
|
1252
|
+
reference: string;
|
|
1253
|
+
shipping_address: {
|
|
1254
|
+
address_line_1: string;
|
|
1255
|
+
address_line_2: Record<string, never> | null;
|
|
1256
|
+
city: string;
|
|
1257
|
+
state: string;
|
|
1258
|
+
country: string;
|
|
1259
|
+
zip_code: string;
|
|
1319
1260
|
};
|
|
1320
|
-
net_amount: {
|
|
1321
|
-
currency_code: string;
|
|
1322
|
-
value: string;
|
|
1323
|
-
};
|
|
1324
|
-
};
|
|
1325
|
-
invoice_id?: string;
|
|
1326
|
-
custom_id?: string;
|
|
1327
|
-
status: string;
|
|
1328
|
-
supplementary_data: {
|
|
1329
|
-
related_ids: Record<string, never>;
|
|
1330
|
-
};
|
|
1331
|
-
payee: {
|
|
1332
|
-
email_address: string;
|
|
1333
|
-
merchant_id: string;
|
|
1334
|
-
};
|
|
1335
|
-
create_time: string;
|
|
1336
|
-
update_time: string;
|
|
1337
|
-
links: {
|
|
1338
|
-
href: string;
|
|
1339
|
-
rel: string;
|
|
1340
|
-
method: string;
|
|
1341
|
-
}[];
|
|
1342
|
-
};
|
|
1343
|
-
authorization?: {
|
|
1344
|
-
id: string;
|
|
1345
|
-
status: string;
|
|
1346
|
-
amount: {
|
|
1347
|
-
currency_code: string;
|
|
1348
|
-
value: string;
|
|
1349
|
-
};
|
|
1350
|
-
invoice_id?: string;
|
|
1351
|
-
seller_protection: {
|
|
1352
1261
|
status: string;
|
|
1353
|
-
|
|
1262
|
+
status_message: Record<string, never> | null;
|
|
1263
|
+
taxes: unknown[];
|
|
1354
1264
|
};
|
|
1355
|
-
|
|
1356
|
-
related_ids: Record<string, never>;
|
|
1357
|
-
};
|
|
1358
|
-
payee: {
|
|
1359
|
-
email_address: string;
|
|
1360
|
-
merchant_id: string;
|
|
1361
|
-
};
|
|
1362
|
-
expiration_time: string;
|
|
1363
|
-
create_time: string;
|
|
1364
|
-
update_time: string;
|
|
1365
|
-
links: {
|
|
1366
|
-
href: string;
|
|
1367
|
-
rel: string;
|
|
1368
|
-
method: string;
|
|
1369
|
-
}[];
|
|
1265
|
+
meta: Record<string, never>;
|
|
1370
1266
|
};
|
|
1371
|
-
|
|
1267
|
+
third_party_transaction_id: string;
|
|
1268
|
+
};
|
|
1269
|
+
three_d_secure_action_required: Record<string, never> | null;
|
|
1270
|
+
created_at: string;
|
|
1271
|
+
updated_at: string;
|
|
1372
1272
|
}[];
|
|
1373
1273
|
create_time: string;
|
|
1374
1274
|
update_time: string;
|
|
@@ -1380,11 +1280,12 @@ declare const browser: {
|
|
|
1380
1280
|
}>;
|
|
1381
1281
|
};
|
|
1382
1282
|
yuno: {
|
|
1383
|
-
createPayment: (dto: {
|
|
1283
|
+
createPayment: (dto: Omit<{
|
|
1384
1284
|
referenceId: string;
|
|
1385
1285
|
paymentMethod: string;
|
|
1386
1286
|
token: string;
|
|
1387
|
-
|
|
1287
|
+
amount: number;
|
|
1288
|
+
}, "amount">) => Promise<never>;
|
|
1388
1289
|
};
|
|
1389
1290
|
primer: {
|
|
1390
1291
|
oneUsdChargeAndRefund: (dto: {
|
|
@@ -1427,40 +1328,12 @@ declare const browser: {
|
|
|
1427
1328
|
};
|
|
1428
1329
|
};
|
|
1429
1330
|
paymentMethod: {
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
paymentMethodToken: string;
|
|
1433
|
-
isVaulted: boolean;
|
|
1434
|
-
analyticsId: string;
|
|
1435
|
-
paymentMethodType: string;
|
|
1436
|
-
paymentMethodData: {
|
|
1437
|
-
last4Digits: string;
|
|
1438
|
-
first6Digits: string;
|
|
1439
|
-
expirationMonth: string;
|
|
1440
|
-
expirationYear: string;
|
|
1441
|
-
network: string;
|
|
1442
|
-
isNetworkTokenized: boolean;
|
|
1443
|
-
binData: {
|
|
1444
|
-
[key: string]: unknown;
|
|
1445
|
-
} & {
|
|
1446
|
-
network: string;
|
|
1447
|
-
issuerCountryCode: string;
|
|
1448
|
-
issuerName: string;
|
|
1449
|
-
issuerCurrencyCode: string;
|
|
1450
|
-
regionalRestriction: string;
|
|
1451
|
-
accountNumberType: string;
|
|
1452
|
-
accountFundingType: string;
|
|
1453
|
-
prepaidReloadableIndicator: string;
|
|
1454
|
-
productUsageType: string;
|
|
1455
|
-
productCode: string;
|
|
1456
|
-
productName: string;
|
|
1457
|
-
};
|
|
1458
|
-
networkTransactionId: string;
|
|
1459
|
-
accountFundingType: string;
|
|
1460
|
-
};
|
|
1461
|
-
threeDSecureAuthentication: {
|
|
1462
|
-
responseCode: string;
|
|
1331
|
+
detail: {
|
|
1332
|
+
verify: boolean;
|
|
1463
1333
|
};
|
|
1334
|
+
token: string;
|
|
1335
|
+
type?: string;
|
|
1336
|
+
vault_on_success?: boolean;
|
|
1464
1337
|
};
|
|
1465
1338
|
processor: {
|
|
1466
1339
|
name: string;
|
|
@@ -1469,109 +1342,91 @@ declare const browser: {
|
|
|
1469
1342
|
amountRefunded: number;
|
|
1470
1343
|
};
|
|
1471
1344
|
transactions: {
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1345
|
+
id: string;
|
|
1346
|
+
type: string;
|
|
1347
|
+
status: string;
|
|
1348
|
+
category: string;
|
|
1349
|
+
amount: number;
|
|
1350
|
+
provider_id: string;
|
|
1351
|
+
payment_method: {
|
|
1352
|
+
vaulted_token: string;
|
|
1353
|
+
type: string;
|
|
1354
|
+
vault_on_success: boolean;
|
|
1355
|
+
token: string;
|
|
1356
|
+
detail: {
|
|
1357
|
+
bank_transfer: {
|
|
1358
|
+
provider_image: string;
|
|
1359
|
+
account_type: Record<string, never> | null;
|
|
1360
|
+
bank_name: string;
|
|
1361
|
+
beneficiary_name: string;
|
|
1362
|
+
bank_account: string;
|
|
1363
|
+
bank_account_2: Record<string, never> | null;
|
|
1364
|
+
beneficiary_document_type: string;
|
|
1365
|
+
beneficiary_document: string;
|
|
1366
|
+
payment_instruction: Record<string, never> | null;
|
|
1367
|
+
redirect_url: string;
|
|
1368
|
+
};
|
|
1482
1369
|
};
|
|
1483
1370
|
};
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
};
|
|
1371
|
+
response_code: string;
|
|
1372
|
+
response_message: string;
|
|
1373
|
+
reason: Record<string, never> | null;
|
|
1488
1374
|
description: string;
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
currency_code: string;
|
|
1521
|
-
value: string;
|
|
1375
|
+
merchant_reference: Record<string, never> | null;
|
|
1376
|
+
provider_data: {
|
|
1377
|
+
id: string;
|
|
1378
|
+
transaction_id: string;
|
|
1379
|
+
account_id: string;
|
|
1380
|
+
status: string;
|
|
1381
|
+
status_detail: string;
|
|
1382
|
+
response_code: string;
|
|
1383
|
+
response_message: string;
|
|
1384
|
+
iso8583_response_code: string;
|
|
1385
|
+
iso8583_response_message: string;
|
|
1386
|
+
raw_response: {
|
|
1387
|
+
data: {
|
|
1388
|
+
amount_in_cents: number;
|
|
1389
|
+
bill_id: Record<string, never> | null;
|
|
1390
|
+
billing_data: Record<string, never> | null;
|
|
1391
|
+
created_at: string;
|
|
1392
|
+
currency: string;
|
|
1393
|
+
customer_data: Record<string, never> | null;
|
|
1394
|
+
customer_email: string;
|
|
1395
|
+
finalized_at: Record<string, never> | null;
|
|
1396
|
+
id: string;
|
|
1397
|
+
payment_link_id: Record<string, never> | null;
|
|
1398
|
+
payment_method: {
|
|
1399
|
+
extra: {
|
|
1400
|
+
is_three_ds: boolean;
|
|
1401
|
+
};
|
|
1402
|
+
payment_description: string;
|
|
1403
|
+
sandbox_status: string;
|
|
1404
|
+
type: string;
|
|
1405
|
+
user_type: string;
|
|
1522
1406
|
};
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1407
|
+
payment_method_type: string;
|
|
1408
|
+
payment_source_id: Record<string, never> | null;
|
|
1409
|
+
redirect_url: string;
|
|
1410
|
+
reference: string;
|
|
1411
|
+
shipping_address: {
|
|
1412
|
+
address_line_1: string;
|
|
1413
|
+
address_line_2: Record<string, never> | null;
|
|
1414
|
+
city: string;
|
|
1415
|
+
state: string;
|
|
1416
|
+
country: string;
|
|
1417
|
+
zip_code: string;
|
|
1526
1418
|
};
|
|
1527
|
-
};
|
|
1528
|
-
invoice_id?: string;
|
|
1529
|
-
custom_id?: string;
|
|
1530
|
-
status: string;
|
|
1531
|
-
supplementary_data: {
|
|
1532
|
-
related_ids: Record<string, never>;
|
|
1533
|
-
};
|
|
1534
|
-
payee: {
|
|
1535
|
-
email_address: string;
|
|
1536
|
-
merchant_id: string;
|
|
1537
|
-
};
|
|
1538
|
-
create_time: string;
|
|
1539
|
-
update_time: string;
|
|
1540
|
-
links: {
|
|
1541
|
-
href: string;
|
|
1542
|
-
rel: string;
|
|
1543
|
-
method: string;
|
|
1544
|
-
}[];
|
|
1545
|
-
};
|
|
1546
|
-
authorization?: {
|
|
1547
|
-
id: string;
|
|
1548
|
-
status: string;
|
|
1549
|
-
amount: {
|
|
1550
|
-
currency_code: string;
|
|
1551
|
-
value: string;
|
|
1552
|
-
};
|
|
1553
|
-
invoice_id?: string;
|
|
1554
|
-
seller_protection: {
|
|
1555
1419
|
status: string;
|
|
1556
|
-
|
|
1420
|
+
status_message: Record<string, never> | null;
|
|
1421
|
+
taxes: unknown[];
|
|
1557
1422
|
};
|
|
1558
|
-
|
|
1559
|
-
related_ids: Record<string, never>;
|
|
1560
|
-
};
|
|
1561
|
-
payee: {
|
|
1562
|
-
email_address: string;
|
|
1563
|
-
merchant_id: string;
|
|
1564
|
-
};
|
|
1565
|
-
expiration_time: string;
|
|
1566
|
-
create_time: string;
|
|
1567
|
-
update_time: string;
|
|
1568
|
-
links: {
|
|
1569
|
-
href: string;
|
|
1570
|
-
rel: string;
|
|
1571
|
-
method: string;
|
|
1572
|
-
}[];
|
|
1423
|
+
meta: Record<string, never>;
|
|
1573
1424
|
};
|
|
1574
|
-
|
|
1425
|
+
third_party_transaction_id: string;
|
|
1426
|
+
};
|
|
1427
|
+
three_d_secure_action_required: Record<string, never> | null;
|
|
1428
|
+
created_at: string;
|
|
1429
|
+
updated_at: string;
|
|
1575
1430
|
}[];
|
|
1576
1431
|
riskData: {
|
|
1577
1432
|
cvvCheck: {
|