Documentation

We are offering free api to platinum users FFDP.

Profile

View Profile

[ POST ]
https://flashtopup.com/api/profile
Parameter Description Req
api_id Change to your own API ID Yes
api_key Change to your own API Key Yes
signature Signature with md5(API ID + API KEY) Yes
Example Response
Response Success Response Failed
{
  "status": true,
  "msg": "success",
  "data": {
      "username": "Xosgames",
      "balance": 0,
      "role": "Basic"
  }
}
{
  "status": false,
  "msg": "API ID atau API KEY not found",
}
Products

The Product List API allows merchants to get a list of their available product (game) options in a single request.

[ POST ]
https://flashtopup.com/api/product
Parameter DESCRIPTION Req
api_id Change to your own API ID Yes
api_key Change to your own API Key Yes
signature Signature with md5(API ID + API KEY) Yes
Example Response
Response Success Response Failed
{
    "status": true,
    "msg": "success",
    "data": [
        {
            "id": "4435",
            "name": "Mobile Legends",
            "validation_code": "mlbb"
        },
        {
            "id": "4436",
            "name": "Ragnarok M: Eternal Love (SEA)",
            "validation_code": "Ragnarok M: Eternal Love (SEA)"
        }
    ]
}
{    
  "status": false,
  "msg": "API ID atau API KEY not found",
}
// Or
{
  "status": false,
  "msg": "Invalid Signature. Please check your API credentials.",
}
// Or
{
  "status": false,
  "msg": "IP 127.0.0.1 not allowed",
}
Service

The Service List API to get a list of available service.

[ POST ]
https://flashtopup.com/api/service
Parameter DESCRIPTION Req
api_id Change to your own API ID Yes
api_key Change to your own API Key Yes
signature Signature with md5(API ID + API KEY) Yes
product_id Product Id, listed in Product API Yes
Example Response
Response Success Response Failed
{
    "status": true,
    "msg": "success",
    "data": {
        "service": [
            {
                "id": "1",
                "game": "Mobile Legends",
                "service_name": "Weekly",
                "price": {
                    "basic": "264.60",
                    "gold": "204.60",
                    "platinum": "10.00"
                },
                "status": "available"
            },
            {
                "id": "3",
                "game": "Mobile Legends",
                "service_name": "Coupon Pass",
                "price": {
                    "basic": "785.40",
                    "gold": "755.40",
                    "platinum": "685.40"
                },
                "status": "available"
            }
        ],
        "fields": [
            {
                "name": "input1",
                "desc": "User ID",
                "type": "string"
            },
            {
                "name": "input2",
                "desc": "Zone",
                "type": "servervalue"
            }
        ],
        "server": [
            {
                "name": "JAPAN",
                "value": "10501"
            },
            {
                "name": "KOREA",
                "value": "10511"
            },
            {
                "name": "ASIA",
                "value": "10521"
            },
            {
                "name": "NORTH-AMERICA",
                "value": "10531"
            },
            {
                "name": "EUROPE",
                "value": "10541"
            }
        ]
    }
}
{
  "status": false,
  "msg": "API ID atau API KEY not found",
}
// Or
{
  "status": false,
  "msg": "Invalid Signature. Please check your API credentials.",
}
// Or
{
  "status": false,
  "msg": "IP 127.0.0.1 not allowed",
}
// Or
{
    "status": false,
    "msg": "Product Id does not exist"
}
Order

Create New Order

[ POST ]
https://flashtopup.com/api/order
Parameter DESCRIPTION Req
api_id Change to your own API ID Yes
api_key Change to your own API Key Yes
order_id Unique identifier for the order generated by your system Yes
service_id Service ID from Service API Yes
target_id Dynamic String, call get Service API to get the fields to enter. For example - "fields":[{"name":"User ID","type":"string"},{"name":"Server","type":"string"}]} Fields to add = 1. User ID 2. Server Yes
target_server Dynamic String, call get Service API to get the fields to enter. For example - "fields":[{"name":"User ID","type":"string"},{"name":"Server","type":"string"}]} Fields to add = 1. User ID 2. Server No
signature Signature with md5(API ID + API KEY) Yes
Example Response
Response Success Response Failed
{
    "status": true,
    "msg": "success",
    "data": {
        "order_id": "ORD123",
        "service_name": "Weekly",
        "service_id": "12206",
        "status": "Processing",
        "note": ""
    }
}
{
  "result": false,
  "msg": "API ID atau API KEY not found",
}
// Or
{
  "result": false,
  "msg": "order_id already exist.",
  "data": {
      "status": "Error",
  }
}
// Or
{
  "result": false,
  "msg": "service_id does not exist.",
}
// Or
{
  "result": false,
  "msg": "Insufficient Balance, kindly reload your balance and try again."
}
Status

The Order Status API is check order status.

[ POST ]
https://flashtopup.com/api/status
Parameter DESCRIPTION Req
api_id Change to your own API ID Yes
api_key Change to your own API Key Yes
order_id order_id from Response Order API Yes
signature Signature with md5(API ID + API KEY) Yes
Example Response
Response Success Response Failed
{
  "status": true,
  "msg": "success",
  "data": {
      "order_id": "123456",
      "status": "Success / Processing / Pending / Failed",
      "note": ""
  }
}
{
  "status": false,
  "msg": "API ID atau API KEY not found",
}
// Or
{
  "status": false,
  "msg": "order_id does note exist",
  "data": {
      "order_id": "",
      "status": "Error"
  }
}
Check ID

The Check ID API is check id.

[ POST ]
https://flashtopup.com/api/check_id
Parameter DESCRIPTION Req
api_id Change to your own API ID Yes
api_key Change to your own API Key Yes
target_id User ID/ Player ID/ TargetId No
server_id Server ID/ Zone ID No
validation_code Validation Code Yes
signature Signature with md5(API ID + API KEY) Yes
Example Response
Response Success Response Failed
{
    "status": true,
    "msg": "success",
    "data": {
        "name": "123",
        "region": "others",
        "valid": "valid"
    }
}
// Or
{
    "status": true,
    "msg": "success",
    "data": {
        "name": "na",
        "nikcname": "na",
        "region": "na",
        "valid": "invalid"
    }
}
{
"status": false,
"msg": "API ID atau API KEY not found",
}
{
    "status": false,
    "msg": "Validation code not found"
}
Webhook / Callback

You can provide us the callback url to active webhook function. Once transaction is create, success or fail. webhook function will send to your provided access point base by your merchantcode submit from order/create.
Webhook will send 3 times until respond / reply as json shown in the example.

[ POST ]
Your Callback URL
Example Request & Response from your callback
Request Response / Reply
{
    "pin1": "123",
    "pin2": "456",
    "amount": "140.35",
    "input1": "test",
    "input2": "test2",
    "status": "Success",
    "service": "57 + 3 Extra UC",
    "order_id": "36",
    "ingamename": "test"
}
// Or
{
    "status": true
}
{
    "status": true
}