REST API v1.0 · HTTPS JSON · Bearer / X-API-Key

개발자 REST API v1 및 Non-VoIP SMS 인증 자동화 문서 (2026) | OnayNet

표준 HTTPS JSON 엔드포인트를 통해 QA 테스트 파이프라인, 다중 계정 워크플로우 및 B2B 스크립트(Python, Node.js, cURL)를 190개국 이상의 실물 SIM 포트에 밀리초 단위로 연결하세요.

Generate API Key in Profile

REST API v1 엔드포인트 레퍼런스

OnayNet REST API v1 — Base URL: https://onaynet.co/api/v1
MethodEndpoint PathAuth설명 및 동작 방식
GET/api/v1/balanceBearer / X-API-KeyReturns current wallet balance, account email, and currency.
GET/api/v1/countriesPublic / OptionalLists all 190+ country codes (e.g. 187 for USA, 16 for UK, 62 for Turkey).
GET/api/v1/services?country=187Public / OptionalLists real-time physical SIM inventory, prices, and service slugs.
POST/api/v1/orders/buyBearer / X-API-KeyAllocates a dedicated Non-VoIP E.164 phone number and returns order_id & phone_number.
GET/api/v1/orders/:idBearer / X-API-KeyPolls live SS7/SMPP gateway for incoming SMS and returns parsed 4-8 digit sms_code.
POST/api/v1/orders/:id/cancelBearer / X-API-KeyCancels an active order where no SMS arrived and triggers an instant 100% atomic wallet refund.
POST/api/v1/orders/:id/finishBearer / X-API-KeyMarks an order that already received an SMS code as completed.
WAITING
실물 SIM 포트가 할당되어 SS7/SMPP 인터커넥트에서 SMS를 대기 중입니다. 3초마다 GET /api/v1/orders/:id를 폴링하세요.
RECEIVED / COMPLETED
인증 SMS가 도착했습니다. 4~8자리 OTP 코드가 data.sms_code 필드에 반환됩니다.
CANCELLED
SMS 도착 전 주문이 취소되었습니다. 결제 금액의 100%가 지갑 잔액으로 즉시 자동 환불됩니다.