Payment confirmation and execution
Confirms created Payment order and executes payment
Endpoint
Request Type | URL |
|---|---|
POST | https://{EnvironmentURL}/public/core/customers/{customerId}/payments/{orderId}/confirm |
Request parameters
Parameter | Type | Mandatory | Description |
|---|---|---|---|
customerId | uuid | Yes | Identifier of the Customer who created Order |
orderId | uuid | Yes | Identifier of Payment Order to execute (see Payment initiation) |
Responses
200 OK - Success
Body - JSON
Name | Type | Mandatory | Description |
|---|---|---|---|
initialAmount | object | Yes | Initial Amount of the transaction |
initialAmount.currencyCode | string | Yes | Code of the Currency of the amount Allowed values:
|
initialAmount.value | decimal | Yes | Value of the amount |
totalPrice | object | Yes | Total price of all fees applied to the transaction |
totalPrice.currencyCode | string | Yes | Code of the Currency of the amount Allowed values:
|
totalPrice.value | decimal | Yes | Value of the amount |
totalAmount | object | Yes | Total amount will be charged from Account |
totalAmount.currencyCode | string | Yes | Code of the Currency of the amount Allowed values:
|
totalAmount.value | decimal | Yes | Value of the amount |
400 Bad request
Invalid format of the request
404 Not found
Order with given Id Not found
401 - Unauthorized
No Body