@vantagepay/vantagepay 0.15.0 → 0.15.2
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/README.md +8 -9
- package/dist/baseApi.d.ts +1 -0
- package/dist/consumers/index.d.ts +2 -2
- package/dist/consumers/types.d.ts +12 -7
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.m.js +1 -1
- package/dist/index.m.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/merchants/types.d.ts +25 -12
- package/dist/payments/types.d.ts +234 -234
- package/package.json +4 -2
- package/dist/gmoney/index.d.ts +0 -48
- package/dist/gmoney/types.d.ts +0 -136
- package/dist/hubtel/index.d.ts +0 -21
- package/dist/hubtel/types.d.ts +0 -35
- package/dist/transflow/index.d.ts +0 -11
- package/dist/transflow/types.d.ts +0 -11
package/dist/payments/types.d.ts
CHANGED
|
@@ -26,9 +26,9 @@ export declare abstract class AccountHolderTransactionResult {
|
|
|
26
26
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
27
27
|
amountAttemptedInCents: number;
|
|
28
28
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
30
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
31
|
+
*/
|
|
32
32
|
amountInCents: number;
|
|
33
33
|
/** The cashback amount, in cents. */
|
|
34
34
|
cashbackAmountInCents: number;
|
|
@@ -116,9 +116,9 @@ export declare class CardVerificationPaymentRequest {
|
|
|
116
116
|
/** Contains the details of the bank account you would like to pay money into. */
|
|
117
117
|
export declare class BankAccountDestination {
|
|
118
118
|
/**
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
* A token that can be used instead of a bank account number.
|
|
120
|
+
* If a token is present a bank account does not need to be provided.
|
|
121
|
+
*/
|
|
122
122
|
token?: string;
|
|
123
123
|
/** The bank account number of the recipient. */
|
|
124
124
|
accountNumber: string;
|
|
@@ -137,11 +137,11 @@ export declare class BankAccountDestination {
|
|
|
137
137
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
138
138
|
doNotProcess: boolean;
|
|
139
139
|
/**
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
140
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
141
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
142
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
143
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
144
|
+
*/
|
|
145
145
|
disableConfirmation: boolean;
|
|
146
146
|
/** A collection of public data that can be associated with the transaction. */
|
|
147
147
|
clientData: {
|
|
@@ -178,9 +178,9 @@ export declare class BankAccountDestinationResult {
|
|
|
178
178
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
179
179
|
amountAttemptedInCents: number;
|
|
180
180
|
/**
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
181
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
182
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
183
|
+
*/
|
|
184
184
|
amountInCents: number;
|
|
185
185
|
/** The cashback amount, in cents. */
|
|
186
186
|
cashbackAmountInCents: number;
|
|
@@ -222,11 +222,11 @@ export declare class BillDestination {
|
|
|
222
222
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
223
223
|
doNotProcess: boolean;
|
|
224
224
|
/**
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
225
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
226
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
227
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
228
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
229
|
+
*/
|
|
230
230
|
disableConfirmation: boolean;
|
|
231
231
|
/** A collection of public data that can be associated with the transaction. */
|
|
232
232
|
clientData: {
|
|
@@ -262,9 +262,9 @@ export declare class BillDestinationResult {
|
|
|
262
262
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
263
263
|
amountAttemptedInCents: number;
|
|
264
264
|
/**
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
265
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
266
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
267
|
+
*/
|
|
268
268
|
amountInCents: number;
|
|
269
269
|
/** The cashback amount, in cents. */
|
|
270
270
|
cashbackAmountInCents: number;
|
|
@@ -288,9 +288,9 @@ export declare class BillDestinationResult {
|
|
|
288
288
|
/** Model to hold details of a card into which a payment should be made. */
|
|
289
289
|
export declare class CardDestination {
|
|
290
290
|
/**
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
291
|
+
* A token that can be used instead of a card number.
|
|
292
|
+
* If a token is present a card does not need to be provided.
|
|
293
|
+
*/
|
|
294
294
|
token?: string;
|
|
295
295
|
/** The full card number. */
|
|
296
296
|
cardNumber: string;
|
|
@@ -307,11 +307,11 @@ export declare class CardDestination {
|
|
|
307
307
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
308
308
|
doNotProcess: boolean;
|
|
309
309
|
/**
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
310
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
311
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
312
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
313
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
314
|
+
*/
|
|
315
315
|
disableConfirmation: boolean;
|
|
316
316
|
/** A collection of public data that can be associated with the transaction. */
|
|
317
317
|
clientData: {
|
|
@@ -345,9 +345,9 @@ export declare class CardDestinationResult {
|
|
|
345
345
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
346
346
|
amountAttemptedInCents: number;
|
|
347
347
|
/**
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
348
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
349
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
350
|
+
*/
|
|
351
351
|
amountInCents: number;
|
|
352
352
|
/** The cashback amount, in cents. */
|
|
353
353
|
cashbackAmountInCents: number;
|
|
@@ -381,11 +381,11 @@ export declare class CashDestination {
|
|
|
381
381
|
/** A 3 character ISO currency code. */
|
|
382
382
|
currency: Currency;
|
|
383
383
|
/**
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
384
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
385
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
386
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
387
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
388
|
+
*/
|
|
389
389
|
disableConfirmation: boolean;
|
|
390
390
|
/** A collection of public data that can be associated with the transaction. */
|
|
391
391
|
clientData: {
|
|
@@ -415,9 +415,9 @@ export declare class CashDestinationResult {
|
|
|
415
415
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
416
416
|
amountAttemptedInCents: number;
|
|
417
417
|
/**
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
418
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
419
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
420
|
+
*/
|
|
421
421
|
amountInCents: number;
|
|
422
422
|
/** The cashback amount, in cents. */
|
|
423
423
|
cashbackAmountInCents: number;
|
|
@@ -450,11 +450,11 @@ export declare class GenericDestination {
|
|
|
450
450
|
/** A 3 character ISO currency code. */
|
|
451
451
|
currency: Currency;
|
|
452
452
|
/**
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
453
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
454
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
455
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
456
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
457
|
+
*/
|
|
458
458
|
disableConfirmation: boolean;
|
|
459
459
|
/** A collection of public data that can be associated with the transaction. */
|
|
460
460
|
clientData: {
|
|
@@ -491,11 +491,11 @@ export declare class MerchantDestination {
|
|
|
491
491
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
492
492
|
doNotProcess: boolean;
|
|
493
493
|
/**
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
494
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
495
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
496
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
497
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
498
|
+
*/
|
|
499
499
|
disableConfirmation: boolean;
|
|
500
500
|
/** A collection of public data that can be associated with the transaction. */
|
|
501
501
|
clientData: {
|
|
@@ -531,9 +531,9 @@ export declare class MerchantDestinationResult {
|
|
|
531
531
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
532
532
|
amountAttemptedInCents: number;
|
|
533
533
|
/**
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
534
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
535
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
536
|
+
*/
|
|
537
537
|
amountInCents: number;
|
|
538
538
|
/** The cashback amount, in cents. */
|
|
539
539
|
cashbackAmountInCents: number;
|
|
@@ -557,9 +557,9 @@ export declare class MerchantDestinationResult {
|
|
|
557
557
|
/** Contains the details of the mobile money account you would like to make a payment into. */
|
|
558
558
|
export declare class MobileWalletDestination {
|
|
559
559
|
/**
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
560
|
+
* Mobile Station International Subscriber Directory Number (MSISDN) is a number used to identify a mobile phone number internationally.
|
|
561
|
+
* This number includes a country code and a National Destination Code which identifies the subscriber's operator.
|
|
562
|
+
*/
|
|
563
563
|
msisdn: string;
|
|
564
564
|
/** The mobile wallet operator that owns the mobile money account. */
|
|
565
565
|
mobileWalletOperator: MobileWalletOperator;
|
|
@@ -576,11 +576,11 @@ export declare class MobileWalletDestination {
|
|
|
576
576
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
577
577
|
doNotProcess: boolean;
|
|
578
578
|
/**
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
579
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
580
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
581
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
582
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
583
|
+
*/
|
|
584
584
|
disableConfirmation: boolean;
|
|
585
585
|
/** A collection of public data that can be associated with the transaction. */
|
|
586
586
|
clientData: {
|
|
@@ -614,9 +614,9 @@ export declare class MobileWalletDestinationResult {
|
|
|
614
614
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
615
615
|
amountAttemptedInCents: number;
|
|
616
616
|
/**
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
617
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
618
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
619
|
+
*/
|
|
620
620
|
amountInCents: number;
|
|
621
621
|
/** The cashback amount, in cents. */
|
|
622
622
|
cashbackAmountInCents: number;
|
|
@@ -689,11 +689,11 @@ export declare class QrCodeDestination {
|
|
|
689
689
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
690
690
|
doNotProcess: boolean;
|
|
691
691
|
/**
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
692
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
693
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
694
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
695
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
696
|
+
*/
|
|
697
697
|
disableConfirmation: boolean;
|
|
698
698
|
/** A collection of public data that can be associated with the transaction. */
|
|
699
699
|
clientData: {
|
|
@@ -729,9 +729,9 @@ export declare class QrCodeDestinationResult {
|
|
|
729
729
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
730
730
|
amountAttemptedInCents: number;
|
|
731
731
|
/**
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
732
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
733
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
734
|
+
*/
|
|
735
735
|
amountInCents: number;
|
|
736
736
|
/** The cashback amount, in cents. */
|
|
737
737
|
cashbackAmountInCents: number;
|
|
@@ -773,11 +773,11 @@ export declare class WalletDestination {
|
|
|
773
773
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
774
774
|
doNotProcess: boolean;
|
|
775
775
|
/**
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
776
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
777
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
778
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
779
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
780
|
+
*/
|
|
781
781
|
disableConfirmation: boolean;
|
|
782
782
|
/** A collection of public data that can be associated with the transaction. */
|
|
783
783
|
clientData: {
|
|
@@ -810,9 +810,9 @@ export declare class WalletDestinationResult {
|
|
|
810
810
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
811
811
|
amountAttemptedInCents: number;
|
|
812
812
|
/**
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
813
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
814
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
815
|
+
*/
|
|
816
816
|
amountInCents: number;
|
|
817
817
|
/** The cashback amount, in cents. */
|
|
818
818
|
cashbackAmountInCents: number;
|
|
@@ -836,9 +836,9 @@ export declare class WalletDestinationResult {
|
|
|
836
836
|
export declare enum FeeType {
|
|
837
837
|
None = "None",
|
|
838
838
|
/**
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
839
|
+
* A real-time commission that is deducted from the amount we are instructed to debit from a source account so that the amount we actually
|
|
840
|
+
* debit is less the commission to be paid to the account holder being debited and the commission is therefore effectively paid in real-time.
|
|
841
|
+
*/
|
|
842
842
|
FeeTakenFromSourceByMerchant = "FeeTakenFromSourceByMerchant",
|
|
843
843
|
Elevy = "Elevy",
|
|
844
844
|
/** A processing fee charged by the external payment processor that we used to process the payment, that is charged to us, and is not charged to the end user. */
|
|
@@ -899,20 +899,20 @@ export declare class PaymentReceiptResponse {
|
|
|
899
899
|
/** The transaction batch description/reference that can appear in notifications and statements. */
|
|
900
900
|
description?: string;
|
|
901
901
|
/**
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
902
|
+
* A globally unique payment reference (UUID) that was generated when the initial payment request was submitted.
|
|
903
|
+
* <para>
|
|
904
|
+
* This reference is returned in the response to that initial payment request.
|
|
905
|
+
* </para>
|
|
906
|
+
*/
|
|
907
907
|
paymentReference: string;
|
|
908
908
|
/** A short unique payment reference based on the payment ID. */
|
|
909
909
|
shortPaymentReference: string;
|
|
910
910
|
/**
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
911
|
+
* An optional reference that is associated with every transaction batch that participates in a split payment.
|
|
912
|
+
* This is used for split payments in environments like restaurants where multiple transaction batches contribute to one common bill.
|
|
913
|
+
* The client processing the split payment is responsible for generating this reference and ensuring that
|
|
914
|
+
* all transaction batches that are part of the split payment are associated with the same split reference.
|
|
915
|
+
*/
|
|
916
916
|
splitReference?: string;
|
|
917
917
|
/** A verification code that can be used to validate that an external payment was triggered by a trusted device (used for offline payments for example). */
|
|
918
918
|
verificationCode: string;
|
|
@@ -965,20 +965,20 @@ export declare class PaymentStatusResponse {
|
|
|
965
965
|
/** The transaction batch description/reference that can appear in notifications and statements. */
|
|
966
966
|
description?: string;
|
|
967
967
|
/**
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
968
|
+
* A globally unique payment reference (UUID) that was generated when the initial payment request was submitted.
|
|
969
|
+
* <para>
|
|
970
|
+
* This reference is returned in the response to that initial payment request.
|
|
971
|
+
* </para>
|
|
972
|
+
*/
|
|
973
973
|
paymentReference: string;
|
|
974
974
|
/** A short unique payment reference based on the payment ID. */
|
|
975
975
|
shortPaymentReference: string;
|
|
976
976
|
/**
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
977
|
+
* An optional reference that is associated with every transaction batch that participates in a split payment.
|
|
978
|
+
* This is used for split payments in environments like restaurants where multiple transaction batches contribute to one common bill.
|
|
979
|
+
* The client processing the split payment is responsible for generating this reference and ensuring that
|
|
980
|
+
* all transaction batches that are part of the split payment are associated with the same split reference.
|
|
981
|
+
*/
|
|
982
982
|
splitReference?: string;
|
|
983
983
|
/** A verification code that can be used to validate that an external payment was triggered by a trusted device (used for offline payments for example). */
|
|
984
984
|
verificationCode: string;
|
|
@@ -1008,11 +1008,11 @@ export declare class PaymentTransaction {
|
|
|
1008
1008
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
1009
1009
|
doNotProcess: boolean;
|
|
1010
1010
|
/**
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1011
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
1012
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
1013
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
1014
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
1015
|
+
*/
|
|
1016
1016
|
disableConfirmation: boolean;
|
|
1017
1017
|
/** A collection of public data that can be associated with the transaction. */
|
|
1018
1018
|
clientData: {
|
|
@@ -1042,9 +1042,9 @@ export declare abstract class PaymentTransactionResult {
|
|
|
1042
1042
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
1043
1043
|
amountAttemptedInCents: number;
|
|
1044
1044
|
/**
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1045
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
1046
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
1047
|
+
*/
|
|
1048
1048
|
amountInCents: number;
|
|
1049
1049
|
/** The cashback amount, in cents. */
|
|
1050
1050
|
cashbackAmountInCents: number;
|
|
@@ -1103,9 +1103,9 @@ export declare class RefundReceiptResponse {
|
|
|
1103
1103
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
1104
1104
|
amountAttemptedInCents: number;
|
|
1105
1105
|
/**
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1106
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
1107
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
1108
|
+
*/
|
|
1109
1109
|
amountInCents: number;
|
|
1110
1110
|
/** The cashback amount, in cents. */
|
|
1111
1111
|
cashbackAmountInCents: number;
|
|
@@ -1139,17 +1139,17 @@ export declare class RefundRequest {
|
|
|
1139
1139
|
[key: string]: string;
|
|
1140
1140
|
};
|
|
1141
1141
|
/**
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1142
|
+
* The amount to refund.
|
|
1143
|
+
* <para>This value cannot be larger than the amount that was originally sourced by the transaction referenced by <see cref="P:ZGA.Core.Models.Payments.RefundRequest.SourceTransactionReference" />.</para>
|
|
1144
|
+
*/
|
|
1145
1145
|
refundAmountInCents: number;
|
|
1146
1146
|
}
|
|
1147
1147
|
/** A model to hold the details of a response to a refund request. */
|
|
1148
1148
|
export declare class RefundResponse {
|
|
1149
1149
|
/**
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1150
|
+
* A globally unique refund transaction reference (UUID) generated by the system internally to identify a specific refund transaction.
|
|
1151
|
+
* <para>Can be used to check the status of a refund.</para>
|
|
1152
|
+
*/
|
|
1153
1153
|
reference: string;
|
|
1154
1154
|
/** A set of URLs that can be used to check the status of a refund either via polling or SignalR. */
|
|
1155
1155
|
refundStatusUrls: StatusUrls;
|
|
@@ -1172,9 +1172,9 @@ export declare class RefundStatusResponse {
|
|
|
1172
1172
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
1173
1173
|
amountAttemptedInCents: number;
|
|
1174
1174
|
/**
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1175
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
1176
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
1177
|
+
*/
|
|
1178
1178
|
amountInCents: number;
|
|
1179
1179
|
/** The cashback amount, in cents. */
|
|
1180
1180
|
cashbackAmountInCents: number;
|
|
@@ -1216,9 +1216,9 @@ export declare class RefundTransactionResult {
|
|
|
1216
1216
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
1217
1217
|
amountAttemptedInCents: number;
|
|
1218
1218
|
/**
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1219
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
1220
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
1221
|
+
*/
|
|
1222
1222
|
amountInCents: number;
|
|
1223
1223
|
/** The cashback amount, in cents. */
|
|
1224
1224
|
cashbackAmountInCents: number;
|
|
@@ -1256,11 +1256,11 @@ export declare class ApplePaySource {
|
|
|
1256
1256
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
1257
1257
|
doNotProcess: boolean;
|
|
1258
1258
|
/**
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1259
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
1260
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
1261
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
1262
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
1263
|
+
*/
|
|
1264
1264
|
disableConfirmation: boolean;
|
|
1265
1265
|
/** A collection of public data that can be associated with the transaction. */
|
|
1266
1266
|
clientData: {
|
|
@@ -1276,9 +1276,9 @@ export declare class ApplePaySource {
|
|
|
1276
1276
|
}
|
|
1277
1277
|
export declare class BankAccountSource {
|
|
1278
1278
|
/**
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1279
|
+
* A token that can be used instead of a bank account number.
|
|
1280
|
+
* If a token is present a bank account does not need to be provided.
|
|
1281
|
+
*/
|
|
1282
1282
|
token?: string;
|
|
1283
1283
|
/** The bank account number from which funds will be withdrawn. */
|
|
1284
1284
|
accountNumber: string;
|
|
@@ -1295,11 +1295,11 @@ export declare class BankAccountSource {
|
|
|
1295
1295
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
1296
1296
|
doNotProcess: boolean;
|
|
1297
1297
|
/**
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1298
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
1299
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
1300
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
1301
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
1302
|
+
*/
|
|
1303
1303
|
disableConfirmation: boolean;
|
|
1304
1304
|
/** A collection of public data that can be associated with the transaction. */
|
|
1305
1305
|
clientData: {
|
|
@@ -1333,9 +1333,9 @@ export declare class BankAccountSourceResult {
|
|
|
1333
1333
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
1334
1334
|
amountAttemptedInCents: number;
|
|
1335
1335
|
/**
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1336
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
1337
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
1338
|
+
*/
|
|
1339
1339
|
amountInCents: number;
|
|
1340
1340
|
/** The cashback amount, in cents. */
|
|
1341
1341
|
cashbackAmountInCents: number;
|
|
@@ -1359,9 +1359,9 @@ export declare class BankAccountSourceResult {
|
|
|
1359
1359
|
/** Model to hold the details of a card from which a payment should be made. */
|
|
1360
1360
|
export declare class CardSource {
|
|
1361
1361
|
/**
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1362
|
+
* A token that can be used instead of a card number.
|
|
1363
|
+
* If a token is present a card does not need to be provided.
|
|
1364
|
+
*/
|
|
1365
1365
|
token?: string;
|
|
1366
1366
|
/** The name of the card company that issued this card: VISA, MasterCard, AMEX etc. */
|
|
1367
1367
|
cardIssuer: CardIssuer;
|
|
@@ -1369,9 +1369,9 @@ export declare class CardSource {
|
|
|
1369
1369
|
/** The full card number. */
|
|
1370
1370
|
cardNumber: string;
|
|
1371
1371
|
/**
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1372
|
+
* The Card Verification Value found on the back of the card.
|
|
1373
|
+
* This is either 3 or 4 digits long.
|
|
1374
|
+
*/
|
|
1375
1375
|
cvv?: string;
|
|
1376
1376
|
/** The name of the card holder as printed on the card. */
|
|
1377
1377
|
nameOnCard: string;
|
|
@@ -1395,11 +1395,11 @@ export declare class CardSource {
|
|
|
1395
1395
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
1396
1396
|
doNotProcess: boolean;
|
|
1397
1397
|
/**
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1398
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
1399
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
1400
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
1401
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
1402
|
+
*/
|
|
1403
1403
|
disableConfirmation: boolean;
|
|
1404
1404
|
/** A collection of public data that can be associated with the transaction. */
|
|
1405
1405
|
clientData: {
|
|
@@ -1433,9 +1433,9 @@ export declare class CardSourceResult {
|
|
|
1433
1433
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
1434
1434
|
amountAttemptedInCents: number;
|
|
1435
1435
|
/**
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1436
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
1437
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
1438
|
+
*/
|
|
1439
1439
|
amountInCents: number;
|
|
1440
1440
|
/** The cashback amount, in cents. */
|
|
1441
1441
|
cashbackAmountInCents: number;
|
|
@@ -1467,11 +1467,11 @@ export declare class CashSource {
|
|
|
1467
1467
|
/** A 3 character ISO currency code. */
|
|
1468
1468
|
currency: Currency;
|
|
1469
1469
|
/**
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1470
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
1471
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
1472
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
1473
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
1474
|
+
*/
|
|
1475
1475
|
disableConfirmation: boolean;
|
|
1476
1476
|
/** A collection of public data that can be associated with the transaction. */
|
|
1477
1477
|
clientData: {
|
|
@@ -1501,9 +1501,9 @@ export declare class CashSourceResult {
|
|
|
1501
1501
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
1502
1502
|
amountAttemptedInCents: number;
|
|
1503
1503
|
/**
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1504
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
1505
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
1506
|
+
*/
|
|
1507
1507
|
amountInCents: number;
|
|
1508
1508
|
/** The cashback amount, in cents. */
|
|
1509
1509
|
cashbackAmountInCents: number;
|
|
@@ -1534,11 +1534,11 @@ export declare class GenericSource {
|
|
|
1534
1534
|
/** A 3 character ISO currency code. */
|
|
1535
1535
|
currency: Currency;
|
|
1536
1536
|
/**
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1537
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
1538
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
1539
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
1540
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
1541
|
+
*/
|
|
1542
1542
|
disableConfirmation: boolean;
|
|
1543
1543
|
/** A collection of public data that can be associated with the transaction. */
|
|
1544
1544
|
clientData: {
|
|
@@ -1565,11 +1565,11 @@ export declare class GooglePaySource {
|
|
|
1565
1565
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
1566
1566
|
doNotProcess: boolean;
|
|
1567
1567
|
/**
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1568
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
1569
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
1570
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
1571
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
1572
|
+
*/
|
|
1573
1573
|
disableConfirmation: boolean;
|
|
1574
1574
|
/** A collection of public data that can be associated with the transaction. */
|
|
1575
1575
|
clientData: {
|
|
@@ -1588,19 +1588,19 @@ export declare class MobileWalletSource {
|
|
|
1588
1588
|
/** The mobile wallet operator that owns the mobile money account. */
|
|
1589
1589
|
mobileWalletOperator: MobileWalletOperator;
|
|
1590
1590
|
/**
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1591
|
+
* Mobile Station International Subscriber Directory Number (MSISDN) is a number used to identify a mobile phone number internationally.
|
|
1592
|
+
* This number includes a country code and a National Destination Code which identifies the subscriber's operator.
|
|
1593
|
+
*/
|
|
1594
1594
|
msisdn: string;
|
|
1595
1595
|
/**
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1596
|
+
* A voucher code issued by your network provider (currently Vodafone/Telecel or GMoney) in order to verify your payment.
|
|
1597
|
+
* This can also actually be a One Time Pin code, despite being referred to as a VoucherCode, that is generated by the MNO but needs to be submitted via the payment engine.
|
|
1598
|
+
*/
|
|
1599
1599
|
voucherCode?: string;
|
|
1600
1600
|
/**
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1601
|
+
* A PIN issued to the subscriber.
|
|
1602
|
+
* This is usually a static PIN code and is currently only applicable for Zeepay.
|
|
1603
|
+
*/
|
|
1604
1604
|
subscriberPin?: string;
|
|
1605
1605
|
/** The transaction description/reference that can appear in notifications and statements. */
|
|
1606
1606
|
description?: string;
|
|
@@ -1613,11 +1613,11 @@ export declare class MobileWalletSource {
|
|
|
1613
1613
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
1614
1614
|
doNotProcess: boolean;
|
|
1615
1615
|
/**
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1616
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
1617
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
1618
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
1619
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
1620
|
+
*/
|
|
1621
1621
|
disableConfirmation: boolean;
|
|
1622
1622
|
/** A collection of public data that can be associated with the transaction. */
|
|
1623
1623
|
clientData: {
|
|
@@ -1651,9 +1651,9 @@ export declare class MobileWalletSourceResult {
|
|
|
1651
1651
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
1652
1652
|
amountAttemptedInCents: number;
|
|
1653
1653
|
/**
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1654
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
1655
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
1656
|
+
*/
|
|
1657
1657
|
amountInCents: number;
|
|
1658
1658
|
/** The cashback amount, in cents. */
|
|
1659
1659
|
cashbackAmountInCents: number;
|
|
@@ -1715,11 +1715,11 @@ export declare class WalletSource {
|
|
|
1715
1715
|
/** Set this optional flag to avoid actually processing a transaction. */
|
|
1716
1716
|
doNotProcess: boolean;
|
|
1717
1717
|
/**
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1718
|
+
* Set this optional flag to avoid confirmation steps for the transaction such as confirming additional fees or target account verification.
|
|
1719
|
+
* The details of the payment will be stored but the transaction will not pause to request confirmation of the destination from the client.
|
|
1720
|
+
* This flag can only be used with server integrations and will be ignored for any other calls.
|
|
1721
|
+
* This flag is optional and if it is omitted from the payment request it will default to FALSE and confirmation will be requested.
|
|
1722
|
+
*/
|
|
1723
1723
|
disableConfirmation: boolean;
|
|
1724
1724
|
/** A collection of public data that can be associated with the transaction. */
|
|
1725
1725
|
clientData: {
|
|
@@ -1751,9 +1751,9 @@ export declare class WalletSourceResult {
|
|
|
1751
1751
|
/** The amount that the payment engine attempted to process, in cents, inclusive of fees and exclusive of real time commissions. */
|
|
1752
1752
|
amountAttemptedInCents: number;
|
|
1753
1753
|
/**
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1754
|
+
* The amount that the payment engine actually processed, in cents, inclusive of fees and exclusive of real time commissions.
|
|
1755
|
+
* This amount, as stored in the database, is already adjusted for Fees and Commissions, so we do not need to adjust it here.
|
|
1756
|
+
*/
|
|
1757
1757
|
amountInCents: number;
|
|
1758
1758
|
/** The cashback amount, in cents. */
|
|
1759
1759
|
cashbackAmountInCents: number;
|
|
@@ -1904,16 +1904,16 @@ export declare class MerchantPaymentRequest {
|
|
|
1904
1904
|
/** Specify the channel that this payment originated from. */
|
|
1905
1905
|
channel: Channel;
|
|
1906
1906
|
/**
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1907
|
+
* A unique client reference for this payment.
|
|
1908
|
+
* This is optional to detect duplicate calls and also allow you to associate payments with your own internal reference numbers.
|
|
1909
|
+
*/
|
|
1910
1910
|
yourReference?: string;
|
|
1911
1911
|
/**
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1912
|
+
* An optional reference that is associated with every transaction batch that participates in a split payment.
|
|
1913
|
+
* This is used for split payments in environments like restaurants where multiple transaction batches contribute to one common bill.
|
|
1914
|
+
* The client processing the split payment is responsible for generating this reference and ensuring that
|
|
1915
|
+
* all transaction batches that are part of the split payment are associated with the same split reference.
|
|
1916
|
+
*/
|
|
1917
1917
|
splitReference?: string;
|
|
1918
1918
|
/** Optional consumer information of the person making the payment. */
|
|
1919
1919
|
consumer?: BasicConsumer;
|
|
@@ -1926,19 +1926,19 @@ export declare class MerchantPaymentRequest {
|
|
|
1926
1926
|
/** A text description of the payment. Sometimes also referred to as a Narration. */
|
|
1927
1927
|
description?: string;
|
|
1928
1928
|
/**
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1929
|
+
* A schedule definition to use to schedule payments to recur in the future.
|
|
1930
|
+
* If a schedule is supplied it must include either an end date or a repeat count and it must specify what repeat interval to use.
|
|
1931
|
+
*/
|
|
1932
1932
|
recurrenceSchedule?: PaymentRecurrenceSchedule;
|
|
1933
1933
|
/**
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1934
|
+
* When a payment request instance is spawned by a recurrence schedule this property will be populated so that it is possible to lookup the specific schedule entry in the database
|
|
1935
|
+
* that is associated with payment request instance in question.
|
|
1936
|
+
*/
|
|
1937
1937
|
scheduledSequenceNumber?: number;
|
|
1938
1938
|
/**
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1939
|
+
* In certain scenarios a confirmation may be requested from the client before transaction processing starts (confirming fees for example).
|
|
1940
|
+
* Use this flag to indicate that you want to automatically confirm any initial confirmations.
|
|
1941
|
+
*/
|
|
1942
1942
|
disableInitialConfirmation: boolean;
|
|
1943
1943
|
/** A list of line items associated with this payment. */
|
|
1944
1944
|
lineItems: LineItem[];
|
|
@@ -1954,16 +1954,16 @@ export declare class PaymentRequest {
|
|
|
1954
1954
|
/** Specify the channel that this payment originated from. */
|
|
1955
1955
|
channel: Channel;
|
|
1956
1956
|
/**
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1957
|
+
* A unique client reference for this payment.
|
|
1958
|
+
* This is optional to detect duplicate calls and also allow you to associate payments with your own internal reference numbers.
|
|
1959
|
+
*/
|
|
1960
1960
|
yourReference?: string;
|
|
1961
1961
|
/**
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1962
|
+
* An optional reference that is associated with every transaction batch that participates in a split payment.
|
|
1963
|
+
* This is used for split payments in environments like restaurants where multiple transaction batches contribute to one common bill.
|
|
1964
|
+
* The client processing the split payment is responsible for generating this reference and ensuring that
|
|
1965
|
+
* all transaction batches that are part of the split payment are associated with the same split reference.
|
|
1966
|
+
*/
|
|
1967
1967
|
splitReference?: string;
|
|
1968
1968
|
/** Optional consumer information of the person making the payment. */
|
|
1969
1969
|
consumer?: BasicConsumer;
|
|
@@ -1976,19 +1976,19 @@ export declare class PaymentRequest {
|
|
|
1976
1976
|
/** A text description of the payment. Sometimes also referred to as a Narration. */
|
|
1977
1977
|
description?: string;
|
|
1978
1978
|
/**
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1979
|
+
* A schedule definition to use to schedule payments to recur in the future.
|
|
1980
|
+
* If a schedule is supplied it must include either an end date or a repeat count and it must specify what repeat interval to use.
|
|
1981
|
+
*/
|
|
1982
1982
|
recurrenceSchedule?: PaymentRecurrenceSchedule;
|
|
1983
1983
|
/**
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1984
|
+
* When a payment request instance is spawned by a recurrence schedule this property will be populated so that it is possible to lookup the specific schedule entry in the database
|
|
1985
|
+
* that is associated with payment request instance in question.
|
|
1986
|
+
*/
|
|
1987
1987
|
scheduledSequenceNumber?: number;
|
|
1988
1988
|
/**
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1989
|
+
* In certain scenarios a confirmation may be requested from the client before transaction processing starts (confirming fees for example).
|
|
1990
|
+
* Use this flag to indicate that you want to automatically confirm any initial confirmations.
|
|
1991
|
+
*/
|
|
1992
1992
|
disableInitialConfirmation: boolean;
|
|
1993
1993
|
/** A list of line items associated with this payment. */
|
|
1994
1994
|
lineItems: LineItem[];
|