question

mohitkanada avatar image
mohitkanada asked Jeffrey Blattman edited

On Clover station I didn't able to get clover device id

On New Clover station I didn't able to get clover device id, Is there any separate method for Station to get device id ?


Same thins is working well on Clover Mini, Flex, etc devices


I am getting device id using Merchant Connector

Clover Android SDKMerchantDiscounts
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered Jeffrey Blattman edited

Use MerchantDevicesV2Connector.getDevice().getId().

This returns Clover's device UUID for the current device.

EDIT: As of the time I'm editing this the above interface is not released in the SDK yet. That being the case the only option is to hit the REST endpoint https://docs.clover.com/clover-platform/reference#devicegetmerchantdevices to get all the devices then find the current device by comparing serials to Build.getSerial().

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sorry, I didn't find any thing related to "MerchantDevicesV2Connector" on clover SDK. Can you please elaborate more.

0 Likes 0 ·

Welcome to the
Clover Developer Community