PartnerCard Prepare v2: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
(Created page with "{{PageTitle|title=Barion API: Prepare a payment card}} {{TableOfContents}} {{api_callmethod |method=POST |uri=/v2/PaymentCard/Prepare }}")
 
No edit summary
Line 7: Line 7:
|uri=/v2/PaymentCard/Prepare
|uri=/v2/PaymentCard/Prepare
}}
}}
== Use cases ==
This endpoint can prepare a partner card without attaching it to a specific Barion account.
== Input properties ==
{{api_input_table_header}}
|-
| PartnerKey || Guid ||
* Required
|| The secret API key of the partner, generated by Barion.
|-
| PAN || Guid ||
* Required
* At least 10 charachters
|| The whole cardnumber.
|-
|}
== Output properties ==
{{api_output_table_header}}
|-
| PrivateCardKey || string || The private key of the card. This should only be stored on the card itself.
|-
|}

Revision as of 10:33, 25 May 2017

Barion API: Prepare a payment card

POST /v2/PaymentCard/Prepare

Use cases

This endpoint can prepare a partner card without attaching it to a specific Barion account.

Input properties

Property name Property type Limitations and constraints Description
PartnerKey Guid
  • Required
The secret API key of the partner, generated by Barion.
PAN Guid
  • Required
  • At least 10 charachters
The whole cardnumber.

Output properties

Property name Property type Description
PrivateCardKey string The private key of the card. This should only be stored on the card itself.