Nasc API
POST
JSON
key
Eochair údaraitheaction
balance{ "balance": "100.84292", "currency": "USD" }
key
Eochair údaraitheaction
services[ { "service": 1448, "name": "Leantóirí Instagram", "type": "Default", "category": "Instagram", "rate": "0.90", "min": "50", "max": "10000", "refill": true }, { "service": 1452, "name": "Tuairimí Facebook", "type": "Custom Comments", "category": "Facebook", "rate": "8", "min": "10", "max": "1500", "refill": false } ]
key
Eochair údaraitheaction
addservice
Aitheantas Seirbhíselink
Nasc postála, leathanach nó próifílequantity
Cainníocht ag teastáilinterval (roghnach)
{ "order": 23501 }
key
Eochair údaraitheaction
statusorder
Aitheantas an Ordaithe{ "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" }
key
Eochair údaraitheaction
statusorders
Aitheantais ordaithe scartha camóg{ "1": { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" }, "10": { "error": "Incorrect order ID" }, "100": { "charge": "1.44219", "start_count": "234", "status": "In progress", "remains": "10", "currency": "USD" } }
key
Eochair údaraitheaction
refillorder
Aitheantas an Ordaithe{ "refill": "1" }
key
Eochair údaraitheaction
refill_statusrefill
Aitheantas Athlíonta{ "status": "Completed" }
key
Eochair údaraitheaction
refillorders
Aitheantais ordaithe scartha camóg[ { "order": 1, "refill": 1 }, { "order": 2, "refill": 2 }, { "order": 3, "refill": { "error": "Incorrect order ID" } } ]
key
Eochair údaraitheaction
refillorders
Aitheantais ordaithe scartha camóg[ { "refill": 1, "status": "Completed" }, { "refill": 2, "status": "Rejected" }, { "refill": 3, "status": { "error": "Refill not found" } } ]
key
Eochair údaraitheaction
cancelorders
Aitheantais ordaithe scartha camóg[ { "order": 9, "cancel": { "error": "Incorrect order ID" } }, { "order": 2, "cancel": 1 } ]