API per rivenditori
Contratto standard SMM v2: collega il tuo pannello e rivendi tutto il catalogo.
Dettagli dell'API
- URL dell'API
- https://crescavia.com/it/api/v2
- Metodo HTTP
- POST
- Formato della risposta
- JSON
- Autenticazione
- Il parametro key in ogni richiesta
La tua chiave API si genera dal tuo account, nella sezione API del pannello. Crea il tuo account gratis o accedi.
Elenco dei servizi
- key
- La tua chiave API
- action
- services
Risposta di esempio:
[{"service": 5, "name": "TikTok Followers", "type": "Default", "category": "TikTok", "rate": "1.2600", "min": 10, "max": 40000, "refill": true, "cancel": false}]
Crea ordine
- key
- La tua chiave API
- action
- add
- service
- ID del servizio
- link
- Link da promuovere
- quantity
- Quantità
- runs / interval
- Facoltativi, per il drip-feed
Risposta di esempio:
{"order": 123}
Stato dell'ordine
- key
- La tua chiave API
- action
- status
- order
- ID dell'ordine, oppure orders=1,2,3 per più ordini
Risposta di esempio:
{"charge": "0.2750", "start_count": "100", "status": "In progress", "remains": "150", "currency": "USD"}
Crea refill
- key
- La tua chiave API
- action
- refill
- order
- ID dell'ordine, oppure orders=1,2,3 per più ordini (fino a 100)
Risposta di esempio:
{"refill": 123}
Stato del refill
- key
- La tua chiave API
- action
- refill_status
- refill
- ID del refill, oppure refills=1,2,3 per più refill (fino a 100)
Risposta di esempio:
{"status": "Pending"}
Annulla ordini
- key
- La tua chiave API
- action
- cancel
- orders
- ID separati da virgola (fino a 100)
Risposta di esempio:
[{"order": 1, "cancel": 1}, {"order": 2, "cancel": {"error": "Incorrect order ID"}}]
Saldo
- key
- La tua chiave API
- action
- balance
Risposta di esempio:
{"balance": "12.3400", "currency": "USD"}
Esempio d'uso
curl -X POST https://crescavia.com/it/api/v2 \ -d "key=TU_CLAVE" \ -d "action=add" \ -d "service=5" \ -d "link=https://tiktok.com/@usuario" \ -d "quantity=1000"