This api call must be called when the payment succeeded so the carts content can be cleared and some session data can be unset.
PUT {{baseUrl}}/confirm
Empty cart, and clear session.
Service urls:
http://yourdomain.com/api/rest/confirm
OR
http://yourdomain.com/index.php?route=rest/confirm/confirm
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
X-Oc-Session
|
string | (Required) User session id | |
Accept
|
string |
RESPONSES
status OK
{
"success": 1,
"error": [
"Error description",
"Error description"
],
"data": {}
} |
ENDPOINTS