List of API endpoints: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
Line 14: Line 14:
==Endpoint list==
==Endpoint list==


Currently the following endpoints are available in the Barion API.
Currently, the following endpoints are available in the Barion API.


{|  
{|  
Line 21: Line 21:
|'''Barion Bridge'''
|'''Barion Bridge'''
|-
|-
| style="padding-right: 80px;vertical-align: top" |
| style="padding-right: 100px;vertical-align: top" |
For authentication in these endpoints, see [[Barion Shop Authentication]]
To authenticate for these endpoints, use [[Barion Shop Authentication]].


<span class="api-ver">v2</span> [[Payment-Start-v2|/Payment/Start]]
<span class="api-ver">v2</span> [[Payment-Start-v2|/Payment/Start]]
Line 38: Line 38:
<span class="api-ver">v2</span> [[Payment-Refund-v2|/Payment/Refund]]
<span class="api-ver">v2</span> [[Payment-Refund-v2|/Payment/Refund]]


| style="padding-right: 80px;vertical-align: top"  |
| style="padding-right: 100px;vertical-align: top"  |
For authentication in these endpoints, see [[Barion Wallet Authentication]]
To authenticate for these endpoints, use [[Barion Wallet Authentication]].


<span class="api-ver">v2</span> [[Accounts-Get-v2|/Accounts]]
<span class="api-ver">v2</span> [[Accounts-Get-v2|/Accounts]]
Line 56: Line 56:




| style="vertical-align: top" |
| style="padding-right: 100px;vertical-align: top" |
For authentication in these endpoints, see [[Barion Wallet Authentication]]
To authenticate for these endpoints, use [[Barion Wallet Authentication]].


<span class="api-ver">v1</span> [[Pos-Create-v1|/Pos]]
<span class="api-ver">v1</span> [[Pos-Create-v1|/Pos]]
Line 64: Line 64:




To register wallets with pre-filled values on secure.barion.com, you can use the following method:
To register wallets with pre-filled values on secure.barion.com,<br />
you can use the following method:


[[Registration_with_pre-filled_values|/Registration]]
[[Registration_with_pre-filled_values|/Registration]]

Revision as of 14:11, 24 May 2023

List of Barion API endpoints

On this page you can find the currently available API endpoints in the Barion system. If you are new here, first please read the Getting started page.

API base URL

Base URL for API requests in the Live (production) environment: https://api.barion.com

Base URL for API requests in the Sandbox (test) environment: https://api.test.barion.com (learn more about the Sandbox environment here)

IMPORTANT
Always double check that you are connecting to the proper environment to avoid unnecessary troubleshooting!

Endpoint list

Currently, the following endpoints are available in the Barion API.

Barion Smart Gateway Barion Wallet Barion Bridge

To authenticate for these endpoints, use Barion Shop Authentication.

v2 /Payment/Start

v2 /Payment/GetPaymentState

v2 /Payment/Complete

v2 /Payment/FinishReservation

v2 /Payment/Capture

v2 /Payment/CancelAuthorization

v2 /Payment/Refund

To authenticate for these endpoints, use Barion Wallet Authentication.

v2 /Accounts

v3 /GetHistory

v3 /Withdraw/BankTransfer

v2 /Withdraw/BankTransfer (deprecated)

v2 /Statement/Download

v2 /Transfer/Email

v1 /Transfer/Send (deprecated)


To authenticate for these endpoints, use Barion Wallet Authentication.

v1 /Pos

v1 /Pos/{PublicKey}


To register wallets with pre-filled values on secure.barion.com,
you can use the following method:

/Registration


IMPORTANT
Always prefix endpoints with the corresponding API version.

Other interfaces

Barion callback mechanism - how to properly get notified about the results of Barion Smart Gateway payments