# Deactivates a payment link

<span class="api-endpoint">POST {{<a href="#urlbases">baseURL</a>}}/pay-int-api/quick-payments/{{quickPaymentId}}/deactivate</span>
This endpoint manually deactivates a one-time payment link.
The link can also be manually deactivated any time after it is created but before the Customer completes payment.
The link can be deactivated and cannot be used in the following situations:
* The payment is made
* The link is manually deactivated
* The link's time limit expires

<span class="api-seealso">See Also:</span><br>
To create a one-time payment link, see `POST /pay-int-api/quick-payments/one-time`<br>
To manually activate a link, see `POST POST /pay-int-api/quick-payments/{{quickPaymentId}}/activate`<br>
To send a one-time payment link to a customer, see `POST /pay-int-api/quick-payments/{{quickPaymentId}}/send-sms-notification`<br>
To get a list of all one-time payments links, see `GET /pay-int-api/quick-payments/one-time`<br>
To get details for a specified one-time payments link, see `POST /pay-int-api/quick-payments/one-time/{{quickPaymentId}}`

Endpoint: POST /pay-int-api/quick-payments/{quickPaymentId}/deactivate
Version: V1
Security: Bearer

## Path parameters:

  - `quickPaymentId` (string, required)
    Specifies the payment link identifier.

This value is returned from either:
* `POST /pay-int-api/quick-payments/one-time`
* `POST /pay-int-api/quick-payments/reusable`

## Header parameters:

  - `x-api-version` (string)

