CodeSamples
Sample API Calls
NOTE
We know developers like to hack and start with sample code (we do, too). Please save time by reading the Getting Stared section!
Before you start coding
Below are API call samples for different payment scenarios.
Traditional payment
Automatic payments
Marketplaces
- Marketplace for online classes - single seller, marketplace commission
- Creative marketplace - multiple sellers, marketplace commission
- Local producers' marketplace - multiple sellers, marketplace and agent commission
Sharing Economy
IMPORTANT
Do not copy paste these samples, because some sample parameters (such as POSKey) will not work in live environments!