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
|
@@ -361,6 +361,12 @@ export declare namespace CardPayment {
|
|
|
361
361
|
* processing.
|
|
362
362
|
*/
|
|
363
363
|
actioner: 'user' | 'increase' | 'network';
|
|
364
|
+
/**
|
|
365
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
366
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
367
|
+
* to provide more detailed information about the transaction.
|
|
368
|
+
*/
|
|
369
|
+
additional_amounts: CardAuthorization.AdditionalAmounts;
|
|
364
370
|
/**
|
|
365
371
|
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
366
372
|
* for example, this is cents.
|
|
@@ -508,6 +514,177 @@ export declare namespace CardPayment {
|
|
|
508
514
|
verification: CardAuthorization.Verification;
|
|
509
515
|
}
|
|
510
516
|
namespace CardAuthorization {
|
|
517
|
+
/**
|
|
518
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
519
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
520
|
+
* to provide more detailed information about the transaction.
|
|
521
|
+
*/
|
|
522
|
+
interface AdditionalAmounts {
|
|
523
|
+
/**
|
|
524
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
525
|
+
*/
|
|
526
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
527
|
+
/**
|
|
528
|
+
* The part of this transaction amount that was for dental-related services.
|
|
529
|
+
*/
|
|
530
|
+
dental: AdditionalAmounts.Dental | null;
|
|
531
|
+
/**
|
|
532
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
533
|
+
*/
|
|
534
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
535
|
+
/**
|
|
536
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
537
|
+
*/
|
|
538
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
539
|
+
/**
|
|
540
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
541
|
+
*/
|
|
542
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
543
|
+
/**
|
|
544
|
+
* The total amount of healthcare-related additional amounts.
|
|
545
|
+
*/
|
|
546
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
547
|
+
/**
|
|
548
|
+
* The part of this transaction amount that was for transit-related services.
|
|
549
|
+
*/
|
|
550
|
+
transit: AdditionalAmounts.Transit | null;
|
|
551
|
+
/**
|
|
552
|
+
* An unknown additional amount.
|
|
553
|
+
*/
|
|
554
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
555
|
+
/**
|
|
556
|
+
* The part of this transaction amount that was for vision-related services.
|
|
557
|
+
*/
|
|
558
|
+
vision: AdditionalAmounts.Vision | null;
|
|
559
|
+
}
|
|
560
|
+
namespace AdditionalAmounts {
|
|
561
|
+
/**
|
|
562
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
563
|
+
*/
|
|
564
|
+
interface Clinic {
|
|
565
|
+
/**
|
|
566
|
+
* The amount in minor units of the `currency` field.
|
|
567
|
+
*/
|
|
568
|
+
amount: number;
|
|
569
|
+
/**
|
|
570
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
571
|
+
* amount's currency.
|
|
572
|
+
*/
|
|
573
|
+
currency: string;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* The part of this transaction amount that was for dental-related services.
|
|
577
|
+
*/
|
|
578
|
+
interface Dental {
|
|
579
|
+
/**
|
|
580
|
+
* The amount in minor units of the `currency` field.
|
|
581
|
+
*/
|
|
582
|
+
amount: number;
|
|
583
|
+
/**
|
|
584
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
585
|
+
* amount's currency.
|
|
586
|
+
*/
|
|
587
|
+
currency: string;
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
591
|
+
*/
|
|
592
|
+
interface Prescription {
|
|
593
|
+
/**
|
|
594
|
+
* The amount in minor units of the `currency` field.
|
|
595
|
+
*/
|
|
596
|
+
amount: number;
|
|
597
|
+
/**
|
|
598
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
599
|
+
* amount's currency.
|
|
600
|
+
*/
|
|
601
|
+
currency: string;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
605
|
+
*/
|
|
606
|
+
interface Surcharge {
|
|
607
|
+
/**
|
|
608
|
+
* The amount in minor units of the `currency` field.
|
|
609
|
+
*/
|
|
610
|
+
amount: number;
|
|
611
|
+
/**
|
|
612
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
613
|
+
* amount's currency.
|
|
614
|
+
*/
|
|
615
|
+
currency: string;
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
619
|
+
*/
|
|
620
|
+
interface TotalCumulative {
|
|
621
|
+
/**
|
|
622
|
+
* The amount in minor units of the `currency` field.
|
|
623
|
+
*/
|
|
624
|
+
amount: number;
|
|
625
|
+
/**
|
|
626
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
627
|
+
* amount's currency.
|
|
628
|
+
*/
|
|
629
|
+
currency: string;
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* The total amount of healthcare-related additional amounts.
|
|
633
|
+
*/
|
|
634
|
+
interface TotalHealthcare {
|
|
635
|
+
/**
|
|
636
|
+
* The amount in minor units of the `currency` field.
|
|
637
|
+
*/
|
|
638
|
+
amount: number;
|
|
639
|
+
/**
|
|
640
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
641
|
+
* amount's currency.
|
|
642
|
+
*/
|
|
643
|
+
currency: string;
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* The part of this transaction amount that was for transit-related services.
|
|
647
|
+
*/
|
|
648
|
+
interface Transit {
|
|
649
|
+
/**
|
|
650
|
+
* The amount in minor units of the `currency` field.
|
|
651
|
+
*/
|
|
652
|
+
amount: number;
|
|
653
|
+
/**
|
|
654
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
655
|
+
* amount's currency.
|
|
656
|
+
*/
|
|
657
|
+
currency: string;
|
|
658
|
+
}
|
|
659
|
+
/**
|
|
660
|
+
* An unknown additional amount.
|
|
661
|
+
*/
|
|
662
|
+
interface Unknown {
|
|
663
|
+
/**
|
|
664
|
+
* The amount in minor units of the `currency` field.
|
|
665
|
+
*/
|
|
666
|
+
amount: number;
|
|
667
|
+
/**
|
|
668
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
669
|
+
* amount's currency.
|
|
670
|
+
*/
|
|
671
|
+
currency: string;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* The part of this transaction amount that was for vision-related services.
|
|
675
|
+
*/
|
|
676
|
+
interface Vision {
|
|
677
|
+
/**
|
|
678
|
+
* The amount in minor units of the `currency` field.
|
|
679
|
+
*/
|
|
680
|
+
amount: number;
|
|
681
|
+
/**
|
|
682
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
683
|
+
* amount's currency.
|
|
684
|
+
*/
|
|
685
|
+
currency: string;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
511
688
|
/**
|
|
512
689
|
* Fields specific to the `network`.
|
|
513
690
|
*/
|
|
@@ -762,6 +939,12 @@ export declare namespace CardPayment {
|
|
|
762
939
|
* processing.
|
|
763
940
|
*/
|
|
764
941
|
actioner: 'user' | 'increase' | 'network';
|
|
942
|
+
/**
|
|
943
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
944
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
945
|
+
* to provide more detailed information about the transaction.
|
|
946
|
+
*/
|
|
947
|
+
additional_amounts: CardDecline.AdditionalAmounts;
|
|
765
948
|
/**
|
|
766
949
|
* The declined amount in the minor unit of the destination account currency. For
|
|
767
950
|
* dollars, for example, this is cents.
|
|
@@ -802,6 +985,11 @@ export declare namespace CardPayment {
|
|
|
802
985
|
* voucher authorization, where funds are credited to the cardholder.
|
|
803
986
|
*/
|
|
804
987
|
direction: 'settlement' | 'refund';
|
|
988
|
+
/**
|
|
989
|
+
* The identifier of the card authorization this request attempted to incrementally
|
|
990
|
+
* authorize.
|
|
991
|
+
*/
|
|
992
|
+
incremented_card_authorization_id: string | null;
|
|
805
993
|
/**
|
|
806
994
|
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
807
995
|
* is transacting with.
|
|
@@ -951,6 +1139,177 @@ export declare namespace CardPayment {
|
|
|
951
1139
|
verification: CardDecline.Verification;
|
|
952
1140
|
}
|
|
953
1141
|
namespace CardDecline {
|
|
1142
|
+
/**
|
|
1143
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
1144
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
1145
|
+
* to provide more detailed information about the transaction.
|
|
1146
|
+
*/
|
|
1147
|
+
interface AdditionalAmounts {
|
|
1148
|
+
/**
|
|
1149
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1150
|
+
*/
|
|
1151
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
1152
|
+
/**
|
|
1153
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1154
|
+
*/
|
|
1155
|
+
dental: AdditionalAmounts.Dental | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1158
|
+
*/
|
|
1159
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
1160
|
+
/**
|
|
1161
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1162
|
+
*/
|
|
1163
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
1164
|
+
/**
|
|
1165
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1166
|
+
*/
|
|
1167
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
1168
|
+
/**
|
|
1169
|
+
* The total amount of healthcare-related additional amounts.
|
|
1170
|
+
*/
|
|
1171
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
1172
|
+
/**
|
|
1173
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1174
|
+
*/
|
|
1175
|
+
transit: AdditionalAmounts.Transit | null;
|
|
1176
|
+
/**
|
|
1177
|
+
* An unknown additional amount.
|
|
1178
|
+
*/
|
|
1179
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
1180
|
+
/**
|
|
1181
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1182
|
+
*/
|
|
1183
|
+
vision: AdditionalAmounts.Vision | null;
|
|
1184
|
+
}
|
|
1185
|
+
namespace AdditionalAmounts {
|
|
1186
|
+
/**
|
|
1187
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1188
|
+
*/
|
|
1189
|
+
interface Clinic {
|
|
1190
|
+
/**
|
|
1191
|
+
* The amount in minor units of the `currency` field.
|
|
1192
|
+
*/
|
|
1193
|
+
amount: number;
|
|
1194
|
+
/**
|
|
1195
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1196
|
+
* amount's currency.
|
|
1197
|
+
*/
|
|
1198
|
+
currency: string;
|
|
1199
|
+
}
|
|
1200
|
+
/**
|
|
1201
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1202
|
+
*/
|
|
1203
|
+
interface Dental {
|
|
1204
|
+
/**
|
|
1205
|
+
* The amount in minor units of the `currency` field.
|
|
1206
|
+
*/
|
|
1207
|
+
amount: number;
|
|
1208
|
+
/**
|
|
1209
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1210
|
+
* amount's currency.
|
|
1211
|
+
*/
|
|
1212
|
+
currency: string;
|
|
1213
|
+
}
|
|
1214
|
+
/**
|
|
1215
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1216
|
+
*/
|
|
1217
|
+
interface Prescription {
|
|
1218
|
+
/**
|
|
1219
|
+
* The amount in minor units of the `currency` field.
|
|
1220
|
+
*/
|
|
1221
|
+
amount: number;
|
|
1222
|
+
/**
|
|
1223
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1224
|
+
* amount's currency.
|
|
1225
|
+
*/
|
|
1226
|
+
currency: string;
|
|
1227
|
+
}
|
|
1228
|
+
/**
|
|
1229
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1230
|
+
*/
|
|
1231
|
+
interface Surcharge {
|
|
1232
|
+
/**
|
|
1233
|
+
* The amount in minor units of the `currency` field.
|
|
1234
|
+
*/
|
|
1235
|
+
amount: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1238
|
+
* amount's currency.
|
|
1239
|
+
*/
|
|
1240
|
+
currency: string;
|
|
1241
|
+
}
|
|
1242
|
+
/**
|
|
1243
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1244
|
+
*/
|
|
1245
|
+
interface TotalCumulative {
|
|
1246
|
+
/**
|
|
1247
|
+
* The amount in minor units of the `currency` field.
|
|
1248
|
+
*/
|
|
1249
|
+
amount: number;
|
|
1250
|
+
/**
|
|
1251
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1252
|
+
* amount's currency.
|
|
1253
|
+
*/
|
|
1254
|
+
currency: string;
|
|
1255
|
+
}
|
|
1256
|
+
/**
|
|
1257
|
+
* The total amount of healthcare-related additional amounts.
|
|
1258
|
+
*/
|
|
1259
|
+
interface TotalHealthcare {
|
|
1260
|
+
/**
|
|
1261
|
+
* The amount in minor units of the `currency` field.
|
|
1262
|
+
*/
|
|
1263
|
+
amount: number;
|
|
1264
|
+
/**
|
|
1265
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1266
|
+
* amount's currency.
|
|
1267
|
+
*/
|
|
1268
|
+
currency: string;
|
|
1269
|
+
}
|
|
1270
|
+
/**
|
|
1271
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1272
|
+
*/
|
|
1273
|
+
interface Transit {
|
|
1274
|
+
/**
|
|
1275
|
+
* The amount in minor units of the `currency` field.
|
|
1276
|
+
*/
|
|
1277
|
+
amount: number;
|
|
1278
|
+
/**
|
|
1279
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1280
|
+
* amount's currency.
|
|
1281
|
+
*/
|
|
1282
|
+
currency: string;
|
|
1283
|
+
}
|
|
1284
|
+
/**
|
|
1285
|
+
* An unknown additional amount.
|
|
1286
|
+
*/
|
|
1287
|
+
interface Unknown {
|
|
1288
|
+
/**
|
|
1289
|
+
* The amount in minor units of the `currency` field.
|
|
1290
|
+
*/
|
|
1291
|
+
amount: number;
|
|
1292
|
+
/**
|
|
1293
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1294
|
+
* amount's currency.
|
|
1295
|
+
*/
|
|
1296
|
+
currency: string;
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1300
|
+
*/
|
|
1301
|
+
interface Vision {
|
|
1302
|
+
/**
|
|
1303
|
+
* The amount in minor units of the `currency` field.
|
|
1304
|
+
*/
|
|
1305
|
+
amount: number;
|
|
1306
|
+
/**
|
|
1307
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1308
|
+
* amount's currency.
|
|
1309
|
+
*/
|
|
1310
|
+
currency: string;
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
954
1313
|
/**
|
|
955
1314
|
* Fields specific to the `network`.
|
|
956
1315
|
*/
|
|
@@ -1238,6 +1597,12 @@ export declare namespace CardPayment {
|
|
|
1238
1597
|
* processing.
|
|
1239
1598
|
*/
|
|
1240
1599
|
actioner: 'user' | 'increase' | 'network';
|
|
1600
|
+
/**
|
|
1601
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
1602
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
1603
|
+
* to provide more detailed information about the transaction.
|
|
1604
|
+
*/
|
|
1605
|
+
additional_amounts: CardIncrement.AdditionalAmounts;
|
|
1241
1606
|
/**
|
|
1242
1607
|
* The amount of this increment in the minor unit of the transaction's currency.
|
|
1243
1608
|
* For dollars, for example, this is cents.
|
|
@@ -1305,6 +1670,177 @@ export declare namespace CardPayment {
|
|
|
1305
1670
|
updated_authorization_amount: number;
|
|
1306
1671
|
}
|
|
1307
1672
|
namespace CardIncrement {
|
|
1673
|
+
/**
|
|
1674
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
1675
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
1676
|
+
* to provide more detailed information about the transaction.
|
|
1677
|
+
*/
|
|
1678
|
+
interface AdditionalAmounts {
|
|
1679
|
+
/**
|
|
1680
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1681
|
+
*/
|
|
1682
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
1683
|
+
/**
|
|
1684
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1685
|
+
*/
|
|
1686
|
+
dental: AdditionalAmounts.Dental | null;
|
|
1687
|
+
/**
|
|
1688
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1689
|
+
*/
|
|
1690
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
1691
|
+
/**
|
|
1692
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1693
|
+
*/
|
|
1694
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
1695
|
+
/**
|
|
1696
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1697
|
+
*/
|
|
1698
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
1699
|
+
/**
|
|
1700
|
+
* The total amount of healthcare-related additional amounts.
|
|
1701
|
+
*/
|
|
1702
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
1703
|
+
/**
|
|
1704
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1705
|
+
*/
|
|
1706
|
+
transit: AdditionalAmounts.Transit | null;
|
|
1707
|
+
/**
|
|
1708
|
+
* An unknown additional amount.
|
|
1709
|
+
*/
|
|
1710
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
1711
|
+
/**
|
|
1712
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1713
|
+
*/
|
|
1714
|
+
vision: AdditionalAmounts.Vision | null;
|
|
1715
|
+
}
|
|
1716
|
+
namespace AdditionalAmounts {
|
|
1717
|
+
/**
|
|
1718
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1719
|
+
*/
|
|
1720
|
+
interface Clinic {
|
|
1721
|
+
/**
|
|
1722
|
+
* The amount in minor units of the `currency` field.
|
|
1723
|
+
*/
|
|
1724
|
+
amount: number;
|
|
1725
|
+
/**
|
|
1726
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1727
|
+
* amount's currency.
|
|
1728
|
+
*/
|
|
1729
|
+
currency: string;
|
|
1730
|
+
}
|
|
1731
|
+
/**
|
|
1732
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1733
|
+
*/
|
|
1734
|
+
interface Dental {
|
|
1735
|
+
/**
|
|
1736
|
+
* The amount in minor units of the `currency` field.
|
|
1737
|
+
*/
|
|
1738
|
+
amount: number;
|
|
1739
|
+
/**
|
|
1740
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1741
|
+
* amount's currency.
|
|
1742
|
+
*/
|
|
1743
|
+
currency: string;
|
|
1744
|
+
}
|
|
1745
|
+
/**
|
|
1746
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1747
|
+
*/
|
|
1748
|
+
interface Prescription {
|
|
1749
|
+
/**
|
|
1750
|
+
* The amount in minor units of the `currency` field.
|
|
1751
|
+
*/
|
|
1752
|
+
amount: number;
|
|
1753
|
+
/**
|
|
1754
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1755
|
+
* amount's currency.
|
|
1756
|
+
*/
|
|
1757
|
+
currency: string;
|
|
1758
|
+
}
|
|
1759
|
+
/**
|
|
1760
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1761
|
+
*/
|
|
1762
|
+
interface Surcharge {
|
|
1763
|
+
/**
|
|
1764
|
+
* The amount in minor units of the `currency` field.
|
|
1765
|
+
*/
|
|
1766
|
+
amount: number;
|
|
1767
|
+
/**
|
|
1768
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1769
|
+
* amount's currency.
|
|
1770
|
+
*/
|
|
1771
|
+
currency: string;
|
|
1772
|
+
}
|
|
1773
|
+
/**
|
|
1774
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1775
|
+
*/
|
|
1776
|
+
interface TotalCumulative {
|
|
1777
|
+
/**
|
|
1778
|
+
* The amount in minor units of the `currency` field.
|
|
1779
|
+
*/
|
|
1780
|
+
amount: number;
|
|
1781
|
+
/**
|
|
1782
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1783
|
+
* amount's currency.
|
|
1784
|
+
*/
|
|
1785
|
+
currency: string;
|
|
1786
|
+
}
|
|
1787
|
+
/**
|
|
1788
|
+
* The total amount of healthcare-related additional amounts.
|
|
1789
|
+
*/
|
|
1790
|
+
interface TotalHealthcare {
|
|
1791
|
+
/**
|
|
1792
|
+
* The amount in minor units of the `currency` field.
|
|
1793
|
+
*/
|
|
1794
|
+
amount: number;
|
|
1795
|
+
/**
|
|
1796
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1797
|
+
* amount's currency.
|
|
1798
|
+
*/
|
|
1799
|
+
currency: string;
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1803
|
+
*/
|
|
1804
|
+
interface Transit {
|
|
1805
|
+
/**
|
|
1806
|
+
* The amount in minor units of the `currency` field.
|
|
1807
|
+
*/
|
|
1808
|
+
amount: number;
|
|
1809
|
+
/**
|
|
1810
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1811
|
+
* amount's currency.
|
|
1812
|
+
*/
|
|
1813
|
+
currency: string;
|
|
1814
|
+
}
|
|
1815
|
+
/**
|
|
1816
|
+
* An unknown additional amount.
|
|
1817
|
+
*/
|
|
1818
|
+
interface Unknown {
|
|
1819
|
+
/**
|
|
1820
|
+
* The amount in minor units of the `currency` field.
|
|
1821
|
+
*/
|
|
1822
|
+
amount: number;
|
|
1823
|
+
/**
|
|
1824
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1825
|
+
* amount's currency.
|
|
1826
|
+
*/
|
|
1827
|
+
currency: string;
|
|
1828
|
+
}
|
|
1829
|
+
/**
|
|
1830
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1831
|
+
*/
|
|
1832
|
+
interface Vision {
|
|
1833
|
+
/**
|
|
1834
|
+
* The amount in minor units of the `currency` field.
|
|
1835
|
+
*/
|
|
1836
|
+
amount: number;
|
|
1837
|
+
/**
|
|
1838
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1839
|
+
* amount's currency.
|
|
1840
|
+
*/
|
|
1841
|
+
currency: string;
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1308
1844
|
/**
|
|
1309
1845
|
* Network-specific identifiers for a specific request or transaction.
|
|
1310
1846
|
*/
|
|
@@ -2645,6 +3181,12 @@ export declare namespace CardPayment {
|
|
|
2645
3181
|
* processing.
|
|
2646
3182
|
*/
|
|
2647
3183
|
actioner: 'user' | 'increase' | 'network';
|
|
3184
|
+
/**
|
|
3185
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
3186
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
3187
|
+
* to provide more detailed information about the transaction.
|
|
3188
|
+
*/
|
|
3189
|
+
additional_amounts: CardValidation.AdditionalAmounts;
|
|
2648
3190
|
/**
|
|
2649
3191
|
* The ID of the Card Payment this transaction belongs to.
|
|
2650
3192
|
*/
|
|
@@ -2736,6 +3278,177 @@ export declare namespace CardPayment {
|
|
|
2736
3278
|
verification: CardValidation.Verification;
|
|
2737
3279
|
}
|
|
2738
3280
|
namespace CardValidation {
|
|
3281
|
+
/**
|
|
3282
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
3283
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
3284
|
+
* to provide more detailed information about the transaction.
|
|
3285
|
+
*/
|
|
3286
|
+
interface AdditionalAmounts {
|
|
3287
|
+
/**
|
|
3288
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
3289
|
+
*/
|
|
3290
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
3291
|
+
/**
|
|
3292
|
+
* The part of this transaction amount that was for dental-related services.
|
|
3293
|
+
*/
|
|
3294
|
+
dental: AdditionalAmounts.Dental | null;
|
|
3295
|
+
/**
|
|
3296
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
3297
|
+
*/
|
|
3298
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
3299
|
+
/**
|
|
3300
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
3301
|
+
*/
|
|
3302
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
3303
|
+
/**
|
|
3304
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
3305
|
+
*/
|
|
3306
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
3307
|
+
/**
|
|
3308
|
+
* The total amount of healthcare-related additional amounts.
|
|
3309
|
+
*/
|
|
3310
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
3311
|
+
/**
|
|
3312
|
+
* The part of this transaction amount that was for transit-related services.
|
|
3313
|
+
*/
|
|
3314
|
+
transit: AdditionalAmounts.Transit | null;
|
|
3315
|
+
/**
|
|
3316
|
+
* An unknown additional amount.
|
|
3317
|
+
*/
|
|
3318
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
3319
|
+
/**
|
|
3320
|
+
* The part of this transaction amount that was for vision-related services.
|
|
3321
|
+
*/
|
|
3322
|
+
vision: AdditionalAmounts.Vision | null;
|
|
3323
|
+
}
|
|
3324
|
+
namespace AdditionalAmounts {
|
|
3325
|
+
/**
|
|
3326
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
3327
|
+
*/
|
|
3328
|
+
interface Clinic {
|
|
3329
|
+
/**
|
|
3330
|
+
* The amount in minor units of the `currency` field.
|
|
3331
|
+
*/
|
|
3332
|
+
amount: number;
|
|
3333
|
+
/**
|
|
3334
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3335
|
+
* amount's currency.
|
|
3336
|
+
*/
|
|
3337
|
+
currency: string;
|
|
3338
|
+
}
|
|
3339
|
+
/**
|
|
3340
|
+
* The part of this transaction amount that was for dental-related services.
|
|
3341
|
+
*/
|
|
3342
|
+
interface Dental {
|
|
3343
|
+
/**
|
|
3344
|
+
* The amount in minor units of the `currency` field.
|
|
3345
|
+
*/
|
|
3346
|
+
amount: number;
|
|
3347
|
+
/**
|
|
3348
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3349
|
+
* amount's currency.
|
|
3350
|
+
*/
|
|
3351
|
+
currency: string;
|
|
3352
|
+
}
|
|
3353
|
+
/**
|
|
3354
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
3355
|
+
*/
|
|
3356
|
+
interface Prescription {
|
|
3357
|
+
/**
|
|
3358
|
+
* The amount in minor units of the `currency` field.
|
|
3359
|
+
*/
|
|
3360
|
+
amount: number;
|
|
3361
|
+
/**
|
|
3362
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3363
|
+
* amount's currency.
|
|
3364
|
+
*/
|
|
3365
|
+
currency: string;
|
|
3366
|
+
}
|
|
3367
|
+
/**
|
|
3368
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
3369
|
+
*/
|
|
3370
|
+
interface Surcharge {
|
|
3371
|
+
/**
|
|
3372
|
+
* The amount in minor units of the `currency` field.
|
|
3373
|
+
*/
|
|
3374
|
+
amount: number;
|
|
3375
|
+
/**
|
|
3376
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3377
|
+
* amount's currency.
|
|
3378
|
+
*/
|
|
3379
|
+
currency: string;
|
|
3380
|
+
}
|
|
3381
|
+
/**
|
|
3382
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
3383
|
+
*/
|
|
3384
|
+
interface TotalCumulative {
|
|
3385
|
+
/**
|
|
3386
|
+
* The amount in minor units of the `currency` field.
|
|
3387
|
+
*/
|
|
3388
|
+
amount: number;
|
|
3389
|
+
/**
|
|
3390
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3391
|
+
* amount's currency.
|
|
3392
|
+
*/
|
|
3393
|
+
currency: string;
|
|
3394
|
+
}
|
|
3395
|
+
/**
|
|
3396
|
+
* The total amount of healthcare-related additional amounts.
|
|
3397
|
+
*/
|
|
3398
|
+
interface TotalHealthcare {
|
|
3399
|
+
/**
|
|
3400
|
+
* The amount in minor units of the `currency` field.
|
|
3401
|
+
*/
|
|
3402
|
+
amount: number;
|
|
3403
|
+
/**
|
|
3404
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3405
|
+
* amount's currency.
|
|
3406
|
+
*/
|
|
3407
|
+
currency: string;
|
|
3408
|
+
}
|
|
3409
|
+
/**
|
|
3410
|
+
* The part of this transaction amount that was for transit-related services.
|
|
3411
|
+
*/
|
|
3412
|
+
interface Transit {
|
|
3413
|
+
/**
|
|
3414
|
+
* The amount in minor units of the `currency` field.
|
|
3415
|
+
*/
|
|
3416
|
+
amount: number;
|
|
3417
|
+
/**
|
|
3418
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3419
|
+
* amount's currency.
|
|
3420
|
+
*/
|
|
3421
|
+
currency: string;
|
|
3422
|
+
}
|
|
3423
|
+
/**
|
|
3424
|
+
* An unknown additional amount.
|
|
3425
|
+
*/
|
|
3426
|
+
interface Unknown {
|
|
3427
|
+
/**
|
|
3428
|
+
* The amount in minor units of the `currency` field.
|
|
3429
|
+
*/
|
|
3430
|
+
amount: number;
|
|
3431
|
+
/**
|
|
3432
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3433
|
+
* amount's currency.
|
|
3434
|
+
*/
|
|
3435
|
+
currency: string;
|
|
3436
|
+
}
|
|
3437
|
+
/**
|
|
3438
|
+
* The part of this transaction amount that was for vision-related services.
|
|
3439
|
+
*/
|
|
3440
|
+
interface Vision {
|
|
3441
|
+
/**
|
|
3442
|
+
* The amount in minor units of the `currency` field.
|
|
3443
|
+
*/
|
|
3444
|
+
amount: number;
|
|
3445
|
+
/**
|
|
3446
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3447
|
+
* amount's currency.
|
|
3448
|
+
*/
|
|
3449
|
+
currency: string;
|
|
3450
|
+
}
|
|
3451
|
+
}
|
|
2739
3452
|
/**
|
|
2740
3453
|
* Fields specific to the `network`.
|
|
2741
3454
|
*/
|