Mangopay / mangopay2-nodejs-sdk

Node.js SDK for MANGOPAY
https://www.npmjs.com/package/mangopay2-nodejs-sdk
MIT License
51 stars 38 forks source link

Get Deposit Pre-Authorization through a CardId / UserId #361

Open Rivoks opened 1 year ago

Rivoks commented 1 year ago

Hello,

Currently implementing the API of Mangopay with the nodejs-sdk. I am facing an issue where after a successful Deposit Pre-Authorization, I haven't found a way to get the created deposit through a CardId or a UserId.

The Idea is that after the deposit creation, I want to create a Deposit Pre-Authorization Pay-in but for that I need the DepositId. Should I store it for example on the Card.Tag after the deposit creation? Or is there a method in the SDK to get deposits associated to a Card/User.

Thank you in advance! Yazid

fredericdelordm commented 1 year ago

Hello @Rivoks,

Thanks for the feedback. It will be added in the next weeks