Skip to main content

Authentication

All authenticated SoloPayment API requests use Bearer Token authentication.

Getting Your Token

  1. Log in to the Merchant Dashboard
  2. Navigate to Settings → Tokens → Public Token
  3. 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

EndpointAuth Required
Create AnyAmount InvoiceYes
Create WithdrawalYes
Fill Regular InvoiceOptional
Get Invoice InfoNo
tip

Keep your public token secure. Do not expose it in client-side code or public repositories.