post
https://api.ecartapi.com/api/v2/services/payments/void/success
Void Success Payment This endpoint is used to void a successful payment service. #### Request Body - paymentService (object): The payment service information. - id (string): The ID of the payment service. #### Response The last execution of this request returned a status code of 200 and the following response body: json { "success": true, "paymentService": { "id": "gid://shopify/PaymentSession/eHm-b6LCD1iC_Ycq0k9SIY7y", "state": { "code": "RESOLVED", } } }
paymentService (object): The payment service information. - id (string): The ID of the payment service. #### Response The last execution of this request returned a status code of 200 and the following response body: json { "success": true, "paymentService": { "id": "gid://shopify/PaymentSession/eHm-b6LCD1iC_Ycq0k9SIY7y", "state": { "code": "RESOLVED", } } }