Barion API: Complete a payment
/payment/CompletePayment API endpoint is used to complete a formerly prepared and 3DS authenticated payment in the Barion system.
Prerequisites before use:
v2 This API endpoint is available in API v2 only.
This API endpoint is designed to be used in the following scenarios:
|Property name||Property type||Limitations and constraints||Description|
|POSKey||Guid||* Required||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||The identifier of the formerly initialized and authenticated payment, generated by the Barion system.|
|Property name||Property type||Description|
|PaymentId||Guid||The identifier of the 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.|
|IsSuccessful||bool||Indicates whether the charge was successful|
|TraceId||string||Identifies the nature of the token payment.|