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
|
@@ -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.
|
|
@@ -951,6 +1134,177 @@ export declare namespace CardPayment {
|
|
|
951
1134
|
verification: CardDecline.Verification;
|
|
952
1135
|
}
|
|
953
1136
|
namespace CardDecline {
|
|
1137
|
+
/**
|
|
1138
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
1139
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
1140
|
+
* to provide more detailed information about the transaction.
|
|
1141
|
+
*/
|
|
1142
|
+
interface AdditionalAmounts {
|
|
1143
|
+
/**
|
|
1144
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1145
|
+
*/
|
|
1146
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
1147
|
+
/**
|
|
1148
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1149
|
+
*/
|
|
1150
|
+
dental: AdditionalAmounts.Dental | null;
|
|
1151
|
+
/**
|
|
1152
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1153
|
+
*/
|
|
1154
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
1155
|
+
/**
|
|
1156
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1157
|
+
*/
|
|
1158
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
1159
|
+
/**
|
|
1160
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1161
|
+
*/
|
|
1162
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
1163
|
+
/**
|
|
1164
|
+
* The total amount of healthcare-related additional amounts.
|
|
1165
|
+
*/
|
|
1166
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
1167
|
+
/**
|
|
1168
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1169
|
+
*/
|
|
1170
|
+
transit: AdditionalAmounts.Transit | null;
|
|
1171
|
+
/**
|
|
1172
|
+
* An unknown additional amount.
|
|
1173
|
+
*/
|
|
1174
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
1175
|
+
/**
|
|
1176
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1177
|
+
*/
|
|
1178
|
+
vision: AdditionalAmounts.Vision | null;
|
|
1179
|
+
}
|
|
1180
|
+
namespace AdditionalAmounts {
|
|
1181
|
+
/**
|
|
1182
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1183
|
+
*/
|
|
1184
|
+
interface Clinic {
|
|
1185
|
+
/**
|
|
1186
|
+
* The amount in minor units of the `currency` field.
|
|
1187
|
+
*/
|
|
1188
|
+
amount: number;
|
|
1189
|
+
/**
|
|
1190
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1191
|
+
* amount's currency.
|
|
1192
|
+
*/
|
|
1193
|
+
currency: string;
|
|
1194
|
+
}
|
|
1195
|
+
/**
|
|
1196
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1197
|
+
*/
|
|
1198
|
+
interface Dental {
|
|
1199
|
+
/**
|
|
1200
|
+
* The amount in minor units of the `currency` field.
|
|
1201
|
+
*/
|
|
1202
|
+
amount: number;
|
|
1203
|
+
/**
|
|
1204
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1205
|
+
* amount's currency.
|
|
1206
|
+
*/
|
|
1207
|
+
currency: string;
|
|
1208
|
+
}
|
|
1209
|
+
/**
|
|
1210
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1211
|
+
*/
|
|
1212
|
+
interface Prescription {
|
|
1213
|
+
/**
|
|
1214
|
+
* The amount in minor units of the `currency` field.
|
|
1215
|
+
*/
|
|
1216
|
+
amount: number;
|
|
1217
|
+
/**
|
|
1218
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1219
|
+
* amount's currency.
|
|
1220
|
+
*/
|
|
1221
|
+
currency: string;
|
|
1222
|
+
}
|
|
1223
|
+
/**
|
|
1224
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1225
|
+
*/
|
|
1226
|
+
interface Surcharge {
|
|
1227
|
+
/**
|
|
1228
|
+
* The amount in minor units of the `currency` field.
|
|
1229
|
+
*/
|
|
1230
|
+
amount: number;
|
|
1231
|
+
/**
|
|
1232
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1233
|
+
* amount's currency.
|
|
1234
|
+
*/
|
|
1235
|
+
currency: string;
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1239
|
+
*/
|
|
1240
|
+
interface TotalCumulative {
|
|
1241
|
+
/**
|
|
1242
|
+
* The amount in minor units of the `currency` field.
|
|
1243
|
+
*/
|
|
1244
|
+
amount: number;
|
|
1245
|
+
/**
|
|
1246
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1247
|
+
* amount's currency.
|
|
1248
|
+
*/
|
|
1249
|
+
currency: string;
|
|
1250
|
+
}
|
|
1251
|
+
/**
|
|
1252
|
+
* The total amount of healthcare-related additional amounts.
|
|
1253
|
+
*/
|
|
1254
|
+
interface TotalHealthcare {
|
|
1255
|
+
/**
|
|
1256
|
+
* The amount in minor units of the `currency` field.
|
|
1257
|
+
*/
|
|
1258
|
+
amount: number;
|
|
1259
|
+
/**
|
|
1260
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1261
|
+
* amount's currency.
|
|
1262
|
+
*/
|
|
1263
|
+
currency: string;
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1267
|
+
*/
|
|
1268
|
+
interface Transit {
|
|
1269
|
+
/**
|
|
1270
|
+
* The amount in minor units of the `currency` field.
|
|
1271
|
+
*/
|
|
1272
|
+
amount: number;
|
|
1273
|
+
/**
|
|
1274
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1275
|
+
* amount's currency.
|
|
1276
|
+
*/
|
|
1277
|
+
currency: string;
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
* An unknown additional amount.
|
|
1281
|
+
*/
|
|
1282
|
+
interface Unknown {
|
|
1283
|
+
/**
|
|
1284
|
+
* The amount in minor units of the `currency` field.
|
|
1285
|
+
*/
|
|
1286
|
+
amount: number;
|
|
1287
|
+
/**
|
|
1288
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1289
|
+
* amount's currency.
|
|
1290
|
+
*/
|
|
1291
|
+
currency: string;
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1295
|
+
*/
|
|
1296
|
+
interface Vision {
|
|
1297
|
+
/**
|
|
1298
|
+
* The amount in minor units of the `currency` field.
|
|
1299
|
+
*/
|
|
1300
|
+
amount: number;
|
|
1301
|
+
/**
|
|
1302
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1303
|
+
* amount's currency.
|
|
1304
|
+
*/
|
|
1305
|
+
currency: string;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
954
1308
|
/**
|
|
955
1309
|
* Fields specific to the `network`.
|
|
956
1310
|
*/
|
|
@@ -1238,6 +1592,12 @@ export declare namespace CardPayment {
|
|
|
1238
1592
|
* processing.
|
|
1239
1593
|
*/
|
|
1240
1594
|
actioner: 'user' | 'increase' | 'network';
|
|
1595
|
+
/**
|
|
1596
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
1597
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
1598
|
+
* to provide more detailed information about the transaction.
|
|
1599
|
+
*/
|
|
1600
|
+
additional_amounts: CardIncrement.AdditionalAmounts;
|
|
1241
1601
|
/**
|
|
1242
1602
|
* The amount of this increment in the minor unit of the transaction's currency.
|
|
1243
1603
|
* For dollars, for example, this is cents.
|
|
@@ -1305,6 +1665,177 @@ export declare namespace CardPayment {
|
|
|
1305
1665
|
updated_authorization_amount: number;
|
|
1306
1666
|
}
|
|
1307
1667
|
namespace CardIncrement {
|
|
1668
|
+
/**
|
|
1669
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
1670
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
1671
|
+
* to provide more detailed information about the transaction.
|
|
1672
|
+
*/
|
|
1673
|
+
interface AdditionalAmounts {
|
|
1674
|
+
/**
|
|
1675
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1676
|
+
*/
|
|
1677
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
1678
|
+
/**
|
|
1679
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1680
|
+
*/
|
|
1681
|
+
dental: AdditionalAmounts.Dental | null;
|
|
1682
|
+
/**
|
|
1683
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1684
|
+
*/
|
|
1685
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
1686
|
+
/**
|
|
1687
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1688
|
+
*/
|
|
1689
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
1690
|
+
/**
|
|
1691
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1692
|
+
*/
|
|
1693
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
1694
|
+
/**
|
|
1695
|
+
* The total amount of healthcare-related additional amounts.
|
|
1696
|
+
*/
|
|
1697
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
1698
|
+
/**
|
|
1699
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1700
|
+
*/
|
|
1701
|
+
transit: AdditionalAmounts.Transit | null;
|
|
1702
|
+
/**
|
|
1703
|
+
* An unknown additional amount.
|
|
1704
|
+
*/
|
|
1705
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
1706
|
+
/**
|
|
1707
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1708
|
+
*/
|
|
1709
|
+
vision: AdditionalAmounts.Vision | null;
|
|
1710
|
+
}
|
|
1711
|
+
namespace AdditionalAmounts {
|
|
1712
|
+
/**
|
|
1713
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
1714
|
+
*/
|
|
1715
|
+
interface Clinic {
|
|
1716
|
+
/**
|
|
1717
|
+
* The amount in minor units of the `currency` field.
|
|
1718
|
+
*/
|
|
1719
|
+
amount: number;
|
|
1720
|
+
/**
|
|
1721
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1722
|
+
* amount's currency.
|
|
1723
|
+
*/
|
|
1724
|
+
currency: string;
|
|
1725
|
+
}
|
|
1726
|
+
/**
|
|
1727
|
+
* The part of this transaction amount that was for dental-related services.
|
|
1728
|
+
*/
|
|
1729
|
+
interface Dental {
|
|
1730
|
+
/**
|
|
1731
|
+
* The amount in minor units of the `currency` field.
|
|
1732
|
+
*/
|
|
1733
|
+
amount: number;
|
|
1734
|
+
/**
|
|
1735
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1736
|
+
* amount's currency.
|
|
1737
|
+
*/
|
|
1738
|
+
currency: string;
|
|
1739
|
+
}
|
|
1740
|
+
/**
|
|
1741
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
1742
|
+
*/
|
|
1743
|
+
interface Prescription {
|
|
1744
|
+
/**
|
|
1745
|
+
* The amount in minor units of the `currency` field.
|
|
1746
|
+
*/
|
|
1747
|
+
amount: number;
|
|
1748
|
+
/**
|
|
1749
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1750
|
+
* amount's currency.
|
|
1751
|
+
*/
|
|
1752
|
+
currency: string;
|
|
1753
|
+
}
|
|
1754
|
+
/**
|
|
1755
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
1756
|
+
*/
|
|
1757
|
+
interface Surcharge {
|
|
1758
|
+
/**
|
|
1759
|
+
* The amount in minor units of the `currency` field.
|
|
1760
|
+
*/
|
|
1761
|
+
amount: number;
|
|
1762
|
+
/**
|
|
1763
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1764
|
+
* amount's currency.
|
|
1765
|
+
*/
|
|
1766
|
+
currency: string;
|
|
1767
|
+
}
|
|
1768
|
+
/**
|
|
1769
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
1770
|
+
*/
|
|
1771
|
+
interface TotalCumulative {
|
|
1772
|
+
/**
|
|
1773
|
+
* The amount in minor units of the `currency` field.
|
|
1774
|
+
*/
|
|
1775
|
+
amount: number;
|
|
1776
|
+
/**
|
|
1777
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1778
|
+
* amount's currency.
|
|
1779
|
+
*/
|
|
1780
|
+
currency: string;
|
|
1781
|
+
}
|
|
1782
|
+
/**
|
|
1783
|
+
* The total amount of healthcare-related additional amounts.
|
|
1784
|
+
*/
|
|
1785
|
+
interface TotalHealthcare {
|
|
1786
|
+
/**
|
|
1787
|
+
* The amount in minor units of the `currency` field.
|
|
1788
|
+
*/
|
|
1789
|
+
amount: number;
|
|
1790
|
+
/**
|
|
1791
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1792
|
+
* amount's currency.
|
|
1793
|
+
*/
|
|
1794
|
+
currency: string;
|
|
1795
|
+
}
|
|
1796
|
+
/**
|
|
1797
|
+
* The part of this transaction amount that was for transit-related services.
|
|
1798
|
+
*/
|
|
1799
|
+
interface Transit {
|
|
1800
|
+
/**
|
|
1801
|
+
* The amount in minor units of the `currency` field.
|
|
1802
|
+
*/
|
|
1803
|
+
amount: number;
|
|
1804
|
+
/**
|
|
1805
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1806
|
+
* amount's currency.
|
|
1807
|
+
*/
|
|
1808
|
+
currency: string;
|
|
1809
|
+
}
|
|
1810
|
+
/**
|
|
1811
|
+
* An unknown additional amount.
|
|
1812
|
+
*/
|
|
1813
|
+
interface Unknown {
|
|
1814
|
+
/**
|
|
1815
|
+
* The amount in minor units of the `currency` field.
|
|
1816
|
+
*/
|
|
1817
|
+
amount: number;
|
|
1818
|
+
/**
|
|
1819
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1820
|
+
* amount's currency.
|
|
1821
|
+
*/
|
|
1822
|
+
currency: string;
|
|
1823
|
+
}
|
|
1824
|
+
/**
|
|
1825
|
+
* The part of this transaction amount that was for vision-related services.
|
|
1826
|
+
*/
|
|
1827
|
+
interface Vision {
|
|
1828
|
+
/**
|
|
1829
|
+
* The amount in minor units of the `currency` field.
|
|
1830
|
+
*/
|
|
1831
|
+
amount: number;
|
|
1832
|
+
/**
|
|
1833
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
1834
|
+
* amount's currency.
|
|
1835
|
+
*/
|
|
1836
|
+
currency: string;
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1308
1839
|
/**
|
|
1309
1840
|
* Network-specific identifiers for a specific request or transaction.
|
|
1310
1841
|
*/
|
|
@@ -2645,6 +3176,12 @@ export declare namespace CardPayment {
|
|
|
2645
3176
|
* processing.
|
|
2646
3177
|
*/
|
|
2647
3178
|
actioner: 'user' | 'increase' | 'network';
|
|
3179
|
+
/**
|
|
3180
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
3181
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
3182
|
+
* to provide more detailed information about the transaction.
|
|
3183
|
+
*/
|
|
3184
|
+
additional_amounts: CardValidation.AdditionalAmounts;
|
|
2648
3185
|
/**
|
|
2649
3186
|
* The ID of the Card Payment this transaction belongs to.
|
|
2650
3187
|
*/
|
|
@@ -2736,6 +3273,177 @@ export declare namespace CardPayment {
|
|
|
2736
3273
|
verification: CardValidation.Verification;
|
|
2737
3274
|
}
|
|
2738
3275
|
namespace CardValidation {
|
|
3276
|
+
/**
|
|
3277
|
+
* Additional amounts associated with the card authorization, such as ATM
|
|
3278
|
+
* surcharges fees. These are usually a subset of the `amount` field and are used
|
|
3279
|
+
* to provide more detailed information about the transaction.
|
|
3280
|
+
*/
|
|
3281
|
+
interface AdditionalAmounts {
|
|
3282
|
+
/**
|
|
3283
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
3284
|
+
*/
|
|
3285
|
+
clinic: AdditionalAmounts.Clinic | null;
|
|
3286
|
+
/**
|
|
3287
|
+
* The part of this transaction amount that was for dental-related services.
|
|
3288
|
+
*/
|
|
3289
|
+
dental: AdditionalAmounts.Dental | null;
|
|
3290
|
+
/**
|
|
3291
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
3292
|
+
*/
|
|
3293
|
+
prescription: AdditionalAmounts.Prescription | null;
|
|
3294
|
+
/**
|
|
3295
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
3296
|
+
*/
|
|
3297
|
+
surcharge: AdditionalAmounts.Surcharge | null;
|
|
3298
|
+
/**
|
|
3299
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
3300
|
+
*/
|
|
3301
|
+
total_cumulative: AdditionalAmounts.TotalCumulative | null;
|
|
3302
|
+
/**
|
|
3303
|
+
* The total amount of healthcare-related additional amounts.
|
|
3304
|
+
*/
|
|
3305
|
+
total_healthcare: AdditionalAmounts.TotalHealthcare | null;
|
|
3306
|
+
/**
|
|
3307
|
+
* The part of this transaction amount that was for transit-related services.
|
|
3308
|
+
*/
|
|
3309
|
+
transit: AdditionalAmounts.Transit | null;
|
|
3310
|
+
/**
|
|
3311
|
+
* An unknown additional amount.
|
|
3312
|
+
*/
|
|
3313
|
+
unknown: AdditionalAmounts.Unknown | null;
|
|
3314
|
+
/**
|
|
3315
|
+
* The part of this transaction amount that was for vision-related services.
|
|
3316
|
+
*/
|
|
3317
|
+
vision: AdditionalAmounts.Vision | null;
|
|
3318
|
+
}
|
|
3319
|
+
namespace AdditionalAmounts {
|
|
3320
|
+
/**
|
|
3321
|
+
* The part of this transaction amount that was for clinic-related services.
|
|
3322
|
+
*/
|
|
3323
|
+
interface Clinic {
|
|
3324
|
+
/**
|
|
3325
|
+
* The amount in minor units of the `currency` field.
|
|
3326
|
+
*/
|
|
3327
|
+
amount: number;
|
|
3328
|
+
/**
|
|
3329
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3330
|
+
* amount's currency.
|
|
3331
|
+
*/
|
|
3332
|
+
currency: string;
|
|
3333
|
+
}
|
|
3334
|
+
/**
|
|
3335
|
+
* The part of this transaction amount that was for dental-related services.
|
|
3336
|
+
*/
|
|
3337
|
+
interface Dental {
|
|
3338
|
+
/**
|
|
3339
|
+
* The amount in minor units of the `currency` field.
|
|
3340
|
+
*/
|
|
3341
|
+
amount: number;
|
|
3342
|
+
/**
|
|
3343
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3344
|
+
* amount's currency.
|
|
3345
|
+
*/
|
|
3346
|
+
currency: string;
|
|
3347
|
+
}
|
|
3348
|
+
/**
|
|
3349
|
+
* The part of this transaction amount that was for healthcare prescriptions.
|
|
3350
|
+
*/
|
|
3351
|
+
interface Prescription {
|
|
3352
|
+
/**
|
|
3353
|
+
* The amount in minor units of the `currency` field.
|
|
3354
|
+
*/
|
|
3355
|
+
amount: number;
|
|
3356
|
+
/**
|
|
3357
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3358
|
+
* amount's currency.
|
|
3359
|
+
*/
|
|
3360
|
+
currency: string;
|
|
3361
|
+
}
|
|
3362
|
+
/**
|
|
3363
|
+
* The surcharge amount charged for this transaction by the merchant.
|
|
3364
|
+
*/
|
|
3365
|
+
interface Surcharge {
|
|
3366
|
+
/**
|
|
3367
|
+
* The amount in minor units of the `currency` field.
|
|
3368
|
+
*/
|
|
3369
|
+
amount: number;
|
|
3370
|
+
/**
|
|
3371
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3372
|
+
* amount's currency.
|
|
3373
|
+
*/
|
|
3374
|
+
currency: string;
|
|
3375
|
+
}
|
|
3376
|
+
/**
|
|
3377
|
+
* The total amount of a series of incremental authorizations, optionally provided.
|
|
3378
|
+
*/
|
|
3379
|
+
interface TotalCumulative {
|
|
3380
|
+
/**
|
|
3381
|
+
* The amount in minor units of the `currency` field.
|
|
3382
|
+
*/
|
|
3383
|
+
amount: number;
|
|
3384
|
+
/**
|
|
3385
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3386
|
+
* amount's currency.
|
|
3387
|
+
*/
|
|
3388
|
+
currency: string;
|
|
3389
|
+
}
|
|
3390
|
+
/**
|
|
3391
|
+
* The total amount of healthcare-related additional amounts.
|
|
3392
|
+
*/
|
|
3393
|
+
interface TotalHealthcare {
|
|
3394
|
+
/**
|
|
3395
|
+
* The amount in minor units of the `currency` field.
|
|
3396
|
+
*/
|
|
3397
|
+
amount: number;
|
|
3398
|
+
/**
|
|
3399
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3400
|
+
* amount's currency.
|
|
3401
|
+
*/
|
|
3402
|
+
currency: string;
|
|
3403
|
+
}
|
|
3404
|
+
/**
|
|
3405
|
+
* The part of this transaction amount that was for transit-related services.
|
|
3406
|
+
*/
|
|
3407
|
+
interface Transit {
|
|
3408
|
+
/**
|
|
3409
|
+
* The amount in minor units of the `currency` field.
|
|
3410
|
+
*/
|
|
3411
|
+
amount: number;
|
|
3412
|
+
/**
|
|
3413
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3414
|
+
* amount's currency.
|
|
3415
|
+
*/
|
|
3416
|
+
currency: string;
|
|
3417
|
+
}
|
|
3418
|
+
/**
|
|
3419
|
+
* An unknown additional amount.
|
|
3420
|
+
*/
|
|
3421
|
+
interface Unknown {
|
|
3422
|
+
/**
|
|
3423
|
+
* The amount in minor units of the `currency` field.
|
|
3424
|
+
*/
|
|
3425
|
+
amount: number;
|
|
3426
|
+
/**
|
|
3427
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3428
|
+
* amount's currency.
|
|
3429
|
+
*/
|
|
3430
|
+
currency: string;
|
|
3431
|
+
}
|
|
3432
|
+
/**
|
|
3433
|
+
* The part of this transaction amount that was for vision-related services.
|
|
3434
|
+
*/
|
|
3435
|
+
interface Vision {
|
|
3436
|
+
/**
|
|
3437
|
+
* The amount in minor units of the `currency` field.
|
|
3438
|
+
*/
|
|
3439
|
+
amount: number;
|
|
3440
|
+
/**
|
|
3441
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
|
3442
|
+
* amount's currency.
|
|
3443
|
+
*/
|
|
3444
|
+
currency: string;
|
|
3445
|
+
}
|
|
3446
|
+
}
|
|
2739
3447
|
/**
|
|
2740
3448
|
* Fields specific to the `network`.
|
|
2741
3449
|
*/
|