Prepaid
Place Order
[POST
] https://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://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": 1737572570,
"updated_at": 1737572570
}
],
"status": true,
"message": "Success."
}
Get Service
[POST
] https://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": "BY.U",
"sub": "Umum"
},
"multi": "1",
"name": "By.U 15.000",
"note": "pulsa by.U Rp 15.000",
"code": "BY15",
"price": {
"list": {
"standar": 15485,
"premium": 15405,
"spesial": 15365
},
"current": 15485
},
"cutoff": {
"start": "23:30",
"end": "00:15"
},
"status": "ready",
"updated_at": 1687463331
},
{
"category": {
"type": "saldo-ewallet",
"main": "LINKAJA",
"sub": "Umum"
},
"multi": "1",
"name": "LinkAja Rp 20.000",
"note": "-",
"code": "LA20",
"price": {
"list": {
"standar": 20675,
"premium": 20475,
"spesial": 20325
},
"current": 20675
},
"cutoff": {
"start": "23:30",
"end": "00:15"
},
"status": "ready",
"updated_at": 1736447227
}
],
"status": true,
"message": "Success."
}