API

HTTP method
POST
API URL
https://bebo.nilepanel.com/api/v2
Response format
JSON

Sign in to get your API key.

Resell this store's products from your own site or bot: list the products, buy with your balance and get the codes in the answer. Orders that need a manual delivery come back as pending; check them with action=order.

products

key, action=products

[
  {
    "product": 12,
    "variant": null,
    "name": "PUBG 60 UC",
    "category": "PUBG Mobile",
    "price": "1.1000",
    "delivery": "manual",
    "fields": [
      "Player ID"
    ],
    "min": 1,
    "max": 10,
    "stock": null
  },
  {
    "product": 7,
    "variant": 3,
    "name": "Google Play · $10",
    "category": "Gift cards",
    "price": "10.5000",
    "delivery": "code",
    "fields": [],
    "min": 1,
    "max": 5,
    "stock": 42
  }
]

buy

key, action=buy, product, variant (optional), quantity, fields={"Player ID":"5123456"}

{
  "order": 981,
  "status": "completed",
  "product": 7,
  "variant": 3,
  "name": "Google Play · $10",
  "quantity": 1,
  "charge": "10.5000",
  "codes": [
    "GP-XXXX-YYYY"
  ],
  "accounts": [],
  "content": null,
  "note": null
}

order

key, action=order, order

{
  "order": 982,
  "status": "pending",
  "product": 12,
  "name": "PUBG 60 UC",
  "quantity": 1,
  "charge": "1.1000",
  "codes": [],
  "note": null,
  "fields": {
    "Player ID": "5123456"
  }
}

orders

key, action=orders, orders=981,982

{
  "5": {
    "error": "Incorrect order ID"
  },
  "981": {
    "order": 981,
    "status": "completed"
  },
  "982": {
    "order": 982,
    "status": "pending"
  }
}

balance

key, action=balance

{
  "balance": "100.84292",
  "currency": "USD"
}