- API Reference
- ProxyMarket API
- Orders
Deliver the proxy login or VPN config
Use this when your provision webhook answered status: pending. Deliver within 5 minutes of that answer. The customer sees what you send right away.
A proxy order needs proxy_ip, proxy_port, proxy_username and proxy_password together, otherwise 422. A VPN or VLESS order needs vpn_config_file (the complete client file, at least 50 characters); you may add proxy_ip, proxy_port and rotation_link, and never need a username or password. Limit: 60 calls a minute.
/integration/orders/{order_id}/credentialsPath parameters
The order_id from the provision webhook.
a1b2c3d4-uuidRequest body application/json · required
Proxy server IP. On a VPN order, just the endpoint address (optional).
Proxy port.
Proxy login of the customer. Always sent together with proxy_password.
Proxy password of the customer.
Optional URL the customer opens to get a new IP.
VPN and VLESS orders. The complete client file, delivered to the customer exactly as sent. OpenVPN must contain remote, dev tun|tap or a ca block; WireGuard both [Interface] and [Peer]; VLESS a vless:// share link (one line) or Xray client JSON with "protocol": "vless".
Responses
Delivered to the customer.
The X-API-Key header is missing or wrong. Check the key you saved when you created it.
No order of yours has this order_id.
Incomplete: a proxy login without all four fields, a username without a password, or a VPN config that is too short or not a valid OpenVPN, WireGuard or VLESS config. The answer says which.
Too many calls. Wait, then retry with a growing delay.