Push Notifications

Users can receive push notifications for:

  • Deposits (incoming transactions to their crypto wallet).
  • Withdrawals (outgoing transactions from their crypto wallet).

Notifications are supported on mobile clients with iOS or Android operating systems.

🚧

Before you begin


Check Push Notification Permission Status

POST /notification/push/registerDevice

The endpoint is designed to retrieve the latest authorization status for push notification delivery.

Headers:

NameTypeRequiredDescription
X-Platformstringβœ…Parameter specifying the device's operating platform (iOS, Android).

Body Parameters:

NameTypeRequiredDescription
deviceIdstringβœ…A unique identifier for the user’s device.
registrationTokenstringβž–A platform-specific identifier issued by a push notification service to deliver push notifications to a specific device.
pushEnabledbooleanβœ…Specifies whether the user has permitted push notifications on the device.

Response Example:

{
  "deviceId": "string",
  "registrationToken": "string",
  "pushEnabled": true
}

Push Notification Status Payload

Allowed Notifications
If the user grants push notification permissions, the response should include:

  • deviceId;
  • registrationToken;
  • status: TRUE.

Blocked Notifications
If the user denies permissions, the response should contain:

  • deviceId;
  • status: FALSE.