List of API endpoints: Difference between revisions
No edit summary |
|||
| (18 intermediate revisions by 9 users not shown) | |||
| 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. | ||
{| | {| | ||
|'''Barion Smart Gateway''' | |'''Barion Smart Gateway''' | ||
|'''Barion Wallet''' | |'''Barion Wallet''' | ||
|'''Barion Bridge''' | |||
|- | |- | ||
| style="padding-right: 100px;vertical-align: top" | | | style="padding-right: 100px;vertical-align: top" | | ||
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]] | ||
<span class="api-ver">v2</span> [[Payment-GetPaymentState-v2|/Payment/GetPaymentState]] | <span class="api-ver">v2</span> [[Payment-GetPaymentState-v2|/Payment/GetPaymentState]] (deprecated) | ||
<span class="api-ver">v4</span> [[Payment-PaymentState-v4|/Payment/<PaymentId>/paymentstate]] | |||
<span class="api-ver">v2</span> [[Payment-Complete-v2|/Payment/Complete]] | <span class="api-ver">v2</span> [[Payment-Complete-v2|/Payment/Complete]] | ||
| Line 34: | Line 39: | ||
<span class="api-ver">v2</span> [[Payment-Refund-v2|/Payment/Refund]] | <span class="api-ver">v2</span> [[Payment-Refund-v2|/Payment/Refund]] | ||
| style="vertical-align: top" | | |||
<span class="api-ver">v2</span> [[Payment-Reject-v2|/Payment/Reject]] | |||
| style="padding-right: 100px;vertical-align: top" | | |||
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]] | ||
<span class="api-ver">v3</span> [[UserHistory-GetHistory-v3|/GetHistory]] | |||
<span class="api-ver">v3</span> [[TransactionHistory-GetDetail-v3|/TransactionHistory/GetDetail]] | |||
<span class="api-ver">v3</span> [[Withdraw-BankTransfer-v3|/Withdraw/BankTransfer]] | <span class="api-ver">v3</span> [[Withdraw-BankTransfer-v3|/Withdraw/BankTransfer]] | ||
<span class="api-ver">v2</span> [[Withdraw-BankTransfer-v2|/Withdraw/BankTransfer]] ( | <span class="api-ver">v6</span> [[Withdraw-Fee-v6|/Withdraw/Fee]] <span class="new-label" style="background: green;color: white;display: inline-block;padding: 0 5px;font-weight: bold;font-size: 0.8em;">NEW</span> | ||
<span class="api-ver">v2</span> [[Withdraw-BankTransfer-v2|/Withdraw/BankTransfer]] (obsolete) | |||
<span class="api-ver">v2</span> [[Statement-Download-v2|/Statement/Download]] | <span class="api-ver">v2</span> [[Statement-Download-v2|/Statement/Download]] | ||
| Line 45: | Line 61: | ||
<span class="api-ver">v2</span> [[Transfer-Email-v2|/Transfer/Email]] | <span class="api-ver">v2</span> [[Transfer-Email-v2|/Transfer/Email]] | ||
<span class="api-ver">v1</span> [[ | | style="padding-right: 100px;vertical-align: top" | | ||
To authenticate for these endpoints, use [[Barion Wallet Authentication]]. | |||
<span class="api-ver">v1</span> [[Pos-Create-v1|/Pos]] | |||
<span class="api-ver">v6</span> [[Pos-Create-v6|/Pos]] | |||
<span class="api-ver">v1</span> [[Pos-Get-v1|/Pos/{PublicKey}]] | |||
To register wallets with pre-filled values on secure.barion.com,<br /> | |||
you can use the following method: | |||
[[Registration_with_pre-filled_values|/Registration]] | |||
|- | |- | ||
|} | |} | ||
{{NotificationBox|title=IMPORTANT|text= | |||
{| | |||
|'''Recipient Management''' <span class="new-label" style="background: green;color: white;display: inline-block;padding: 0 5px;font-weight: bold;font-size: 0.8em;">NEW</span> | |||
| | |||
| | |||
|- | |||
| style="padding-right: 100px;vertical-align: top" | | |||
To authenticate for these endpoints, use [[Barion Wallet Authentication]]. | |||
<span class="api-ver">v6</span> [[Recipients-Get-v6|GET /v6/recipients]] | |||
<span class="api-ver">v6</span> [[Recipient-Get-v6|GET /v6/recipients/{recipientid}]] | |||
<span class="api-ver">v6</span> [[Recipients-Post-v6|POST /v6/recipients]] | |||
<span class="api-ver">v6</span> [[Recipient-Patch-v6|PATCH /v6/recipients/{recipientid}]] | |||
<span class="api-ver">v6</span> [[Recipient-Delete-v6|DELETE /v6/recipients/{recipientid}]] | |||
<span class="api-ver">v6</span> [[PayoutMethods-Get-v6|GET /v6/recipients/{recipientid}/payout-methods]] | |||
<span class="api-ver">v6</span> [[PayoutMethod-Post-v6|POST /v6/recipients/{recipientid}/payout-methods]] | |||
<span class="api-ver">v6</span> [[PayoutMethod-Delete-v6|DELETE /v6/recipients/{recipientid}/payout-methods/{payoutmethodid}]] | |||
| style="padding-right: 100px;vertical-align: top" | | |||
| style="padding-right: 100px;vertical-align: top" | | |||
|- | |||
|} | |||
{{NotificationBox|title=IMPORTANT|text=Always prefix endpoints with the corresponding API version.|color=#FF7A3D}} | |||
==Other interfaces== | ==Other interfaces== | ||
[[Callback_mechanism|Barion callback mechanism - how to properly get notified about the results of Barion Smart Gateway payments]] | [[Callback_mechanism|Barion callback mechanism - how to properly get notified about the results of Barion Smart Gateway payments]] | ||
Latest revision as of 15:03, 19 October 2026
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)
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/GetPaymentState (deprecated) v4 /Payment/<PaymentId>/paymentstate |
To authenticate for these endpoints, use Barion Wallet Authentication. v2 /Accounts v3 /GetHistory v3 /TransactionHistory/GetDetail v6 /Withdraw/Fee NEW v2 /Withdraw/BankTransfer (obsolete) |
To authenticate for these endpoints, use Barion Wallet Authentication. v1 /Pos v6 /Pos
To register wallets with pre-filled values on secure.barion.com,
|
| Recipient Management NEW | ||
|
To authenticate for these endpoints, use Barion Wallet Authentication. v6 GET /v6/recipients/{recipientid} v6 PATCH /v6/recipients/{recipientid} v6 DELETE /v6/recipients/{recipientid} v6 GET /v6/recipients/{recipientid}/payout-methods v6 POST /v6/recipients/{recipientid}/payout-methods v6 DELETE /v6/recipients/{recipientid}/payout-methods/{payoutmethodid} |
|