API Documentation v1
Services

Get Services list

/api/services

GET

key API Key
error Returned Error if exists:
  • invlaid_key : Invalid API Key
id Service ID
name Service name
price Service price per 1000 unit
min Minimum amount
max Maximum amount
description Service description
extra_field Extra field for service if exists
period Period for subscriptions
History

Get List of Orders History

/api/history

GET

key API Key
array of orders, each one has :
error Returned Error if exists :
  • invlaid_key : Invalid API Key
id Order ID
service_id Service ID
link Order link
amount Ordered amount
total Total charge for order
status Order status :
  • canceled
  • pending
  • in_process
  • progressing
  • partial
  • completed
counter_current Current amount of finished units
counter_final Final amount of finished units
Order status

Get Order status

/api/status

GET

key API Key
id Order id
error Returned Error if exists :
  • invlaid_key : Invalid API Key
  • invalid_id : Invalid Order ID
id Order ID
service_id Service ID
link Order link
amount Ordered amount
total Total charge for order
status Order status :
  • canceled
  • pending
  • in_process
  • progressing
  • partial
  • completed
counter_current Current amount of finished units
counter_final Final amount of finished units
New Order

Create a new order

/api/order

POST

key API Key
link Link
service Service ID
extra_field Extra field (required only if service has an extra field)
amount Units to order (required only if a service does not have a fixed amount and the service does not require multi line extra field)
error Returned Error if exists :
  • invlaid_key : Invalid API Key
  • invalid_link : Invalid Link
  • invalid_service_id : Invalid Service ID
  • inactive_service : Requested Service is Inactive
  • invalid_extra_field : Extra field required but not given
  • invalid_amount : Invalid requested amount
  • insufficient_balance : You don't have sufficient funds
id Order ID