Endpoints
GET /me
Return the authenticated merchant's profile.
GET
/mesecret keyReturn the authenticated merchant's profile, capabilities, and balance. Useful for client startup.
Request
curl https://sandbox-api.key2pays.com/v1/me \ -H "Authorization: Bearer sk_test_51N8mP...exampleK3Y"
Response
{
"id": "MCH-001",
"name": "Acme Inc",
"email": "ops@acme.com",
"industry": "E-commerce",
"tier": "trusted",
"trustScore": 720,
"environment": "sandbox",
"capabilities": {
"checkout": true,
"directCharge": true,
"refunds": true,
"webhooks": true,
"crypto": ["ETH","BTC","USDT"],
"methods": ["card","spei","pix"]
},
"balance": { "available": 12480.55, "pending": 230.10, "frozen": 0, "reserve": 1500 }
}Try itGET
/mesandboxLive snippet
curl -X GET "https://sandbox-api.key2pays.com/v1/me" \ -H "Authorization: Bearer sk_test_…YOUR_KEY"
Snippet updates as you edit the form. Sandbox responses are deterministic.