Chapter 2Take the Money

Throughout this book we’ll look at many different aspects of financial transactions. We’ll talk about reporting, administration, legal requirements, and a host of other things. But the key part of taking money from customers is actually taking money from them.

It turns out you can send an API call with a particular set of authentication information to a particular server and this will have the real-world effect of removing money from one person’s account and adding it to your account. I don’t know about you, but the fact that this is possible still seems magical, even though it happens zillions of times a day all across the world.

In the previous chapter we set up our shopping cart feature. Our users are able to select ...

Get Take My Money now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.