post
https://api.ecartapi.com/api/v2/services/payments/redirect
Payment Resolve Confirmation This endpoint is used to confirm a payment resolve for a specific service. #### Request Body - paymentService (object) - 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/rrun5Kfyc2dM01efMFGCJ34eO", "action": { "type": "REDIRECT", "redirectUrl": "https://ecartpay-test.myshopify.com/checkouts/cn/Z2NwLXVzLWNlbnRyYWwxOjAxSkJXMVc4VlpFVDJBR0JNWFlNQjFIQ0RK/processing?completed=true" }, "state": { "code": "CONFIRMING" } } }
paymentService (object) - 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/rrun5Kfyc2dM01efMFGCJ34eO", "action": { "type": "REDIRECT", "redirectUrl": "https://ecartpay-test.myshopify.com/checkouts/cn/Z2NwLXVzLWNlbnRyYWwxOjAxSkJXMVc4VlpFVDJBR0JNWFlNQjFIQ0RK/processing?completed=true" }, "state": { "code": "CONFIRMING" } } }