Payment Execution
Confirms created Payment order and executes Transfer
Endpoint
Request Type | URL |
|---|---|
POST | https://{EnvironmentURL}/api/core/customers/{customerId}/payments/{orderId}/confirm |
Headers
No headers
Request parameters
Parameter | Type | Mandatory | Description |
|---|---|---|---|
orderId | uuid | Yes | Identifier of Payment Order to execute |
customerId | uuid | Yes | Identifier of the Customer who created Order |
Responses
200 OK - Success
Body - JSON
Name | Type | Mandatory | Description |
|---|---|---|---|
intialAmount | decimal | Yes | Initial value of Amount from Payment Order |
totalPrice | decimal | Yes | Price for requested Payment Order |
totalAmount | decimal | Yes | Total Amount will be charged from Account of the Customer (Initial Amount + Total Price) after execution of the Order |
400 Bad request
Invalid format of the request
404 Not found
Order with given Id Not found
401 - Unauthorized
No Body
Last modified: 19 января 2024