> ## Documentation Index
> Fetch the complete documentation index at: https://developers.mioesim.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /api_esim/verifyResource — Check card inventory

> Check whether sufficient card inventory exists for a given SKU and price ID. Returns 1 if resources are available, 0 if not. Call this before large bulk orders.

Before placing a bulk order, call this endpoint to confirm that enough card inventory exists for the SKU and plan you want to purchase. Returns `1` if resources are adequate or `0` if they are insufficient.

```
GET https://bpm.mioesim.com/api_esim/verifyResource
```

## Request parameters

<ParamField query="token" type="string" required>Session token.</ParamField>
<ParamField query="skuid" type="string" required>SKU identifier.</ParamField>
<ParamField query="priceid" type="string" required>Package price ID.</ParamField>
<ParamField query="count" type="string" required>Number of cards you intend to order.</ParamField>
<ParamField query="sign" type="string" required>Request signature.</ParamField>

## Response

<ResponseField name="data" type="integer">
  `1` = sufficient resources available. `0` = insufficient resources.
</ResponseField>

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://bpm.mioesim.com/api_esim/verifyResource?token=YOUR_TOKEN&skuid=45&priceid=441&count=10&sign=YOUR_SIGN"
  ```

  ```json Sufficient theme={null}
  { "code": "0", "message": "success", "data": 1 }
  ```

  ```json Insufficient theme={null}
  { "code": "0", "message": "success", "data": 0 }
  ```
</CodeGroup>
