---
title: GET /x402/ping
description: Paid x402 service probe — A small x402-protected endpoint used to verify payment discovery and settlement.
full: true
---

**Auth:** none. The route is paid instead: it answers `402 Payment Required` with x402 payment requirements, and `503` when the deployment has no x402 facilitator configured.

A small x402-protected endpoint used to verify payment discovery and settlement. It is enabled only when the deployment supplies an x402 facilitator and public wallet address.

## Responses

### `200` OK

Payment accepted and settled

### `402`

Payment required

Response shape: `object`

### `503` Service Unavailable

x402 is not configured for this deployment

**curl**

```bash
curl -X GET 'https://ivybiosciences.com/api/v1/x402/ping'
```

**JavaScript**

```js
const res = await fetch('https://ivybiosciences.com/api/v1/x402/ping', {
  method: 'GET',
});
const data = await res.json();
```

**Python**

```python
import requests

res = requests.get(
    "https://ivybiosciences.com/api/v1/x402/ping",
)
data = res.json()
```
