# Read one gateway (/api/getGateway)

Endpoint: GET /api/v1/gateways/{id}
Full URL: https://app.sendkuy.com/api/v1/gateways/{id}
- path parameter id (required): string — The prefixed id of the object.
Success status: 200

cURL:

```bash
curl -X GET https://app.sendkuy.com/api/v1/gateways/gw_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3 \
  -H "Authorization: Bearer sk_live_YOUR_API_KEY"
```

Node.js:

```ts
import { SendKuy } from 'sendkuy';

const sendkuy = new SendKuy('sk_live_YOUR_API_KEY');

const result = await sendkuy.gateways.get('gw_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3');
```

PHP:

```php
<?php

use SendKuy\SendKuy;

$sendkuy = new SendKuy('sk_live_YOUR_API_KEY');

$result = $sendkuy->gateways()->get('gw_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3');
```

Python:

```python
import requests

response = requests.request(
    "GET",
    "https://app.sendkuy.com/api/v1/gateways/gw_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3",
    headers={"Authorization": "Bearer sk_live_YOUR_API_KEY"},
)

data = response.json()["data"]
```