Authentication
All authenticated SoloPayment API requests use Bearer Token authentication.
Getting Your Token
- Log in to the Merchant Dashboard
- Navigate to Settings → Tokens → Public Token
- Copy your
publicToken
Using the Token
Include the token in the Authorization header of every API request:
Authorization: Bearer YOUR_PUBLIC_TOKEN
Example Request
curl -X POST https://my.solopayment.com/api/invoices/v1/unlimited \
-H "Authorization: Bearer YOUR_PUBLIC_TOKEN" \
-H "Content-Type: application/json" \
-d '{"items": [{"name": "Product"}]}'
Authentication Requirements by Endpoint
| Endpoint | Auth Required |
|---|---|
| Create AnyAmount Invoice | Yes |
| Create Withdrawal | Yes |
| Fill Regular Invoice | Optional |
| Get Invoice Info | No |
tip
Keep your public token secure. Do not expose it in client-side code or public repositories.