Softlemon API Documentation
  • Merchant API
  • Partner API
  • Guides
Information
Transactions
    Initiate TransactionpostCapture TransactionpostRefund TransactionpostTransaction StatusgetVoid Transactionpost
Payment Instruments
    List payment instrumentsgetRevoke a payment instrumentdelete
Payment Sessions
    Create a payment sessionpostGet a payment sessiongetList available payment methodsget
Card Verification
    Initiate Card Verificationpost
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 Merchant API
Softlemon Merchant 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": "Production key", "status": "active", "scopes": [ "transactions:read", "transactions:write", "refunds:write", "webhooks:manage" ], "entity_type": "merchant", "entity_id": 1, "entity_name": "Demo Store Ltd", "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