Check Status
API to check status.
Path
Method | Path |
---|---|
POST | api/v1/bill/check |
Request Body
Attributes | Type | Description | Mandatory |
---|---|---|---|
commands | String | Value: checkstatus | Yes |
username | String | Your registered phone number | Yes |
ref_id | String | Your order number / reference ID | Yes |
sign | String | Signature. Value: md5(username+api_key+'cs') | Yes |
{
"commands" : "checkstatus",
"username" : "123123123",
"ref_id" : "091283746520",
"sign" : "6bc194c0d23c18a12f5d6919aa72bc30"
}
Response
Attributes | Type | Description | Mandatory |
---|---|---|---|
tr_id | Integer | IAK inquiry ID | Yes |
code | String | Product code | Yes |
datetime | String | Transaction time (Format YmdHis) | Yes |
hp | String | Tax object number | Yes |
tr_name | String | Bill account name | Yes |
period | String | Bill period | Yes |
nominal | Double | Bill nominal | Yes |
admin | Double | Admin fee | Yes |
status | Integer | Transaction status. List of status : `0:Payment request haven't been received` `1:Payment success` `2:Payment failed` `3:Payment is being process` | Yes |
response_code | String | Response code. See response code list | Yes |
message | String | Message | Yes |
price | Double | Total price that must be paid (nominal + admin fee) | Yes |
selling_price | Double | Deducted balance (price - commission) | Yes |
balance | Double | Client remaining balance | Yes |
noref | String | Biller reference number (if exist) | Yes |
ref_id | String | Your order number / reference ID ( must unique ) | Yes |
desc | Object Notes: If empty return String | Product description (See in each product segment) | Yes |
Payment Success Response
{ "data": {}, "meta": [] }
Payment Request Haven't Been Received Response
{ "data": {}, "meta": [] }
Payment Is Being Process Response
{ "data": {}, "meta": [] }
Payment Failed Response
{ "data": {}, "meta": [] }
Live Testing
Request URL
https://testpostpaid.mobilepulsa.net/api/v1/bill/check
Request Method
Request Header
Content-Type: application/json
Body
Result
Tutorial Video
You can see this video for check status code explanation using Laravel.

Or you can see this video for check status code explanation using PHP.

Table of Contents