{"info":{"_postman_id":"bccac1e3-04c2-436e-b189-d68fa53713ee","name":"PayID","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"15741196","collectionId":"bccac1e3-04c2-436e-b189-d68fa53713ee","publishedId":"UVJcnxPc","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-11-30T08:28:56.000Z"},"item":[{"name":"Create","event":[{"listen":"prerequest","script":{"id":"c257519f-a196-417b-8554-e9a3f762a262","exec":["var apiPassphrase = pm.environment.get(\"apiPassphrase\");;\r","\r","postman.setEnvironmentVariable(\"hmac\", CryptoJS.HmacSHA256(request.data, apiPassphrase).toString(CryptoJS.digest));"],"type":"text/javascript"}}],"id":"d9f579e0-aa94-4292-9cba-2e99b38e150f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"MW-APIKEY","value":"{{apiKey}}","type":"text"},{"key":"MW-MERCHANTID","value":"{{merchantUUID}}","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"payId\": {\r\n\t\t\"email\": \"tony\"\r\n\t},\r\n\t\"name\": \"Tony Stark\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid","description":"<p>Used to register a new PayID with NPP. Currently only email PayIDs are supported.</p>\n<p>You can submit the user portion of the email, and a PayID using Merchant Warrior's domain will be generated for you.</p>\n<p>You can also use your own domain, but it must be approved my Merchant Warrior in advance. If using this option, submit the full email to use (eg. <a href=\"mailto:user@domain.com\">user@domain.com</a>).</p>\n","urlObject":{"path":["npp","payid"],"host":["{{apiURL}}"],"query":[],"variable":[]}},"response":[{"id":"37e401bf-6f0a-41fa-9bb2-ccf80b2aaac1","name":"Success","originalRequest":{"method":"POST","header":[{"key":"MW-APIKEY","value":"{{apiKey}}","type":"text"},{"key":"MW-MERCHANTID","value":"{{merchantUUID}}","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"payId\": {\r\n\t\t\"email\": \"tony\"\r\n\t},\r\n\t\"name\": \"Tony Stark\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 02 Dec 2021 03:13:32 GMT"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6InQxeXRJc1c4dDlNZ2sxb09cL2s4ZjB3PT0iLCJ2YWx1ZSI6ImU2UzNjTDF6ZmVoa25YUWQ2RmxlM2h6ek1FSUxXSlFNWVBIZXVPbDJIcEsxbUhUZ1lLbmY5U0tNWFY2OTJKNGpITDFrSFBXS3c4U1M5bGUyanh6c2NnPT0iLCJtYWMiOiI2ODgxMzBkMDE4YjI5Y2MxOGUxMTU2ZWNkMDA3YjljYWUxOWI5NzBjOWI1YWJjNzc3MTNiMGYxNzk3NzgwNDJiIn0%3D; expires=Thu, 02-Dec-2021 05:13:32 GMT; Max-Age=7200; path=/; secure"},{"key":"Set-Cookie","value":"laravel_session=eyJpdiI6ImM1SmZDckQyQU0yVEZjbWRlXC9EQVV3PT0iLCJ2YWx1ZSI6ImswTlNVcFA0Z3BsWGZpbXNaY0xPd25namZoam90eDdaUUs4Q0tSR000Z2ppR1ErMFwvZ0p6OFk2STBkTklcL01iOVVib2M2R0F4dFZEalJPdGFNQnpSdGc9PSIsIm1hYyI6Ijg3MTI3N2FhNDk1Y2I1NjRlNmZkNTliMjU1MDEyZjk2NGNlYThiMDhjNmQ2MzAyNjM0MWRiNzNkMGZlZmE1YTEifQ%3D%3D; expires=Thu, 02-Dec-2021 05:13:32 GMT; Max-Age=7200; path=/; secure; httponly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"0\",\n    \"responseMessage\": \"Operation successful\",\n    \"payId\": \"tony_9975160@sandbox.payby.id\"\n}"}],"_postman_id":"d9f579e0-aa94-4292-9cba-2e99b38e150f"},{"name":"Transaction","event":[{"listen":"prerequest","script":{"id":"7d7ff66d-84d1-4660-848f-70bed0cf45bc","exec":["var apiPassphrase = \"hvnyd7bt\";\r","\r","postman.setEnvironmentVariable(\"hmac\", CryptoJS.HmacSHA256(request.data, apiPassphrase).toString(CryptoJS.digest));"],"type":"text/javascript"}}],"id":"eb0b4c18-bd84-4d54-a127-8d469c68725d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"MW-APIKEY","value":"lrppd81y","type":"text"},{"key":"MW-MERCHANTID","value":"52e738c566ad6","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"payId\": \"tony_7991788@merchantwarrior.com\",\r\n\t\"amount\": \"1200.00\",\r\n\t\"reference\": \"this is the reference\",\r\n\t\"description\": \"this is the description\",\r\n\t\"customer\": {\r\n\t\t\"name\": \"Pepper Potts\",\r\n\t\t\"accountName\": \"Stark Enterprises Pty Ltd\",\r\n\t\t\"bsb\": \"804-990\",\r\n\t\t\"accountNumber\": \"666661\"\r\n\t}\r\n}","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid/transaction","description":"<p>The entire customer property is optional, and if not supplied, dummy data will be inserted for the user. This endpoint is only for use in the sandbox environment, and will be rejected in production.</p>\n","urlObject":{"path":["npp","payid","transaction"],"host":["{{apiURL}}"],"query":[],"variable":[]}},"response":[{"id":"80180efd-fb3c-4bea-912e-9aa25457b505","name":"Success","originalRequest":{"method":"POST","header":[{"key":"MW-APIKEY","value":"lrppd81y","type":"text"},{"key":"MW-MERCHANTID","value":"52e738c566ad6","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"payId\": \"tony_7991788@merchantwarrior.com\",\r\n\t\"amount\": \"12.00\",\r\n\t\"reference\": \"this is the reference\",\r\n\t\"description\": \"this is the description\",\r\n\t\"customer\": {\r\n\t\t\"name\": \"Pepper Potts\",\r\n\t\t\"accountName\": \"Stark Enterprises Pty Ltd\",\r\n\t\t\"bsb\": \"123-456\",\r\n\t\t\"accountNumber\": \"456789\"\r\n\t}\r\n}","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid/transaction"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 01 Dec 2021 06:13:48 GMT"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6InhiT0RnVUZMUndsSldKRXk5RmdVc3c9PSIsInZhbHVlIjoiREJcL2ZnM3Y4VWoxNHVWU0hcL0RFSkdcL2pacG5ITHgyQzJnK2tFOVlQNDJNdGE0ZzVZcWlmdjdmMDVjUzU4QXBQWGlkeFo4SWk5QzNQUTVFOGFrcEQ1WHc9PSIsIm1hYyI6Ijk2NGExYjIyNzU0YWNlYWI1YmYxMjNhM2YyN2MzODYwODk1MTkzODRhYzY4MjcyZTc1ZGRkOTMxZGZjYzc5ODMifQ%3D%3D; expires=Wed, 01-Dec-2021 08:13:48 GMT; Max-Age=7200; path=/; secure"},{"key":"Set-Cookie","value":"laravel_session=eyJpdiI6IjRWWHBYekFpTkRmZ3MrZ2xlS0RCOVE9PSIsInZhbHVlIjoibHRDR0VkVTlGVE5xaUt2cXQzdWhWMUxHQUF3ZVArY2VyZGdlVlZxZXladjBjS0ZVMncxM3QxK0pPeXhzeTJod2ZodTZSTzhWTmJPN040bU9tY3RDT0E9PSIsIm1hYyI6IjE2NmM4OGI1NGU0NjE0ZDM1MDg0NDJlZmQ0YmY4YjQyNTA5M2ViMzE2ZjA0NzE1YTY4OWFiN2VjZTc3Y2RjOTMifQ%3D%3D; expires=Wed, 01-Dec-2021 08:13:48 GMT; Max-Age=7200; path=/; secure; httponly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"0\",\n    \"responseMessage\": \"Operation successful\"\n}"},{"id":"dfa0eb8c-93a8-4a79-8071-f1292fb8bfbc","name":"Notify","originalRequest":{"method":"POST","header":[{"key":"MW-APIKEY","value":"lrppd81y","type":"text"},{"key":"MW-MERCHANTID","value":"52e738c566ad6","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"payId\": \"tony_7991788@merchantwarrior.com\",\r\n\t\"amount\": \"12.00\",\r\n\t\"reference\": \"this is the reference\",\r\n\t\"description\": \"this is the description\",\r\n\t\"customer\": {\r\n\t\t\"name\": \"Pepper Potts\",\r\n\t\t\"accountName\": \"Stark Enterprises Pty Ltd\",\r\n\t\t\"bsb\": \"123-456\",\r\n\t\t\"accountNumber\": \"456789\"\r\n\t}\r\n}","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid/transaction"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"payId\": \"tony_7991788@merchantwarrior.com\",\n    \"reference\": \"this is the reference\",\n    \"description\": \"this is the description\",\n    \"transaction\": {\n        \"amount\": \"12.00\",\n        \"status\": \"approved\",\n        \"transactionId\": \"1500-71297b07-53ee-11ec-abd4-005056b209e0\"\n    },\n    \"customer\": {\n        \"name\": \"Pepper Potts\",\n        \"bsb\": \"123-456\",\n        \"accountNumber\": \"456789\",\n        \"accountName\": \"Stark Enterprises Pty Ltd\"\n    },\n\t\"sanctions\": {\n\t\t\"abn\": \"12345432123\",\n\t\t\"address\": {\n\t\t\t\"lines\": [\n\t\t\t\t\"1 Margaret Street\"\n\t\t\t],\n\t\t\t\"type\": \"ADDR\",\n\t\t\t\"buildingNumber\": 1,\n\t\t\t\"country\": \"AU\",\n\t\t\t\"state\": \"NSW\",\n\t\t\t\"department\": \"NPP\",\n\t\t\t\"postcode\": \"2000\",\n\t\t\t\"streetName\": \"1 Magaret Street\",\n\t\t\t\"subDepartment\": \"NPP Payments\",\n\t\t\t\"city\": \"Wynyard\"\n\t\t},\n\t\t\"dateOfCorporation\": \"2001-01-01\",\n\t\t\"placeOfCorporation\": \"Australia\"\n  }\n}"}],"_postman_id":"eb0b4c18-bd84-4d54-a127-8d469c68725d"},{"name":"Get","event":[{"listen":"prerequest","script":{"id":"3ddce351-eace-47c2-847d-e35fa265ba37","exec":["var apiPassphrase = \"hvnyd7bt\";\r","var body = pm.request.method == \"GET\" ? \"\" : request.data;\r","\r","postman.setEnvironmentVariable(\"hmac\", CryptoJS.HmacSHA256(body, apiPassphrase).toString(CryptoJS.digest));"],"type":"text/javascript"}}],"id":"a58d61e2-274a-49ca-9a12-1f2a7da9bcfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"MW-APIKEY","value":"lrppd81y","type":"text"},{"key":"MW-MERCHANTID","value":"52e738c566ad6","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid/{{payId}}","description":"<p>Retrieve a single specific PayID.</p>\n","urlObject":{"path":["npp","payid","{{payId}}"],"host":["{{apiURL}}"],"query":[],"variable":[]}},"response":[{"id":"ff2169ba-c558-4e88-8146-73aed01ac149","name":"Success","originalRequest":{"method":"GET","header":[{"key":"MW-APIKEY","value":"lrppd81y","type":"text"},{"key":"MW-MERCHANTID","value":"52e738c566ad6","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"},{"key":"MW-API-VERSION","value":"2.0","type":"text","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid/{{payId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 02 Dec 2021 04:15:59 GMT"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IlcrRUVjbXdKYUQ1MUVLS0lWcGZsaGc9PSIsInZhbHVlIjoiM2owaUtra3FBQVdQNkwwVm9mQzVldWR2WFkxd1pheDU1Szl2QlRxUlpoYU0wK0VFeDdoRlwvYVBPZytua3RYdnpTT1wvRnNEWk9iRmIzTmV0Rk9OVkFPdz09IiwibWFjIjoiM2RjZjA1ZTA4ZTY5MTU5OWIwYWU3ODM3MDZmODQyNDBiYjk2YzFmOTE5ODEwNTNiZWU5ODk2OWJhNWM4MjYwOSJ9; expires=Thu, 02-Dec-2021 06:15:59 GMT; Max-Age=7200; path=/; secure"},{"key":"Set-Cookie","value":"laravel_session=eyJpdiI6ImVCdnJINzJPMTY1TUhSZWJQYUV5Q1E9PSIsInZhbHVlIjoiSnA2NEphSlZPQjd1dGhYUFdoZyttcm5VbEpzQ2dYNFwvV2RcL2lzRmdtaE1NYzJ2WmQ4VmJBMmZMcjI2R0JEV2JvMkJ1eUFyT2ZLQms0TWJUUHBHdjE3UT09IiwibWFjIjoiYzFkZThiZGYwOWI5NTcyZDAwMDYxMDU3ZWNjMzkyNjFmNmM3OGUwYmIzYWJiODBhNzNhMWMxYmNlYjcwYWVjZCJ9; expires=Thu, 02-Dec-2021 06:15:59 GMT; Max-Age=7200; path=/; secure; httponly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"0\",\n    \"responseMessage\": \"Operation successful\",\n    \"result\": {\n        \"name\": \"Paul McLeannnnnn\",\n        \"payId\": \"paul_7272922@sandbox.payby.id\",\n        \"status\": \"Enabled\"\n    }\n}"}],"_postman_id":"a58d61e2-274a-49ca-9a12-1f2a7da9bcfb"},{"name":"Update","event":[{"listen":"prerequest","script":{"id":"d814d380-83ec-4af9-aa68-a4af74693370","exec":["var apiPassphrase = \"hvnyd7bt\";\r","\r","postman.setEnvironmentVariable(\"hmac\", CryptoJS.HmacSHA256(request.data, apiPassphrase).toString(CryptoJS.digest));"],"type":"text/javascript"}}],"id":"ca84f3da-13bd-4ec5-a1c5-319236d254ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"MW-APIKEY","value":"lrppd81y","type":"text"},{"key":"MW-MERCHANTID","value":"52e738c566ad6","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"name\": \"Bruce Banner\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid/tony@merchantwarrior.com","description":"<p>Update the name associated with a PayID.</p>\n","urlObject":{"path":["npp","payid","tony@merchantwarrior.com"],"host":["{{apiURL}}"],"query":[],"variable":[]}},"response":[{"id":"2befe431-adf1-4d5a-9d2c-accf5f840097","name":"Update","originalRequest":{"method":"PUT","header":[{"key":"MW-APIKEY","value":"lrppd81y","type":"text"},{"key":"MW-MERCHANTID","value":"52e738c566ad6","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"name\": \"Bruce Banner\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid/tony_7991788@merchantwarrior.com"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 02 Dec 2021 03:13:22 GMT"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IkRsZXFRUmdpdjlGcStTXC9ITlZRbVlBPT0iLCJ2YWx1ZSI6InhcL1VXTWw0U1YyWEpqNEVJM1wvakVJZ29OZkNKZGV1SlZNMGZXc2JVcXJYOCs5MGdqY1U4cWNxbkIxN1BOR3J2dUZuQkRuM01aNWVCZVo0ZFEyMSt1WEE9PSIsIm1hYyI6IjhlNmNlMmU2OTQ5ZDcxZGQ1ZDY3MzI5ZDJlN2Q1ZGJmNDc4ODg0ZGI2NzUyYWE2M2FlYWY4N2QyY2EzZTJmNWYifQ%3D%3D; expires=Thu, 02-Dec-2021 05:13:22 GMT; Max-Age=7200; path=/; secure"},{"key":"Set-Cookie","value":"laravel_session=eyJpdiI6IkRjVXJLM0lHYksyN0pkUnRJQzNWZ0E9PSIsInZhbHVlIjoiVThIYTViRWV4dmNPeEl4c2UyRG9HNTd6Z1RJUWFkMlBuTXBoOFJoMDJcL3BxK2VZWGNjdk1yUGtOT2hFUG02MjYxVHAwcWFtMUphRXZ3cW9lbVdcL2xsUT09IiwibWFjIjoiY2M3OGZiYmNlZjE0MzU3MjZiZDEwZTdkZDkxZmZjOTE3YWM0MTM1NTcyMzc5OWVjY2QzMGNkNmM4MjU4M2ZhMCJ9; expires=Thu, 02-Dec-2021 05:13:22 GMT; Max-Age=7200; path=/; secure; httponly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"0\",\n    \"responseMessage\": \"Operation successful\",\n    \"result\": {\n        \"name\": \"Bruce Banner\",\n        \"payId\": \"tony_7991788@sandbox.payby.id\",\n        \"status\": \"Enabled\"\n    }\n}"}],"_postman_id":"ca84f3da-13bd-4ec5-a1c5-319236d254ee"},{"name":"Status","event":[{"listen":"prerequest","script":{"id":"3a4a6ee8-c82d-4d76-843b-8e14cce2eb4b","exec":["var apiPassphrase = \"hvnyd7bt\";\r","\r","postman.setEnvironmentVariable(\"hmac\", CryptoJS.HmacSHA256(request.data, apiPassphrase).toString(CryptoJS.digest));"],"type":"text/javascript"}}],"id":"a230c8eb-f63c-4b15-b9e7-ada093d347b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"MW-APIKEY","value":"lrppd81y","type":"text"},{"key":"MW-MERCHANTID","value":"52e738c566ad6","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"status\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid/tony@merchantwarrior.com/status","description":"<p>Update a PayID's status.</p>\n<p>Statuses</p>\n<ol>\n<li>Enable</li>\n<li>Disable</li>\n<li>Deregister</li>\n<li>Port</li>\n</ol>\n","urlObject":{"path":["npp","payid","tony@merchantwarrior.com","status"],"host":["{{apiURL}}"],"query":[],"variable":[]}},"response":[{"id":"36594cca-ccc0-4850-a82e-4ca7eb2f3af7","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"MW-APIKEY","value":"lrppd81y","type":"text"},{"key":"MW-MERCHANTID","value":"52e738c566ad6","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"status\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid/tony_7991788@merchantwarrior.com/status"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 02 Dec 2021 03:13:10 GMT"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IlY1RnZ5YUJxdDVwVzBJUXgzSlZOUGc9PSIsInZhbHVlIjoic29HNWlNSVRkZFEwZ09zblNhWFQrb1pXU3pkTTY3NjdsNUkycnBDMDg5K1hEVTdWSDlNQTY1ZWl6VUVIbTNWY0gxSmxHSzJ0SnZEbm9pUDNpZXk1dXc9PSIsIm1hYyI6ImZhNzkwYTM2NTVjNmZkYTcwNmViMjhhNDgwNDc4YjIxNzNiMjgyZDk2ZjFlNTJmNTUxYzExZDlhYWI5MjE4ZTMifQ%3D%3D; expires=Thu, 02-Dec-2021 05:13:10 GMT; Max-Age=7200; path=/; secure"},{"key":"Set-Cookie","value":"laravel_session=eyJpdiI6InZZQzhnV0NydVFGZlVWcDVsYkRcL3RnPT0iLCJ2YWx1ZSI6IlE3TmVTQ3lOb2dhUWVEdDBcL0ZLMDZVQ2diOWNTVzMySGswM1AwS0llaGRUMTZYRXFiMFkzU2lDTmNkaVl4SXA5QWdXVVBPc3RqUkpnMzhaRXhkVU95QT09IiwibWFjIjoiYzE4MzQ0MmUxYjYxOTNjNWMzMDRmYjc5NTU2YzE1NWY3ODMwZTRmNTZmMjBmYzI4OTIzZjA1MGJiNTQyZmQ1YSJ9; expires=Thu, 02-Dec-2021 05:13:10 GMT; Max-Age=7200; path=/; secure; httponly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"0\",\n    \"responseMessage\": \"Operation successful\",\n    \"result\": {\n        \"name\": \"Bruce Banner\",\n        \"payId\": \"tony_7991788@sandbox.payby.id\",\n        \"status\": \"Enabled\"\n    }\n}"}],"_postman_id":"a230c8eb-f63c-4b15-b9e7-ada093d347b3"},{"name":"List","event":[{"listen":"prerequest","script":{"id":"dfe15891-ebcc-4059-9d59-41f763595f3f","exec":["var apiPassphrase = \"hvnyd7bt\";\r","var body = pm.request.method == \"GET\" ? \"\" : request.data;\r","\r","postman.setEnvironmentVariable(\"hmac\", CryptoJS.HmacSHA256(body, apiPassphrase).toString(CryptoJS.digest));"],"type":"text/javascript"}}],"id":"58e8c00c-01e8-45d3-a9bb-8ef08c3d15ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"MW-APIKEY","value":"lrppd81y","type":"text"},{"key":"MW-MERCHANTID","value":"52e738c566ad6","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid","description":"<p>Retrieve a list of all PayIDs associated with your account.</p>\n","urlObject":{"path":["npp","payid"],"host":["{{apiURL}}"],"query":[],"variable":[]}},"response":[{"id":"3f1dc426-f3ae-4834-9a5a-c71de380e93f","name":"Success","originalRequest":{"method":"GET","header":[{"key":"MW-APIKEY","value":"lrppd81y","type":"text"},{"key":"MW-MERCHANTID","value":"52e738c566ad6","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"},{"key":"MW-API-VERSION","value":"2.0","type":"text","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/payid"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 02 Dec 2021 04:15:50 GMT"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6ImhZM05qYWVOK0V3eEh3MkJwMjdtT2c9PSIsInZhbHVlIjoiTVd5enJYaWxuYkxTK0hIQW0zaHNYWVY4RDA1T1pMTklcL0dUdzZ2YU5UMmtlcUZlSlRvRzBNcnBRc3ZmMWxsN2dYY3VhVWhmaU02aFFJbUlsanhET21nPT0iLCJtYWMiOiJhOWZjMDg4NzU3YTVhODQ2ZTNmM2IzMTQ4MDQ0ZGE0OGVjNTNkM2E4NjJkOTAzOWVhNGY5NWI4NGEyYTY3OGFhIn0%3D; expires=Thu, 02-Dec-2021 06:15:50 GMT; Max-Age=7200; path=/; secure"},{"key":"Set-Cookie","value":"laravel_session=eyJpdiI6Ikp0MksycFVlbmViXC8wXC9Ca2pVMTN3dz09IiwidmFsdWUiOiJhT2RQN1A3aTRYUm5rVkVwcmRYM25aMGZTTkJxaGpJb2xlWkhUYkcxSUVaNmY0VEt6SVNOaW00QU1cL1VyQmpITEptVHVIY1VtT04rM0RiSXZENHVwY1E9PSIsIm1hYyI6IjdiMWM4MjY1ODBjNzkxMTA3ODRlOTU4ZWIyNmU5ODVlZTE2NDJiMmM5ZjJkMGIwYmQ2MGRlZmQ5MjFmMTJlMDQifQ%3D%3D; expires=Thu, 02-Dec-2021 06:15:50 GMT; Max-Age=7200; path=/; secure; httponly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"0\",\n    \"responseMessage\": \"Operation successful\",\n    \"results\": [\n        {\n            \"name\": \"Paul McLeannnnnn\",\n            \"payId\": \"paul@sandbox.payby.id\",\n            \"status\": \"Enabled\"\n        },\n        {\n            \"name\": \"Paul McLean\",\n            \"payId\": \"paul@sandbox.payby.id\",\n            \"status\": \"Enabled\"\n        },\n        {\n            \"name\": \"Paul McLean\",\n            \"payId\": \"paul@sandbox.payby.id\",\n            \"status\": \"Enabled\"\n        },\n        {\n            \"name\": \"Paul McLeannnnnn\",\n            \"payId\": \"paul2@somethingelse.com\",\n            \"status\": \"Enabled\"\n        },\n        {\n            \"name\": \"Paul McLean\",\n            \"payId\": \"paul3@somethingelse.com\",\n            \"status\": \"Enabled\"\n        },\n        {\n            \"name\": \"Paul McLean\",\n            \"payId\": \"paul@sandbox.payby.id\",\n            \"status\": \"Enabled\"\n        },\n        {\n            \"name\": \"Paul McLean\",\n            \"payId\": \"paul20211125001@sandbox.payby.id\",\n            \"status\": \"Enabled\"\n        },\n        {\n            \"name\": \"Paul McLean\",\n            \"payId\": \"paul\",\n            \"status\": \"Enabled\"\n        },\n        {\n            \"name\": \"Paul McLeannnnnn\",\n            \"payId\": \"paul_8385647@sandbox.payby.id\",\n            \"status\": \"Enabled\"\n        },\n        {\n            \"name\": \"Paul McLeannnnnn\",\n            \"payId\": \"paul_7272922@sandbox.payby.id\",\n            \"status\": \"Enabled\"\n        },\n        {\n            \"name\": \"Bruce Banner\",\n            \"payId\": \"tony_7991788@sandbox.payby.id\",\n            \"status\": \"Enabled\"\n        },\n        {\n            \"name\": \"Tony Stark\",\n            \"payId\": \"tony_9975160@sandbox.payby.id\",\n            \"status\": \"Enabled\"\n        }\n    ]\n}"}],"_postman_id":"58e8c00c-01e8-45d3-a9bb-8ef08c3d15ff"},{"name":"Refund","event":[{"listen":"prerequest","script":{"id":"3525e616-5849-4493-8983-4c6550b15d90","exec":["var apiPassphrase = pm.environment.get(\"apiPassphrase\");\r","\r","var hash = CryptoJS.HmacSHA256(request.data, apiPassphrase).toString(CryptoJS.digest); \r","postman.setEnvironmentVariable(\"hmac\", hash);"],"type":"text/javascript"}}],"id":"1cc4802b-eb5a-4145-b78a-5bda93a4cee6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"MW-MERCHANTID","value":"{{merchantUUID}}","type":"text"},{"key":"MW-APIKEY","value":"{{apiKey}}","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"refundAmount\": \"10.00\",\r\n    \"description\": \"refund of order\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/{{transactionId}}/refund","urlObject":{"path":["npp","{{transactionId}}","refund"],"host":["{{apiURL}}"],"query":[],"variable":[]}},"response":[{"id":"38f85ff6-d8b1-4d87-b3b2-5c9ac62d9b8b","name":"Refund","originalRequest":{"method":"POST","header":[{"key":"MW-MERCHANTID","value":"{{merchantUUID}}","type":"text"},{"key":"MW-APIKEY","value":"{{apiKey}}","type":"text"},{"key":"MW-MESSAGEHASH","value":"{{hmac}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"refundAmount\": \"15.00\",\r\n    \"description\": \"refund of order\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{apiURL}}/npp/1500-2d38c5ff-0f08-11ed-93d3-005056b209e0/refund"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 29 Jul 2022 06:32:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"MW-MESSAGEHASH","value":"946af18b5485120aba191f74f434fe18738a76cae4d0779e32890cece5c2e4dc"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IlJSeFFVYzA1SjNVblhRTXBWWGVHTXc9PSIsInZhbHVlIjoidHphNWZZdDBMMDk2RDhcL2htYnczTjJGRWI0WDRIYW4zQnN3XC9hWU9DMWR3ckU1YmVkTUpvcHhEWGZPM1BvaUYrMUhrcHhyM0NVWlFoUU9rQUdLWDFQUT09IiwibWFjIjoiNzVjZjE1MTg0ODVjYWZkMWI4NDVjNzI1NDZmMTFkMzRiOWY1NjNkZmNiMjYwYzM0MTU1NTIzYTg5YjNiZjUyYSJ9; expires=Fri, 29-Jul-2022 08:32:45 GMT; Max-Age=7200; path=/; secure"},{"key":"Set-Cookie","value":"laravel_session=eyJpdiI6IjN0XC9XRW9BYnNJYXZZSmlDUEVLQmpRPT0iLCJ2YWx1ZSI6IlJlWktNMFN4ZjZNVCtjeTk5NnFkeVFHcE1qWGcwZ0dvMWlza1g2SE84ZjhkSk5ycVBrRU9kQzJ2dzdKUUVjWmozTlFOaElXUjBodVQ3bmFrdkVPcHJnPT0iLCJtYWMiOiJiMDg0NGEwYTk1ZjI1OGU3YjdjZWNiYmI4MzBlYmIxYjFiNmY5ZTQyNDJjMzFhMDA1NjhhZjkxYWQxYWZmYTc0In0%3D; expires=Fri, 29-Jul-2022 08:32:45 GMT; Max-Age=7200; path=/; secure; httponly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"0\",\n    \"responseMessage\": \"Operation successful\",\n    \"transactionID\": \"1500-41db83ef-0f08-11ed-93d3-005056b209e0\"\n}"}],"_postman_id":"1cc4802b-eb5a-4145-b78a-5bda93a4cee6"}]}