Push Notifications

Users can receive push notifications for:

  • Deposits — incoming transactions to their crypto wallet.
  • Withdrawals — outgoing transactions from their crypto wallet.
  • Card payment events — notifications for both successfully authorized and declined payment attempts using a bank card.
  • Card refunds — credit of funds resulting from a refund to a bank card.

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

🚧

Before you begin


Check Push Notification Permission Status

POST /reg/user/push/device

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

Headers:

NameTypeRequiredDescription
X-PlatformstringParameter specifying the device's operating platform (iOS, Android).

Body Parameters:

NameTypeRequiredDescription
deviceIdstringA unique identifier for the user’s device.
registrationTokenstringA platform-specific identifier issued by a push notification service to deliver push notifications to a specific device.
pushEnabledbooleanSpecifies 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.