← Slimpay.ng

Used by every "Try It" panel across these docs to call app.slimpay.ng for real. Get one from Authentication — register or log in, then paste the token here. Stored only in this browser (localStorage), never sent anywhere but the Slimpay API, and auto-cleared after 8 hours.

Notifications

Overview

In-app notifications for transaction events, plus push notification support — FCM for Android, APNs for iOS.

List notifications

GET /notifications Requires Auth
bash
curl https://app.slimpay.ng/api/v1/notifications \
  -H "Authorization: Bearer {token}"
GET /notifications
MethodPathPurpose
GET/notifications/unread-countBadge count for a bell icon
POST/notifications/{id}/readMark a single notification read
POST/notifications/read-allMark everything read
DELETE/notifications/{id}Delete a notification
GET /notifications/unread-count
POST /notifications/{id}/read
POST /notifications/read-all
DELETE /notifications/{id}

Push notification device tokens

Register a device token after login so the account can receive push notifications for transaction events (funding received, withdrawal completed, etc.):

POST /auth/device-token Requires Auth
bash
curl https://app.slimpay.ng/api/v1/auth/device-token \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{ "token": "fcm-or-apns-device-token", "platform": "android" }'
POST /auth/device-token

Call DELETE /auth/device-token on logout so a shared or reset device stops receiving another user's notifications.

DELETE /auth/device-token