List of API endpoints: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
m (Vinczei moved page List-of-API to List of API endpoints without leaving a redirect)
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
{{PageTitle|title=List of Barion API endpoints}}
{{PageTitle|title=List of Barion API endpoints}}


Line 9: Line 10:
Base URL for API requests in the '''Sandbox (test)''' environment: <code>https://api.test.barion.com</code> (learn more about the Sandbox environment [[Sandbox|here]])
Base URL for API requests in the '''Sandbox (test)''' environment: <code>https://api.test.barion.com</code> (learn more about the Sandbox environment [[Sandbox|here]])


'''Note:''' Always double check that you are connecting to the proper environment to avoid unnecessary hassle and troubleshooting!
{{NotificationBox|title=IMPORTANT|text=Always double check that you are connecting to the proper environment to avoid unnecessary troubleshooting!|color=#FF7A3D}}


==Endpoint list==
==Endpoint list==
Line 18: Line 19:


<span class="api-ver">v2</span> [[Payment-GetPaymentState-v2|/Payment/GetPaymentState]]
<span class="api-ver">v2</span> [[Payment-GetPaymentState-v2|/Payment/GetPaymentState]]
<span class="api-ver">v2</span> [[Payment-FinishReservation-v2|/Payment/FinishReservation]]


<span class="api-ver">v2</span> [[Payment-Refund-v2|/Payment/Refund]]
<span class="api-ver">v2</span> [[Payment-Refund-v2|/Payment/Refund]]
Line 25: Line 28:
<span class="api-ver">v1</span> [[Transfer-Send-v1|/Transfer/Send]]
<span class="api-ver">v1</span> [[Transfer-Send-v1|/Transfer/Send]]


'''Note:''' Endpoints must be prefixed with the corresponding API version.
{{NotificationBox|title=IMPORTANT|text=Endpoints must be prefixed with the corresponding API version.|color=#FF7A3D}}
 
==Other interfaces==
[[Callback_mechanism|Barion callback mechanism - how to properly get notified about successful payments]]

Revision as of 09:59, 27 December 2017

List of Barion API endpoints

On this page you can find the currently available API endpoints in the Barion system.

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.

v2 /Payment/Start

v2 /Payment/GetPaymentState

v2 /Payment/FinishReservation

v2 /Payment/Refund

v2 /Withdraw/BankTransfer

v1 /Transfer/Send

IMPORTANT
Endpoints must be prefixed with the corresponding API version.

Other interfaces

Barion callback mechanism - how to properly get notified about successful payments