PartnerCard Activate v2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{PageTitle|title=Barion API: Activate a | {{PageTitle|title=Barion API: Activate a partner card}} | ||
{{TableOfContents}} | {{TableOfContents}} |
Revision as of 08:19, 7 June 2017
Barion API: Activate a partner card
POST | /v2/PartnerCard/Activate |
---|
Use cases
This endpoint can activate an already issued partner card. It sets the PIN number associated with the card.
v2 This API endpoint is available in API v2 only.
Input properties
Property name | Property type | Limitations and constraints | Description |
---|---|---|---|
PartnerKey | Guid |
|
The secret API key of the partner, generated by Barion. |
PrivateCardKey | string |
|
The private key that was received in the reponse of PaymentCard/Prepare
|
CardPin | string |
|
The PIN code associated with the card |
Output properties
Property name | Property type | Description |
---|---|---|
PrivateCardKey | string | The private key of the card. |
CardActivationWasSuccessful | bool | True, if the process was successful. |
Possible error responses
Error code | Description |
---|---|
InvalidCardKey | The card key provided either doesn't belong to a card or the card is already issued. |