Want to pre auth and refund in android
Are you using the Remote Pay Android SDK?
For on device payment actions you should use Payment Connector:
You can vault a card (vaultCard) and then use the vaulted card when you create and execute the preauth.
When you capture a preauth the card is not required. If you don't want to have the card for the preauth itself it will have to have been vaulted previously using Clover Connector's vault capability. See https://docs.clover.com/clover-platform/docs/vaulting-cards and the Remote Pay Android Example - https://github.com/clover/remote-pay-android-examples/blob/b2fc569ed0f9f62f357ae366edfbb72aaa6829f5/native-android-example-pos/src/main/java/com/clover/example/RegisterFragment.java (code in this link shows how to add vaulted card data to a payment request, you will need to have previously vaulted the card).
1 Person is following this question.