Skip to content

Postman And Insomnia

Import Spendware's OpenAPI specs into Postman, Insomnia, or another API client when you want to inspect requests interactively.

Download Specs

Download the current customer-facing OpenAPI specs from these docs and import them into your API client.

Import Files

Import these files:

Configure Environment Variables

Create variables for:

  • SPENDWARE_BASE_URL.
  • SPENDWARE_WEBHOOKS_BASE_URL.
  • SPENDWARE_API_KEY.
  • SPENDWARE_CUSTOMER_KEY.
  • PROJECT_ID.
  • CUSTOMER_ID.
  • ORGANIZATION_ID.

Use bearer authentication for management requests. Runtime customer-key endpoints may require the key in the JSON payload, depending on the endpoint schema.

For partial usage flows, import the backend API spec and look under the partial-usage tag for /api/v1/partial/* endpoints. The usage log request that creates partials is under /api/v1/usage/log.