@capibox/bridge-nextjs-client 0.1.4 → 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 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;
@@ -567,40 +573,12 @@ declare const browser: {
567
573
  };
568
574
  };
569
575
  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;
576
+ detail: {
577
+ verify: boolean;
603
578
  };
579
+ token: string;
580
+ type?: string;
581
+ vault_on_success?: boolean;
604
582
  };
605
583
  processor: {
606
584
  name: string;
@@ -609,109 +587,91 @@ declare const browser: {
609
587
  amountRefunded: number;
610
588
  };
611
589
  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;
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
+ };
622
614
  };
623
615
  };
624
- payee: {
625
- merchant_id: string;
626
- email: string;
627
- };
616
+ response_code: string;
617
+ response_message: string;
618
+ reason: Record<string, never> | null;
628
619
  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;
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;
662
651
  };
663
- net_amount: {
664
- currency_code: string;
665
- value: string;
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;
666
663
  };
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
664
  status: string;
696
- dispute_categories: string[];
665
+ status_message: Record<string, never> | null;
666
+ taxes: unknown[];
697
667
  };
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
- }[];
668
+ meta: Record<string, never>;
713
669
  };
714
- }[];
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;
715
675
  }[];
716
676
  riskData: {
717
677
  cvvCheck: {
@@ -756,40 +716,12 @@ declare const browser: {
756
716
  };
757
717
  };
758
718
  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;
719
+ detail: {
720
+ verify: boolean;
792
721
  };
722
+ token: string;
723
+ type?: string;
724
+ vault_on_success?: boolean;
793
725
  };
794
726
  processor: {
795
727
  name: string;
@@ -798,109 +730,91 @@ declare const browser: {
798
730
  amountRefunded: number;
799
731
  };
800
732
  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;
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
+ };
811
757
  };
812
758
  };
813
- payee: {
814
- merchant_id: string;
815
- email: string;
816
- };
759
+ response_code: string;
760
+ response_message: string;
761
+ reason: Record<string, never> | null;
817
762
  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;
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;
851
794
  };
852
- net_amount: {
853
- currency_code: string;
854
- value: string;
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;
855
806
  };
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
807
  status: string;
885
- dispute_categories: string[];
808
+ status_message: Record<string, never> | null;
809
+ taxes: unknown[];
886
810
  };
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
- }[];
811
+ meta: Record<string, never>;
902
812
  };
903
- }[];
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;
904
818
  }[];
905
819
  riskData: {
906
820
  cvvCheck: {
@@ -1059,6 +973,7 @@ declare const browser: {
1059
973
  value: string;
1060
974
  };
1061
975
  invoice_id?: string;
976
+ custom_id?: string;
1062
977
  seller_protection: {
1063
978
  status: string;
1064
979
  dispute_categories: string[];
@@ -1191,6 +1106,7 @@ declare const browser: {
1191
1106
  value: string;
1192
1107
  };
1193
1108
  invoice_id?: string;
1109
+ custom_id?: string;
1194
1110
  seller_protection: {
1195
1111
  status: string;
1196
1112
  dispute_categories: string[];
@@ -1266,109 +1182,91 @@ declare const browser: {
1266
1182
  }[];
1267
1183
  };
1268
1184
  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;
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
+ };
1279
1209
  };
1280
1210
  };
1281
- payee: {
1282
- merchant_id: string;
1283
- email: string;
1284
- };
1211
+ response_code: string;
1212
+ response_message: string;
1213
+ reason: Record<string, never> | null;
1285
1214
  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;
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;
1315
1246
  };
1316
- paypal_fee: {
1317
- currency_code: string;
1318
- value: string;
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;
1319
1258
  };
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
1259
  status: string;
1353
- dispute_categories: string[];
1260
+ status_message: Record<string, never> | null;
1261
+ taxes: unknown[];
1354
1262
  };
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
- }[];
1263
+ meta: Record<string, never>;
1370
1264
  };
1371
- }[];
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;
1372
1270
  }[];
1373
1271
  create_time: string;
1374
1272
  update_time: string;
@@ -1380,11 +1278,12 @@ declare const browser: {
1380
1278
  }>;
1381
1279
  };
1382
1280
  yuno: {
1383
- createPayment: (dto: {
1281
+ createPayment: (dto: Omit<{
1384
1282
  referenceId: string;
1385
1283
  paymentMethod: string;
1386
1284
  token: string;
1387
- }) => Promise<never>;
1285
+ amount: number;
1286
+ }, "amount">) => Promise<never>;
1388
1287
  };
1389
1288
  primer: {
1390
1289
  oneUsdChargeAndRefund: (dto: {
@@ -1427,40 +1326,12 @@ declare const browser: {
1427
1326
  };
1428
1327
  };
1429
1328
  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;
1329
+ detail: {
1330
+ verify: boolean;
1463
1331
  };
1332
+ token: string;
1333
+ type?: string;
1334
+ vault_on_success?: boolean;
1464
1335
  };
1465
1336
  processor: {
1466
1337
  name: string;
@@ -1469,109 +1340,91 @@ declare const browser: {
1469
1340
  amountRefunded: number;
1470
1341
  };
1471
1342
  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;
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
+ };
1482
1367
  };
1483
1368
  };
1484
- payee: {
1485
- merchant_id: string;
1486
- email: string;
1487
- };
1369
+ response_code: string;
1370
+ response_message: string;
1371
+ reason: Record<string, never> | null;
1488
1372
  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;
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;
1522
1404
  };
1523
- net_amount: {
1524
- currency_code: string;
1525
- value: string;
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;
1526
1416
  };
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
1417
  status: string;
1556
- dispute_categories: string[];
1418
+ status_message: Record<string, never> | null;
1419
+ taxes: unknown[];
1557
1420
  };
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
- }[];
1421
+ meta: Record<string, never>;
1573
1422
  };
1574
- }[];
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;
1575
1428
  }[];
1576
1429
  riskData: {
1577
1430
  cvvCheck: {