List of API endpoints

From Barion Documentation
Revision as of 10:10, 15 November 2022 by Adamsz (talk | contribs) (add shop and wallet authentication page link)
Jump to navigation Jump to search

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

For authentication in these endpoints, see Barion Shop Authentication

v2 /Payment/Start

v2 /Payment/GetPaymentState

v2 /Payment/Complete

v2 /Payment/FinishReservation

v2 /Payment/Capture

v2 /Payment/CancelAuthorization

v2 /Payment/Refund

For authentication in these endpoints, see Barion Wallet Authentication

v2 /Accounts

v3 /Withdraw/BankTransfer

v2 /Withdraw/BankTransfer (deprecated)

v2 /Statement/Download

v2 /Transfer/Email

v1 /Transfer/Send (deprecated)

IMPORTANT
Endpoints must be prefixed with the corresponding API version.

Other interfaces

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