Skip to main content
DELETE
/
coupons
/
delete
/
{id}
curl -X DELETE 'https://api.goatpay.com.br/v1/coupons/delete/clx_coupon' \
  -H 'X-API-Key: gp_live_SUA_CHAVE'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "<string>",
    "deleted": true
  },
  "requestId": "<string>"
}
URL: DELETE https://api.goatpay.com.br/v1/coupons/delete/{id} · Permissão: coupons/delete
curl -X DELETE 'https://api.goatpay.com.br/v1/coupons/delete/clx_coupon' \
  -H 'X-API-Key: gp_live_SUA_CHAVE'
id
string
required
ID do cupom.
Guia: Cupons.

Authorizations

X-API-Key
string
header
required

Chave gp_live_... criada em Integrações → Chaves de API no dashboard.

Path Parameters

id
string
required

ID do recurso (transação, cobrança, webhook, etc.)

Response

200 - application/json

Recurso excluído.

success
boolean
required
message
string
required
data
object
required
requestId
string