API for Transactions

Hello everyone.
I’m trying to make a marketplace app where everybody can publish his products and others can purchase with credit card and make transactions…
Anyone has an option for an API? and a turorial or documentation?