Prepaid
Place Order
[POST] https://mail.osimesa.id/api/prepaid
| Parameter | Type | Note | Req. |
|---|---|---|---|
| key | string |
fill with your API Key. | Yes |
| sign | string |
fill with combined User ID and API Key encrypted with md5. | Yes |
| type | string |
fill with order to place order. | Yes |
| service | string |
fill with Service ID that you want to order. | Yes |
| data_no | string |
fill with Phone Number or Other Data. | Yes |
Example Response
{
"code": 200,
"data": {
"data": [
"your destination number"
],
"note": "transaction note",
"price": 10000,
"ref_id": "some1d",
"status": "waiting",
"product": {
"code": "product_id",
"type": "product_type",
"service": "product_name"
},
"voucher": "voucher_code"
},
"status": true,
"message": "Thank you for purchasing the product, please wait for the transaction to be processed."
}
Check Transaction
[POST] https://mail.osimesa.id/api/prepaid
| Parameter | Type | Note | Req. |
|---|---|---|---|
| key | string |
fill with your API Key. | Yes |
| sign | string |
fill with combined User ID and API Key encrypted with md5. | Yes |
| type | string |
fill with status to place order. | Yes |
| ref_id | string |
fill with Transaction Reference ID. | No |
| limit | integer |
fill with 1 - 15. | No |
Example Response
{
"code": 200,
"data": [
{
"data": [
"your destination number"
],
"note": "transaction note",
"price": 10000,
"ref_id": "some1d",
"status": "waiting",
"product": {
"code": "product_id",
"type": "product_type",
"service": "product_name"
},
"voucher": "voucher_code",
"created_at": 1785040992,
"updated_at": 1785040992
}
],
"status": true,
"message": "Success."
}
Get Service
[POST] https://mail.osimesa.id/api/prepaid
| Parameter | Type | Note | Req. |
|---|---|---|---|
| key | string |
fill with your API Key. | Yes |
| sign | string |
fill with combined User ID and API Key encrypted with md5. | Yes |
| type | string |
fill with service to place order. | Yes |
Example Response
{
"code": 200,
"data": [
{
"category": {
"type": "pulsa-reguler",
"main": "TRI",
"sub": "Umum"
},
"multi": "0",
"name": "Three 9.000",
"note": "Reguler",
"code": "T9",
"price": {
"list": {
"standar": 9821,
"premium": 9621,
"spesial": 9471
},
"current": 9821
},
"cutoff": {
"start": "23:30",
"end": "00:30"
},
"status": "ready",
"updated_at": 1739593630
},
{
"category": {
"type": "paket-internet",
"main": "TELKOMSEL",
"sub": "Mini"
},
"multi": "1",
"name": "Telkomsel Data Mini 1 GB 3 Hari",
"note": "nasional 24 jam",
"code": "TDM1-3",
"price": {
"list": {
"standar": 11510,
"premium": 11310,
"spesial": 11160
},
"current": 11510
},
"cutoff": {
"start": "23:30",
"end": "00:15"
},
"status": "ready",
"updated_at": 1781893629
}
],
"status": true,
"message": "Success."
}