Test Case¶
Here is the test case we provide. Please use the customer number below to get the corresponding response.
Test Case¶
customer number | status |
---|---|
01700000 | Success |
01700002 | Failed |
01700003 | Processing then Success |
01700004 | Processing then Failed |
Success Example¶
Request¶
Example above give the response Success
Response¶
Response
R=ref123456 Code=maxis10.01700000 Price=RM 10.12 SUCCESS. SN:1234567890. Balance=RM 4,989.88.Tele:@telegram Wa:01700000.
Failed Example¶
Request¶
Example above give the response Failed
Response¶
Response
R=ref123456 Code=maxis10.01700002 Price=RM 10.12 FAILED. Balance=RM 5,000.00. Reason=Wrong Number.Tele:@telegram Wa:01700000.
Processing then Success Example¶
Request¶
Example above give the response Processing
Response¶
Response
R=ref123456 Code=maxis10.01700003 PROCESSING. Balance=RM 4,989.88.Tele:@telegram Wa:01700000.
Due to prior processing status, then, our server will send Success response to your report/webhook url.
Report¶
Report
https://url-mitra.com/report?serverid=random-trx-id&clientid=ref123456&statuscode=1&sku_code=maxis10&msisdn=01700003&sn=1234567890&msg=R=ref123456 Code=maxis10.01700003 Price=RM 10.12 SUCCESS. SN:1234567890. Balance=RM 4,989.88.Tele:@telegram Wa:0170000002.
Processing then Failed Example¶
Request¶
Example above give the response Processing
Response¶
Response
R=ref123456 Code=maxis10.01700004 PROCESSING. Balance=RM 4,989.88.Tele:@telegram Wa:01700000.
Due to prior processing status, then, our server will send Failed response to your report/webhook url.
Report¶
Report
https://url-mitra.com/report?serverid=random-trx-id&clientid=ref123456&statuscode=2&sku_code=maxis10&msisdn=01700004&sn=&msg=R=ref123456 Code=maxis10.01700004 Price=RM 10.12 FAILED. Balance=RM 4,989.88. Reason=Wrong Number.Tele:@telegram Wa:0170000002.