The "Delete Coupon" API allows you to permanently remove a coupon from your system using its unique identifier. Use this endpoint to discontinue promotional offers or clean up unused coupons. Note that this action cannot be undone.

http
DELETE https://services.leadconnectorhq.com/payments/coupon

Authorization

NameTypeRequiredExampleDescription
AuthorizationstringYesBearer token generated from the Leadway portal. See Authentication.
VersionstringYes2021-07-28API version.

Body

NameTypeRequiredExampleDescription
altIdstringYesBQdAwxa0ky1iK2sstLGJAccount Id
altTypestringYesaccountAlt Type Possible values: 'account'
idstringYes6241712be68f7a98102ba272Coupon Id

Responses

200 - Successful response
  • success (boolean, required): Indicates whether the delete was successful Example: True

  • traceId (string, required): Unique identifier for tracing this API request Example: c667b18d-8f5e-44cf-a914

json
{
  "success": true,
  "traceId": "c667b18d-8f5e-44cf-a914"
}
422 - Unprocessable Entity
json
{}

Example

curl -X DELETE 'https://services.leadconnectorhq.com/payments/coupon' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "altId": "BQdAwxa0ky1iK2sstLGJ",
  "altType": "account",
  "id": "6241712be68f7a98102ba272"
}'

Last updated October 26, 2026

Was this page helpful?