PartnerCard Activate v2: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{PageTitle|title=Barion API: Activate a payment card}} {{TableOfContents}} {{api_callmethod |method=POST |uri=/v2/PaymentCard/Activate }} == Use cases == This endpoint ca...") |
No edit summary |
||
Line 5: | Line 5: | ||
{{api_callmethod | {{api_callmethod | ||
|method=POST | |method=POST | ||
|uri=/v2/ | |uri=/v2/PartnerCard/Activate | ||
}} | }} | ||
Revision as of 08:19, 7 June 2017
Barion API: Activate a payment 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. |