> ## Documentation Index
> Fetch the complete documentation index at: https://docs.luminpay.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Postman collection

> Try every endpoint from Postman

**1. Import the collection**

Download [luminpay.postman\_collection.json](https://raw.githubusercontent.com/LuminPay-Innovation-Lab/docs/main/luminpay.postman_collection.json) and import it into Postman (**File → Import**).

**2. Set your key**

Open the collection's **Variables** tab and set `apiKey` to your `lmp_test_` key. `baseUrl` is already set to Sandbox.

**3. Create a charge**

Run **Charges → Create a charge**. The new `chargeId` is saved to the `id` variable, so **Get a charge** works straight after.

To use Live, set `baseUrl` to `https://api.luminpay.co` and `apiKey` to your `lmp_live_` key, and change `asset` in the request bodies to a [mainnet asset](https://docs.luminpay.co/guides/networks.md#live).

You can also import [openapi.json](https://raw.githubusercontent.com/LuminPay-Innovation-Lab/docs/main/openapi.json) into Postman, Insomnia or any OpenAPI tool.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.