Difference between revisions of "List of API endpoints"

From Barion Documentation
Jump to navigation Jump to search
(Endpoint list)
(Endpoint list)
Line 22: Line 22:
 
<span class="api-ver">v2</span> [[Payment-FinishReservation-v2|/Payment/FinishReservation]]
 
<span class="api-ver">v2</span> [[Payment-FinishReservation-v2|/Payment/FinishReservation]]
  
<span class="api-ver">v2</span> [[Payment-Capture-v2|/Payment/Capture]] (not yet deployed)
+
<span class="api-ver">v2</span> [[Payment-Capture-v2|/Payment/Capture]] <span style="color:#ff0000"> (just in the sandbox, yet) </span>
  
<span class="api-ver">v2</span> [[Payment-CancelAuthorization-v2|/Payment/CancelAuthorization]] (not yet deployed)
+
<span class="api-ver">v2</span> [[Payment-CancelAuthorization-v2|/Payment/CancelAuthorization]] <span style="color:#ff0000"> (just in the sandbox, yet) </span>
  
 
<span class="api-ver">v2</span> [[Payment-Refund-v2|/Payment/Refund]]
 
<span class="api-ver">v2</span> [[Payment-Refund-v2|/Payment/Refund]]

Revision as of 11:33, 2 August 2019

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.

v2 /Payment/Start

v2 /Payment/GetPaymentState

v2 /Payment/FinishReservation

v2 /Payment/Capture (just in the sandbox, yet)

v2 /Payment/CancelAuthorization (just in the sandbox, yet)

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