Payment PayWithPartnerCard v2: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{PageTitle|title=Barion API: Pay with partner card}} {{TableOfContents}} {{api_callmethod |method=POST |uri=/v2/Payment/PayWithPartnerCard }} == Use cases == This endpoin...") |
|||
Line 40: | Line 40: | ||
{{api_output_table_header}} | {{api_output_table_header}} | ||
|- | |- | ||
| | | IsSuccessful || bool || True, if the process was successful. | ||
|- | |||
| PaymentId || string || The Id of the payment | |||
|- | |||
| PaymentRequestId|| string || The Id of the payment that the integrator generated. This is used for pairing the Barion Id with the integrating systems id. | |||
|- | |||
| PaymentStatus|| [[PaymentStatus]]|| The [[PaymentStatus|status]] of the payment. | |||
|- | |- | ||
|} | |} |
Latest revision as of 10:05, 6 June 2017
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 |
|
The secret API key of the partner, generated by Barion. |
PaymentId | Guid |
|
The Id received in the response from the call to /Payment/Start. |
PrivateCardKey | string | - | The private key of the card. |
CardPin | string |
|
The PIN code associated with the card |
Output properties
Property name | Property type | Description |
---|---|---|
IsSuccessful | bool | True, if the process was successful. |
PaymentId | string | The Id of the payment |
PaymentRequestId | string | The Id of the payment that the integrator generated. This is used for pairing the Barion Id with the integrating systems id. |
PaymentStatus | PaymentStatus | The status of the payment. |
Possible error responses
Error code | Description |
---|---|
InvalidCardKey | The card key provided either doesn't belong to a card or the card is already issued. |