Cancel a paymentCopy Pagepost https://api.staging.payrails.io/merchant/workflows/{workflowCode}/executions/{executionId}/cancelRequest a payment cancelation during a workflow execution.Path ParamsworkflowCodestringrequiredPath parameter to specify the workflow code.executionIduuidrequiredIdentifier of the resource in Payrails.Body ParamsreasonstringenumReason for invoking the operation or action.CustomerDontNeedBetterPriceCustomerDontNeedDamagedProductDuplicateFraudulentProductLateDeliveryNoReasonProductMismatchDescriptionWrongProductWrongProductSpecificationShow 10 enum valuesreasonDescriptionstringAn optional field to include any necessary information for the capture action.Headersx-idempotency-keyuuidrequiredIdempotency key to be used. Sending again the same key would return the same result without re-executing the update.Responses 202The payment cancelation was requested. 400Bad Request. 401Unauthorized. 403Insufficient Scope. 404Not Found. 429Too Many Requests.Updated 4 days ago