Kampanya
500 TL ve üzeri bakiye yüklemelerinde %10 bonus
Detaylar

API Dokümantasyonu

Harici sistemlerinizden Bearer token ile güvenli entegrasyon. Panel oturumu yerine API anahtarı kullanın.

1. API anahtarı oluşturun

Giriş yaptıktan sonra Profil sayfasından API anahtarı oluşturun. Anahtar yalnızca bir kez gösterilir.

2. Kimlik doğrulama

Authorization: Bearer onl_xxxxxxxxxxxxxxxx

Base URL: https://www.onayli.net/api/v1

3. Sipariş oluşturma

POST https://www.onayli.net/api/v1/orders
Content-Type: application/json
Authorization: Bearer {api_key}

{
  "country": "germany",
  "service": "whatsapp"
}

Alternatif: {"service_id": 123}

4. Sipariş durumu / SMS kodu

GET https://www.onayli.net/api/v1/orders/{id}
Authorization: Bearer {api_key}

5. Diğer uçlar

  • GET /me — hesap bilgisi
  • GET /balance — bakiye
  • GET /countries — ülkeler
  • GET /services — servis listesi ve fiyatlar
  • POST /orders/{id}/cancel — iptal
  • GET /api/v1/public/catalog — herkese açık fiyat/stok

Makine okunur şema: GET /api/v1/docs