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

API Operations


Get API Key Information

GET
https://api.sandbox.softlemons.com
/api/v1/key-info

Returns information about the API key being used to authenticate the request. API keys are provisioned by SoftLemon admins for merchants and partners. Self-service onboarding and API key generation are not currently available.

Get API Key Information › Responses

success
​boolean
message
​string
code
​string
​object
GET/api/v1/key-info
curl https://api.sandbox.softlemons.com/api/v1/key-info \ --header 'Authorization: Bearer <token>'
Example Responses
{ "success": true, "message": "API key information retrieved successfully", "code": "", "data": { "key_identifier": "sl_20250411105714_TTwbAVtw", "name": "Partner production key", "status": "active", "scopes": [ "transactions:read", "transactions:write", "refunds:write", "webhooks:manage" ], "entity_type": "partner", "entity_id": 7, "entity_name": "Acme Payments Partner", "created_at": "2025-04-11T10:57:14.000000Z", "last_used_at": "2025-05-20T09:18:47.000000Z", "expires_at": null } }
json
application/json

Webhook Management