Send your first API request
By the end of this tutorial you will have made an API call to Solvimon and received a response. No billing setup required β just get talking to the API.
What youβll need:
- A Solvimon sandbox account
curlor any HTTP client
Step 1: Get your API key
- Log in to the Solvimon Sandbox
- Go to Settings β API keys
- Copy your
TESTAPI key
π§ Keep your API key secret. Do not commit it to source control or expose it in client-side code.
Step 2: Make your first request
List your customers. On a fresh sandbox account this returns an empty list β thatβs expected.
A successful response:
A 200 with an empty data array means youβre authenticated and connected.
π All API requests must be made over HTTPS. Requests without a valid
X-API-KEYheader return401 UNAUTHORISED.
Step 3: Create your first customer
Response:
The id is Solvimonβs internal identifier. The reference is your own β use it to look this customer up from your system.
Step 4: Fetch the customer back
Step 5: Activate the customer
The customer was created in DRAFT status. Before you can create a subscription, you need to activate them:
A 200 response means the customer is now ACTIVE. Resources in Solvimon follow a DRAFT β ACTIVE lifecycle β drafts exist so you can configure them before theyβre used in billing.
What to do next
- Understand the full data model β Get to your first invoice walks through the complete primitive chain: meter β product β pricing plan β subscription β usage event β invoice.
- Build a B2C subscription product β Bill your first B2C customer adds payment collection via Adyen or Stripe.
- Start configuring your own pricing β Onboarding guide covers the full setup process with timelines.