API Reference
Dashboard
  1. API Reference
  2. ProxyMarket API
  3. Webhooks

An order ended, remove the customer's access

ProxyMarket calls this when an order expires, is cancelled or is refunded. Expiry is automatic: a sweep every 5 minutes marks ended orders expired and calls you, with expired_at set.

Remove the customer's proxy login or turn their VPN profile off (for VLESS, take the client UUID out of your inbound), then put the product back on sale with Update stock and visibility. ProxyMarket retries on network errors, so a second call for the same order_id must also answer 200.

  • Destructive · confirm first
  • ProxyMarket signature (X-Signature)
  • deprovisionWebhook
POST/deprovision

Header parameters

X-ProxyMarket-Eventstringrequired

Which event this call is.

Example order.deprovision

Request body application/json · required

order_idstringrequired
external_plan_idstringrequired
customer_idstringrequired
reasonstringrequired

expired: the rental time ended. cancelled: cancelled before it started. refunded: an admin refunded it.

One of expired, cancelled, refunded
expired_atstring (date-time)optional

Only when reason is expired. When the rental time ended (UTC).

Authentication

Check X-Signature before anything else; answer 401 when it does not match.

Responses

Access removed, or it was already gone.

statusstringoptional
Verified against ProxyMarket vendor guide v1.11 on Nov 20, 2026