increase 0.248.0 → 0.249.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 +8 -0
- package/package.json +1 -1
- package/resources/card-payments.d.ts +708 -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 +177 -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 +820 -0
- package/src/resources/declined-transactions.ts +205 -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.
|
|
@@ -1199,6 +1411,204 @@ export namespace CardPayment {
|
|
|
1199
1411
|
}
|
|
1200
1412
|
|
|
1201
1413
|
export namespace CardDecline {
|
|
1414
|
+
/**
|
|
1415
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
1416
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
1417
|
+
* to provide more detailed information about the transaction.
|
|
1418
|
+
*/
|
|
1419
|
+
export interface AdditionalAmounts {
|
|
1420
|
+
/**
|
|
1421
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1422
|
+
*/
|
|
1423
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1427
|
+
*/
|
|
1428
|
+
dental: AdditionalAmounts.Dental | null;
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1432
|
+
*/
|
|
1433
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1437
|
+
*/
|
|
1438
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1442
|
+
*/
|
|
1443
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* The total amount of healthcare-related additional amounts.
|
|
1447
|
+
*/
|
|
1448
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1452
|
+
*/
|
|
1453
|
+
transit: AdditionalAmounts.Transit | null;
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* An unknown additional amount.
|
|
1457
|
+
*/
|
|
1458
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1462
|
+
*/
|
|
1463
|
+
vision: AdditionalAmounts.Vision | null;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
export namespace AdditionalAmounts {
|
|
1467
|
+
/**
|
|
1468
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1469
|
+
*/
|
|
1470
|
+
export interface Clinic {
|
|
1471
|
+
/**
|
|
1472
|
+
* The amount in minor units of the `currency` field.
|
|
1473
|
+
*/
|
|
1474
|
+
amount: number;
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1478
|
+
* amount's currency.
|
|
1479
|
+
*/
|
|
1480
|
+
currency: string;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
/**
|
|
1484
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1485
|
+
*/
|
|
1486
|
+
export interface Dental {
|
|
1487
|
+
/**
|
|
1488
|
+
* The amount in minor units of the `currency` field.
|
|
1489
|
+
*/
|
|
1490
|
+
amount: number;
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1494
|
+
* amount's currency.
|
|
1495
|
+
*/
|
|
1496
|
+
currency: string;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1501
|
+
*/
|
|
1502
|
+
export interface Prescription {
|
|
1503
|
+
/**
|
|
1504
|
+
* The amount in minor units of the `currency` field.
|
|
1505
|
+
*/
|
|
1506
|
+
amount: number;
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1510
|
+
* amount's currency.
|
|
1511
|
+
*/
|
|
1512
|
+
currency: string;
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1517
|
+
*/
|
|
1518
|
+
export interface Surcharge {
|
|
1519
|
+
/**
|
|
1520
|
+
* The amount in minor units of the `currency` field.
|
|
1521
|
+
*/
|
|
1522
|
+
amount: number;
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1526
|
+
* amount's currency.
|
|
1527
|
+
*/
|
|
1528
|
+
currency: string;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1533
|
+
*/
|
|
1534
|
+
export interface TotalCumulative {
|
|
1535
|
+
/**
|
|
1536
|
+
* The amount in minor units of the `currency` field.
|
|
1537
|
+
*/
|
|
1538
|
+
amount: number;
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1542
|
+
* amount's currency.
|
|
1543
|
+
*/
|
|
1544
|
+
currency: string;
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* The total amount of healthcare-related additional amounts.
|
|
1549
|
+
*/
|
|
1550
|
+
export interface TotalHealthcare {
|
|
1551
|
+
/**
|
|
1552
|
+
* The amount in minor units of the `currency` field.
|
|
1553
|
+
*/
|
|
1554
|
+
amount: number;
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1558
|
+
* amount's currency.
|
|
1559
|
+
*/
|
|
1560
|
+
currency: string;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1565
|
+
*/
|
|
1566
|
+
export interface Transit {
|
|
1567
|
+
/**
|
|
1568
|
+
* The amount in minor units of the `currency` field.
|
|
1569
|
+
*/
|
|
1570
|
+
amount: number;
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1574
|
+
* amount's currency.
|
|
1575
|
+
*/
|
|
1576
|
+
currency: string;
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* An unknown additional amount.
|
|
1581
|
+
*/
|
|
1582
|
+
export interface Unknown {
|
|
1583
|
+
/**
|
|
1584
|
+
* The amount in minor units of the `currency` field.
|
|
1585
|
+
*/
|
|
1586
|
+
amount: number;
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1590
|
+
* amount's currency.
|
|
1591
|
+
*/
|
|
1592
|
+
currency: string;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1597
|
+
*/
|
|
1598
|
+
export interface Vision {
|
|
1599
|
+
/**
|
|
1600
|
+
* The amount in minor units of the `currency` field.
|
|
1601
|
+
*/
|
|
1602
|
+
amount: number;
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1606
|
+
* amount's currency.
|
|
1607
|
+
*/
|
|
1608
|
+
currency: string;
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1202
1612
|
/**
|
|
1203
1613
|
* Fields specific to the `network`.
|
|
1204
1614
|
*/
|
|
@@ -1549,6 +1959,13 @@ export namespace CardPayment {
|
|
|
1549
1959
|
*/
|
|
1550
1960
|
actioner: 'user' | 'increase' | 'network';
|
|
1551
1961
|
|
|
1962
|
+
/**
|
|
1963
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
1964
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
1965
|
+
* to provide more detailed information about the transaction.
|
|
1966
|
+
*/
|
|
1967
|
+
additional_amounts: CardIncrement.AdditionalAmounts;
|
|
1968
|
+
|
|
1552
1969
|
/**
|
|
1553
1970
|
* The amount of this increment in the minor unit of the transaction's currency.
|
|
1554
1971
|
* For dollars, for example, this is cents.
|
|
@@ -1628,6 +2045,204 @@ export namespace CardPayment {
|
|
|
1628
2045
|
}
|
|
1629
2046
|
|
|
1630
2047
|
export namespace CardIncrement {
|
|
2048
|
+
/**
|
|
2049
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
2050
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
2051
|
+
* to provide more detailed information about the transaction.
|
|
2052
|
+
*/
|
|
2053
|
+
export interface AdditionalAmounts {
|
|
2054
|
+
/**
|
|
2055
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
2056
|
+
*/
|
|
2057
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* The part of this transaction amount that was for dental-related services.
|
|
2061
|
+
*/
|
|
2062
|
+
dental: AdditionalAmounts.Dental | null;
|
|
2063
|
+
|
|
2064
|
+
/**
|
|
2065
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
2066
|
+
*/
|
|
2067
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
2071
|
+
*/
|
|
2072
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
2076
|
+
*/
|
|
2077
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* The total amount of healthcare-related additional amounts.
|
|
2081
|
+
*/
|
|
2082
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
2083
|
+
|
|
2084
|
+
/**
|
|
2085
|
+
* The part of this transaction amount that was for transit-related services.
|
|
2086
|
+
*/
|
|
2087
|
+
transit: AdditionalAmounts.Transit | null;
|
|
2088
|
+
|
|
2089
|
+
/**
|
|
2090
|
+
* An unknown additional amount.
|
|
2091
|
+
*/
|
|
2092
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* The part of this transaction amount that was for vision-related services.
|
|
2096
|
+
*/
|
|
2097
|
+
vision: AdditionalAmounts.Vision | null;
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2100
|
+
export namespace AdditionalAmounts {
|
|
2101
|
+
/**
|
|
2102
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
2103
|
+
*/
|
|
2104
|
+
export interface Clinic {
|
|
2105
|
+
/**
|
|
2106
|
+
* The amount in minor units of the `currency` field.
|
|
2107
|
+
*/
|
|
2108
|
+
amount: number;
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2112
|
+
* amount's currency.
|
|
2113
|
+
*/
|
|
2114
|
+
currency: string;
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* The part of this transaction amount that was for dental-related services.
|
|
2119
|
+
*/
|
|
2120
|
+
export interface Dental {
|
|
2121
|
+
/**
|
|
2122
|
+
* The amount in minor units of the `currency` field.
|
|
2123
|
+
*/
|
|
2124
|
+
amount: number;
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2128
|
+
* amount's currency.
|
|
2129
|
+
*/
|
|
2130
|
+
currency: string;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
/**
|
|
2134
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
2135
|
+
*/
|
|
2136
|
+
export interface Prescription {
|
|
2137
|
+
/**
|
|
2138
|
+
* The amount in minor units of the `currency` field.
|
|
2139
|
+
*/
|
|
2140
|
+
amount: number;
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2144
|
+
* amount's currency.
|
|
2145
|
+
*/
|
|
2146
|
+
currency: string;
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
2151
|
+
*/
|
|
2152
|
+
export interface Surcharge {
|
|
2153
|
+
/**
|
|
2154
|
+
* The amount in minor units of the `currency` field.
|
|
2155
|
+
*/
|
|
2156
|
+
amount: number;
|
|
2157
|
+
|
|
2158
|
+
/**
|
|
2159
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2160
|
+
* amount's currency.
|
|
2161
|
+
*/
|
|
2162
|
+
currency: string;
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2165
|
+
/**
|
|
2166
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
2167
|
+
*/
|
|
2168
|
+
export interface TotalCumulative {
|
|
2169
|
+
/**
|
|
2170
|
+
* The amount in minor units of the `currency` field.
|
|
2171
|
+
*/
|
|
2172
|
+
amount: number;
|
|
2173
|
+
|
|
2174
|
+
/**
|
|
2175
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2176
|
+
* amount's currency.
|
|
2177
|
+
*/
|
|
2178
|
+
currency: string;
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* The total amount of healthcare-related additional amounts.
|
|
2183
|
+
*/
|
|
2184
|
+
export interface TotalHealthcare {
|
|
2185
|
+
/**
|
|
2186
|
+
* The amount in minor units of the `currency` field.
|
|
2187
|
+
*/
|
|
2188
|
+
amount: number;
|
|
2189
|
+
|
|
2190
|
+
/**
|
|
2191
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2192
|
+
* amount's currency.
|
|
2193
|
+
*/
|
|
2194
|
+
currency: string;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
/**
|
|
2198
|
+
* The part of this transaction amount that was for transit-related services.
|
|
2199
|
+
*/
|
|
2200
|
+
export interface Transit {
|
|
2201
|
+
/**
|
|
2202
|
+
* The amount in minor units of the `currency` field.
|
|
2203
|
+
*/
|
|
2204
|
+
amount: number;
|
|
2205
|
+
|
|
2206
|
+
/**
|
|
2207
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2208
|
+
* amount's currency.
|
|
2209
|
+
*/
|
|
2210
|
+
currency: string;
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
* An unknown additional amount.
|
|
2215
|
+
*/
|
|
2216
|
+
export interface Unknown {
|
|
2217
|
+
/**
|
|
2218
|
+
* The amount in minor units of the `currency` field.
|
|
2219
|
+
*/
|
|
2220
|
+
amount: number;
|
|
2221
|
+
|
|
2222
|
+
/**
|
|
2223
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2224
|
+
* amount's currency.
|
|
2225
|
+
*/
|
|
2226
|
+
currency: string;
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* The part of this transaction amount that was for vision-related services.
|
|
2231
|
+
*/
|
|
2232
|
+
export interface Vision {
|
|
2233
|
+
/**
|
|
2234
|
+
* The amount in minor units of the `currency` field.
|
|
2235
|
+
*/
|
|
2236
|
+
amount: number;
|
|
2237
|
+
|
|
2238
|
+
/**
|
|
2239
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
2240
|
+
* amount's currency.
|
|
2241
|
+
*/
|
|
2242
|
+
currency: string;
|
|
2243
|
+
}
|
|
2244
|
+
}
|
|
2245
|
+
|
|
1631
2246
|
/**
|
|
1632
2247
|
* Network-specific identifiers for a specific request or transaction.
|
|
1633
2248
|
*/
|
|
@@ -3308,6 +3923,13 @@ export namespace CardPayment {
|
|
|
3308
3923
|
*/
|
|
3309
3924
|
actioner: 'user' | 'increase' | 'network';
|
|
3310
3925
|
|
|
3926
|
+
/**
|
|
3927
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
3928
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
3929
|
+
* to provide more detailed information about the transaction.
|
|
3930
|
+
*/
|
|
3931
|
+
additional_amounts: CardValidation.AdditionalAmounts;
|
|
3932
|
+
|
|
3311
3933
|
/**
|
|
3312
3934
|
* The ID of the Card Payment this transaction belongs to.
|
|
3313
3935
|
*/
|
|
@@ -3417,6 +4039,204 @@ export namespace CardPayment {
|
|
|
3417
4039
|
}
|
|
3418
4040
|
|
|
3419
4041
|
export namespace CardValidation {
|
|
4042
|
+
/**
|
|
4043
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
4044
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
4045
|
+
* to provide more detailed information about the transaction.
|
|
4046
|
+
*/
|
|
4047
|
+
export interface AdditionalAmounts {
|
|
4048
|
+
/**
|
|
4049
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
4050
|
+
*/
|
|
4051
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
4052
|
+
|
|
4053
|
+
/**
|
|
4054
|
+
* The part of this transaction amount that was for dental-related services.
|
|
4055
|
+
*/
|
|
4056
|
+
dental: AdditionalAmounts.Dental | null;
|
|
4057
|
+
|
|
4058
|
+
/**
|
|
4059
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
4060
|
+
*/
|
|
4061
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
4062
|
+
|
|
4063
|
+
/**
|
|
4064
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
4065
|
+
*/
|
|
4066
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
4067
|
+
|
|
4068
|
+
/**
|
|
4069
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
4070
|
+
*/
|
|
4071
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
4072
|
+
|
|
4073
|
+
/**
|
|
4074
|
+
* The total amount of healthcare-related additional amounts.
|
|
4075
|
+
*/
|
|
4076
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
4077
|
+
|
|
4078
|
+
/**
|
|
4079
|
+
* The part of this transaction amount that was for transit-related services.
|
|
4080
|
+
*/
|
|
4081
|
+
transit: AdditionalAmounts.Transit | null;
|
|
4082
|
+
|
|
4083
|
+
/**
|
|
4084
|
+
* An unknown additional amount.
|
|
4085
|
+
*/
|
|
4086
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
4087
|
+
|
|
4088
|
+
/**
|
|
4089
|
+
* The part of this transaction amount that was for vision-related services.
|
|
4090
|
+
*/
|
|
4091
|
+
vision: AdditionalAmounts.Vision | null;
|
|
4092
|
+
}
|
|
4093
|
+
|
|
4094
|
+
export namespace AdditionalAmounts {
|
|
4095
|
+
/**
|
|
4096
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
4097
|
+
*/
|
|
4098
|
+
export interface Clinic {
|
|
4099
|
+
/**
|
|
4100
|
+
* The amount in minor units of the `currency` field.
|
|
4101
|
+
*/
|
|
4102
|
+
amount: number;
|
|
4103
|
+
|
|
4104
|
+
/**
|
|
4105
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4106
|
+
* amount's currency.
|
|
4107
|
+
*/
|
|
4108
|
+
currency: string;
|
|
4109
|
+
}
|
|
4110
|
+
|
|
4111
|
+
/**
|
|
4112
|
+
* The part of this transaction amount that was for dental-related services.
|
|
4113
|
+
*/
|
|
4114
|
+
export interface Dental {
|
|
4115
|
+
/**
|
|
4116
|
+
* The amount in minor units of the `currency` field.
|
|
4117
|
+
*/
|
|
4118
|
+
amount: number;
|
|
4119
|
+
|
|
4120
|
+
/**
|
|
4121
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4122
|
+
* amount's currency.
|
|
4123
|
+
*/
|
|
4124
|
+
currency: string;
|
|
4125
|
+
}
|
|
4126
|
+
|
|
4127
|
+
/**
|
|
4128
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
4129
|
+
*/
|
|
4130
|
+
export interface Prescription {
|
|
4131
|
+
/**
|
|
4132
|
+
* The amount in minor units of the `currency` field.
|
|
4133
|
+
*/
|
|
4134
|
+
amount: number;
|
|
4135
|
+
|
|
4136
|
+
/**
|
|
4137
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4138
|
+
* amount's currency.
|
|
4139
|
+
*/
|
|
4140
|
+
currency: string;
|
|
4141
|
+
}
|
|
4142
|
+
|
|
4143
|
+
/**
|
|
4144
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
4145
|
+
*/
|
|
4146
|
+
export interface Surcharge {
|
|
4147
|
+
/**
|
|
4148
|
+
* The amount in minor units of the `currency` field.
|
|
4149
|
+
*/
|
|
4150
|
+
amount: number;
|
|
4151
|
+
|
|
4152
|
+
/**
|
|
4153
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4154
|
+
* amount's currency.
|
|
4155
|
+
*/
|
|
4156
|
+
currency: string;
|
|
4157
|
+
}
|
|
4158
|
+
|
|
4159
|
+
/**
|
|
4160
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
4161
|
+
*/
|
|
4162
|
+
export interface TotalCumulative {
|
|
4163
|
+
/**
|
|
4164
|
+
* The amount in minor units of the `currency` field.
|
|
4165
|
+
*/
|
|
4166
|
+
amount: number;
|
|
4167
|
+
|
|
4168
|
+
/**
|
|
4169
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4170
|
+
* amount's currency.
|
|
4171
|
+
*/
|
|
4172
|
+
currency: string;
|
|
4173
|
+
}
|
|
4174
|
+
|
|
4175
|
+
/**
|
|
4176
|
+
* The total amount of healthcare-related additional amounts.
|
|
4177
|
+
*/
|
|
4178
|
+
export interface TotalHealthcare {
|
|
4179
|
+
/**
|
|
4180
|
+
* The amount in minor units of the `currency` field.
|
|
4181
|
+
*/
|
|
4182
|
+
amount: number;
|
|
4183
|
+
|
|
4184
|
+
/**
|
|
4185
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4186
|
+
* amount's currency.
|
|
4187
|
+
*/
|
|
4188
|
+
currency: string;
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4191
|
+
/**
|
|
4192
|
+
* The part of this transaction amount that was for transit-related services.
|
|
4193
|
+
*/
|
|
4194
|
+
export interface Transit {
|
|
4195
|
+
/**
|
|
4196
|
+
* The amount in minor units of the `currency` field.
|
|
4197
|
+
*/
|
|
4198
|
+
amount: number;
|
|
4199
|
+
|
|
4200
|
+
/**
|
|
4201
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4202
|
+
* amount's currency.
|
|
4203
|
+
*/
|
|
4204
|
+
currency: string;
|
|
4205
|
+
}
|
|
4206
|
+
|
|
4207
|
+
/**
|
|
4208
|
+
* An unknown additional amount.
|
|
4209
|
+
*/
|
|
4210
|
+
export interface Unknown {
|
|
4211
|
+
/**
|
|
4212
|
+
* The amount in minor units of the `currency` field.
|
|
4213
|
+
*/
|
|
4214
|
+
amount: number;
|
|
4215
|
+
|
|
4216
|
+
/**
|
|
4217
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4218
|
+
* amount's currency.
|
|
4219
|
+
*/
|
|
4220
|
+
currency: string;
|
|
4221
|
+
}
|
|
4222
|
+
|
|
4223
|
+
/**
|
|
4224
|
+
* The part of this transaction amount that was for vision-related services.
|
|
4225
|
+
*/
|
|
4226
|
+
export interface Vision {
|
|
4227
|
+
/**
|
|
4228
|
+
* The amount in minor units of the `currency` field.
|
|
4229
|
+
*/
|
|
4230
|
+
amount: number;
|
|
4231
|
+
|
|
4232
|
+
/**
|
|
4233
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
4234
|
+
* amount's currency.
|
|
4235
|
+
*/
|
|
4236
|
+
currency: string;
|
|
4237
|
+
}
|
|
4238
|
+
}
|
|
4239
|
+
|
|
3420
4240
|
/**
|
|
3421
4241
|
* Fields specific to the `network`.
|
|
3422
4242
|
*/
|