<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.barion.com/index.php?action=history&amp;feed=atom&amp;title=Payment-Reject-v2</id>
	<title>Payment-Reject-v2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.barion.com/index.php?action=history&amp;feed=atom&amp;title=Payment-Reject-v2"/>
	<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Payment-Reject-v2&amp;action=history"/>
	<updated>2026-11-26T03:39:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://docs.barion.com/index.php?title=Payment-Reject-v2&amp;diff=4959&amp;oldid=prev</id>
		<title>Salamongy@barion.dev: link update</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Payment-Reject-v2&amp;diff=4959&amp;oldid=prev"/>
		<updated>2026-10-21T14:00:23Z</updated>

		<summary type="html">&lt;p&gt;link update&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:00, 21 October 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Prerequisites before use:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Prerequisites before use:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Creating an account in Barion]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Creating an account|&lt;/ins&gt;Creating an account in Barion]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Creating a shop in Barion]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Creating a shop|&lt;/ins&gt;Creating a shop in Barion]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Calling the API|Calling the Barion API]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Calling the API|Calling the Barion API]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Payment-Start-v2|Initializing a payment]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Payment-Start-v2|Initializing a payment]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Use cases ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Use cases ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This API endpoint is designed to be used in the following scenarios:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This API endpoint is designed to be used in the following scenarios:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Responsive Web Payment]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Responsive web payment|&lt;/ins&gt;Responsive Web Payment]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Only payments in &amp;#039;&amp;#039;&amp;#039;Prepared&amp;#039;&amp;#039;&amp;#039; status can be rejected, meaning the payer has not completed them yet. The result is the same as when the payer clicks &amp;#039;&amp;#039;&amp;#039;&amp;quot;Back to shop without payment&amp;quot;&amp;#039;&amp;#039;&amp;#039; on the Barion Smart Gateway:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Only payments in &amp;#039;&amp;#039;&amp;#039;Prepared&amp;#039;&amp;#039;&amp;#039; status can be rejected, meaning the payer has not completed them yet. The result is the same as when the payer clicks &amp;#039;&amp;#039;&amp;#039;&amp;quot;Back to shop without payment&amp;quot;&amp;#039;&amp;#039;&amp;#039; on the Barion Smart Gateway:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Salamongy@barion.dev</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Payment-Reject-v2&amp;diff=4950&amp;oldid=prev</id>
		<title>Salamongy@barion.dev: Created page with &quot;__TOC__  {| class=&quot;wikitable&quot; ! style=&quot;width:80px;&quot; | POST | &lt;code&gt;/v2/Payment/Reject&lt;/code&gt; |}  The &lt;code&gt;/payment/reject&lt;/code&gt; API endpoint is used to cancel a payment in the Barion system before the payer completes it. After a successful call, the payer can no longer pay it.  Prerequisites before use: * Creating an account in Barion * Creating a shop in Barion * Calling the Barion API * Initializing a payment  &lt;small&gt;v...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Payment-Reject-v2&amp;diff=4950&amp;oldid=prev"/>
		<updated>2026-10-19T14:01:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__TOC__  {| class=&amp;quot;wikitable&amp;quot; ! style=&amp;quot;width:80px;&amp;quot; | POST | &amp;lt;code&amp;gt;/v2/Payment/Reject&amp;lt;/code&amp;gt; |}  The &amp;lt;code&amp;gt;/payment/reject&amp;lt;/code&amp;gt; API endpoint is used to cancel a payment in the Barion system before the payer completes it. After a successful call, the payer can no longer pay it.  Prerequisites before use: * &lt;a href=&quot;/index.php?title=Creating_an_account_in_Barion&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Creating an account in Barion (page does not exist)&quot;&gt;Creating an account in Barion&lt;/a&gt; * &lt;a href=&quot;/index.php?title=Creating_a_shop_in_Barion&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Creating a shop in Barion (page does not exist)&quot;&gt;Creating a shop in Barion&lt;/a&gt; * &lt;a href=&quot;/Calling_the_API&quot; title=&quot;Calling the API&quot;&gt;Calling the Barion API&lt;/a&gt; * &lt;a href=&quot;/Payment-Start-v2&quot; title=&quot;Payment-Start-v2&quot;&gt;Initializing a payment&lt;/a&gt;  &amp;lt;small&amp;gt;v...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:80px;&amp;quot; | POST&lt;br /&gt;
| &amp;lt;code&amp;gt;/v2/Payment/Reject&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/payment/reject&amp;lt;/code&amp;gt; API endpoint is used to cancel a payment in the Barion system before the payer completes it. After a successful call, the payer can no longer pay it.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating an account in Barion]]&lt;br /&gt;
* [[Creating a shop in Barion]]&lt;br /&gt;
* [[Calling the API|Calling the Barion API]]&lt;br /&gt;
* [[Payment-Start-v2|Initializing a payment]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;v2&amp;lt;/small&amp;gt; This API endpoint is available in &amp;#039;&amp;#039;&amp;#039;API v2&amp;#039;&amp;#039;&amp;#039; only.&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
[[Barion Shop Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Use cases ==&lt;br /&gt;
This API endpoint is designed to be used in the following scenarios:&lt;br /&gt;
* [[Responsive Web Payment]]&lt;br /&gt;
&lt;br /&gt;
Only payments in &amp;#039;&amp;#039;&amp;#039;Prepared&amp;#039;&amp;#039;&amp;#039; status can be rejected, meaning the payer has not completed them yet. The result is the same as when the payer clicks &amp;#039;&amp;#039;&amp;#039;&amp;quot;Back to shop without payment&amp;quot;&amp;#039;&amp;#039;&amp;#039; on the Barion Smart Gateway:&lt;br /&gt;
* the payment status becomes &amp;#039;&amp;#039;&amp;#039;Canceled&amp;#039;&amp;#039;&amp;#039;,&lt;br /&gt;
* its unpaid transactions become &amp;#039;&amp;#039;&amp;#039;Rejected&amp;#039;&amp;#039;&amp;#039;,&lt;br /&gt;
* Barion sends a [[Callback mechanism|callback]] to the shop.&lt;br /&gt;
&lt;br /&gt;
Use other endpoints for payments in other stages:&lt;br /&gt;
* to release an &amp;#039;&amp;#039;&amp;#039;authorized&amp;#039;&amp;#039;&amp;#039; delayed capture payment, use [[Payment-CancelAuthorization-v2|Payment/CancelAuthorization]],&lt;br /&gt;
* to return money from a &amp;#039;&amp;#039;&amp;#039;completed&amp;#039;&amp;#039;&amp;#039; payment, use [[Payment-Refund-v2|Payment/Refund]].&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Property name !! Property type !! Limitations and constraints !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;POSKey&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Guid&lt;br /&gt;
|&lt;br /&gt;
* Required&lt;br /&gt;
| The secret API key of the shop, generated by Barion. This lets the shop authenticate through the Barion API, but does not provide access to the account owning the shop itself.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;PaymentId&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Guid&lt;br /&gt;
|&lt;br /&gt;
* Required&lt;br /&gt;
* The payment must be in &amp;lt;code&amp;gt;Prepared&amp;lt;/code&amp;gt; status&lt;br /&gt;
| The identifier of the payment to reject, as returned by [[Payment-Start-v2|Payment/Start]]. If the payment is already &amp;lt;code&amp;gt;Canceled&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Expired&amp;lt;/code&amp;gt;, or is in any other status, the call returns an error.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Property name !! Property type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;PaymentId&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Guid&lt;br /&gt;
| The identifier of the payment, the same as in the request.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;IsSuccessful&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| bool&lt;br /&gt;
| &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; if the payment was rejected successfully.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Salamongy@barion.dev</name></author>
	</entry>
</feed>