Hacker News new | past | comments | ask | show | jobs | submit login

You import the library, initialise an object and call its method. I think it's fair enough to call that example three lines of code.

The bigger question of course is what do you end up with. Clearly that method call isn't going to actually send an instruction to your bank to debit your account and credit somebody else's. I guess `creditPaymentInitiation` is an object that has can be converted to a properly formatted message that can then be sent to your bank using an external tool?




I'd bet the .toString() method returns an XML payload you can shove into your API call when you've configured a client for it.


Yup - see https://docs.iso20022js.com/quickstart#step-4-send-the-payme... if you wanna see how that's done




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: