사용자 요금제 조회

이 섹션에서는 PinguProxy에서 사용자 요금제 조회을 안정적으로 설정하는 방법을 설명합니다.

GET/users/plans

본문 매개변수

보안

Authorizationstring필수

JWT Bearer 토큰

Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
1const response = await fetch('https://api.pinguproxy.com/users/plans', {
2 headers: {
3 'Authorization': 'Bearer your-jwt-token'
4 }
5});
6
7const plans = await response.json();

응답

상태 200
[
{
"id": 1,
"name": "Basic Plan",
"creation_date": "2023-01-01T00:00:00Z",
"expire_date": "2024-01-01T00:00:00Z",
"is_blocked": false,
"proxy_limit": 5,
"proxies": [
{
"id": 1,
"username": "user123",
"password": "pass123",
"ip": "1.1.1.1",
"port": 12933,
"assigned_proxy_ipv4": "10.0.0.1",
"assigned_proxy_ipv6": "2001:db8::1",
"is_rotating": true,
"rotate_interval": 600,
"plan_ip_class": 1
}
]
}
]