Softlemon Partner API
Production-ready partner integration endpoints for admin-provisioned API keys.
Base URL: https://api.sandbox.softlemons.com/
This documentation covers the partner integration surface for admin-provisioned API keys.
Use these endpoints when a partner is managing linked merchants and accessing partner-facing operational resources.
API keys are created by your SoftLemon admin team and delivered securely. Self-service onboarding and API key generation are not currently available.
The gateway also sends signed outbound webhooks on transaction state changes. Partners can manage a linked merchant's endpoint, secret and deliveries through the Webhook Management endpoints with merchant_id. See the Webhooks section below and the webhook integration guide for signature verification examples and retry semantics.
Authenticating requests
To authenticate requests, include an Authorization header with the value Bearer {YOUR_API_KEY}. Use the API key provisioned by your SoftLemon admin team.
Key scopes
Every key carries a list of scopes that limits what it may do. The scopes are transactions:read (transaction status, payment sessions and stored cards), transactions:write (sales, authorizations, captures, voids, 3D Secure verification, payment sessions and stored-card removal), refunds:write (refunds) and webhooks:manage (a linked merchant's webhook endpoint, secret rotation, test pings and delivery history). Listing linked merchants and their transactions needs no scope beyond a valid partner key. A key is issued with the full set unless a subset is requested when it is created, so a reconciliation integration can be given a transactions:read key that cannot move money or change webhook settings. A request outside the key's scopes is refused with HTTP 403 and code ERR_AUTH_FAILED, and the message names the missing scope. GET /api/v1/key-info returns the scopes of the key you are calling with.
Integration guides
The partner integration guide walks through the full flow step by step: confirming your key's scope, listing linked merchants, reviewing their transactions and processing payments on a merchant's behalf with merchant_id. The same merchant_id rules apply to alternative payments through payment sessions and to the stored cards covered in the returning customers guide. The set up webhooks guide covers registering a merchant's endpoint and monitoring deliveries and the webhook integration guide covers event delivery and signature verification.
Prefer exploring in Postman? Download the Partner API Postman collection and set your API key as the Bearer token on the collection.
Transaction authorized
Transaction captured
Transaction succeeded
Transaction settled
Transaction partially settled
Transaction paid
Transaction voided
Transaction refunded (fully)
Transaction partially refunded
Transaction failed
Transaction cancelled
Transaction chargeback
Transaction pending (opt-in)
Test ping