Bag Docs
API Reference

API Reference

Complete API reference for the Bag Merchant of Record platform, auto-generated from our OpenAPI specification.

API Reference

Complete endpoint documentation for the Bag API. All endpoints are available at https://justusebag.xyz.

Authentication

Bag uses Bearer token authentication. Include your API key in the Authorization header:

Authorization: Bearer bag_test_sk_your_key_here

There are two types of API keys:

Key typePrefixEnvironment
Testbag_test_sk_*Sandbox (no real money)
Livebag_live_sk_*Production

Endpoints

On this page