increase 0.248.0 → 0.250.0
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/CHANGELOG.md +16 -0
- package/package.json +1 -1
- package/resources/card-payments.d.ts +713 -0
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-payments.js.map +1 -1
- package/resources/card-payments.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +182 -0
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +177 -0
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/real-time-decisions.d.ts +177 -0
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/src/resources/card-payments.ts +826 -0
- package/src/resources/declined-transactions.ts +211 -0
- package/src/resources/pending-transactions.ts +205 -0
- package/src/resources/real-time-decisions.ts +205 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -456,6 +456,13 @@ export namespace CardPayment {
|
|
|
456
456
|
*/
|
|
457
457
|
actioner: 'user' | 'increase' | 'network';
|
|
458
458
|
|
|
459
|
+
/**
|
|
460
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
461
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
462
|
+
* to provide more detailed information about the transaction.
|
|
463
|
+
*/
|
|
464
|
+
additional_amounts: CardAuthorization.AdditionalAmounts;
|
|
465
|
+
|
|
459
466
|
/**
|
|
460
467
|
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
461
468
|
* for example, this is cents.
|
|
@@ -637,6 +644,204 @@ export namespace CardPayment {
|
|
|
637
644
|
}
|
|
638
645
|
|
|
639
646
|
export namespace CardAuthorization {
|
|
647
|
+
/**
|
|
648
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
649
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
650
|
+
* to provide more detailed information about the transaction.
|
|
651
|
+
*/
|
|
652
|
+
export interface AdditionalAmounts {
|
|
653
|
+
/**
|
|
654
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
655
|
+
*/
|
|
656
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* The part of this transaction amount that was for dental-related services.
|
|
660
|
+
*/
|
|
661
|
+
dental: AdditionalAmounts.Dental | null;
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
665
|
+
*/
|
|
666
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
670
|
+
*/
|
|
671
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
675
|
+
*/
|
|
676
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* The total amount of healthcare-related additional amounts.
|
|
680
|
+
*/
|
|
681
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* The part of this transaction amount that was for transit-related services.
|
|
685
|
+
*/
|
|
686
|
+
transit: AdditionalAmounts.Transit | null;
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* An unknown additional amount.
|
|
690
|
+
*/
|
|
691
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* The part of this transaction amount that was for vision-related services.
|
|
695
|
+
*/
|
|
696
|
+
vision: AdditionalAmounts.Vision | null;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
export namespace AdditionalAmounts {
|
|
700
|
+
/**
|
|
701
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
702
|
+
*/
|
|
703
|
+
export interface Clinic {
|
|
704
|
+
/**
|
|
705
|
+
* The amount in minor units of the `currency` field.
|
|
706
|
+
*/
|
|
707
|
+
amount: number;
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
711
|
+
* amount's currency.
|
|
712
|
+
*/
|
|
713
|
+
currency: string;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* The part of this transaction amount that was for dental-related services.
|
|
718
|
+
*/
|
|
719
|
+
export interface Dental {
|
|
720
|
+
/**
|
|
721
|
+
* The amount in minor units of the `currency` field.
|
|
722
|
+
*/
|
|
723
|
+
amount: number;
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
727
|
+
* amount's currency.
|
|
728
|
+
*/
|
|
729
|
+
currency: string;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
734
|
+
*/
|
|
735
|
+
export interface Prescription {
|
|
736
|
+
/**
|
|
737
|
+
* The amount in minor units of the `currency` field.
|
|
738
|
+
*/
|
|
739
|
+
amount: number;
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
743
|
+
* amount's currency.
|
|
744
|
+
*/
|
|
745
|
+
currency: string;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
750
|
+
*/
|
|
751
|
+
export interface Surcharge {
|
|
752
|
+
/**
|
|
753
|
+
* The amount in minor units of the `currency` field.
|
|
754
|
+
*/
|
|
755
|
+
amount: number;
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
759
|
+
* amount's currency.
|
|
760
|
+
*/
|
|
761
|
+
currency: string;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
766
|
+
*/
|
|
767
|
+
export interface TotalCumulative {
|
|
768
|
+
/**
|
|
769
|
+
* The amount in minor units of the `currency` field.
|
|
770
|
+
*/
|
|
771
|
+
amount: number;
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
775
|
+
* amount's currency.
|
|
776
|
+
*/
|
|
777
|
+
currency: string;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* The total amount of healthcare-related additional amounts.
|
|
782
|
+
*/
|
|
783
|
+
export interface TotalHealthcare {
|
|
784
|
+
/**
|
|
785
|
+
* The amount in minor units of the `currency` field.
|
|
786
|
+
*/
|
|
787
|
+
amount: number;
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
791
|
+
* amount's currency.
|
|
792
|
+
*/
|
|
793
|
+
currency: string;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* The part of this transaction amount that was for transit-related services.
|
|
798
|
+
*/
|
|
799
|
+
export interface Transit {
|
|
800
|
+
/**
|
|
801
|
+
* The amount in minor units of the `currency` field.
|
|
802
|
+
*/
|
|
803
|
+
amount: number;
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
807
|
+
* amount's currency.
|
|
808
|
+
*/
|
|
809
|
+
currency: string;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* An unknown additional amount.
|
|
814
|
+
*/
|
|
815
|
+
export interface Unknown {
|
|
816
|
+
/**
|
|
817
|
+
* The amount in minor units of the `currency` field.
|
|
818
|
+
*/
|
|
819
|
+
amount: number;
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
823
|
+
* amount's currency.
|
|
824
|
+
*/
|
|
825
|
+
currency: string;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* The part of this transaction amount that was for vision-related services.
|
|
830
|
+
*/
|
|
831
|
+
export interface Vision {
|
|
832
|
+
/**
|
|
833
|
+
* The amount in minor units of the `currency` field.
|
|
834
|
+
*/
|
|
835
|
+
amount: number;
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
839
|
+
* amount's currency.
|
|
840
|
+
*/
|
|
841
|
+
currency: string;
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
|
|
640
845
|
/**
|
|
641
846
|
* Fields specific to the `network`.
|
|
642
847
|
*/
|
|
@@ -949,6 +1154,13 @@ export namespace CardPayment {
|
|
|
949
1154
|
*/
|
|
950
1155
|
actioner: 'user' | 'increase' | 'network';
|
|
951
1156
|
|
|
1157
|
+
/**
|
|
1158
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
1159
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
1160
|
+
* to provide more detailed information about the transaction.
|
|
1161
|
+
*/
|
|
1162
|
+
additional_amounts: CardDecline.AdditionalAmounts;
|
|
1163
|
+
|
|
952
1164
|
/**
|
|
953
1165
|
* The declined amount in the minor unit of the destination account currency. For
|
|
954
1166
|
* dollars, for example, this is cents.
|
|
@@ -995,6 +1207,12 @@ export namespace CardPayment {
|
|
|
995
1207
|
*/
|
|
996
1208
|
direction: 'settlement' | 'refund';
|
|
997
1209
|
|
|
1210
|
+
/**
|
|
1211
|
+
* The identifier of the card authorization this request attempted to incrementally
|
|
1212
|
+
* authorize.
|
|
1213
|
+
*/
|
|
1214
|
+
incremented_card_authorization_id: string | null;
|
|
1215
|
+
|
|
998
1216
|
/**
|
|
999
1217
|
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
1000
1218
|
* is transacting with.
|
|
@@ -1199,6 +1417,204 @@ export namespace CardPayment {
|
|
|
1199
1417
|
}
|
|
1200
1418
|
|
|
1201
1419
|
export namespace CardDecline {
|
|
1420
|
+
/**
|
|
1421
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
1422
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
1423
|
+
* to provide more detailed information about the transaction.
|
|
1424
|
+
*/
|
|
1425
|
+
export interface AdditionalAmounts {
|
|
1426
|
+
/**
|
|
1427
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1428
|
+
*/
|
|
1429
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1433
|
+
*/
|
|
1434
|
+
dental: AdditionalAmounts.Dental | null;
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1438
|
+
*/
|
|
1439
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1443
|
+
*/
|
|
1444
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1448
|
+
*/
|
|
1449
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* The total amount of healthcare-related additional amounts.
|
|
1453
|
+
*/
|
|
1454
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1458
|
+
*/
|
|
1459
|
+
transit: AdditionalAmounts.Transit | null;
|
|
1460
|
+
|
|
1461
|
+
/**
|
|
1462
|
+
* An unknown additional amount.
|
|
1463
|
+
*/
|
|
1464
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1468
|
+
*/
|
|
1469
|
+
vision: AdditionalAmounts.Vision | null;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
export namespace AdditionalAmounts {
|
|
1473
|
+
/**
|
|
1474
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1475
|
+
*/
|
|
1476
|
+
export interface Clinic {
|
|
1477
|
+
/**
|
|
1478
|
+
* The amount in minor units of the `currency` field.
|
|
1479
|
+
*/
|
|
1480
|
+
amount: number;
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1484
|
+
* amount's currency.
|
|
1485
|
+
*/
|
|
1486
|
+
currency: string;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1491
|
+
*/
|
|
1492
|
+
export interface Dental {
|
|
1493
|
+
/**
|
|
1494
|
+
* The amount in minor units of the `currency` field.
|
|
1495
|
+
*/
|
|
1496
|
+
amount: number;
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1500
|
+
* amount's currency.
|
|
1501
|
+
*/
|
|
1502
|
+
currency: string;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1507
|
+
*/
|
|
1508
|
+
export interface Prescription {
|
|
1509
|
+
/**
|
|
1510
|
+
* The amount in minor units of the `currency` field.
|
|
1511
|
+
*/
|
|
1512
|
+
amount: number;
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1516
|
+
* amount's currency.
|
|
1517
|
+
*/
|
|
1518
|
+
currency: string;
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1523
|
+
*/
|
|
1524
|
+
export interface Surcharge {
|
|
1525
|
+
/**
|
|
1526
|
+
* The amount in minor units of the `currency` field.
|
|
1527
|
+
*/
|
|
1528
|
+
amount: number;
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1532
|
+
* amount's currency.
|
|
1533
|
+
*/
|
|
1534
|
+
currency: string;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1539
|
+
*/
|
|
1540
|
+
export interface TotalCumulative {
|
|
1541
|
+
/**
|
|
1542
|
+
* The amount in minor units of the `currency` field.
|
|
1543
|
+
*/
|
|
1544
|
+
amount: number;
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1548
|
+
* amount's currency.
|
|
1549
|
+
*/
|
|
1550
|
+
currency: string;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* The total amount of healthcare-related additional amounts.
|
|
1555
|
+
*/
|
|
1556
|
+
export interface TotalHealthcare {
|
|
1557
|
+
/**
|
|
1558
|
+
* The amount in minor units of the `currency` field.
|
|
1559
|
+
*/
|
|
1560
|
+
amount: number;
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1564
|
+
* amount's currency.
|
|
1565
|
+
*/
|
|
1566
|
+
currency: string;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1571
|
+
*/
|
|
1572
|
+
export interface Transit {
|
|
1573
|
+
/**
|
|
1574
|
+
* The amount in minor units of the `currency` field.
|
|
1575
|
+
*/
|
|
1576
|
+
amount: number;
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1580
|
+
* amount's currency.
|
|
1581
|
+
*/
|
|
1582
|
+
currency: string;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* An unknown additional amount.
|
|
1587
|
+
*/
|
|
1588
|
+
export interface Unknown {
|
|
1589
|
+
/**
|
|
1590
|
+
* The amount in minor units of the `currency` field.
|
|
1591
|
+
*/
|
|
1592
|
+
amount: number;
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1596
|
+
* amount's currency.
|
|
1597
|
+
*/
|
|
1598
|
+
currency: string;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1603
|
+
*/
|
|
1604
|
+
export interface Vision {
|
|
1605
|
+
/**
|
|
1606
|
+
* The amount in minor units of the `currency` field.
|
|
1607
|
+
*/
|
|
1608
|
+
amount: number;
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1612
|
+
* amount's currency.
|
|
1613
|
+
*/
|
|
1614
|
+
currency: string;
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1202
1618
|
/**
|
|
1203
1619
|
* Fields specific to the `network`.
|
|
1204
1620
|
*/
|
|
@@ -1549,6 +1965,13 @@ export namespace CardPayment {
|
|
|
1549
1965
|
*/
|
|
1550
1966
|
actioner: 'user' | 'increase' | 'network';
|
|
1551
1967
|
|
|
1968
|
+
/**
|
|
1969
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
1970
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
1971
|
+
* to provide more detailed information about the transaction.
|
|
1972
|
+
*/
|
|
1973
|
+
additional_amounts: CardIncrement.AdditionalAmounts;
|
|
1974
|
+
|
|
1552
1975
|
/**
|
|
1553
1976
|
* The amount of this increment in the minor unit of the transaction's currency.
|
|
1554
1977
|
* For dollars, for example, this is cents.
|
|
@@ -1628,6 +2051,204 @@ export namespace CardPayment {
|
|
|
1628
2051
|
}
|
|
1629
2052
|
|
|
1630
2053
|
export namespace CardIncrement {
|
|
2054
|
+
/**
|
|
2055
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
2056
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
2057
|
+
* to provide more detailed information about the transaction.
|
|
2058
|
+
*/
|
|
2059
|
+
export interface AdditionalAmounts {
|
|
2060
|
+
/**
|
|
2061
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
2062
|
+
*/
|
|
2063
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* The part of this transaction amount that was for dental-related services.
|
|
2067
|
+
*/
|
|
2068
|
+
dental: AdditionalAmounts.Dental | null;
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
2072
|
+
*/
|
|
2073
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
2074
|
+
|
|
2075
|
+
/**
|
|
2076
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
2077
|
+
*/
|
|
2078
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
2082
|
+
*/
|
|
2083
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
2084
|
+
|
|
2085
|
+
/**
|
|
2086
|
+
* The total amount of healthcare-related additional amounts.
|
|
2087
|
+
*/
|
|
2088
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* The part of this transaction amount that was for transit-related services.
|
|
2092
|
+
*/
|
|
2093
|
+
transit: AdditionalAmounts.Transit | null;
|
|
2094
|
+
|
|
2095
|
+
/**
|
|
2096
|
+
* An unknown additional amount.
|
|
2097
|
+
*/
|
|
2098
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
2099
|
+
|
|
2100
|
+
/**
|
|
2101
|
+
* The part of this transaction amount that was for vision-related services.
|
|
2102
|
+
*/
|
|
2103
|
+
vision: AdditionalAmounts.Vision | null;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
export namespace AdditionalAmounts {
|
|
2107
|
+
/**
|
|
2108
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
2109
|
+
*/
|
|
2110
|
+
export interface Clinic {
|
|
2111
|
+
/**
|
|
2112
|
+
* The amount in minor units of the `currency` field.
|
|
2113
|
+
*/
|
|
2114
|
+
amount: number;
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2118
|
+
* amount's currency.
|
|
2119
|
+
*/
|
|
2120
|
+
currency: string;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
/**
|
|
2124
|
+
* The part of this transaction amount that was for dental-related services.
|
|
2125
|
+
*/
|
|
2126
|
+
export interface Dental {
|
|
2127
|
+
/**
|
|
2128
|
+
* The amount in minor units of the `currency` field.
|
|
2129
|
+
*/
|
|
2130
|
+
amount: number;
|
|
2131
|
+
|
|
2132
|
+
/**
|
|
2133
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2134
|
+
* amount's currency.
|
|
2135
|
+
*/
|
|
2136
|
+
currency: string;
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
/**
|
|
2140
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
2141
|
+
*/
|
|
2142
|
+
export interface Prescription {
|
|
2143
|
+
/**
|
|
2144
|
+
* The amount in minor units of the `currency` field.
|
|
2145
|
+
*/
|
|
2146
|
+
amount: number;
|
|
2147
|
+
|
|
2148
|
+
/**
|
|
2149
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2150
|
+
* amount's currency.
|
|
2151
|
+
*/
|
|
2152
|
+
currency: string;
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
/**
|
|
2156
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
2157
|
+
*/
|
|
2158
|
+
export interface Surcharge {
|
|
2159
|
+
/**
|
|
2160
|
+
* The amount in minor units of the `currency` field.
|
|
2161
|
+
*/
|
|
2162
|
+
amount: number;
|
|
2163
|
+
|
|
2164
|
+
/**
|
|
2165
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2166
|
+
* amount's currency.
|
|
2167
|
+
*/
|
|
2168
|
+
currency: string;
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
2173
|
+
*/
|
|
2174
|
+
export interface TotalCumulative {
|
|
2175
|
+
/**
|
|
2176
|
+
* The amount in minor units of the `currency` field.
|
|
2177
|
+
*/
|
|
2178
|
+
amount: number;
|
|
2179
|
+
|
|
2180
|
+
/**
|
|
2181
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2182
|
+
* amount's currency.
|
|
2183
|
+
*/
|
|
2184
|
+
currency: string;
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* The total amount of healthcare-related additional amounts.
|
|
2189
|
+
*/
|
|
2190
|
+
export interface TotalHealthcare {
|
|
2191
|
+
/**
|
|
2192
|
+
* The amount in minor units of the `currency` field.
|
|
2193
|
+
*/
|
|
2194
|
+
amount: number;
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2198
|
+
* amount's currency.
|
|
2199
|
+
*/
|
|
2200
|
+
currency: string;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
/**
|
|
2204
|
+
* The part of this transaction amount that was for transit-related services.
|
|
2205
|
+
*/
|
|
2206
|
+
export interface Transit {
|
|
2207
|
+
/**
|
|
2208
|
+
* The amount in minor units of the `currency` field.
|
|
2209
|
+
*/
|
|
2210
|
+
amount: number;
|
|
2211
|
+
|
|
2212
|
+
/**
|
|
2213
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2214
|
+
* amount's currency.
|
|
2215
|
+
*/
|
|
2216
|
+
currency: string;
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
/**
|
|
2220
|
+
* An unknown additional amount.
|
|
2221
|
+
*/
|
|
2222
|
+
export interface Unknown {
|
|
2223
|
+
/**
|
|
2224
|
+
* The amount in minor units of the `currency` field.
|
|
2225
|
+
*/
|
|
2226
|
+
amount: number;
|
|
2227
|
+
|
|
2228
|
+
/**
|
|
2229
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2230
|
+
* amount's currency.
|
|
2231
|
+
*/
|
|
2232
|
+
currency: string;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
/**
|
|
2236
|
+
* The part of this transaction amount that was for vision-related services.
|
|
2237
|
+
*/
|
|
2238
|
+
export interface Vision {
|
|
2239
|
+
/**
|
|
2240
|
+
* The amount in minor units of the `currency` field.
|
|
2241
|
+
*/
|
|
2242
|
+
amount: number;
|
|
2243
|
+
|
|
2244
|
+
/**
|
|
2245
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2246
|
+
* amount's currency.
|
|
2247
|
+
*/
|
|
2248
|
+
currency: string;
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
|
|
1631
2252
|
/**
|
|
1632
2253
|
* Network-specific identifiers for a specific request or transaction.
|
|
1633
2254
|
*/
|
|
@@ -3308,6 +3929,13 @@ export namespace CardPayment {
|
|
|
3308
3929
|
*/
|
|
3309
3930
|
actioner: 'user' | 'increase' | 'network';
|
|
3310
3931
|
|
|
3932
|
+
/**
|
|
3933
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
3934
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
3935
|
+
* to provide more detailed information about the transaction.
|
|
3936
|
+
*/
|
|
3937
|
+
additional_amounts: CardValidation.AdditionalAmounts;
|
|
3938
|
+
|
|
3311
3939
|
/**
|
|
3312
3940
|
* The ID of the Card Payment this transaction belongs to.
|
|
3313
3941
|
*/
|
|
@@ -3417,6 +4045,204 @@ export namespace CardPayment {
|
|
|
3417
4045
|
}
|
|
3418
4046
|
|
|
3419
4047
|
export namespace CardValidation {
|
|
4048
|
+
/**
|
|
4049
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
4050
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
4051
|
+
* to provide more detailed information about the transaction.
|
|
4052
|
+
*/
|
|
4053
|
+
export interface AdditionalAmounts {
|
|
4054
|
+
/**
|
|
4055
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
4056
|
+
*/
|
|
4057
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
4058
|
+
|
|
4059
|
+
/**
|
|
4060
|
+
* The part of this transaction amount that was for dental-related services.
|
|
4061
|
+
*/
|
|
4062
|
+
dental: AdditionalAmounts.Dental | null;
|
|
4063
|
+
|
|
4064
|
+
/**
|
|
4065
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
4066
|
+
*/
|
|
4067
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
4068
|
+
|
|
4069
|
+
/**
|
|
4070
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
4071
|
+
*/
|
|
4072
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
4073
|
+
|
|
4074
|
+
/**
|
|
4075
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
4076
|
+
*/
|
|
4077
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
4078
|
+
|
|
4079
|
+
/**
|
|
4080
|
+
* The total amount of healthcare-related additional amounts.
|
|
4081
|
+
*/
|
|
4082
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
4083
|
+
|
|
4084
|
+
/**
|
|
4085
|
+
* The part of this transaction amount that was for transit-related services.
|
|
4086
|
+
*/
|
|
4087
|
+
transit: AdditionalAmounts.Transit | null;
|
|
4088
|
+
|
|
4089
|
+
/**
|
|
4090
|
+
* An unknown additional amount.
|
|
4091
|
+
*/
|
|
4092
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
4093
|
+
|
|
4094
|
+
/**
|
|
4095
|
+
* The part of this transaction amount that was for vision-related services.
|
|
4096
|
+
*/
|
|
4097
|
+
vision: AdditionalAmounts.Vision | null;
|
|
4098
|
+
}
|
|
4099
|
+
|
|
4100
|
+
export namespace AdditionalAmounts {
|
|
4101
|
+
/**
|
|
4102
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
4103
|
+
*/
|
|
4104
|
+
export interface Clinic {
|
|
4105
|
+
/**
|
|
4106
|
+
* The amount in minor units of the `currency` field.
|
|
4107
|
+
*/
|
|
4108
|
+
amount: number;
|
|
4109
|
+
|
|
4110
|
+
/**
|
|
4111
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4112
|
+
* amount's currency.
|
|
4113
|
+
*/
|
|
4114
|
+
currency: string;
|
|
4115
|
+
}
|
|
4116
|
+
|
|
4117
|
+
/**
|
|
4118
|
+
* The part of this transaction amount that was for dental-related services.
|
|
4119
|
+
*/
|
|
4120
|
+
export interface Dental {
|
|
4121
|
+
/**
|
|
4122
|
+
* The amount in minor units of the `currency` field.
|
|
4123
|
+
*/
|
|
4124
|
+
amount: number;
|
|
4125
|
+
|
|
4126
|
+
/**
|
|
4127
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4128
|
+
* amount's currency.
|
|
4129
|
+
*/
|
|
4130
|
+
currency: string;
|
|
4131
|
+
}
|
|
4132
|
+
|
|
4133
|
+
/**
|
|
4134
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
4135
|
+
*/
|
|
4136
|
+
export interface Prescription {
|
|
4137
|
+
/**
|
|
4138
|
+
* The amount in minor units of the `currency` field.
|
|
4139
|
+
*/
|
|
4140
|
+
amount: number;
|
|
4141
|
+
|
|
4142
|
+
/**
|
|
4143
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4144
|
+
* amount's currency.
|
|
4145
|
+
*/
|
|
4146
|
+
currency: string;
|
|
4147
|
+
}
|
|
4148
|
+
|
|
4149
|
+
/**
|
|
4150
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
4151
|
+
*/
|
|
4152
|
+
export interface Surcharge {
|
|
4153
|
+
/**
|
|
4154
|
+
* The amount in minor units of the `currency` field.
|
|
4155
|
+
*/
|
|
4156
|
+
amount: number;
|
|
4157
|
+
|
|
4158
|
+
/**
|
|
4159
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4160
|
+
* amount's currency.
|
|
4161
|
+
*/
|
|
4162
|
+
currency: string;
|
|
4163
|
+
}
|
|
4164
|
+
|
|
4165
|
+
/**
|
|
4166
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
4167
|
+
*/
|
|
4168
|
+
export interface TotalCumulative {
|
|
4169
|
+
/**
|
|
4170
|
+
* The amount in minor units of the `currency` field.
|
|
4171
|
+
*/
|
|
4172
|
+
amount: number;
|
|
4173
|
+
|
|
4174
|
+
/**
|
|
4175
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4176
|
+
* amount's currency.
|
|
4177
|
+
*/
|
|
4178
|
+
currency: string;
|
|
4179
|
+
}
|
|
4180
|
+
|
|
4181
|
+
/**
|
|
4182
|
+
* The total amount of healthcare-related additional amounts.
|
|
4183
|
+
*/
|
|
4184
|
+
export interface TotalHealthcare {
|
|
4185
|
+
/**
|
|
4186
|
+
* The amount in minor units of the `currency` field.
|
|
4187
|
+
*/
|
|
4188
|
+
amount: number;
|
|
4189
|
+
|
|
4190
|
+
/**
|
|
4191
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4192
|
+
* amount's currency.
|
|
4193
|
+
*/
|
|
4194
|
+
currency: string;
|
|
4195
|
+
}
|
|
4196
|
+
|
|
4197
|
+
/**
|
|
4198
|
+
* The part of this transaction amount that was for transit-related services.
|
|
4199
|
+
*/
|
|
4200
|
+
export interface Transit {
|
|
4201
|
+
/**
|
|
4202
|
+
* The amount in minor units of the `currency` field.
|
|
4203
|
+
*/
|
|
4204
|
+
amount: number;
|
|
4205
|
+
|
|
4206
|
+
/**
|
|
4207
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4208
|
+
* amount's currency.
|
|
4209
|
+
*/
|
|
4210
|
+
currency: string;
|
|
4211
|
+
}
|
|
4212
|
+
|
|
4213
|
+
/**
|
|
4214
|
+
* An unknown additional amount.
|
|
4215
|
+
*/
|
|
4216
|
+
export interface Unknown {
|
|
4217
|
+
/**
|
|
4218
|
+
* The amount in minor units of the `currency` field.
|
|
4219
|
+
*/
|
|
4220
|
+
amount: number;
|
|
4221
|
+
|
|
4222
|
+
/**
|
|
4223
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4224
|
+
* amount's currency.
|
|
4225
|
+
*/
|
|
4226
|
+
currency: string;
|
|
4227
|
+
}
|
|
4228
|
+
|
|
4229
|
+
/**
|
|
4230
|
+
* The part of this transaction amount that was for vision-related services.
|
|
4231
|
+
*/
|
|
4232
|
+
export interface Vision {
|
|
4233
|
+
/**
|
|
4234
|
+
* The amount in minor units of the `currency` field.
|
|
4235
|
+
*/
|
|
4236
|
+
amount: number;
|
|
4237
|
+
|
|
4238
|
+
/**
|
|
4239
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4240
|
+
* amount's currency.
|
|
4241
|
+
*/
|
|
4242
|
+
currency: string;
|
|
4243
|
+
}
|
|
4244
|
+
}
|
|
4245
|
+
|
|
3420
4246
|
/**
|
|
3421
4247
|
* Fields specific to the `network`.
|
|
3422
4248
|
*/
|