post
https://api.ecartapi.com/api/v2/services/payments/resolve/success
Resolve Successful Payment This endpoint is used to resolve a successful payment. #### Request Body - paymentService (object) - id (string): The ID of the payment service. - authentication (object) Applicable to: Credit card extensions only. - authenticationData (object) - authenticationFlow (string): The flow of the authentication process. - chargebackLiability (string): The liability for chargeback. - dsTransactionId (string): The ID of the transaction. - transStatus (string): The transaction status. - version (string): The version of the transaction. #### 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": "RESOLVED" } } }
paymentService (object) - id (string): The ID of the payment service. - authentication (object) Applicable to: Credit card extensions only. - authenticationData (object) - authenticationFlow (string): The flow of the authentication process. - chargebackLiability (string): The liability for chargeback. - dsTransactionId (string): The ID of the transaction. - transStatus (string): The transaction status. - version (string): The version of the transaction. #### 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": "RESOLVED" } } }