PartnerCard Payment: Difference between revisions
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
<pre> | <pre> | ||
{ | { | ||
"PartnerKey" : " | "PartnerKey" : "f776efde-bd50-4755-a233-caa48cdf961f", | ||
"PAN": "4657 3726 1490" | "PAN": "4657 3726 1490" | ||
} | } | ||
Line 23: | Line 23: | ||
{ | { | ||
"PrivateCardKey": "b9c8c4c3e660484ca166a32f0ba584cf", | "PrivateCardKey": "b9c8c4c3e660484ca166a32f0ba584cf", | ||
"Errors": [] | |||
} | |||
</pre> | |||
== Card issueing example == | |||
'''Request''' | |||
<pre> | |||
{ | |||
"PartnerKey" : "f776efde-bd50-4755-a233-caa48cdf961f", | |||
"PrivateCardKey": "b9c8c4c3e660484ca166a32f0ba584cf", | |||
"OwnerLoginName": "[email protected]" | |||
} | |||
</pre> | |||
'''Response''' | |||
<pre> | |||
{ | |||
"PrivateCardKey": "b9c8c4c3e660484ca166a32f0ba584cf", | |||
"CardIssueWasSuccessful": true, | |||
"Errors": [] | |||
} | |||
</pre> | |||
== Card activation example == | |||
'''Request''' | |||
<pre> | |||
{ | |||
"PartnerKey" : "f776efde-bd50-4755-a233-caa48cdf961f", | |||
"PrivateCardKey": "b9c8c4c3e660484ca166a32f0ba584cf", | |||
"CardPin": "1234" | |||
} | |||
</pre> | |||
'''Response''' | |||
{ | |||
"PrivateCardKey": "b9c8c4c3e660484ca166a32f0ba584cf", | |||
"CardActivationWasSuccessful": true, | |||
"Errors": [] | "Errors": [] | ||
} | } |
Revision as of 12:59, 1 June 2017
Partner Card Payment
Card registration process
The partner card registration contains three steps.
- Card preparation: The partner requests a new card secret from the Barion API. This is stored on the card and used for authentication later. One card number can only be registered once. At this point the card is not attached to any Barion wallet.
- Card issueing: The previously registered card can be issued. This means that the card will be attached to a Barion wallett.
- Card activation:
Card preparation example
Request
{ "PartnerKey" : "f776efde-bd50-4755-a233-caa48cdf961f", "PAN": "4657 3726 1490" }
Response
{ "PrivateCardKey": "b9c8c4c3e660484ca166a32f0ba584cf", "Errors": [] }
Card issueing example
Request
{ "PartnerKey" : "f776efde-bd50-4755-a233-caa48cdf961f", "PrivateCardKey": "b9c8c4c3e660484ca166a32f0ba584cf", "OwnerLoginName": "[email protected]" }
Response
{ "PrivateCardKey": "b9c8c4c3e660484ca166a32f0ba584cf", "CardIssueWasSuccessful": true, "Errors": [] }
Card activation example
Request
{ "PartnerKey" : "f776efde-bd50-4755-a233-caa48cdf961f", "PrivateCardKey": "b9c8c4c3e660484ca166a32f0ba584cf", "CardPin": "1234" }
Response {
"PrivateCardKey": "b9c8c4c3e660484ca166a32f0ba584cf", "CardActivationWasSuccessful": true, "Errors": []
}
TopUp process
TODO
Payment process
TODO