POST {{baseURL}}/pay-int-api/quick-payments/{{quickPaymentId}}/deactivate
To deactivate a payment link, use DELETE /v2/payment-links/{{paymentLinkId}} instead.
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
See Also:
To create a one-time payment link, see POST /pay-int-api/quick-payments/one-time.
To create a reusable payment link, see POST /pay-int-api/quick-payments/reusable.
To activate a payment link, see POST /pay-int-api/quick-payments/{quickPaymentId}/activate.
To send a payment link by SMS, see POST /pay-int-api/quick-payments/{quickPaymentId}/send-sms-notification.
Specifies the payment link identifier.
This value is returned from either:
- Mock serverhttps://developer.flute.com/_mock/api-reference/pay-int-api/quick-payments/{quickPaymentId}/deactivate
- Sandbox environmenthttps://sandbox.api.flute.com/pay-int-api/quick-payments/{quickPaymentId}/deactivate
- Production environmenthttps://api.flute.com/pay-int-api/quick-payments/{quickPaymentId}/deactivate
curl -i -X POST \
https://developer.flute.com/_mock/api-reference/pay-int-api/quick-payments/0423617a-2004-4516-935d-e5ad4bbbe93e/deactivate \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-api-version: 1.0'