Cancel Refund Request
This API allows you to cancel Refund request into Terminal.
Endpoint
POST https://demo-api.frontpayment.no/api/v1/connect/terminal/orders/cancel/{{ORDER_UUID}}
Endpoint |
: |
https://demo-api.frontpayment.no/api/v1/connect/terminal/orders/cancel/{{ORDER_UUID}} |
Method |
: |
POST |
Authorization |
: |
Bearer |
Payload Validation |
: |
'type'=> 'required|string'
|
Example Payload |
: |
{
"type": "refund"
}
|
Response Structure |
: |
// Success
{
"status_code": 200,
"status_message": "OK",
"message": "refundRequestRejectedSuccessfully",
"is_data": false,
"data": null
}
// Errors
{
"status_code": 417,
"status_message": "Client Error",
"message": "payloadValidationErrors",
"is_error": true,
"errors": "Array"
}
{
"status_code": 404,
"status_message": "Not Found",
"message": "orderNotFound",
"is_data": false,
"data": null
}
{
"status_code": 510,
"status_message": "Execution Exception Occurred",
"message": "somethingWentWrong",
"is_error": true,
"errors": "Array"
}
|
Example Response |
: |
{
"status_code": 200,
"status_message": "OK",
"message": "refundRequestRejectedSuccessfully",
"is_data": false,
"data": null
}
|