@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 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
- paymentType: string;
571
- authorizationType: string;
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
- amount: {
613
- total: string;
614
- currency: string;
615
- details: {
616
- subtotal: string;
617
- shipping: string;
618
- insurance: string;
619
- handling_fee: string;
620
- shipping_discount: string;
621
- discount: string;
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
- payee: {
625
- merchant_id: string;
626
- email: string;
627
- };
618
+ response_code: string;
619
+ response_message: string;
620
+ reason: Record<string, never> | null;
628
621
  description: string;
629
- invoice_number: string;
630
- item_list: {
631
- items: {
632
- name: string;
633
- sku: string;
634
- description: string;
635
- price: string;
636
- currency: string;
637
- tax: string;
638
- quantity: number;
639
- image_url: string;
640
- }[];
641
- };
642
- related_resources: {
643
- sale?: {
644
- id: string;
645
- amount: {
646
- currency_code: string;
647
- value: string;
648
- };
649
- final_capture: boolean;
650
- seller_protection: {
651
- status: string;
652
- dispute_categories: string[];
653
- };
654
- seller_receivable_breakdown: {
655
- gross_amount: {
656
- currency_code: string;
657
- value: string;
658
- };
659
- paypal_fee: {
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
- net_amount: {
664
- currency_code: string;
665
- value: string;
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
- dispute_categories: string[];
667
+ status_message: Record<string, never> | null;
668
+ taxes: unknown[];
697
669
  };
698
- supplementary_data: {
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
- paymentType: string;
760
- authorizationType: string;
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
- amount: {
802
- total: string;
803
- currency: string;
804
- details: {
805
- subtotal: string;
806
- shipping: string;
807
- insurance: string;
808
- handling_fee: string;
809
- shipping_discount: string;
810
- discount: string;
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
- payee: {
814
- merchant_id: string;
815
- email: string;
816
- };
761
+ response_code: string;
762
+ response_message: string;
763
+ reason: Record<string, never> | null;
817
764
  description: string;
818
- invoice_number: string;
819
- item_list: {
820
- items: {
821
- name: string;
822
- sku: string;
823
- description: string;
824
- price: string;
825
- currency: string;
826
- tax: string;
827
- quantity: number;
828
- image_url: string;
829
- }[];
830
- };
831
- related_resources: {
832
- sale?: {
833
- id: string;
834
- amount: {
835
- currency_code: string;
836
- value: string;
837
- };
838
- final_capture: boolean;
839
- seller_protection: {
840
- status: string;
841
- dispute_categories: string[];
842
- };
843
- seller_receivable_breakdown: {
844
- gross_amount: {
845
- currency_code: string;
846
- value: string;
847
- };
848
- paypal_fee: {
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
- net_amount: {
853
- currency_code: string;
854
- value: string;
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
- dispute_categories: string[];
810
+ status_message: Record<string, never> | null;
811
+ taxes: unknown[];
886
812
  };
887
- supplementary_data: {
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
- amount: {
1270
- total: string;
1271
- currency: string;
1272
- details: {
1273
- subtotal: string;
1274
- shipping: string;
1275
- insurance: string;
1276
- handling_fee: string;
1277
- shipping_discount: string;
1278
- discount: string;
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
- payee: {
1282
- merchant_id: string;
1283
- email: string;
1284
- };
1213
+ response_code: string;
1214
+ response_message: string;
1215
+ reason: Record<string, never> | null;
1285
1216
  description: string;
1286
- invoice_number: string;
1287
- item_list: {
1288
- items: {
1289
- name: string;
1290
- sku: string;
1291
- description: string;
1292
- price: string;
1293
- currency: string;
1294
- tax: string;
1295
- quantity: number;
1296
- image_url: string;
1297
- }[];
1298
- };
1299
- related_resources: {
1300
- sale?: {
1301
- id: string;
1302
- amount: {
1303
- currency_code: string;
1304
- value: string;
1305
- };
1306
- final_capture: boolean;
1307
- seller_protection: {
1308
- status: string;
1309
- dispute_categories: string[];
1310
- };
1311
- seller_receivable_breakdown: {
1312
- gross_amount: {
1313
- currency_code: string;
1314
- value: string;
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
- paypal_fee: {
1317
- currency_code: string;
1318
- value: string;
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
- dispute_categories: string[];
1262
+ status_message: Record<string, never> | null;
1263
+ taxes: unknown[];
1354
1264
  };
1355
- supplementary_data: {
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
- }) => Promise<never>;
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
- paymentType: string;
1431
- authorizationType: string;
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
- amount: {
1473
- total: string;
1474
- currency: string;
1475
- details: {
1476
- subtotal: string;
1477
- shipping: string;
1478
- insurance: string;
1479
- handling_fee: string;
1480
- shipping_discount: string;
1481
- discount: string;
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
- payee: {
1485
- merchant_id: string;
1486
- email: string;
1487
- };
1371
+ response_code: string;
1372
+ response_message: string;
1373
+ reason: Record<string, never> | null;
1488
1374
  description: string;
1489
- invoice_number: string;
1490
- item_list: {
1491
- items: {
1492
- name: string;
1493
- sku: string;
1494
- description: string;
1495
- price: string;
1496
- currency: string;
1497
- tax: string;
1498
- quantity: number;
1499
- image_url: string;
1500
- }[];
1501
- };
1502
- related_resources: {
1503
- sale?: {
1504
- id: string;
1505
- amount: {
1506
- currency_code: string;
1507
- value: string;
1508
- };
1509
- final_capture: boolean;
1510
- seller_protection: {
1511
- status: string;
1512
- dispute_categories: string[];
1513
- };
1514
- seller_receivable_breakdown: {
1515
- gross_amount: {
1516
- currency_code: string;
1517
- value: string;
1518
- };
1519
- paypal_fee: {
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
- net_amount: {
1524
- currency_code: string;
1525
- value: string;
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
- dispute_categories: string[];
1420
+ status_message: Record<string, never> | null;
1421
+ taxes: unknown[];
1557
1422
  };
1558
- supplementary_data: {
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: {