HTTP
CURL
Inquiry Request
POST /rest/biller/inquirytransaction HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 240
Accept: */*
Host: api.espay.id
Authorization: Basic QWxhZGRpbjpTbWVsYW5h
rq_uuid=SENDERIDUUID0001&rq_datetime=2019-09-26 21:03:33&sender_id=SENDERID&&password=TeJ9LtGs7xWZNwwm&order_id=0888666777&product_code=SPBFRE&signature=818f1dd24644408f4f378fb606502b8720f3306ae62250ea3a95fb29b6b67e63&additional_data=
Inquiry Response
{
"rq_uuid":"SENDERIDUUID0001",
"rs_datetime":"2019-09-26 21:03:36",
"error_code":"0000",
"error_desc":"Success",
"order_id":"0888666777",
"amount":"12540000",
"bill_amount":"12540000",
"admin_fee":"0",
"data":{
"phone_no":"0888666777",
"bill_total":"1",
"bill_ref":"108A000000",
"bill_amount":"000000125400",
"customer_name":"SMARTFREN CUSTOMER POSTPAID",
"region_code":"00"
}
}
Payment Request
POST /rest/biller/paymentreport HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 318
Accept: */*
Host: api.espay.id
Authorization: Basic QWxhZGRpbjpTbWVsYW5h
rq_uuid=SENDERIDUUID0001&rq_datetime=2019-09-26 21:08:13&sender_id=SENDERID&password=TeJ9LtGs7xWZNwwm&order_id=0888666777&product_code=SPBFRE&amount=12540000&signature=1f4ee0cb00f68775b2a47ee36d6b44e652b446dda9a6317b0933de1cb23d0b4d&data={"phone_no":"0888666777","bill_total":"1","bill_ref":"108A000000","bill_amount":"000000125400","customer_name":"SMARTFREN CUSTOMER POSTPAID","region_code":"00"}
Payment Response
{
"rq_uuid":"SENDERIDUUID0001",
"rs_datetime":"2019-09-26 21:08:17",
"error_code":"0000",
"error_desc":"Inproses",
"order_id":"0888666777",
"ref_id":"TX20190918155254952",
"data":{
"phone_no":"0888666777",
"bill_total":"1",
"bill_ref":"108A000000",
"bill_amount":"000000125400",
"customer_name":"SMARTFREN CUSTOMER POSTPAID",
"region_code":"00"
}
}