CodeSamples

From Barion Documentation
Revision as of 22:57, 8 September 2017 by Birot (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Sample API Calls

IMPORTANT
Don't try to save time by jumping directly to sample code. We know developers like to hack (we do, too), but a payment system requires discipline, so we advise to read the docs thoroughly.

Below are API call samples for different payment scenarios.

Traditional payment

Automatic payments

Marketplaces

Sharing Economy

IMPORTANT
Do not copy paste these samples, because some sample parameters (such as POSKey) will not work in live environments!