# 5.6. Cancelling a payment link To cancel a created payment link, send a `POST` request to `https://api.axepta.pl/v1/merchant/{merchantId}/payment/cancel` The request body should contain the following parameters: | Name | Required parameter | Type | Description | |-------------|--------------------|--------|-------------| | `serviceId` | **Yes** | string | Store identifier | | `paymentId` | **Yes** | string | Payment link identifier | ### Example request ```json { "serviceId": "000eec9b-7248-4dae-98f2-56aab6a53927", "paymentId": "805f9c2c-e7ee-4606-b201-ee09032c49b0" } ```