---
page_title: Check Eligibility Native
product: Digital Wallets
page_source: https://juspay.io/in/docs/digital-wallets/docs/how-to-integrate-native/check-eligibility-native
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/digital-wallets/llms.txt
---


# Eligibility check (native)



**Always invoke this method whenever there is a change in the order amount.** 

To display the complete list of SDK based wallet instruments (ApplePay), call the below process function with action as ‘sdkWalletEligibility’.

> **Note**
> Depending on the **isEligible**  parameter in the response, the merchant needs to decide to show or hide the corresponding instrument.




## **Verify whether the device supports Apple Pay** 



The `applePayCapabilities` method asynchronously contacts Apple Pay servers as part of the verification process and returns the `paymentCredentialStatus` of the device.


### **The following are possible return values:** 



1. `paymentCredentialsAvailable`
   
   Confirms that the device supports Apple Pay and there’s at least one active payment credential in Wallet that qualifies for payments on the web. Show an Apple Pay button and offer Apple Pay as the primary, but not necessarily sole, payment option.
2. `applePayUnsupported`
   
   Indicates that the device doesn’t support Apple Pay. Don’t display an Apple Pay button or offer Apple Pay as a payment option.
3. `paymentCredentialsUnavailable`
   
   Confirms that the device supports Apple Pay and that the device doesn’t have any active payment credentials in Wallet. Offer Apple Pay as a payment option, but don’t make it the sole or default payment option. This gives people the option to set up Apple Pay as part of their purchase.


## Request parameters




### Payload
- **RequestId**:
  - Description: Unique identifier for the request.
  - Tags: String, Mandatory
- **Service**:
  - Description: Always in.juspay.hyperapi
  - Tags: String, Mandatory
- **Payload**:
  - Description: Contains the main request payload.
  - Tags: Object, Mandatory



## payload Object Parameters




### Payload
- **Action**:
  - Description: Action type. Always `sdkWalletEligibility`.
  - Tags: String, Mandatory
- **CustomerId**:
  - Description: Unique customer ID generated by Juspay.
  - Tags: String, Mandatory
- **ClientAuthToken**:
  - Description: Authentication token from the merchant backend.
  - Tags: String, Mandatory
- **CountryCode**:
  - Description: Transaction currency
  - Value: IN
  - Tags: String, Mandatory
- **Currency**:
  - Description: Transaction currency
  - Value: INR
  - Tags: String, Optional
- **Amount**:
  - Description: Transaction amount.
  - Tags: String, Mandatory
- **PaymentMethods**:
  - Description: List of payment methods to check eligibility.
  - Tags: String, Mandatory



## paymentMethods Array Parameters




### Payload
- **PaymentMethod**:
  - Description: Use  `APPLEPAY` for normal payments.
  - Tags: String, Mandatory
- **PaymentMethodType**:
  - Description: Always WALLET
  - Tags: String, Mandatory


## Sample Code Snippets:

### Sample Request:

#### Sample Request Code Snippet:

```sample request
{
  "requestId": "eee6f65e-23dc-42e1-ad7c-ec3cddd64ac9",
  "service": "in.juspay.hyperapi",
  "payload": {
    "action": "sdkWalletEligibility",
    "customerId": "test123",
    "clientAuthToken": "tkn_0e37edc631d647fdb606ab48ccfc4213",
    "countryCode": "IN",
    "currency": "INR",
    "gatewayReferenceId": "Flight",
    "amount": "200.0",
    "paymentMethods": [
      {
        "paymentMethod": "APPLEPAY",
        "paymentMethodType": "WALLET"
      }
    ]
  }
}
```

### Sample Response:

#### Response:
```plaintext
{
  "requestId": "6BC41367-6A9C-4B8B-A9F0-A4C0F5040B32",
  "service": "in.juspay.hyperpapi",
  "payload": {
    "action": "sdkWalletEligibility",
    "paymentMethods": [{
      "gatewayReferenceId": "decrypt_flow",
      "paymentMethodType": "WALLET",
      "paymentMethod": "APPLEPAY",
      "gatewayId": 50,
      "applePayCapabilities": "paymentCredentialsAvailable",
      "isEligible": true,
      "supportedNetworks": [
        "masterCard",
        "visa"
      ]
    }]
  },
  "errorCode": "",
  "errorMessage": "",
  "error": false
}
```



---

## See Also

- [Create Order API](https://juspay.io/in/docs/digital-wallets/docs/how-to-integrate-native/create-order-api)
- [Process Call](https://juspay.io/in/docs/digital-wallets/docs/how-to-integrate-native/process-call)
