Api reference
Get merchant profile
GET/api/merchant/profile
Responses
200 Merchant profile
Example response
{ "message": "merchant profile fetched", "response": { "merchant": { "id": "66c9b4b736d142b900000001", "userId": "66c9b4b736d142b900000002", "businessName": "Acme Store", "email": "payments@acme.example", "status": "active", "accountNumber": "0123456789", "accountName": "Acme Store", "bankCode": "100033", "bankName": "PALMPAY", "webhookUrl": "https://acme.example/webhooks/importa", "availableBalance": 125000, "pendingBalance": 0, "totalCollected": 350000, "totalWithdrawn": 100000, "createdAt": "2026-08-24T12:00:00.000Z", "updatedAt": "2026-08-24T12:00:00.000Z" }, "apiKeys": [ { "name": "Production backend", "keyPrefix": "imp_live_", "createdAt": "2026-08-24T12:00:00.000Z" } ] }}