Difference between revisions of "CodeSamples"

From Barion Documentation
Jump to navigation Jump to search
(Sharing Economy)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
{{PageTitle|title= Sample API Calls}}
 
{{PageTitle|title= Sample API Calls}}
 
 
{{NotificationBox|title=NOTE|text=We know developers like to hack and start with sample code (we do, too). Please save time by reading the Getting Stared section!|color=#1993c7}}
 
{{NotificationBox|title=NOTE|text=We know developers like to hack and start with sample code (we do, too). Please save time by reading the Getting Stared section!|color=#1993c7}}
 
 
==Before you start coding==
 
==Before you start coding==
 
*[[Getting_started|Getting started - overview of Barion payments]]
 
*[[Getting_started|Getting started - overview of Barion payments]]

Revision as of 23:01, 8 September 2017

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

Sharing Economy


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