vpn

Get Vpn Order

Look up a VPN purchase created by this API token.

Poll after buy until status is completed. subscription_url and user_id are filled in when the subscription is ready. Keep user_id to extend later.

get/v1/vpn/{invoice_id}/

Request

  • Base URL: https://api.marketapp.ws (the document declares no server; this is the origin it was published from)
  • URL: https://api.marketapp.ws/v1/vpn/{invoice_id}/
  • Auth: API key in header Authorization

Path parameters

invoice_idstring required

Response

Successful Response

invoice_idstring required
status'pending' | 'paid' | 'completed' | 'failed' | 'unknown' required

pending: waiting for on-chain payment. paid: provisioning. completed: subscription is ready. failed: give up and contact support.

user_idstring nullable

Subscription id. Save it to extend this subscription later via buy.

subscription_urlstring nullable

URL to import into Happ / v2RayTun / Hiddify. Present when status is completed.

expiration_dateinteger nullable

Unix timestamp UTC

Changes

No recorded changes to this operation across all 1 revision of this API.