PartnerCard Issue v2

From Barion Documentation
Revision as of 08:18, 7 June 2017 by Botza (talk | contribs) (Botza moved page PaymentCard Issue v2 to PartnerCard Issue v2)
Jump to navigation Jump to search

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
  • Required
The secret API key of the partner, generated by Barion.
PrivateCardKey string
  • Required
The private key that was received in the reponse of PaymentCard/Prepare
OwnerLoginName string
  • Required
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.