diff --git a/test/services/PayIns.js b/test/services/PayIns.js index 59bd5af..541d901 100644 --- a/test/services/PayIns.js +++ b/test/services/PayIns.js @@ -559,7 +559,7 @@ describe('PayIns', function () { describe('Get', function () { var getPayIn; before(function (done) { - api.PayIns.get("74980101", function (data, response) { + api.PayIns.get("payin_m_01JFA5CSPT3QBECGYDX6AKQ3QD", function (data, response) { getPayIn = data; done() }); @@ -575,6 +575,7 @@ describe('PayIns', function () { }); }); + /* describe('ExetrnalInstructionAccountNumber', function () { describe('Get', function () { @@ -595,6 +596,7 @@ describe('PayIns', function () { }); }); }); + */ describe('Recurring Payments', function() { var cardId; diff --git a/typings/models/payIn.d.ts b/typings/models/payIn.d.ts index b841236..bb492db 100644 --- a/typings/models/payIn.d.ts +++ b/typings/models/payIn.d.ts @@ -27,6 +27,7 @@ export namespace payIn { | CardPreAuthorizedPayInData | CardWebPayInData | BankWireDirectPayInData + | BankWireExternalInstructionPayInData | PayconiqWebPayInData | DirectDebitDirectPayInData | MbwayWebPayInData @@ -1177,6 +1178,27 @@ export namespace payIn { BankAccount: BankAccountData; } + interface BankWireExternalInstructionPayInData extends BasePayInData { + ExecutionType: "EXTERNAL_INSTRUCTION"; + + PaymentType: "BANK_WIRE"; + + /** + * The reference of the wire made to a banking alias + */ + WireReference: string; + + /** + * The unique identifier of the banking alias + */ + BankingAliasId: string; + + /** + * Debited bank account details + */ + DebitedBankAccount: BankAccountData; + } + interface CreateBankWireDirectPayIn extends PickPartialRequired {