diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 74f1678618..1c17add743 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "@kontist/mock-solaris", - "version": "1.0.173", + "version": "1.0.174", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@kontist/mock-solaris", - "version": "1.0.173", + "version": "1.0.174", "license": "Apache-2.0", "dependencies": { "bluebird": "^3.4.7", diff --git a/package.json b/package.json index 152c167665..b198471012 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kontist/mock-solaris", - "version": "1.0.173", + "version": "1.0.174", "description": "Mock Service for Solaris API", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", diff --git a/src/routes/instantCreditTransfer.ts b/src/routes/instantCreditTransfer.ts index 215a933206..539fd57605 100644 --- a/src/routes/instantCreditTransfer.ts +++ b/src/routes/instantCreditTransfer.ts @@ -108,6 +108,7 @@ export const createInstantCreditTransfer = async (req, res) => { idempotency_key: idempotencyKey, description, end_to_end_id: body.end_to_end_id, + verification_of_payee_id: body?.verification_of_payee_id, }; entity.instantCreditTransfers = entity.instantCreditTransfers || []; diff --git a/src/routes/transactions.ts b/src/routes/transactions.ts index eca69bdf56..af49a72d2d 100644 --- a/src/routes/transactions.ts +++ b/src/routes/transactions.ts @@ -339,6 +339,7 @@ export const creteBookingFromSepaCreditTransfer = ({ recipient_name, reference, status, + verification_of_payee_id = null, }) => ({ id: generateID(), booking_type: BookingType.SEPA_CREDIT_TRANSFER, @@ -358,6 +359,7 @@ export const creteBookingFromSepaCreditTransfer = ({ booking_date: moment().format("YYYY-MM-DD"), valuta_date: moment().format("YYYY-MM-DD"), meta_info: null, + verification_of_payee_id, }); const changeAmountSign = (metaInfo) => {