<?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=PartnerCard_ChangePin_v2</id>
	<title>PartnerCard ChangePin 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=PartnerCard_ChangePin_v2"/>
	<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=PartnerCard_ChangePin_v2&amp;action=history"/>
	<updated>2026-11-23T18:16:56Z</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=PartnerCard_ChangePin_v2&amp;diff=903&amp;oldid=prev</id>
		<title>Botza: Created page with &quot;{{PageTitle|title=Barion API: Change the PIN of a partner card}}  {{TableOfContents}}  {{api_callmethod |method=POST |uri=/v2/PartnerCard/ChangePin }}  == Use cases ==  This e...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=PartnerCard_ChangePin_v2&amp;diff=903&amp;oldid=prev"/>
		<updated>2017-06-13T07:01:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{PageTitle|title=Barion API: Change the PIN of a partner card}}  {{TableOfContents}}  {{api_callmethod |method=POST |uri=/v2/PartnerCard/ChangePin }}  == Use cases ==  This e...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PageTitle|title=Barion API: Change the PIN of a partner card}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=POST&lt;br /&gt;
|uri=/v2/PartnerCard/ChangePin&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Use cases ==&lt;br /&gt;
&lt;br /&gt;
This endpoint can change the PIN code of a partner card.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;api-ver&amp;quot;&amp;gt;v2&amp;lt;/span&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;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| PartnerKey || Guid || &lt;br /&gt;
* Required&lt;br /&gt;
|| The secret API key of the partner, generated by Barion.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| PrivateCardKey || string || &lt;br /&gt;
* Required&lt;br /&gt;
|| The private key that was received in the reponse of &amp;lt;code&amp;gt;PaymentCard/Prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| CurrentPin|| string || &lt;br /&gt;
* Required&lt;br /&gt;
* Min 4 Max 8 length alphanumeric string&lt;br /&gt;
|| The PIN code associated with the card &lt;br /&gt;
|-&lt;br /&gt;
| NewPin|| string || &lt;br /&gt;
* Required&lt;br /&gt;
* Min 4 Max 8 length alphanumeric string&lt;br /&gt;
|| The new PIN code that should be associated from now on.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| PrivateCardKey || string || The private key of the card.&lt;br /&gt;
|-&lt;br /&gt;
| PinChangeWasSuccessful|| bool|| True, if the process was successful.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Possible error responses ==&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
! Error code || Description&lt;br /&gt;
|-&lt;br /&gt;
| InvalidCardKey|| The card key provided either doesn&amp;#039;t belong to a card or the card is already issued.&lt;br /&gt;
|-&lt;br /&gt;
| NewPinEqualsToCurrent || The new PIN code equals to current one.&lt;br /&gt;
|-&lt;br /&gt;
| InvalidCardPin || The current PIN is incorrect, did not match the stored version.&lt;br /&gt;
|-&lt;br /&gt;
| PinChangeFailed || A fatal system error occured during the process.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Botza</name></author>
	</entry>
</feed>