Delete a Payment Link

Remove an existing payment link from your merchant account using its unique identifier.

This operation ensures that the payment link is no longer accessible to customers.


Key Features

  • Permanently removes a payment link based on its unique ID.
  • Prevents any further transactions or customer access through the deleted payment link.
  • Provides clean-up functionality for outdated or unused payment links.

Usage Notes

Required Parameter: The id of the payment link to delete. This can be retrieved from the GET /query/payment-links or POST /query/payment-links endpoints.

Irretrievable Action: Deleting a payment link permanently removes it from active use. Ensure the correct id is provided to avoid accidental deletion.


Response Structure

CodeResponseReason
200SuccessThe payment link was successfully deleted.
400Bad RequestInvalid input or missing required parameters.
401UnauthorizedAuthentication failed.
404Not FoundThe specified payment link ID does not exist.
500Internal Server ErrorUnexpected server error occurred.

Important Considerations

ID Retrieval: Use the GET /query/payment-links or POST /query/payment-links endpoints to fetch the id of the payment link you want to delete.

Final Action: Deletion is permanent and cannot be reversed. Double-check the payment link ID before proceeding.

Impact on Transactions: Any transactions tied to the deleted payment link will remain in the transaction history but cannot be processed further.

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!