(No direct script access allowed) {"header":{"authorization":"############...*...secret...*...############","accept":["application\/json, application\/cbor, application\/*+json"],"content-type":["application\/json"],"user-agent":["Java\/17.0.6"],"host":["nsirs.nownowpay.com.ng"],"connection":["keep-alive"]},"method":"GET","url":"https:\/\/nsirs.nownowpay.com.ng\/integrator\/public\/api\/services\/states","_Service":"MasterAPI: get states","Request":{"time":"2023-12-03 13:25:09","data":[]},"Response":{"time":"2023-12-03 13:25:09","data":{"status":true,"response":[{"id":1,"slug":"edo_state","name":"Edo State"},{"id":2,"slug":"niger_state","name":"Niger State"}],"message":"States fetched successfully"}},"extra":null} {"header":{"authorization":"############...*...secret...*...############","accept":["application\/json, application\/cbor, application\/*+json"],"content-type":["application\/json"],"user-agent":["Java\/17.0.6"],"host":["nsirs.nownowpay.com.ng"],"connection":["keep-alive"]},"method":"GET","url":"https:\/\/nsirs.nownowpay.com.ng\/integrator\/public\/api\/services\/state-services\/1","_Service":"MasterAPI: get state services","Request":{"time":"2023-12-03 13:25:13","data":[]},"Response":{"time":"2023-12-03 13:25:13","data":{"status":true,"response":[{"id":1,"slug":"ewallet","name":"EWallet","state_id":1}],"message":"State services fetched successfully"}},"extra":null} {"header":{"authorization":"############...*...secret...*...############","accept":["application\/json, application\/cbor, application\/*+json"],"content-type":["application\/json"],"user-agent":["Java\/17.0.6"],"host":["nsirs.nownowpay.com.ng"],"connection":["keep-alive"]},"method":"GET","url":"https:\/\/nsirs.nownowpay.com.ng\/integrator\/public\/api\/services\/state-services\/2","_Service":"MasterAPI: get state services","Request":{"time":"2023-12-03 13:25:15","data":[]},"Response":{"time":"2023-12-03 13:25:15","data":{"status":true,"response":[{"id":2,"slug":"niswasec","name":"Niger State Water & Sewage Corporation","state_id":2}],"message":"State services fetched successfully"}},"extra":null} Integrator Log===== Headers: {"Accept":"application\/json","Content-Type":"application\/json","Authorization":"Basic 6279ec090dfd89608ba93b8d133177830571442825913d6c2f5a633022c1099b"} Request: [] Response: {"status":true,"response":{"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRfaWQiOjEsInVzZXJfaWQiOjIsImVtYWlsIjoibWVyY2hhbnQtaW50ZWdyYXRvckBteW5pZ2VyLm5nIiwiaGFzaCI6IjU4NTQ2NzU4NmI3MjZjMzE3NTZlNjQ2NTY2Njk2ZTY1NjQ2ZjUzNGY3NTM0NTc1NTc1NmU2NDY1NjY2OTZlNjU2NDUyNzU3ODY1Njk0NTU0Nzc0MTMxNGM3NzdhNzUzMiIsImlhdCI6MTcwMTYxMDQ5NCwiZXhwIjoxNzAxNjk2ODk0LCJpc3MiOiJOSVNXQVNFQyIsInN1YiI6Ik5JU1dBU0VDX0pXVCJ9.qbiyo3RtY1x7VzXxzOnu1EzZAPPRE3UbLgmv2MLMvX1oqqc-eTLOJ4iNGHX73Xh1wsnFXsu35Pfab9LbAmm0P6WmD7NXhl3YMC6EhzAD_MvJolmUbq1zbeYywVN3EiHTTrlh102j4zpy0DPD2-lxpxLPOA2hJNAx-7e9k4IU0FHySHCFH9GIfwjIveRHn3J_s4AGehy2gFrH0AWiAKq-OmtJjBMyMKFxHbZSABM8T63PwjI0K1Lkgv35P4b3M39tzRtZdLuGXF_dtZZTo8epsyzWj6s96YkTf_b-8uQ3_F3YlqfMldkkX3wyWD3r9wmUYP-ygHaGyUKVcnqwml1eOA","token_type":"Bearer","expires_at":1440000,"merchant":{"merchantId":"INTEGRATORAPPLICATIONSERVICE152JRZ","name":"Integrator Application Service"}},"message":"Login successfully"} Response Message: Login successfully Date: 2023-12-03 13:30:37 ==================================================================================================== Integrator Log===== Headers: {"Accept":"application\/json","Content-Type":"application\/json","Authorization":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRfaWQiOjEsInVzZXJfaWQiOjIsImVtYWlsIjoibWVyY2hhbnQtaW50ZWdyYXRvckBteW5pZ2VyLm5nIiwiaGFzaCI6IjU4NTQ2NzU4NmI3MjZjMzE3NTZlNjQ2NTY2Njk2ZTY1NjQ2ZjUzNGY3NTM0NTc1NTc1NmU2NDY1NjY2OTZlNjU2NDUyNzU3ODY1Njk0NTU0Nzc0MTMxNGM3NzdhNzUzMiIsImlhdCI6MTcwMTYxMDQ5NCwiZXhwIjoxNzAxNjk2ODk0LCJpc3MiOiJOSVNXQVNFQyIsInN1YiI6Ik5JU1dBU0VDX0pXVCJ9.qbiyo3RtY1x7VzXxzOnu1EzZAPPRE3UbLgmv2MLMvX1oqqc-eTLOJ4iNGHX73Xh1wsnFXsu35Pfab9LbAmm0P6WmD7NXhl3YMC6EhzAD_MvJolmUbq1zbeYywVN3EiHTTrlh102j4zpy0DPD2-lxpxLPOA2hJNAx-7e9k4IU0FHySHCFH9GIfwjIveRHn3J_s4AGehy2gFrH0AWiAKq-OmtJjBMyMKFxHbZSABM8T63PwjI0K1Lkgv35P4b3M39tzRtZdLuGXF_dtZZTo8epsyzWj6s96YkTf_b-8uQ3_F3YlqfMldkkX3wyWD3r9wmUYP-ygHaGyUKVcnqwml1eOA"} Request: {"invoice_number":"1967528021"} Response: {"status":true,"response":{"name":"HRX Test Gour","email":"hrxtest@gmail.com","consumer_reference":"CT163677","taxpayer_id":"IND65325918","consumer_category":"Individual","consumer_sub_category":"Domestic","phone":"07011122189","date_created":"2023-12-03T13:30:02.000Z","invoice_number":"1967528021","connection_address":"hjdsh438834893","contract_id":"CDD193569","dpc":"25-17-02239-163677","tariff":"UnMetered","sub_tariff":"Flat Rate","computation_type":"Fixed","billing_cycle":"One Off","description":"Water Bill Payment","request_reference":1395785759,"pending_amount":1000,"amount_paid":0,"invoice_items":[{"item_id":87,"amount":1000,"name":"Water Usage Bill"}],"part_payment_enabled":true},"message":"Invoice generated and fetched successfully"} Response Message: Invoice generated and fetched successfully Date: 2023-12-03 13:30:38 ==================================================================================================== {"header":{"authorization":"############...*...secret...*...############","accept":["application\/json, application\/cbor, application\/*+json"],"content-type":["application\/json"],"user-agent":["Java\/17.0.6"],"host":["nsirs.nownowpay.com.ng"],"connection":["keep-alive"],"content-length":["53"]},"method":"POST","url":"https:\/\/nsirs.nownowpay.com.ng\/integrator\/public\/api\/services\/get-invoice?invoice_number=1967528021&service=2&state=2","_Service":"settleBill: get invoice","Request":{"time":"2023-12-03 13:30:38","data":{"invoice_number":"1967528021","service":2,"state":2}},"Response":{"time":"2023-12-03 13:30:38","data":{"status":true,"response":{"name":"HRX Test Gour","email":"hrxtest@gmail.com","consumer_reference":"CT163677","taxpayer_id":"IND65325918","consumer_category":"Individual","consumer_sub_category":"Domestic","phone":"07011122189","date_created":"2023-12-03T13:30:02.000Z","invoice_number":"1967528021","connection_address":"hjdsh438834893","contract_id":"CDD193569","dpc":"25-17-02239-163677","tariff":"UnMetered","sub_tariff":"Flat Rate","computation_type":"Fixed","billing_cycle":"One Off","description":"Water Bill Payment","request_reference":1395785759,"pending_amount":1000,"amount_paid":0,"invoice_items":[{"item_id":87,"amount":1000,"name":"Water Usage Bill"}],"part_payment_enabled":true},"message":"Invoice fetched successfully"}},"extra":null}