API Docs

Deleting Callbacks

Security Note: Callbacks can only be managed using your Secret API Key, not your Public Key. This is for security purposes, as callbacks have access to sensitive event data.

You can delete a callback when you no longer need to receive notifications for the events it is subscribed to. The response will provide confirmation of the deletion status.

Headers

  • Authorization: Bearer YOUR_SECRET_KEY
  • Content-Type: application/json

Path Parameters

  • callback_id: string (required) - The unique identifier for the callback you want to delete.

Sample Request to Delete a Callback

curl -X DELETE "https://api.zuripay.app/v1/callback/delete/93955f5a-9d21-48c7-bab7-cfac20cf426e" \
-H "Authorization: Bearer zp_test_26PHem9AhJZvU623DfE1x4sd" \
-H "Content-Type: application/json"

Sample Responses

{
    "result": "success",
    "id": "93955f5a-9d21-48c7-bab7-cfac20cf426e",
    "message": "Callback deleted successfully."
}