Softlemon API Documentation
  • Merchant API
  • Partner API
  • Guides
Information
Partner API
    List MerchantsgetGet MerchantgetGet Merchant Transactionsget
Payment Sessions
    Create a payment sessionpostGet a payment sessiongetList available payment methodsget
Payment Instruments
    List payment instrumentsgetRevoke a payment instrumentdelete
Webhook Management
    Get webhook configurationgetCreate or update the webhook endpointputDelete the webhook endpointdeleteRotate the webhook signing secretpostSend a test pingpostList webhook eventsgetGet a webhook eventgetReplay a webhook eventpost
API Operations
    Get API Key Informationget
Schemas
Softlemon Partner API

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.

Tags
Partner API
Payment Sessions
Payment Instruments
Webhook Management
API Operations
Webhooks
transaction.authorized

Transaction authorized

POST
transaction.captured

Transaction captured

POST
transaction.succeeded

Transaction succeeded

POST
transaction.settled

Transaction settled

POST
transaction.partially_settled

Transaction partially settled

POST
transaction.paid

Transaction paid

POST
transaction.voided

Transaction voided

POST
transaction.refunded

Transaction refunded (fully)

POST
transaction.partially_refunded

Transaction partially refunded

POST
transaction.failed

Transaction failed

POST
transaction.cancelled

Transaction cancelled

POST
transaction.chargeback

Transaction chargeback

POST
transaction.pending

Transaction pending (opt-in)

POST
ping

Test ping

POST
Servers
https://api.sandbox.softlemons.com