Payment PayWithPartnerCard v2

From Barion Documentation
Revision as of 14:31, 2 June 2017 by Botza (talk | contribs) (Created page with "{{PageTitle|title=Barion API: Pay with partner card}} {{TableOfContents}} {{api_callmethod |method=POST |uri=/v2/Payment/PayWithPartnerCard }} == Use cases == This endpoin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Barion API: Pay with partner card

POST /v2/Payment/PayWithPartnerCard

Use cases

This endpoint conduct a payment via partner card.

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.
PaymentId Guid
  • Required
The Id received in the response from the call to /Payment/Start.
PrivateCardKey string - The private key of the card.
CardPin string
  • Required
  • Min 4 Max 8 length alphanumeric string
The PIN code associated with the card

Output properties

Property name Property type Description
TODO

Possible error responses

Error code Description
InvalidCardKey The card key provided either doesn't belong to a card or the card is already issued.