- API Reference
- ProxyMarket API
- 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.
/deprovisionHeader parameters
Which event this call is.
order.deprovisionRequest body application/json · required
expired: the rental time ended. cancelled: cancelled before it started. refunded: an admin refunded it.
expired, cancelled, refundedOnly 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.
X-Signature did not match.