Skip to content

Environments

SandboxProduction
Base URLhttps://wetx-api-sandbox.azurewebsites.nethttps://<yoursubdomain>.wetransact.io
Authenticationx-api-key: <sandbox key from WeTransact>x-api-key: <key generated under Settings>
MicrosoftFaked, stateful, fault-injectableReal. Every accepted charge lands on your customer's Azure bill
DataTwo seeded subscriptions, seven days of usage historyYour tenant's subscriptions and reports

A Postman collection with every request in this guide, including the sandbox fault scenarios, is available from WeTransact (External-API-Metering.postman_collection.json plus a sandbox environment file). Every request needs the x-api-key header; a missing key returns 401.

Wire format. Responses are JSON with PascalCase property names (MarketplaceSubscriptionId, Success, Microsoft.Status). Error bodies returned before a usage report exists use lower-case message and retryable.