← Back to Example Payments Workspace
🚀

Launch your first request

6 min readUpdated weekly

Step 1 - Authenticate requests

Grab your sandbox API key from the dashboard and add it to every request using the Authorization: Bearer header.

Step 2 - Create a customer

Send a POST request to /v1/customers with basic profile details. The response includes a sandbox customer ID you can reuse for the rest of the guide.

Step 3 - Issue a test invoice

Use the customer ID to create a draft invoice, add a metered line item, and finalize it. Apidex automatically attaches sample PDFs so stakeholders can preview the full experience.

> Tip: Toggle between sandbox and live servers at the top of the docs to watch the playground update instantly.

Apidex