Skip to main content
DELETE
Delete program

Endpoint

Permanently deletes the program associated with the API key. This is a two-step process that requires confirmation to prevent accidental deletion.
Deleting a program removes all associated partners, customers, transactions, rewards, and settings. This action cannot be undone.

How it works

  1. Request a confirmation code — call the endpoint without a confirmation_code. The API returns a unique 8-character code
  2. Confirm deletion — call the endpoint again with the confirmation_code within 20 seconds
If the code expires or doesn’t match, the deletion is rejected.

Request body

Step 1: Request confirmation code

cURL

Response

200 OK

Step 2: Confirm deletion

Send the confirmation code back within 20 seconds to complete the deletion.
cURL

Response