PartnerCard Issue v2: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{PageTitle|title=Barion API: Issue a payment card}} {{TableOfContents}} {{api_callmethod |method=POST |uri=/v2/PaymentCard/Issue }} == Use cases == This endpoint can issu...") |
No edit summary |
||
| Line 5: | Line 5: | ||
{{api_callmethod | {{api_callmethod | ||
|method=POST | |method=POST | ||
|uri=/v2/ | |uri=/v2/PartnerCard/Issue | ||
}} | }} | ||
Revision as of 08:18, 7 June 2017
Barion API: Issue a payment card
| POST | /v2/PartnerCard/Issue |
|---|
Use cases
This endpoint can issue an already prepared partner card. It can attach it to a specific Barion account.
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
|
| OwnerLoginName | string |
|
The login name (e-mail address) of the user who the card belongs to. |
Output properties
| Property name | Property type | Description |
|---|---|---|
| PrivateCardKey | string | The private key of the card. |
| CardIssueWasSuccessful | 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. |
| InvalidCardOwner | The owner specified is not a registered Barion user or the user is not available for card registration. |