Payment-FinishReservation-v2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
{{PageTitle|title=Barion API: Finish a pending reservation}} | |||
{{PageTitle|title=Finish reservation}} | |||
{{TableOfContents}} | |||
{{api_callmethod | {{api_callmethod | ||
Line 7: | Line 8: | ||
}} | }} | ||
The <code>/payment/ | The <code>/payment/finishreservation</code> API endpoint is used to finalize a pending reservation in the Barion system. | ||
Prerequisites before use: | Prerequisites before use: | ||
Line 19: | Line 20: | ||
* [[Reservation_payment|Payments with reservation]] | * [[Reservation_payment|Payments with reservation]] | ||
* [[Marketplace|Marketplace, sharing economy, and facilitated payments]] | * [[Marketplace|Marketplace, sharing economy, and facilitated payments]] | ||
== Input properties == | == Input properties == |
Revision as of 08:15, 19 December 2017
Barion API: Finish a pending reservation
POST | /v2/Payment/FinishReservation |
---|
The /payment/finishreservation
API endpoint is used to finalize a pending reservation in the Barion system.
Prerequisites before use:
Use cases
This API endpoint is designed to be used in the following scenarios:
Input properties
Property name | Property type | Limitations and constraints | Description |
---|---|---|---|
POSKey | Guid |
|
The secret API key of the shop, generated by Barion. This lets the shop to authenticate through the Barion API, but does not provide access to the account owning the shop itself. |
PaymentId | Guid | *Required | Payment identifier, generated by Barion |
Transactions | PaymentTransaction[] | *Required | Array of transactions |
Output properties
Property name | Property type | Description |
---|---|---|
Isuccessful | bool | Result of the transaction |
PaymentId | Guid | The identifier of the newly initialized payment, generated by the Barion system. |
PaymentRequestId | string | The payment identifier supplied by the API caller in the request. |
Status | PaymentStatus | The status of the payment in the Barion system. |
Transactions | ProcessedTransaction[] | Related transactions |