{"info":{"_postman_id":"84db868d-adc7-43d0-b21d-e0ad590941b2","name":"Snap Gateway (Internal Only))","description":"<html><head></head><body><h3 id=\"changelog\">Changelog</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Date</strong></th>\n<th><strong>Affected API</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>2024-06-20</td>\n<td>/otp</td>\n<td>Added OTP Feature</td>\n</tr>\n<tr>\n<td>2024-06-20</td>\n<td>/qr/qr-mpm-generate</td>\n<td>Change:  <br>add payload attribute <code>otp</code></td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"3548062","collectionId":"84db868d-adc7-43d0-b21d-e0ad590941b2","publishedId":"2sA3XV7JVC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-06-20T09:44:06.000Z"},"item":[{"name":"Security","item":[{"name":"Signature Auth","event":[{"listen":"test","script":{"id":"0afb5c2e-1729-43b2-8b13-f321e47aa27b","exec":["const jsonData = pm.response.json();","/* Or set environmental variable */","pm.environment.set(\"signatureAuth\", jsonData.signature);"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"d9c26baf-76dd-4cdf-9c7f-90ea83a08102","exec":[""],"type":"text/javascript","packages":{}}}],"id":"f129d9b5-581c-4193-965e-fb17ff54090a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2025-03-06T06:41:14+07:00","type":"text"},{"key":"X-CLIENT-KEY","value":"{{client_key}}","type":"text"},{"key":"Private_Key","value":"{{private_key}}","type":"text"}],"url":"{{HOST}}/utilities/signature-auth","description":"<h3 id=\"signature-authentication\">Signature Authentication</h3>\n<p>This endpoint allows you to authenticate a signature by sending a POST request to the specified URL.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>signature</code>: (text) The signature to be authenticated.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>Upon successful authentication, the response will include a status message confirming the signature authentication.<br />The response will have a status code of 200 and a content type of <code>application/json</code>. The response body will contain a JSON object with a key \"signature\" representing the authenticated signature.</p>\n","urlObject":{"path":["utilities","signature-auth"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"91920f42-021f-4356-b7f3-953a5e9ca776","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2024-01-08T13:15:41+07:00","type":"text"},{"key":"X-CLIENT-KEY","value":"{{client_key}}","type":"text"},{"key":"Private_Key","value":"{{private_key}}","type":"text"}],"url":"{{HOST}}/utilities/signature-auth"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 09:14:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"T0FCNBtv87oSjZhDlRy5DNZ1Yil7MnhPPDZk5mMJN0Su6BjDsYS6Pgx3vdRwV4u9xNUKR5s3i0BrgBC1n61kNtNBhzHa+FTMFY9rgXXV6dzIts4fpbSCnmzADIEHMXn9lBK9Px+jvSsaufRaiASMPLejwzTW8zlahJDnWqQoYoOvK9ej9v/JJevB1EHdyz6RBufuDyzN9PsY6dL8ZJ7ZNGpv0qCC/koJkHp4e/tLQOAo2VmAQrquEfaiYhM2uUV59xsP5wg0vAUIilhTuTvgyesDY+2UuHGnp1GwaEz1XyfWy0lHkdMK/7ewr6WnB3xjhyAu2SaRoyuQHuD9IqssuQ==\"\n}"}],"_postman_id":"f129d9b5-581c-4193-965e-fb17ff54090a"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"6810adbb-92c3-4441-8826-7b2bc6a48e61","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"832da715-687c-41b6-9061-fe1b054a79aa","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"7ab4b2de-587a-4d61-a644-3e78211d6010","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"EndpointUrl","value":"/api/v1.0/registration-account-binding","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"2020102900000000000001\",\r\n    \"action\": \"otpLinkage\",\r\n    \"additionalData\": {\r\n        \"userId\": \"John Doe\",\r\n        \"email\": \"john.doe@email.com\",\r\n        \"postalAddress\": \"134346\"\r\n    },\r\n    \"authCode\": \"4b203fe6c11548bcabd8da5bb087a83b\",\r\n    \"grantType\": \"AUTHORIZATION_CODE\",\r\n    \"isBindAndPay\": \"N\",\r\n    \"lang\": \"EN\",\r\n    \"locale\": \"en_ID\",\r\n    \"merchantId\": \"00007100010926\",\r\n    \"subMerchantId\": \"310928924949487\",\r\n    \"msisdn\": \"+62812345678901\",\r\n    \"otp\": \"34564367\",\r\n    \"phoneNo\": \"081317120222\",\r\n    \"platformType\": \"app\",\r\n    \"redirectUrl\": \"merchantapp://main_page\",\r\n    \"referenceId\": \"08400000814-08400000814\",\r\n    \"refreshToken\": \"201208134b203fe6c11548bcabd8da5bb087a83b \",\r\n    \"successParams\": {\r\n        \"accountId\": \"ABCD1234-EF56-GH78-IJ90-KLMNOP123456\"\r\n    },\r\n    \"tokenRequestorId\": \"e-commerceA\",\r\n    \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\",\r\n        \"pin\" : \"123654\"\r\n    },\r\n    \"terminalId\": \"ID\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"54b6bf5f-bfda-434d-954f-ecea8d6ebcdf","name":"success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2020-01-01T00:00:00+07:00","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"EndpointUrl","value":"/api/v1.0/registration-account-binding","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"2020102900000000000001\",\r\n    \"action\": \"otpLinkage\",\r\n    \"additionalData\": {\r\n        \"userId\": \"John Doe\",\r\n        \"email\": \"john.doe@email.com\",\r\n        \"postalAddress\": \"134346\"\r\n    },\r\n    \"authCode\": \"4b203fe6c11548bcabd8da5bb087a83b\",\r\n    \"grantType\": \"AUTHORIZATION_CODE\",\r\n    \"isBindAndPay\": \"N\",\r\n    \"lang\": \"EN\",\r\n    \"locale\": \"en_ID\",\r\n    \"merchantId\": \"00007100010926\",\r\n    \"subMerchantId\": \"310928924949487\",\r\n    \"msisdn\": \"+62812345678901\",\r\n    \"otp\": \"34564367\",\r\n    \"phoneNo\": \"081317120222\",\r\n    \"platformType\": \"app\",\r\n    \"redirectUrl\": \"merchantapp://main_page\",\r\n    \"referenceId\": \"08400000814-08400000814\",\r\n    \"refreshToken\": \"201208134b203fe6c11548bcabd8da5bb087a83b \",\r\n    \"successParams\": {\r\n        \"accountId\": \"ABCD1234-EF56-GH78-IJ90-KLMNOP123456\"\r\n    },\r\n    \"tokenRequestorId\": \"e-commerceA\",\r\n    \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\",\r\n        \"pin\" : \"123654\"\r\n    },\r\n    \"terminalId\": \"ID\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 09:14:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"/Y7Y24JCJcIj828x4l0UOXFT+E8sJ+Y8VnbajzJ7lvSOfAy1KlylDw9rcVhEWLmVcoUa43Mp6gfTA4+ZWt+n1w==\"\n}"}],"_postman_id":"7ab4b2de-587a-4d61-a644-3e78211d6010"},{"name":"Access Token B2B","event":[{"listen":"test","script":{"id":"6a95b06c-5dae-4bd4-8e90-42626984e5e7","exec":["const jsonData = pm.response.json();\r","pm.environment.set(\"accessToken\", jsonData.accessToken);"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"5c429e62-9cd8-49e2-a237-cbec0b5d9d4b","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"5251a61e-03aa-4b5a-a279-0e2b790eda44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2025-03-06T06:41:14+07:00","type":"text"},{"key":"X-CLIENT-KEY","value":"{{client_key}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureAuth}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"grantType\" : \"client_credentials\"\r\n}"},"url":"{{HOST}}/access-token/b2b","description":"<h3 id=\"access-token-request-for-b2b\">Access Token Request for B2B</h3>\n<p>This endpoint allows the user to obtain an access token for business-to-business (B2B) operations.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>grantType</code> (string, required): Specifies the type of grant being requested.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON object with the following properties:</p>\n<ul>\n<li><p><code>responseCode</code> (string): The code indicating the status of the response.</p>\n</li>\n<li><p><code>accessToken</code> (string): The access token to be used for B2B operations.</p>\n</li>\n<li><p><code>tokenType</code> (string): The type of token being provided.</p>\n</li>\n<li><p><code>expiresIn</code> (integer): The duration of time in seconds for which the token is valid.</p>\n</li>\n<li><p><code>additionalInfo</code> (object): Additional information, if available.</p>\n</li>\n<li><p><code>responseMessage</code> (string): A message providing additional details about the response.</p>\n</li>\n</ul>\n<h4 id=\"json-schema\">JSON Schema</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"responseCode\": {\"type\": \"string\"},\n    \"accessToken\": {\"type\": \"string\"},\n    \"tokenType\": {\"type\": \"string\"},\n    \"expiresIn\": {\"type\": \"integer\"},\n    \"additionalInfo\": {\"type\": \"object\"},\n    \"responseMessage\": {\"type\": \"string\"}\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["access-token","b2b"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"7593200e-c8fe-4f6f-860f-eb386906cd9a","name":"success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2024-01-08T13:15:41+07:00","type":"text"},{"key":"X-CLIENT-KEY","value":"{{client_key}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureAuth}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"grantType\" : \"client_credentials\"\r\n}"},"url":"{{HOST}}/access-token/b2b"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 09:14:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"2007300\",\n    \"accessToken\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJaRkE4NUVOUFpmdm12VHhMQUc0QUdiaG42Ukk1WDlQVyIsImp0aSI6IjBiMDZhZWNkZDk2MWMxNzQwOTgzMzcyZGI5MjFhMjU1OGIwYTZjNWJjMzRiZjZhNjgxYWJjMjY2NjhjYzAyYTA3NDRlMTQzZTdjYWZkNTI0IiwiaWF0IjoxNzE5MjIwNDczLjMwNTU4LCJuYmYiOjE3MTkyMjA0NzMuMzA1NTg5LCJleHAiOjE3MTkyMjEzNzMuMzA0Nzc1LCJzdWIiOiIiLCJzY29wZXMiOltdfQ.I1GubsWym4EWcpFPqy7itYPtlvLhLMOhfLJC6VxYJfavxG1S_-VaQ-oo5b7EI1s4kvCpSXGz_pk6cMVZ5fYc_snt3JaU_HlA0_kNk338GdwBfoy5k8Opewq-zNaCd8mUD94PmPPqmIldifk1Df_hQMOuKWADkkXcs2wrYQ-Qxetd43prUdCXpJfuQhicjiYamjgwbQJz52c5JhXlWHpE8v-qabwogRbkMdqe2pMV3pFPrpGS0IeCCvsv-itDqCGPv9oE7EkcATGXhMYFWsEke9WaJZiGQX2u2MGMC-0RvqOBe31GbIGLGP09V8kuoc9YkvoqxwmH27vD_IUv6C-GzmywzoBBbUTo_PpKsKZMvq-yItsBLv8fsUm6amfuoSdIrDKU9dhFpOAGXTvwyCcsH8Kvs9r-OEdvyNuQwE-XjQ53ttPMrzFtpQBIGAMLXsv4wwxRSGbFhhMCffU6CsziVAODdoKd5Po1cNCBkciljT3nNfTGJ2qA5Of0Q4yySMsSBPO_rEFT-CguZ7R6pMx2MNtOBX3BgOZwzWV_jWI52IF3kjNYRQWj5dKvuF1p1vlH8fdeyhpVQpGTMZ-scr4dwHdvWJ3V5UcKrVWJADpQwEGYaSAmnaPgiqPraXy0Ry2Pe71MrjgZFkfHvxe5F7_hJ6RIq_ZIM6FcPMs3Mo7l0mE\",\n    \"tokenType\": \"Bearer\",\n    \"expiresIn\": 900,\n    \"additionalInfo\": null,\n    \"responseMessage\": \"Successfuly\"\n}"},{"id":"94bf7252-0609-416f-a6a3-199ecb6c0199","name":"Invalid merchant key","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2024-01-08T13:15:41+07:00","type":"text"},{"key":"X-CLIENT-KEY","value":"{{client_key}}X","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureAuth}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"grantType\" : \"client_credentials\"\r\n}"},"url":"{{HOST}}/access-token/b2b"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 09:14:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"67"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4017301\",\n    \"responseMessage\": \"Invalid Merchant Key\"\n}"}],"_postman_id":"5251a61e-03aa-4b5a-a279-0e2b790eda44"},{"name":"Access Token B2B2C","id":"ef598a23-baf9-47c0-8d3e-f3c5a5fd44f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-KEY","value":"{{client_key}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureAuth}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"grantType\" : \"authorization_code\",\r\n    \"authCode\" : \"def50200d959930894e5cb631d5f2bf799d4b61bf9597d071f71946138adab0fe0674324ab63472a3d076513f88de2d2c8a0a9c52cb06bcf9448e29a3a617b9c0827523821b6743471a1bdb87d7a992919e913933b2560168167d021a0c37629c80457fd23fe0331cd30c65d146c61936edc172b01ce064746a1a18990ccc8ee51417272295a4aca2120bf53457412aab6d07b0c3ad6053e3c71e82ea92026d6a9680f6a8ac9c0a574d9b7363a2ee044fe6a664e3da4aa6bc22e8818c65a071a85bcaf6ade14247fbc29dc33326669faf9812df0639b7f239f3fc67f5026de4141f49f68f3a7d210058ec6a0d2a89c171e20ce81e2f4f4bf82fe84e1cce2e88be2a9ed561b7fc753651886f59e2db21e00305ccddacca86f6dbb61864e1d656c273308a7a2b3025b56935f66a9f1dac7c0b8061846b3ab39682ec314f132c81f63ebe73b9f74bf38815191da1fe7152bca2aa01734f06437164416dbff852581934f65231501863b7ea521\",\r\n    \"refreshToken\": \"\"\r\n}"},"url":"{{HOST}}/access-token/b2b2c","description":"<p>B2B2C Access Token has 2 Grant Type : <code>refresh_token</code> and <code>authorization_code</code></p>\n<p>when grant type used <code>authorization_code</code> then params <code>authCode</code> is required</p>\n<p>when grant type used <code>refresh_token</code> then params <code>refreshToken</code> is required</p>\n","urlObject":{"path":["access-token","b2b2c"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef598a23-baf9-47c0-8d3e-f3c5a5fd44f3"}],"id":"ba26c131-510a-4684-a911-a8f35af46946","event":[{"listen":"prerequest","script":{"id":"69cfa495-e0cc-4dc2-9a41-35bb8ac0b296","type":"text/javascript","packages":{},"exec":["function formatCurrentDateTime(hoursToAdd=0) {","  const now = new Date();",""," // Add the specified hours to the current time","  now.setHours(now.getHours() + hoursToAdd);","","  const year = now.getFullYear();","  const month = String(now.getMonth() + 1).padStart(2, '0'); // Add leading zero for single-digit months","  const day = String(now.getDate()).padStart(2, '0'); // Add leading zero for single-digit days","  const hour = String(now.getHours()).padStart(2, '0'); // Add leading zero for single-digit hours","  const minute = String(now.getMinutes()).padStart(2, '0'); // Add leading zero for single-digit minutes","  const second = String(now.getSeconds()).padStart(2, '0'); // Add leading zero for single-digit seconds","","  // Get the timezone offset in hours (positive or negative)","  const timezoneOffset = now.getTimezoneOffset() / -60;","","  // Format the datetime string","  const formattedDatetime = `${year}-${month}-${day}T${hour}:${minute}:${second}+${Math.abs(timezoneOffset).toString().padStart(2, '0')}:${timezoneOffset < 0 ? '00' : '30'}`;","","  return formattedDatetime;","}","","pm.environment.set(\"X-TIMESTAMP\", formatCurrentDateTime(16));"]}},{"listen":"test","script":{"id":"e6032428-4bc3-4b2f-b05f-a746d253d151","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"ba26c131-510a-4684-a911-a8f35af46946","description":""},{"name":"Account Linkage","item":[{"name":"Account Binding","item":[{"name":"Account Binding","event":[{"listen":"test","script":{"id":"da172f72-0676-4aad-880c-c6a5ae79b781","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"bindingAccessToken\", jsonData.accessTokenInfo.accessToken);"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"23595835-08e3-4da1-a5c4-765b475cd0ba","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"26ab414b-971f-42ff-80b9-c73b7a8b6133","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-SIGNATURE","value":"{{signatureService}}"},{"key":"X-PARTNER-ID","value":"{{client_key}}"},{"key":"X-EXTERNAL-ID","value":"002"},{"key":"CHANNEL-ID","value":"003"},{"key":"Authorization","value":"Bearer {{accessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"authCode\": \"def50200392ab8514acb5f993a08e504aa86a289565c6d65b439921b2441773946d8352aed860e64927f7f960af5751604d15b1fd78079c6e5b92653eb1f0727f4559997352624c77dcd169122c1b4034d58619555ad6e98ef53f4ffff97d906b03ed32205b94df4aacedbefddc3e4db4d21d20e43e0573d46215694364bd73c2509de1b32c1a2f720c1b23fa0e281ab20653297d56925fa00eb59a6c4f43e4704d72902cd4db32160357cc4783493df7523e8b0919d537ae024a2d5e1acbe527e567aceeac350fb337b1ef7ca98f6e6dff59b8e17ffcf4e7840e6de2d26ce6e03fa1eca6e11fd3b1e7d7c7afdfc8f688eb697f0ed0987c6d5ea2e770848fc86c622493be440d353efda1fa457d8eadce8bb9deab4efcde4e45685675c038eb506e4a563c21f0824bb3abbb2b507ca13b5a4210bf096eebbbd5b40e031ed89ddfd6f1ad6d3fb8227452772ddd2cbbd72a4d44f3d071873b4e1d49a48c9aa0894bad98f983751\",\r\n    \"grantType\": \"AUTHORIZATION_CODE\",\r\n    \"platformType\": \"snap\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/registration-account-binding","description":"<h3 id=\"registration-account-binding\">Registration Account Binding</h3>\n<p>This endpoint is used to bind a registration account with the provided merchant details.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>merchantId</code> (string, required): The ID of the merchant.</p>\n</li>\n<li><p><code>authCode</code> (string, required): The authentication code for the merchant.</p>\n</li>\n<li><p><code>grantType</code> (string, required): The type of grant for the registration account.</p>\n</li>\n<li><p><code>platformType</code> (string, required): The type of platform for the registration account.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"responseCode\": {\n    \"type\": \"string\"\n  },\n  \"accessTokenInfo\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"accessToken\": {\n        \"type\": \"string\"\n      },\n      \"expiresIn\": {\n        \"type\": \"string\"\n      },\n      \"refreshToken\": {\n        \"type\": \"string\"\n      },\n      \"reExpiresIn\": {\n        \"type\": \"string\"\n      },\n      \"tokenStatus\": {\n        \"type\": \"string\"\n      }\n    }\n  },\n  \"linkId\": {\n    \"type\": \"string\"\n  },\n  \"userInfo\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"publicUserId\": {\n        \"type\": \"integer\"\n      },\n      \"userName\": {\n        \"type\": \"string\"\n      },\n      \"userEmail\": {\n        \"type\": \"string\"\n      }\n    }\n  },\n  \"additionalInfo\": {\n    \"type\": \"array\"\n  },\n  \"responseMessage\": {\n    \"type\": \"string\"\n  }\n}\n\n</code></pre>\n<p>The response includes a <code>responseCode</code> field, <code>accessTokenInfo</code> object containing <code>accessToken</code>, <code>expiresIn</code>, <code>refreshToken</code>, <code>reExpiresIn</code>, and <code>tokenStatus</code>, <code>linkId</code>, <code>userInfo</code> object containing <code>publicUserId</code>, <code>userName</code>, and <code>userEmail</code>, <code>additionalInfo</code> array, and <code>responseMessage</code> providing additional information.</p>\n","urlObject":{"path":["registration-account-binding"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"201d5a47-3f22-4f2f-8ec8-1ef2eb140076","name":"Error Unauthorized Signature","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-SIGNATURE","value":"{{signatureService}}"},{"key":"X-PARTNER-ID","value":"{{client_key}}"},{"key":"X-EXTERNAL-ID","value":"002"},{"key":"CHANNEL-ID","value":"003"},{"key":"Authorization","value":"Bearer {{accessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"authCode\": \"def5020081dd166feef62d64a74cbecb5867e38f5b383cc93546eeebd8400e33354842d4bd8db28cb0f4a51b148b4ff5c871e778588b1fba54dca22d37a2247ab3d8831beac95e8bf2ec0028692a0c4b1b9331195cbb499076921e2cf2c5cba00fe13558088d40510eb4bdb756defb6e7d9c8739a1ce1b89bea634d8a372a6342ab472f2cf779279ee891598b679bc16e97d3cf3eab3416ae17fae0ffc4624424009d14810811947588cbad566bbf85b27e85ef7c3bcd799a2d7ee96ec0f1f109bf10d9f416c507f98c870cab0785400fb3dd154e7c77de858dd9514052a0a9e743002a191198cceba4e24e82abdf9d927e835627eeb22918c49ab582c8537460313780fc5b5693858987c0124bbd72bc1788a3961cff118035cd23f964c6c46b331377570ec647c59ae491b64ebaa1f315d4963e924bb44038207a2e49dcd31b505774ebd0a8dd00770fdbe524fa9ef75a14767a975f71f006c050e43e60194e5c29ef84f25\",\r\n    \"grantType\": \"AUTHORIZATION_CODE\",\r\n    \"platformType\": \"snap\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/registration-account-binding"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:37:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4010700\",\n    \"responseMessage\": \"Unauthorized Signature\"\n}"},{"id":"ed123b5a-2d96-4337-855a-142244785a18","name":"Error Authorization Code Expired","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-SIGNATURE","value":"{{signatureService}}"},{"key":"X-PARTNER-ID","value":"{{client_key}}"},{"key":"X-EXTERNAL-ID","value":"002"},{"key":"CHANNEL-ID","value":"003"},{"key":"Authorization","value":"Bearer {{accessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"authCode\": \"def50200e451b76a4e5c08cf8c1248cfdcad87a821e40d6f13f601d9243ecefc065c7237ad379b9f64e6deefa66a399cc65807030bcc3c2665a68806af23df97cae197252e8dd4ae805366631a17278cab06d267109069cdfe8c22371ea78697ec8a6888863b367a8fe68753f72e98f183294f4fd2393f92206c73a4b8fbd84e78ac594fd069166686c8b5d1f28bec1b257dba9dc38cf9784c7d24774af3557175bbeb16d385434d16fa49823b4c5b61025f163b66fa6eda86c99792f5add6e5cf0adc15ae05f90cc86fbdeba4fe84d5efe319d69de708f57b0475008698fd353143c75bdfa1435ef4799d7e455b5c659d7638e7864c7c9b56277b3524bb4465494a39fce1c64677d9e83dfe39cad964191593dbff703c162e8916638d94e268a139a31a5529040dd085f809eacfb566a77761bcd5cf734614bb0604c8b7722ea9ce7083a0f01586371980e3b0ab0854b25f49962d7d89a2560c27e10446a970ba78f76c2b79\",\r\n    \"grantType\": \"AUTHORIZATION_CODE\",\r\n    \"platformType\": \"snap\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/registration-account-binding"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:38:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"77"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4010701\",\n    \"responseMessage\": \"Authorization code has expired\"\n}"},{"id":"e6eb8ff4-b002-43f3-b92c-675af6b857f7","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-SIGNATURE","value":"{{signatureService}}"},{"key":"X-PARTNER-ID","value":"{{client_key}}"},{"key":"X-EXTERNAL-ID","value":"002"},{"key":"CHANNEL-ID","value":"003"},{"key":"Authorization","value":"Bearer {{accessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"authCode\": \"def5020069443c8a73132c41828c86c3bfb6cf5a5b47ad43659ec08ca594ce47774746e7307b4723a60a02f46a2a5508a70dae2e5f6f8c078a06484295a004af89964272bbe8877d964d81f7df447a76d054eec8370d1aa6ed69cc22cd954aa252d74690320f3dc3ecb040a4334fbeadfca125839a902bff909385a27f686a6fb320a6ca60dfce79b94e33eb77f214c2e84e0f3226f8b04e5ef85fd887d25356dfde0f09fbf1c7dd8e60c7b46c2caa758506c37e53b9318498b86e1100d785ac6d21b402723a2ea548c3bf75a54139156f447980dfe0cf24614c0f4c92287abc82d9a75d5c82729db2db4e892a6a60550d77eb4f24fa76d88f003d0fffcab45f2f4d6992f99aaa4e39a269a53f7cecc72cd34020066dab6f180eba88119dd2688d984d9173cadc336d967697c42c5c3a0c20294f7cc0c645ef1a4e7da5822778c7c51c8ccf937f3b571e8f313e6a2a2c410ea239c5ccfe8a11260b83183effb9cb55c0194a4a\",\r\n    \"grantType\": \"AUTHORIZATION_CODE\",\r\n    \"platformType\": \"snap\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/registration-account-binding"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:38:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"2000700\",\n    \"accessTokenInfo\": {\n        \"accessToken\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjNjM2NiYTdhMzlkOGNkNDczYzEzNzYxOWMzOTA4MWM5OGY1ZGNlMTdhNjkwMWYyODNmODY1ZDUwYWVjMDEyMTYwYTM3MzQ2NjIxZDEzMjM0In0.eyJhdWQiOiI1MiIsImp0aSI6IjNjM2NiYTdhMzlkOGNkNDczYzEzNzYxOWMzOTA4MWM5OGY1ZGNlMTdhNjkwMWYyODNmODY1ZDUwYWVjMDEyMTYwYTM3MzQ2NjIxZDEzMjM0IiwiaWF0IjoxNzE5MjkzOTMxLCJuYmYiOjE3MTkyOTM5MzEsImV4cCI6MTcxOTg5ODczMSwic3ViIjoiMTcwMyIsInNjb3BlcyI6W119.Fh2KXdSvCEkGrOJoL0MG80LLta4uueJCegwSaxtVatPILV4oZIDFKxrNga1BFj_gX975Jsoz08EuOsoDjJcwb8_QCifjaHM0_XivzVVP8XaFAErglaVmLaDGyryS9ge_07-B_cA6QiK72r5KgYD0MdXvfD6VeO9PVe-lfOJF2PHC9AwaKvkjXoMlo2QqnEr7oio3GZVpoU4mRTOm4rBsMe99XJMQ2uMTc5AZPn8EfMEtdtr4b8PDM742EwDx64Z_6AlQFR8a7MmRZX8rqOFX5sHxzQvvIYgg3CUFw4cKQjVLj4SS2BZsxbXKrRClfBJDnb8RjVa-krCi8IjYRBizGGKxUs8yqgYDM2hOsjRIkunPnRrKnCY3pe259LAahctUXectbTkFYS91T4yAL1g-FhZZBWDhVq27pyWRTDXpyp-ljaUUejk8ux9Ohm4FEDzWdSg_WpJIbW-_svxhiP4iSB_1sT3t1ZWrCLlFCPMwhngOORlrYUf44F6Ri3bVvT9sWLn9-J1HxmLz4A67DV3pO7Rt9tV5YuuO3q9hs_Rx7Kqi4eCtOa8hyXcaHEEltB4hUDff0CcWdpqxwq5pRqqAcbUMg3l8lvpXnban7dMX2_pEwmnR_AYkPANVtQOAMeuYIq_k8x3-qTsmLxPL9yiX2rEBexOtXcE_dbNxQbv-OSU\",\n        \"expiresIn\": \"2024-07-02T12:38:51+07:00\",\n        \"refreshToken\": \"def5020068aa869db85f2bf68b3cac2482f8bd9250e923d844939d9109ee749f26982349eea45ec1e2c91b867501017f4309214965fe01a9e5900db7f1ad8b44f9cc22927eef0fb74394dc8d50cced2080f242c3c763d3da28d521dcedfc2849916a1af6c0d9a7e60c7bda750653c4c076aa35b4c206c8f2ffa7b1f28b8489618db7f15ff069e223025adfcdcdb385ac7bd03cdf4492529b5cdbf84903e94240b124f44c4487efd715a2ed6efa5f795412b51d74e802b0414390df0cfd9cc4324716325ea6231af0ce399736640aa4018c683ab96e28bafe8025f3d97f1d8649bfde79b71c1a535b8dbe5dcfd1f44471713f437077e390425de67103246f44bc6138a5445f6b959e96618f9a51602d2719c857ffe679fda675da8edc47d6d9015941c445a9fc130f8f9275fb1db2c98018aa52eaf02efea830020e9b6c32509bf6a087a7458285e9a71287bd24b973b4260c33a70b53a69aa858b0cd786444a6a65d252f18\",\n        \"reExpiresIn\": \"2024-07-09T12:38:51+07:00\",\n        \"tokenStatus\": \"ACTIVE\"\n    },\n    \"linkId\": \"OTQxNzAzMTcxOTI5MzkzMQ==\",\n    \"userInfo\": {\n        \"publicUserId\": 1703,\n        \"userName\": \"Sunsudin\",\n        \"userEmail\": \"sunsudin@growin.com\"\n    },\n    \"additionalInfo\": [],\n    \"responseMessage\": \"Successfuly\"\n}"}],"_postman_id":"26ab414b-971f-42ff-80b9-c73b7a8b6133"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"3e2f632d-3207-4908-8d62-714e6594670c","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"663838fe-3f09-463b-a681-d20efe21f8c1","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"e8c9138b-114d-4fb9-8e44-f2343eb0afd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/registration-account-binding"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"authCode\": \"def50200392ab8514acb5f993a08e504aa86a289565c6d65b439921b2441773946d8352aed860e64927f7f960af5751604d15b1fd78079c6e5b92653eb1f0727f4559997352624c77dcd169122c1b4034d58619555ad6e98ef53f4ffff97d906b03ed32205b94df4aacedbefddc3e4db4d21d20e43e0573d46215694364bd73c2509de1b32c1a2f720c1b23fa0e281ab20653297d56925fa00eb59a6c4f43e4704d72902cd4db32160357cc4783493df7523e8b0919d537ae024a2d5e1acbe527e567aceeac350fb337b1ef7ca98f6e6dff59b8e17ffcf4e7840e6de2d26ce6e03fa1eca6e11fd3b1e7d7c7afdfc8f688eb697f0ed0987c6d5ea2e770848fc86c622493be440d353efda1fa457d8eadce8bb9deab4efcde4e45685675c038eb506e4a563c21f0824bb3abbb2b507ca13b5a4210bf096eebbbd5b40e031ed89ddfd6f1ad6d3fb8227452772ddd2cbbd72a4d44f3d071873b4e1d49a48c9aa0894bad98f983751\",\r\n    \"grantType\": \"AUTHORIZATION_CODE\",\r\n    \"platformType\": \"snap\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"4d3bcccb-743a-4706-8833-dafd8b230f1e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/registration-account-binding"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"authCode\": \"def50200e451b76a4e5c08cf8c1248cfdcad87a821e40d6f13f601d9243ecefc065c7237ad379b9f64e6deefa66a399cc65807030bcc3c2665a68806af23df97cae197252e8dd4ae805366631a17278cab06d267109069cdfe8c22371ea78697ec8a6888863b367a8fe68753f72e98f183294f4fd2393f92206c73a4b8fbd84e78ac594fd069166686c8b5d1f28bec1b257dba9dc38cf9784c7d24774af3557175bbeb16d385434d16fa49823b4c5b61025f163b66fa6eda86c99792f5add6e5cf0adc15ae05f90cc86fbdeba4fe84d5efe319d69de708f57b0475008698fd353143c75bdfa1435ef4799d7e455b5c659d7638e7864c7c9b56277b3524bb4465494a39fce1c64677d9e83dfe39cad964191593dbff703c162e8916638d94e268a139a31a5529040dd085f809eacfb566a77761bcd5cf734614bb0604c8b7722ea9ce7083a0f01586371980e3b0ab0854b25f49962d7d89a2560c27e10446a970ba78f76c2b79\",\r\n    \"grantType\": \"AUTHORIZATION_CODE\",\r\n    \"platformType\": \"snap\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:36:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"FQZ9NmoEkpDkNb0f8KjQATehuc1pKiWF96C1SCH59IILB2kx30M1m6F/4kBy7ilaXlTaWkW/C04tKGsCJE/wow==\"\n}"},{"id":"cf9c6fc1-d18f-4499-b235-7f4169d3abf7","name":"Error Access Token Invalid","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}s"},{"key":"EndpointUrl","value":"/api/v1/registration-account-binding"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"authCode\": \"def50200e451b76a4e5c08cf8c1248cfdcad87a821e40d6f13f601d9243ecefc065c7237ad379b9f64e6deefa66a399cc65807030bcc3c2665a68806af23df97cae197252e8dd4ae805366631a17278cab06d267109069cdfe8c22371ea78697ec8a6888863b367a8fe68753f72e98f183294f4fd2393f92206c73a4b8fbd84e78ac594fd069166686c8b5d1f28bec1b257dba9dc38cf9784c7d24774af3557175bbeb16d385434d16fa49823b4c5b61025f163b66fa6eda86c99792f5add6e5cf0adc15ae05f90cc86fbdeba4fe84d5efe319d69de708f57b0475008698fd353143c75bdfa1435ef4799d7e455b5c659d7638e7864c7c9b56277b3524bb4465494a39fce1c64677d9e83dfe39cad964191593dbff703c162e8916638d94e268a139a31a5529040dd085f809eacfb566a77761bcd5cf734614bb0604c8b7722ea9ce7083a0f01586371980e3b0ab0854b25f49962d7d89a2560c27e10446a970ba78f76c2b79\",\r\n    \"grantType\": \"AUTHORIZATION_CODE\",\r\n    \"platformType\": \"snap\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:37:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"67"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4010000\",\n    \"responseMessage\": \"Access Token Invalid\"\n}"}],"_postman_id":"e8c9138b-114d-4fb9-8e44-f2343eb0afd6"}],"id":"78078ce6-30e7-4945-8950-6c677afce100","_postman_id":"78078ce6-30e7-4945-8950-6c677afce100","description":""},{"name":"Account Unbinding","item":[{"name":"Account Unbinding","event":[{"listen":"prerequest","script":{"id":"2081caff-3e4f-4f92-b658-0880c265f3ef","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"08438407-c926-42b5-88c1-de68ff03b7b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"linkId\": \"OTQxNzAzMTcxOTI5MzkzMQaa==\",\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"subMerchantId\": \"310928924949487\",\r\n    \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/registration-account-unbinding","description":"<h3 id=\"registration-account-unbinding\">Registration Account Unbinding</h3>\n<p>This endpoint is used to unbind a registration account.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>linkId</code> (string, required): The ID of the link.</p>\n</li>\n<li><p><code>merchantId</code> (string, required): The ID of the merchant.</p>\n</li>\n<li><p><code>subMerchantId</code> (string, required): The ID of the sub-merchant.</p>\n</li>\n<li><p><code>additionalInfo</code> (object, optional): Additional information including:</p>\n<ul>\n<li><p><code>deviceId</code> (string): The device ID.</p>\n</li>\n<li><p><code>channel</code> (string): The channel information.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object with the following properties:</p>\n<ul>\n<li><p><code>responseCode</code> (string): The status code of the response.</p>\n</li>\n<li><p><code>merchantId</code> (string): The ID of the merchant.</p>\n</li>\n<li><p><code>subMerchantId</code> (string): The ID of the sub-merchant.</p>\n</li>\n<li><p><code>linkId</code> (string): The ID of the link.</p>\n</li>\n<li><p><code>unlinkResult</code> (string): The result of the unbinding process.</p>\n</li>\n<li><p><code>additionalInfo</code> (array): Additional information.</p>\n</li>\n<li><p><code>responseMessage</code> (string): The message indicating the result of the unbinding process.</p>\n</li>\n</ul>\n","urlObject":{"path":["registration-account-unbinding"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"29cd1e8f-6ef7-4814-ad46-21fbbdf2a569","name":"Error Unauthorized Signature","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"linkId\": \"OTQxNzAzMTcxOTssI5MzkzMQ==\",\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"subMerchantId\": \"310928924949487\",\r\n    \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/registration-account-unbinding"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:39:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4010900\",\n    \"responseMessage\": \"Unauthorized Signature\"\n}"},{"id":"c441e7ed-f6af-4b0f-bc44-a3f9f1f3a8e1","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"linkId\": \"OTQxNzAzMTcxOTI5MzkzMQ==\",\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"subMerchantId\": \"310928924949487\",\r\n    \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/registration-account-unbinding"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:40:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"2000900\",\n    \"merchantId\": \"NP2024NHFEAJcTuX\",\n    \"subMerchantId\": \"310928924949487\",\n    \"linkId\": \"OTQxNzAzMTcxOTI5MzkzMQ==\",\n    \"unlinkResult\": \"success\",\n    \"additionalInfo\": [],\n    \"responseMessage\": \"Successfuly\"\n}"}],"_postman_id":"08438407-c926-42b5-88c1-de68ff03b7b8"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"f4f1dc07-932b-4855-9bee-5f88001bfbd4","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"66ea6f75-b8b1-4048-8268-80cea6d0cf95","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"3af5d587-d946-4e27-8553-ca51f4b35d7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"EndpointUrl","value":"/api/v1/registration-account-unbinding","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"linkId\": \"OTQxNzAzMTcxOTI5MzkzMQaa==\",\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"subMerchantId\": \"310928924949487\",\r\n    \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"721b90ed-1308-4f94-b122-213a4cdeb6bf","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"EndpointUrl","value":"/api/v1/registration-account-unbinding","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"linkId\": \"OTQxNzAzMTcxOTI5MzkzMQ==\",\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"subMerchantId\": \"310928924949487\",\r\n    \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:39:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"UIz/pA1lHrznryzUtmW4ZKv103aUoimApDjPVAOYblv6f6s1JT8W9aWHIgbDR92Hf795M0ijNLdMo4uVKE6jCA==\"\n}"}],"_postman_id":"3af5d587-d946-4e27-8553-ca51f4b35d7c"}],"id":"1fe5d09f-5eb3-4e1f-9023-e8f449ac31f7","_postman_id":"1fe5d09f-5eb3-4e1f-9023-e8f449ac31f7","description":""},{"name":"Get OAuth Code","item":[{"name":"Get OAuth Code","event":[{"listen":"test","script":{"exec":["pm.test(\"Response status code is 400\", function () {","    pm.expect(pm.response.code).to.equal(400);","});","","","pm.test(\"Response time is less than 200ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(200);","});","","","pm.test(\"Response has the required fields\", function () {","  const responseData = pm.response.json();","  ","  pm.expect(responseData).to.be.an('object');","  pm.expect(responseData.error).to.exist;","  pm.expect(responseData.error_description).to.exist;","  pm.expect(responseData.hint).to.exist;","  pm.expect(responseData.message).to.exist;","});","","","pm.test(\"Error and message fields are non-empty strings\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData.error).to.be.a('string').and.to.have.lengthOf.at.least(1, \"Error field should not be empty\");","    pm.expect(responseData.message).to.be.a('string').and.to.have.lengthOf.at.least(1, \"Message field should not be empty\");","});","","","pm.test(\"Content-Type header is application/json\", function () {","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");","});",""],"type":"text/javascript","packages":{},"id":"2af9cf41-fa2f-433e-b392-d51e81ca019f"}}],"id":"05e8f08c-fdab-49c2-adbe-8dd961530079","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{HOST}}/get-auth-code?state=1234u881&scopes=*&redirectUrl=https://snap.nusapay.xyz/auth/redirect&merchantId={{merchantCode}}&timestamp=2024-01-08T13:15:41+07:00","description":"<h3 id=\"get-get-auth-code\">GET /get-auth-code</h3>\n<p>This endpoint is used to retrieve an authorization code for authentication.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: <code>GET</code></p>\n</li>\n<li><p>Endpoint: <code>{{HOST}}/get-auth-code</code></p>\n</li>\n<li><p>Query Parameters:</p>\n<ul>\n<li><p><code>state</code>: The state parameter for maintaining state between the request and callback.</p>\n</li>\n<li><p><code>scopes</code>: The scopes parameter to specify the access privileges.</p>\n</li>\n<li><p><code>redirectUrl</code>: The URL to redirect after authentication.</p>\n</li>\n<li><p><code>merchantId</code>: The ID of the merchant.</p>\n</li>\n<li><p><code>timestamp</code>: The timestamp of the request.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a redirect url.</p>\n","urlObject":{"path":["get-auth-code"],"host":["{{HOST}}"],"query":[{"key":"state","value":"1234u881"},{"key":"scopes","value":"*"},{"key":"redirectUrl","value":"https://snap.nusapay.xyz/auth/redirect"},{"key":"merchantId","value":"{{merchantCode}}"},{"key":"timestamp","value":"2024-01-08T13:15:41+07:00"}],"variable":[]}},"response":[],"_postman_id":"05e8f08c-fdab-49c2-adbe-8dd961530079"}],"id":"1a8c7731-f2f3-4fa9-b332-2f8155ea03a8","_postman_id":"1a8c7731-f2f3-4fa9-b332-2f8155ea03a8","description":""},{"name":"OTP","item":[{"name":"OTP","event":[{"listen":"prerequest","script":{"id":"977f0d9f-ee8a-4762-b35d-46d4f5ad7f94","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"22ba8b9a-4ee9-467e-9cd5-bd6c8804210e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"004","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"2020102900000000000001\",\r\n    \"journeyID\": \"20190329175623MTISTORE\",\r\n    \"merchantId\": \"00001\",\r\n    \"bankCardToken\": \"6d7963617264746f6b656e\",\r\n    \"additionalInfo\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/otp","description":"<h3 id=\"generate-otp\">Generate OTP</h3>\n<p>This endpoint allows you to generate a one-time password (OTP) for a specific partner reference.</p>\n<ul>\n<li><p>HTTP Method: POST</p>\n</li>\n<li><p>Endpoint: <code>{{HOST}}/otp</code></p>\n</li>\n</ul>\n<h4 id=\"request-payload\">Request Payload</h4>\n<p>The HTTP POST request should include the following payload in the raw request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"partnerReferenceNo\": \"\",\n  \"journeyID\": \"\",\n  \"merchantId\": \"\",\n  \"bankCardToken\": \"\",\n  \"additionalInfo\": null\n}\n\n</code></pre>\n<p>The request body should include the partner's reference number, journey ID, merchant ID, bank card token, and additional information if available.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response will be in the following JSON schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"partnerReferenceNo\": \"\",\n  \"chargeToken\": \"\",\n  \"responseCode\": \"\",\n  \"responseMessage\": \"\"\n}\n\n</code></pre>\n<p>Upon successful processing, the response will include the generated OTP along with other relevant information.</p>\n","urlObject":{"path":["otp"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"33c64f7d-0836-4712-8d0b-1463dd10431d","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"004","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"2020102900000000000001\",\r\n    \"journeyID\": \"20190329175623MTISTORE\",\r\n    \"merchantId\": \"00001\",\r\n    \"bankCardToken\": \"6d7963617264746f6b656e\",\r\n    \"additionalInfo\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/otp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:42:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"partnerReferenceNo\": \"2020102900000000000001\",\n    \"chargeToken\": \"ZPBWPLCHUSOFNMRDOYPALBWO5ORLPPKVCJ7::20190329175623MTISTORE\",\n    \"responseCode\": \"2008100\",\n    \"responseMessage\": \"Successfuly\"\n}"},{"id":"725d0c36-12fd-40ab-879d-0c820f32792e","name":"Error Unauthorized Signature","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"004","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"2020102900000000000001\",\r\n    \"journeyID\": \"20190329175623MTISTORE\",\r\n    \"merchantId\": \"00001\",\r\n    \"bankCardToken\": \"6d79636172647s46f6b656e\",\r\n    \"additionalInfo\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/otp"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:42:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4018100\",\n    \"responseMessage\": \"Unauthorized Signature\"\n}"}],"_postman_id":"22ba8b9a-4ee9-467e-9cd5-bd6c8804210e"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"878d9a18-e8a3-4aa8-b637-38651a28f342","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"533bb7fb-f5b5-46bc-b6b0-d7777d5c0df3","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"ee779706-63a2-4f7b-9aae-9f9f18a66e5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"EndpointUrl","value":"/api/v1/otp","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"2020102900000000000001\",\r\n    \"journeyID\": \"20190329175623MTISTORE\",\r\n    \"merchantId\": \"00001\",\r\n    \"bankCardToken\": \"6d7963617264746f6b656e\",\r\n    \"additionalInfo\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"a639a8f5-189d-4396-b96d-62421b3e6ee5","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"EndpointUrl","value":"/api/v1/otp","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"2020102900000000000001\",\r\n    \"journeyID\": \"20190329175623MTISTORE\",\r\n    \"merchantId\": \"00001\",\r\n    \"bankCardToken\": \"6d7963617264746f6b656e\",\r\n    \"additionalInfo\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:41:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"juOuDXfvBEBCGNjPZR8T/PerVrJ7Srqwr9PZqQh6B7rCxuTkvj7GKWBpORG8/41pB3ZOq7EhIOuDVts89X8/Lg==\"\n}"}],"_postman_id":"ee779706-63a2-4f7b-9aae-9f9f18a66e5e"}],"id":"9981eda5-e550-4a0d-ae80-d9ca2128864d","_postman_id":"9981eda5-e550-4a0d-ae80-d9ca2128864d","description":""}],"id":"5f04956c-90ec-4ec4-b4c5-324f5aae2e38","_postman_id":"5f04956c-90ec-4ec4-b4c5-324f5aae2e38","description":""},{"name":"QR MPM","item":[{"name":"Generate QR","item":[{"name":"Generate QR","event":[{"listen":"prerequest","script":{"id":"850fae8c-25d9-456c-ab99-ae1245c8f104","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"ce34da20-46d6-4038-b013-32080d48a7f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-SIGNATURE","value":"{{signatureService}}"},{"key":"X-PARTNER-ID","value":"{{client_key}}"},{"key":"X-EXTERNAL-ID","value":"1001122112111"},{"key":"CHANNEL-ID","value":"012"},{"key":"Authorization","value":"Bearer {{accessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"amount\": {\r\n        \"value\": \"3000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"storeId\": \"abcd\",\r\n    \"validityPeriod\":\"2009-07-03T12:08:56-07:00\",\r\n    \"terminalId\": \"213141251124\",\r\n    \"additionalInfo\": {\r\n        \"description\": \"pembayaran qris\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-generate","description":"<h3 id=\"generate-qr-code-for-mobile-payment\">Generate QR Code for Mobile Payment</h3>\n<p>This endpoint allows you to generate a QR code for mobile payment.</p>\n<p><strong>HTTP Request</strong><br /><code>POST {{HOST}}/qr/qr-mpm-generate</code></p>\n<p><strong>Request Payload</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"merchantId\":\"\",\n    \"partnerReferenceNo\":\"\",\n    \"amount\":{\n        \"value\":\"\",\n        \"currency\":\"\"\n    },\n    \"storeId\":\"\",\n    \"terminalId\":\"\",\n    \"additionalInfo\":{\n        \"description\":\"\"\n    }\n}\n\n</code></pre>\n<p>The request should include the merchant ID, partner reference number, amount (value and currency), store ID, terminal ID, and additional information.</p>\n<p><strong>Response JSON Schema</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"type\": \"object\",\n    \"properties\": {\n        \"responseCode\": {\"type\": \"string\"},\n        \"referenceNo\": {\"type\": \"string\"},\n        \"partnerReferenceNo\": {\"type\": \"string\"},\n        \"qrContent\": {\"type\": \"string\"},\n        \"qrUrl\": {\"type\": \"string\"},\n        \"merchantName\": {\"type\": \"string\"},\n        \"storeId\": {\"type\": \"string\"},\n        \"terminalId\": {\"type\": \"string\"},\n        \"additionalInfo\": {\"type\": [\"object\", \"null\"]},\n        \"responseMessage\": {\"type\": \"string\"}\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["qr","qr-mpm-generate"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"7a3cadda-c504-4a81-b6dc-b1de979f458e","name":"success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2024-05-03T00:00:00+07:00"},{"key":"X-SIGNATURE","value":"{{signatureService}}"},{"key":"X-PARTNER-ID","value":"{{client_key}}"},{"key":"X-EXTERNAL-ID","value":"1001122112111"},{"key":"CHANNEL-ID","value":"012"},{"key":"Authorization","value":"Bearer {{accessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"partnerReferenceNo\": \"2024062400000000000001\",\r\n    \"amount\": {\r\n        \"value\": \"3000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"storeId\": \"abcd\",\r\n    \"terminalId\": \"213141251124\",\r\n    \"additionalInfo\": {\r\n        \"description\": \"pembayaran qris\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-generate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 09:13:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"2004700\",\n    \"referenceNo\": \"0DFN10CRUT\",\n    \"partnerReferenceNo\": \"2024062400000000000001\",\n    \"qrContent\": \"00020101021226540015ID.GODAMRI.QRIS01189360083600000000330202330303UKE51540015ID.GODAMRI.QRIS01189360083600000000330202330303UKE52044513530336054073000.005802ID5916GODAMRI MERCHANT6007JAKARTA610511111628701100DFN10CRUT02120812112112110304abcd0510BFX001523907122131412511240815PEMBAYARAN QRIS6304F6C8\",\n    \"qrUrl\": \"https://ibn.nusapay.io/qr/1b1e6c78-5fda-3af0-b47b-1623fe19fde5/nsiqris/2024/06/24/BFX0015239.png\",\n    \"merchantName\": \"Godamri Merchant\",\n    \"storeId\": \"abcd\",\n    \"terminalId\": \"213141251124\",\n    \"additionalInfo\": null,\n    \"responseMessage\": \"Successfuly\"\n}"},{"id":"4fbc94a1-0ec5-4707-8e40-a646718e44d6","name":"Unauthorized Signature","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-SIGNATURE","value":"{{signatureService}}"},{"key":"X-PARTNER-ID","value":"{{client_key}}"},{"key":"X-EXTERNAL-ID","value":"1001122112111"},{"key":"CHANNEL-ID","value":"012"},{"key":"Authorization","value":"Bearer {{accessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"partnerReferenceNo\": \"2024062400000000000001\",\r\n    \"amount\": {\r\n        \"value\": \"3000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"storeId\": \"abcd\",\r\n    \"terminalId\": \"213141251124\",\r\n    \"additionalInfo\": {\r\n        \"description\": \"pembayaran qris\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-generate"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:43:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4014700\",\n    \"responseMessage\": \"Unauthorized Signature\"\n}"}],"_postman_id":"ce34da20-46d6-4038-b013-32080d48a7f0"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"e1a71318-fd30-452e-8fc5-7abf20a92b3e","exec":[""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"test","script":{"id":"52513f1d-ab0e-47e2-92c4-6ad50bf3d80c","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6f910406-81d2-4505-bffb-5ec9727fa059","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-generate"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"amount\": {\r\n        \"value\": \"3000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"storeId\": \"abcd\",\r\n    \"validityPeriod\":\"2009-07-03T12:08:56-07:00\",\r\n    \"terminalId\": \"213141251124\",\r\n    \"additionalInfo\": {\r\n        \"description\": \"pembayaran qris\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"d36e295c-b972-476b-a472-f2bf5c85d1cc","name":"success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2024-05-03T00:00:00+07:00"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-generate"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"partnerReferenceNo\": \"2024062400000000000001\",\r\n    \"amount\": {\r\n        \"value\": \"3000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"storeId\": \"abcd\",\r\n    \"terminalId\": \"213141251124\",\r\n    \"additionalInfo\": {\r\n        \"description\": \"pembayaran qris\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 09:13:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"gFlHsP1RMiOxllQej0VbpwrS2/kd9o87vlhhzPhoXigwAurZFHfJrXHOqNIhMY9De6322++9pOd6nHcFIZzWNg==\"\n}"},{"id":"0b9e7514-47cb-4189-b416-2bbaeb38a771","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-generate"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"amount\": {\r\n        \"value\": \"3000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"storeId\": \"abcd\",\r\n    \"terminalId\": \"213141251124\",\r\n    \"additionalInfo\": {\r\n        \"description\": \"pembayaran qris\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:43:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"F8YgxKPVaSyk9RsaGJ2UQz+3/ka7VwfLfiSz/L9l0GGxtQxZJkWXyT4GEn5vjKPOOJuh3vdCPOja8mmSRO6M2w==\"\n}"}],"_postman_id":"6f910406-81d2-4505-bffb-5ec9727fa059"}],"id":"dda1dde5-0c17-4b33-8588-bcc63440a924","_postman_id":"dda1dde5-0c17-4b33-8588-bcc63440a924","description":""},{"name":"Decode QR","item":[{"name":"Decode QR","event":[{"listen":"prerequest","script":{"id":"ba748511-3259-44cc-b8e7-491405d2f117","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"dd9bfcaa-9e7b-4b50-ab07-0c3ce89e6dc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"qrContent\": \"00020101021226510012ID.QRISFREDY01189360083600000000320202320303UKE51510012ID.QRISFREDY01189360083600000000320202320303UKE52049715530336054073000.005802ID5909QRISFREDY6007JAKARTA610511111628801100DFPQBUOF7021308121121121120304abcd0510BFY001524007122131412511240815PEMBAYARAN QRIS63044228\",\r\n     \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-decode","description":"<h3 id=\"post-qrqr-mpm-decode\">POST /qr/qr-mpm-decode</h3>\n<p>This endpoint is used to decode a QR code and retrieve information associated with it.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>partnerReferenceNo</code> (string, required): The partner's reference number.</p>\n</li>\n<li><p><code>qrContent</code> (string, required): The content of the QR code to be decoded.</p>\n</li>\n<li><p><code>additionalInfo</code> (object, optional):</p>\n<ul>\n<li><p><code>deviceId</code> (string, optional): The ID of the device used for scanning the QR code.</p>\n</li>\n<li><p><code>channel</code> (string, optional): The channel through which the QR code was scanned.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object with the following properties:</p>\n<ul>\n<li><p><code>referenceNo</code> (string): The reference number associated with the decoded QR code.</p>\n</li>\n<li><p><code>partnerReferenceNo</code> (string): The partner's reference number.</p>\n</li>\n<li><p><code>redirectUrl</code> (string): The URL to which the user should be redirected.</p>\n</li>\n<li><p><code>merchantName</code> (string): The name of the merchant associated with the QR code.</p>\n</li>\n<li><p><code>merchantLocation</code> (string): The location of the merchant.</p>\n</li>\n<li><p><code>additionalInfo</code> (object):</p>\n<ul>\n<li><p><code>merchantId</code> (string): The ID of the merchant.</p>\n</li>\n<li><p><code>merchantPan</code> (string): The PAN (Permanent Account Number) of the merchant.</p>\n</li>\n</ul>\n</li>\n<li><p><code>transactionAmount</code> (object):</p>\n<ul>\n<li><p><code>value</code> (string): The transaction amount.</p>\n</li>\n<li><p><code>currency</code> (string): The currency of the transaction amount.</p>\n</li>\n</ul>\n</li>\n<li><p><code>responseCode</code> (string): The response code indicating the status of the decoding process.</p>\n</li>\n<li><p><code>responseMessage</code> (string): A message providing additional information about the decoding process.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"referenceNo\": {\"type\": \"string\"},\n    \"partnerReferenceNo\": {\"type\": \"string\"},\n    \"redirectUrl\": {\"type\": \"string\"},\n    \"merchantName\": {\"type\": \"string\"},\n    \"merchantLocation\": {\"type\": \"string\"},\n    \"additionalInfo\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"merchantId\": {\"type\": \"string\"},\n        \"merchantPan\": {\"type\": \"string\"}\n      }\n    },\n    \"transactionAmount\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"value\": {\"type\": \"string\"},\n        \"currency\": {\"type\": \"string\"}\n      }\n    },\n    \"responseCode\": {\"type\": \"string\"},\n    \"responseMessage\": {\"type\": \"string\"}\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["qr","qr-mpm-decode"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"d38c469e-dc28-4375-b2f2-4a01bf878d5f","name":"Error Unauthorized Signature","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"qrContent\": \"00020101021226510012ID.QRISFREDY01189360083600000000320202320303UKE51510012ID.QRISFREDY01189360083600000000320202320303UKE52049715530336054073000.005802ID5909QRISFREDY6007JAKARTA610511111628801100DFPQBUOF7021308121121121120304abcd0510BFY001524007122131412511240815PEMBAYARAN QRIS63044228\",\r\n     \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237s\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-decode"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:45:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4014800\",\n    \"responseMessage\": \"Unauthorized Signature\"\n}"},{"id":"98121c77-b2f3-44d5-9be9-84941d98e2d1","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"qrContent\": \"00020101021226510012ID.QRISFREDY01189360083600000000320202320303UKE51510012ID.QRISFREDY01189360083600000000320202320303UKE52049715530336054073000.005802ID5909QRISFREDY6007JAKARTA610511111628801100DFPQBUOF7021308121121121120304abcd0510BFY001524007122131412511240815PEMBAYARAN QRIS63044228\",\r\n     \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-decode"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:45:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"referenceNo\": \"940000001130\",\n    \"partnerReferenceNo\": \"NP2024NHFEAJcTuX1004\",\n    \"redirectUrl\": \"https://nusi.co.id/link?screen=confirm_qris&invoice=NP2024NHFEAJcTuX1004&merchant_code=NP2024NHFEAJcTuX\",\n    \"merchantName\": \"QRISFREDY\",\n    \"merchantLocation\": \"JAKARTA\",\n    \"additionalInfo\": {\n        \"merchantId\": \"32\",\n        \"merchantPan\": \"9360083600000000329\"\n    },\n    \"transactionAmount\": {\n        \"value\": \"3000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"responseCode\": \"2004800\",\n    \"responseMessage\": \"Successfuly\"\n}"}],"_postman_id":"dd9bfcaa-9e7b-4b50-ab07-0c3ce89e6dc0"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"ab099389-aab3-4007-9e3f-19b295d7b423","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"352153a0-959c-4b57-aeac-f87f677c5cbd","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"509e9985-c8c5-4492-8840-dc04b24e43cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-decode"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"qrContent\": \"00020101021226510012ID.QRISFREDY01189360083600000000320202320303UKE51510012ID.QRISFREDY01189360083600000000320202320303UKE52049715530336054073000.005802ID5909QRISFREDY6007JAKARTA610511111628801100DFPQBUOF7021308121121121120304abcd0510BFY001524007122131412511240815PEMBAYARAN QRIS63044228\",\r\n     \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"382e2187-6f42-4a4a-850a-0f0fa199e49f","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-decode"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"qrContent\": \"00020101021226510012ID.QRISFREDY01189360083600000000320202320303UKE51510012ID.QRISFREDY01189360083600000000320202320303UKE52049715530336054073000.005802ID5909QRISFREDY6007JAKARTA610511111628801100DFPQBUOF7021308121121121120304abcd0510BFY001524007122131412511240815PEMBAYARAN QRIS63044228\",\r\n     \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:44:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"BW3oISVX1l7eiY3zDLQcnO14oKgj1BUsiJcqwEX5gV5Gm56kr6aSQQUWmmI7o4ntL08mVXEz/g/OCFUEQ/uMfA==\"\n}"}],"_postman_id":"509e9985-c8c5-4492-8840-dc04b24e43cb"}],"id":"a2559793-83f0-43b3-ac6d-1b04c1a801f2","_postman_id":"a2559793-83f0-43b3-ac6d-1b04c1a801f2","description":""},{"name":"Payment Redirect","item":[{"name":"Apply OTT","event":[{"listen":"prerequest","script":{"id":"aeb5e756-679f-41cf-a187-3381787b240d","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"4e238f82-49f4-402d-80ca-6dcf1d6871b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userResources\": [\r\n        \"OTT\"\r\n    ],\r\n    \"additionalInfo\": {\r\n        \"phoneNumber\": \"6281317120222\",\r\n        \"partnerReferenceNo\": \"{{merchantCode}}1004\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/apply-ott","description":"<h3 id=\"apply-ott-qr-request\">Apply OTT QR Request</h3>\n<p>This endpoint allows the user to apply for an OTT QR. The request should be sent as an HTTP POST to <code>{{HOST}}/qr/apply-ott</code>.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>userResources</code> (array of strings, optional): An array of user resources.</p>\n</li>\n<li><p><code>additionalInfo</code> (object):</p>\n<ul>\n<li><p><code>phoneNumber</code> (string, optional): The phone number associated with the request.</p>\n</li>\n<li><p><code>partnerReferenceNo</code> (string, optional): Partner reference number for the request.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is in JSON format and includes the following fields:</p>\n<ul>\n<li><p><code>responseCode</code> (string): The response code for the request.</p>\n</li>\n<li><p><code>resourceType</code> (string): The type of resource.</p>\n</li>\n<li><p><code>value</code> (string): The value associated with the response.</p>\n</li>\n<li><p><code>additionalInfo</code> (array): Additional information related to the response.</p>\n</li>\n<li><p><code>responseMessage</code> (string): A message associated with the response.</p>\n</li>\n</ul>\n<h4 id=\"json-schema-for-response\">JSON Schema for Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"responseCode\": { \"type\": \"string\" },\n    \"resourceType\": { \"type\": \"string\" },\n    \"value\": { \"type\": \"string\" },\n    \"additionalInfo\": { \"type\": \"array\" },\n    \"responseMessage\": { \"type\": \"string\" }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["qr","apply-ott"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"c5f10525-baa5-4c85-8d06-9f57712a2593","name":"Error Unauthorized Signature","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userResources\": [\r\n        \"OTT\"\r\n    ],\r\n    \"additionalInfo\": {\r\n        \"phoneNumber\": \"6281317120222\",\r\n        \"partnerReferenceNo\": \"2020102900000000000027\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/apply-ott"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:46:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4014900\",\n    \"responseMessage\": \"Unauthorized Signature\"\n}"},{"id":"63928be2-c15c-4ad2-a63a-63775211e78c","name":"Error Transaction Not Found","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userResources\": [\r\n        \"OTT\"\r\n    ],\r\n    \"additionalInfo\": {\r\n        \"phoneNumber\": \"6281317120222\",\r\n        \"partnerReferenceNo\": \"{{merchantCode}}004\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/apply-ott"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:46:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4044901\",\n    \"responseMessage\": \"Transaction Not Found\"\n}"},{"id":"87df2581-6c43-4cb4-903e-b86423f1bae4","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userResources\": [\r\n        \"OTT\"\r\n    ],\r\n    \"additionalInfo\": {\r\n        \"phoneNumber\": \"6281317120222\",\r\n        \"partnerReferenceNo\": \"{{merchantCode}}1004\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/apply-ott"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:47:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"2004900\",\n    \"resourceType\": \"OTT\",\n    \"value\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImNkM2MwZThlYWI3ODE0ZDdkZDc0YzJhMzNhMjJlMzM5YmNjZTgyZWQ0NWNhMDQ2ZDlmNzE4OTA4MzJjNGQzODNiMWQ2Nzk1NTMzN2YyNzA2In0.eyJhdWQiOiI1MiIsImp0aSI6ImNkM2MwZThlYWI3ODE0ZDdkZDc0YzJhMzNhMjJlMzM5YmNjZTgyZWQ0NWNhMDQ2ZDlmNzE4OTA4MzJjNGQzODNiMWQ2Nzk1NTMzN2YyNzA2IiwiaWF0IjoxNzE5Mjk0MDkwLCJuYmYiOjE3MTkyOTQwOTAsImV4cCI6MTcxOTg5ODg5MCwic3ViIjoiMTcwMyIsInNjb3BlcyI6W119.pSJOUA6X4rOXF4b6yNpSTuxVM8Ob5pGtgHmuKi6c5mRp6etdR-8qUkx6gGz_iiOnm4RYpXxBMyhpSS6ENWrU6m7_fdUYZNs1r9STYgihN-mipfjLEmc0Gn_r-bYaJM9EaakhnWh4cuuceqZmlV3FxXhlJytolv5c7KygowOIjHsMFom8FPgoJrM9So9E0qJwoexs6RA9B3hYcQYgLl18ptYgTaweOzJhaDPN7mTkcFRh2XtY1lcHniYjULYfSgX9SIq4UUBXWPMmwuYr8RyUpUlyHH5LjLYVBT1m1RTyXOt-T4-4oaevfJWjsfoXvw33S4cVGu7DEdO471GhVT_hH3A312SG1vIFanEX1ePA_pPNnbg2ph8rpS8Jq0PPJClm2MGj6oNhxORsURu0OdwwSChDznzykIXs5GXKhHUAOuwE56ay5lQ-FKkIYFw8oZO_PmUsmycdY2a9wepefVowh9maRJ8BgdnCgZ_dhGW_cKdk_x5w64a-hjxhPBQSIN0XjscTi2gt1sJrheJVmfBlMBwYSWvuVQ-QzZ5QXLTrVTfQ14YddDA7jFXf6yyCtrcFQUUALv4YX7jE91p3w6kEiCeL91V1UpFKQiEdtBpIatHhWrYEZ6oluyV2Gwzwz3kMtnnqrI0GwG7_zJCYlD1bgba3hiOSywUwR3DQz77o59A\",\n    \"additionalInfo\": [],\n    \"responseMessage\": \"Successfuly\"\n}"}],"_postman_id":"4e238f82-49f4-402d-80ca-6dcf1d6871b5"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"55fbf7c1-e505-4128-b7a1-20fdd191da3b","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"8600d118-ffbb-4f4a-81a1-56964f17a94d","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"f0d17a04-fd6e-4603-820b-0307775f587a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"},{"key":"EndpointUrl","value":"/api/v1/qr/apply-ott","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userResources\": [\r\n        \"OTT\"\r\n    ],\r\n    \"additionalInfo\": {\r\n        \"phoneNumber\": \"6281317120222\",\r\n        \"partnerReferenceNo\": \"{{merchantCode}}1004\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"23e148f8-1962-4046-8e54-f96883af0119","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"},{"key":"EndpointUrl","value":"/api/v1/qr/apply-ott","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userResources\": [\r\n        \"OTT\"\r\n    ],\r\n    \"additionalInfo\": {\r\n        \"phoneNumber\": \"6281317120222\",\r\n        \"partnerReferenceNo\": \"{{merchantCode}}004\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:46:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"gHGVcwrUKSTeMtluAETdORlWctzP2wOGayN+7KilemlPt2KUy9/JHIKSET7VWYS64lb59bSAcB5RyCe0JiydGg==\"\n}"}],"_postman_id":"f0d17a04-fd6e-4603-820b-0307775f587a"}],"id":"c8ddceed-150d-45a6-80c4-ad412643ec62","_postman_id":"c8ddceed-150d-45a6-80c4-ad412643ec62","description":""},{"name":"Payment H2H","item":[{"name":"Payment H2H","event":[{"listen":"prerequest","script":{"id":"c2efdb1a-11d1-4814-afd1-6ed00e8ef3aa","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"5c5558ba-9847-48ec-a6f4-0251726a8581","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\n    \"merchantId\": \"{{merchantCode}}\",\n    \"subMerchantId\": \"310928924949487\",\n    \"amount\": {\n        \"value\": \"500000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"feeAmount\": {\n        \"value\": \"1000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"otp\": \"123654\",\n    \"verificationId\": \"310928924949487\",\n    \"additionalInfo\": {\n        \"deviceId\": \"12345679237\",\n        \"channel\": \"mobilephone\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-payment","description":"<h3 id=\"post-qrqr-mpm-payment\">POST /qr/qr-mpm-payment</h3>\n<p>This endpoint is used to initiate a QR code payment.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>partnerReferenceNo</code> (string, optional): Partner reference number for the transaction.</p>\n</li>\n<li><p><code>merchantId</code> (string, required): ID of the merchant initiating the transaction.</p>\n</li>\n<li><p><code>subMerchantId</code> (string, optional): ID of the sub-merchant, if applicable.</p>\n</li>\n<li><p><code>amount</code> (object, required): Amount details for the transaction.</p>\n<ul>\n<li><p><code>value</code> (string, required): The value of the transaction amount.</p>\n</li>\n<li><p><code>currency</code> (string, required): The currency of the transaction amount.</p>\n</li>\n</ul>\n</li>\n<li><p><code>feeAmount</code> (object, optional): Fee amount details for the transaction.</p>\n<ul>\n<li><p><code>value</code> (string, optional): The value of the fee amount.</p>\n</li>\n<li><p><code>currency</code> (string, optional): The currency of the fee amount.</p>\n</li>\n</ul>\n</li>\n<li><p><code>otp</code> (string, optional): One-time password for the transaction.</p>\n</li>\n<li><p><code>verificationId</code> (string, optional): Verification ID for the transaction.</p>\n</li>\n<li><p><code>additionalInfo</code> (object, required): Additional information for the transaction.</p>\n<ul>\n<li><p><code>deviceId</code> (string, required): Device ID used for the transaction.</p>\n</li>\n<li><p><code>channel</code> (string, required): Channel used for the transaction.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request can be represented as a JSON schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"responseCode\": { \"type\": \"string\" },\n    \"referenceNo\": { \"type\": \"string\" },\n    \"partnerReferenceNo\": { \"type\": \"string\" },\n    \"transactionDate\": { \"type\": \"string\" },\n    \"amount\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"value\": { \"type\": \"string\" },\n        \"currency\": { \"type\": \"string\" }\n      }\n    },\n    \"additionalInfo\": { \"type\": \"array\" },\n    \"responseMessage\": { \"type\": \"string\" }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["qr","qr-mpm-payment"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"c373b75f-fb7b-4709-a39b-013e429cf938","name":"Error Unauthorized Signature","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerReferenceNo\": \"{{merchantCode}}1004s\",\n    \"merchantId\": \"{{merchantCode}}\",\n    \"subMerchantId\": \"310928924949487\",\n    \"amount\": {\n        \"value\": \"500000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"feeAmount\": {\n        \"value\": \"1000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"otp\": \"123654\",\n    \"verificationId\": \"310928924949487\",\n    \"additionalInfo\": {\n        \"deviceId\": \"12345679237\",\n        \"channel\": \"mobilephone\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-payment"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:48:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4015000\",\n    \"responseMessage\": \"Unauthorized Signature\"\n}"},{"id":"c643cadf-a5fc-4d3b-bb8c-9df5d321a3ed","name":"Error Transaction Not Found","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerReferenceNo\": \"{{merchantCode}}1004s\",\n    \"merchantId\": \"{{merchantCode}}\",\n    \"subMerchantId\": \"310928924949487\",\n    \"amount\": {\n        \"value\": \"500000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"feeAmount\": {\n        \"value\": \"1000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"otp\": \"123654\",\n    \"verificationId\": \"310928924949487\",\n    \"additionalInfo\": {\n        \"deviceId\": \"12345679237\",\n        \"channel\": \"mobilephone\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-payment"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:48:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseMessage\": \"Transaction Not Found\",\n    \"responseCode\": \"4045001\"\n}"},{"id":"ccf753bb-d70e-4793-bd94-b860208f7b3e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"},{"key":"Authorization-Customer","value":"Bearer {{bindingAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\n    \"merchantId\": \"{{merchantCode}}\",\n    \"subMerchantId\": \"310928924949487\",\n    \"amount\": {\n        \"value\": \"500000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"feeAmount\": {\n        \"value\": \"1000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"otp\": \"123654\",\n    \"verificationId\": \"310928924949487\",\n    \"additionalInfo\": {\n        \"deviceId\": \"12345679237\",\n        \"channel\": \"mobilephone\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-payment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:49:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"2005000\",\n    \"referenceNo\": \"940000001130\",\n    \"partnerReferenceNo\": \"NP2024NHFEAJcTuX1004\",\n    \"transactionDate\": \"2024-06-25T12:49:34+07:00\",\n    \"amount\": {\n        \"value\": \"3000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"additionalInfo\": [],\n    \"responseMessage\": \"Successfuly\"\n}"}],"_postman_id":"5c5558ba-9847-48ec-a6f4-0251726a8581"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"62ed6883-b091-4165-93f2-feaff1a0078a","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"9517743a-1840-4908-86d6-4e7591a980f8","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"6a2c0224-10b7-4602-a863-37f3c5e0d375","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-payment","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"subMerchantId\": \"310928924949487\",\r\n    \"amount\": {\r\n        \"value\": \"500000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"feeAmount\": {\r\n        \"value\": \"1000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"otp\": \"123654\",\r\n    \"verificationId\": \"310928924949487\",\r\n    \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"64538dde-0b44-4341-adc0-f5dc3d4c4d54","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-payment","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"subMerchantId\": \"310928924949487\",\r\n    \"amount\": {\r\n        \"value\": \"500000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"feeAmount\": {\r\n        \"value\": \"1000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"otp\": \"123654\",\r\n    \"verificationId\": \"310928924949487\",\r\n    \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:47:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"Wn+Erze5AOAXDGKbKc/oiWOAfaaeqURyOK4+9WGdhTgpl9uNkI/SwrbA49uvQcOnfQVZjCqQMkx0XTUVJ3ohTA==\"\n}"}],"_postman_id":"6a2c0224-10b7-4602-a863-37f3c5e0d375"}],"id":"7369d047-cd54-480e-822d-c6ccbc7d88c1","_postman_id":"7369d047-cd54-480e-822d-c6ccbc7d88c1","description":""},{"name":"Query Payment","item":[{"name":"Query Payment","event":[{"listen":"prerequest","script":{"id":"032b763c-3530-4165-af07-3eb83dc2920e","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"0fbd13d4-2985-417f-90c3-84affc4485a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"00111","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"serviceCode\": \"47\",\r\n    \"externalStoreId\": \"abcd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-query","description":"<h3 id=\"post-qrqr-mpm-query\">POST /qr/qr-mpm-query</h3>\n<p>This endpoint is used to query a QR transaction using the original partner reference number, service code, and external store ID.</p>\n<p><strong>Request Body</strong></p>\n<ul>\n<li><p><code>originalPartnerReferenceNo</code> (string, optional): The original partner reference number for the transaction.</p>\n</li>\n<li><p><code>serviceCode</code> (string, optional): The service code for the transaction.</p>\n</li>\n<li><p><code>externalStoreId</code> (string, optional): The external store ID for the transaction.</p>\n</li>\n</ul>\n<p><strong>Response</strong><br />The response for this request is a JSON object with the following properties:</p>\n<ul>\n<li><p><code>responseCode</code> (string): The response code for the transaction.</p>\n</li>\n<li><p><code>latestTransactionStatus</code> (string): The latest transaction status.</p>\n</li>\n<li><p><code>transactionStatusDesc</code> (string): Description of the transaction status.</p>\n</li>\n<li><p><code>originalReferenceNo</code> (string): The original reference number for the transaction.</p>\n</li>\n<li><p><code>originalPartnerReferenceNo</code> (string): The original partner reference number for the transaction.</p>\n</li>\n<li><p><code>serviceCode</code> (string): The service code for the transaction.</p>\n</li>\n<li><p><code>paidTime</code> (string or null): The time at which the transaction was paid.</p>\n</li>\n<li><p><code>amount</code> (object): The amount object with <code>value</code> and <code>currency</code> properties.</p>\n</li>\n<li><p><code>feeAmount</code> (object): The fee amount object with <code>value</code> and <code>currency</code> properties.</p>\n</li>\n<li><p><code>terminalId</code> (string): The terminal ID for the transaction.</p>\n</li>\n<li><p><code>additionalInfo</code> (object): Additional information including <code>merchant_id</code>, <code>transactionId</code>, and <code>rrn</code>.</p>\n</li>\n<li><p><code>responseMessage</code> (string): The response message for the transaction.</p>\n</li>\n</ul>\n<p><strong>JSON Schema for Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"responseCode\": {\"type\": \"string\"},\n    \"latestTransactionStatus\": {\"type\": \"string\"},\n    \"transactionStatusDesc\": {\"type\": \"string\"},\n    \"originalReferenceNo\": {\"type\": \"string\"},\n    \"originalPartnerReferenceNo\": {\"type\": \"string\"},\n    \"serviceCode\": {\"type\": \"string\"},\n    \"paidTime\": {\"type\": [\"string\", \"null\"]},\n    \"amount\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"value\": {\"type\": \"string\"},\n        \"currency\": {\"type\": \"string\"}\n      }\n    },\n    \"feeAmount\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"value\": {\"type\": \"string\"},\n        \"currency\": {\"type\": \"string\"}\n      }\n    },\n    \"terminalId\": {\"type\": \"string\"},\n    \"additionalInfo\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"merchant_id\": {\"type\": \"integer\"},\n        \"transactionId\": {\"type\": [\"string\", \"null\"]},\n        \"rrn\": {\"type\": [\"string\", \"null\"]}\n      }\n    },\n    \"responseMessage\": {\"type\": \"string\"}\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["qr","qr-mpm-query"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"8cc6c155-1cbd-43ca-ba0d-b4c31f30d515","name":"success-pending-payment","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2020-01-01T00:00:00+07:00","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"00111","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"2024062400000000000001\",\r\n    \"serviceCode\": \"47\",\r\n    \"externalStoreId\": \"abcd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-query"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 09:16:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"2005100\",\n    \"latestTransactionStatus\": \"03\",\n    \"transactionStatusDesc\": \"Pending (Waiting User to Pay)\",\n    \"originalReferenceNo\": \"0DFN10CRUT\",\n    \"originalPartnerReferenceNo\": \"2024062400000000000001\",\n    \"serviceCode\": \"47\",\n    \"paidTime\": null,\n    \"amount\": {\n        \"value\": \"3000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"feeAmount\": {\n        \"value\": \"0.00\",\n        \"currency\": \"IDR\"\n    },\n    \"terminalId\": \"213141251124\",\n    \"additionalInfo\": {\n        \"merchant_id\": 44,\n        \"transactionId\": null,\n        \"rrn\": null\n    },\n    \"responseMessage\": \"Successfuly\"\n}"},{"id":"2337c287-b79f-4a45-9df4-caea3a358638","name":"Error Transaction Not Found","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"00111","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1005\",\r\n    \"serviceCode\": \"47\",\r\n    \"externalStoreId\": \"abcd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-query"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:50:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4045101\",\n    \"responseMessage\": \"Transaction Not Found\"\n}"},{"id":"f762b982-4929-4ebb-a6ee-237afcd39d4a","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"00111","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"serviceCode\": \"47\",\r\n    \"externalStoreId\": \"abcd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-query"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:50:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"2005100\",\n    \"latestTransactionStatus\": \"00\",\n    \"transactionStatusDesc\": \"Success\",\n    \"originalReferenceNo\": \"0DFPQBUOF7\",\n    \"originalPartnerReferenceNo\": \"NP2024NHFEAJcTuX1004\",\n    \"serviceCode\": \"47\",\n    \"paidTime\": \"2024-06-25T12:49:34+07:00\",\n    \"amount\": {\n        \"value\": \"3000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"feeAmount\": {\n        \"value\": \"0.00\",\n        \"currency\": \"IDR\"\n    },\n    \"terminalId\": \"213141251124\",\n    \"additionalInfo\": {\n        \"merchant_id\": 245,\n        \"transactionId\": \"202406-0aa626bc-e2ba-3fc8-b42c-75e7eba1ae0c\",\n        \"rrn\": \"940000001130\"\n    },\n    \"responseMessage\": \"Successfuly\"\n}"},{"id":"24cc3ad0-afab-4f9b-a8c0-b47b1ae3b838","name":"success not paid","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"00111","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"serviceCode\": \"47\",\r\n    \"externalStoreId\": \"abcd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-query"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Jul 2024 04:17:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"2005100\",\n    \"latestTransactionStatus\": \"03\",\n    \"transactionStatusDesc\": \"Pending (Waiting User to Pay)\",\n    \"originalReferenceNo\": \"0DGBL8PH3U\",\n    \"originalPartnerReferenceNo\": \"NP2023x8tudzzLRh1004\",\n    \"serviceCode\": \"47\",\n    \"paidTime\": null,\n    \"amount\": {\n        \"value\": \"3000.00\",\n        \"currency\": \"IDR\"\n    },\n    \"feeAmount\": {\n        \"value\": \"0.00\",\n        \"currency\": \"IDR\"\n    },\n    \"terminalId\": \"213141251124\",\n    \"additionalInfo\": {\n        \"merchant_id\": 44,\n        \"transactionId\": null,\n        \"rrn\": null\n    },\n    \"responseMessage\": \"Successfuly\"\n}"}],"_postman_id":"0fbd13d4-2985-417f-90c3-84affc4485a9"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"e89b74c9-4dc7-4f3a-a695-5ca45e06528f","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"00a784f1-909e-4af1-b109-135ea213ef5b","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"c15657ee-4248-403f-aa00-234591d5e01b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-query","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"serviceCode\": \"47\",\r\n    \"externalStoreId\": \"abcd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"94d778cd-dc4a-4f5d-a3ad-4b9d6c6f294a","name":"success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2020-01-01T00:00:00+07:00","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-query","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"2024062400000000000001\",\r\n    \"serviceCode\": \"47\",\r\n    \"externalStoreId\": \"abcd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 09:15:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"onH3Ru0me9xKWxt3u1kZlUWxkp5eiwRnN+rTKmWKTT2m8pimrhzi3gADJ4H8kmsVFmDeNOB1nspI9tkZbjrNsg==\"\n}"}],"_postman_id":"c15657ee-4248-403f-aa00-234591d5e01b"}],"id":"506d12a9-295a-40b2-9af6-7e3cd6d80e41","_postman_id":"506d12a9-295a-40b2-9af6-7e3cd6d80e41","description":""},{"name":"Payment Notify","item":[{"name":"Payment Notify","event":[{"listen":"prerequest","script":{"id":"6479d124-dee2-4190-a8be-94331860167e","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"7ce5d35f-d3a5-41c5-ba1b-2bf9400ac70d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"cd56a37hwgiu5jzppbz3pf4gf65wjbuf","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalReferenceNo\": \"2020102977770000000009\",\r\n    \"originalPartnerReferenceNo\": \"2020102900000000000001\",\r\n    \"latestTransactionStatus\": \"00\",\r\n    \"transactionStatusDesc\": \"success\",\r\n    \"customerNumber\": \"6281388370001\",\r\n    \"accountType\": \"tabungan\",\r\n    \"destinationNumber\": \"8377388292\",\r\n    \"destinationAccountName\": \"John Doe\",\r\n    \"amount\": {\r\n        \"value\": \"12345678.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"sessionID\": \"0UYEB77329002HY\",\r\n    \"bankCode\": \"002\",\r\n    \"externalStoreID\": \"124928924949487\",\r\n    \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{local}}/qr/qr-mpm-notify","description":"<h3 id=\"post-qrqr-mpm-notify\">POST /qr/qr-mpm-notify</h3>\n<p>This endpoint is used to notify the QR system about a mobile payment transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>originalReferenceNo</code> (string, optional): The original reference number of the transaction.</p>\n</li>\n<li><p><code>originalPartnerReferenceNo</code> (string, optional): The original partner reference number of the transaction.</p>\n</li>\n<li><p><code>latestTransactionStatus</code> (string, optional): The latest transaction status.</p>\n</li>\n<li><p><code>transactionStatusDesc</code> (string, optional): Description of the transaction status.</p>\n</li>\n<li><p><code>customerNumber</code> (string, optional): The customer's number.</p>\n</li>\n<li><p><code>accountType</code> (string, optional): The type of account.</p>\n</li>\n<li><p><code>destinationNumber</code> (string, optional): The destination number for the transaction.</p>\n</li>\n<li><p><code>destinationAccountName</code> (string, optional): The name of the destination account.</p>\n</li>\n<li><p><code>amount</code> (object, optional):</p>\n<ul>\n<li><p><code>value</code> (string, optional): The amount value.</p>\n</li>\n<li><p><code>currency</code> (string, optional): The currency of the amount.</p>\n</li>\n</ul>\n</li>\n<li><p><code>sessionID</code> (string, optional): The session ID for the transaction.</p>\n</li>\n<li><p><code>bankCode</code> (string, optional): The bank code.</p>\n</li>\n<li><p><code>externalStoreID</code> (string, optional): The external store ID.</p>\n</li>\n<li><p><code>additionalInfo</code> (object, optional):</p>\n<ul>\n<li><p><code>deviceId</code> (string, optional): The device ID used for the transaction.</p>\n</li>\n<li><p><code>channel</code> (string, optional): The channel used for the transaction.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"message\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["qr","qr-mpm-notify"],"host":["{{local}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ce5d35f-d3a5-41c5-ba1b-2bf9400ac70d"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"871f0ac4-6db8-4ffe-85a4-ca663af480fa","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"cd573368-01c4-466e-a462-54e4dfe45bd1","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"e1e353eb-01e7-4ba1-bb02-2e42b2db57d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"cSoyNi8sX2NLRVR2MSVLTEJbO1J6dm06NHddJGImLjg=","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"},{"key":"EndpointUrl","value":"/api/v1.0/qr/qr-mpm-notify","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalReferenceNo\": \"2020102977770000000009\",\r\n    \"originalPartnerReferenceNo\": \"2020102900000000000001\",\r\n    \"latestTransactionStatus\": \"00\",\r\n    \"transactionStatusDesc\": \"success\",\r\n    \"customerNumber\": \"6281388370001\",\r\n    \"accountType\": \"tabungan\",\r\n    \"destinationNumber\": \"8377388292\",\r\n    \"destinationAccountName\": \"John Doe\",\r\n    \"amount\": {\r\n        \"value\": \"12345678.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"sessionID\": \"0UYEB77329002HY\",\r\n    \"bankCode\": \"002\",\r\n    \"externalStoreID\": \"124928924949487\",\r\n    \"additionalInfo\": {\r\n        \"deviceId\": \"12345679237\",\r\n        \"channel\": \"mobilephone\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{local}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{local}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e1e353eb-01e7-4ba1-bb02-2e42b2db57d0"}],"id":"ccb9ad2b-f11d-4398-9511-97ac4f06209d","_postman_id":"ccb9ad2b-f11d-4398-9511-97ac4f06209d","description":""},{"name":"Cancel Payment","item":[{"name":"Cancel Payment","event":[{"listen":"prerequest","script":{"id":"398c3bc7-e96d-4f94-a455-d2314725b3c8","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"218d5807-1692-4d95-991c-325b9fcae68c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1003\",\r\n    \"externalStoreId\": \"abcd\",\r\n    \"reason\": \"cancel reason\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-cancel","description":"<h3 id=\"post-qrqr-mpm-cancel\">POST /qr/qr-mpm-cancel</h3>\n<p>This endpoint is used to cancel a QR transaction.</p>\n<p>*Cancel payment can be processed while the transaction not yet forwarded to acquirer</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>originalPartnerReferenceNo</code> (string, optional): The original partner reference number.</p>\n</li>\n<li><p><code>externalStoreId</code> (string, optional): The external store ID.</p>\n</li>\n<li><p><code>reason</code> (string, optional): The reason for cancellation.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON object with the following properties:</p>\n<ul>\n<li><p><code>responseCode</code> (string): The response code indicating the status of the cancellation.</p>\n</li>\n<li><p><code>originalPartnerReferenceNo</code> (string): The original partner reference number.</p>\n</li>\n<li><p><code>cancelTime</code> (string): The timestamp of the cancellation.</p>\n</li>\n<li><p><code>transactionDate</code> (string): The date of the original transaction.</p>\n</li>\n<li><p><code>additionalInfo</code> (object): Additional information, including the <code>merchant_id</code>.</p>\n<ul>\n<li><code>merchant_id</code> (number): The ID of the merchant.</li>\n</ul>\n</li>\n<li><p><code>responseMessage</code> (string): A message providing additional details about the cancellation response.</p>\n</li>\n</ul>\n<h4 id=\"json-schema\">JSON Schema</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"responseCode\": {\"type\": \"string\"},\n    \"originalPartnerReferenceNo\": {\"type\": \"string\"},\n    \"cancelTime\": {\"type\": \"string\"},\n    \"transactionDate\": {\"type\": \"string\"},\n    \"additionalInfo\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"merchant_id\": {\"type\": \"number\"}\n      }\n    },\n    \"responseMessage\": {\"type\": \"string\"}\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["qr","qr-mpm-cancel"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"9d53ae54-0d20-4f42-8529-0288cf6e293b","name":"success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2020-01-01T00:00:00+07:00","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"0022","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"2024062400000000000001\",\r\n    \"externalStoreId\": \"abcd\",\r\n    \"reason\": \"cancel reason\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 09:17:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"2007700\",\n    \"originalPartnerReferenceNo\": \"2024062400000000000001\",\n    \"cancelTime\": \"2024-06-24T16:17:32+07:00\",\n    \"transactionDate\": \"2024-06-24T16:13:09+07:00\",\n    \"additionalInfo\": {\n        \"merchant_id\": 44\n    },\n    \"responseMessage\": \"Successfuly\"\n}"},{"id":"835f1c14-de66-4129-bd7c-ed00085e0e1b","name":"Error QRIS Not Found","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1003\",\r\n    \"externalStoreId\": \"abcd\",\r\n    \"reason\": \"cancel reason\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-cancel"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:56:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"61"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4007700\",\n    \"responseMessage\": \"QRIS Not Found\"\n}"}],"_postman_id":"218d5807-1692-4d95-991c-325b9fcae68c"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"8e0a5756-8052-45e5-a987-63fece54d138","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"5d423ecf-165e-4a02-8b9b-e6b0aae2591e","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"a0a3eb7a-a118-40b1-8230-bff5e3ff4745","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-cancel","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1003\",\r\n    \"externalStoreId\": \"abcd\",\r\n    \"reason\": \"cancel reason\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"c5dce1fc-a6b9-4db9-9e3f-12cb00a56864","name":"success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2020-01-01T00:00:00+07:00","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-cancel","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"originalPartnerReferenceNo\": \"2024062400000000000001\",\r\n    \"externalStoreId\": \"abcd\",\r\n    \"reason\": \"cancel reason\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 09:17:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"f2VoCbGoewQ6yZsOrrba1cC+Vi9MOzbfgexyORQevV/UzNPA63YL4RMNjWH5tiAD6L/l+cHIXCT7fzv6YBw2Qg==\"\n}"}],"_postman_id":"a0a3eb7a-a118-40b1-8230-bff5e3ff4745"}],"id":"d7c14484-d42a-4725-a1ab-5dfb81184f34","_postman_id":"d7c14484-d42a-4725-a1ab-5dfb81184f34","description":""},{"name":"Refund Payment","item":[{"name":"Refund Payment","event":[{"listen":"prerequest","script":{"id":"54d9d6c2-126d-4400-bcfc-20500b28f609","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"c76acfa7-b35b-478e-bf5d-b2377d523a82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"externalStoreId\": \"abcd\",\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1004\",\n    \"partnerRefundNo\": \"940000001130\",\n    \"reason\": \"Customer complain\",\n    \"additionalInfo\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-refund","description":"<p>This endpoint allows you to initiate a refund for a previously made payment. The HTTP POST request should be made to {{HOST}}/qr/qr-mpm-refund. The request should include the following parameters in the raw request body:</p>\n<ul>\n<li><p><code>externalStoreId</code> (string): The ID of the external store.</p>\n</li>\n<li><p><code>originalPartnerReferenceNo</code> (string): The original partner reference number.</p>\n</li>\n<li><p><code>partnerRefundNo</code> (string): The partner refund number.</p>\n</li>\n<li><p><code>reason</code> (string): The reason for the refund.</p>\n</li>\n<li><p><code>additionalInfo</code> (null): Additional information, if any.</p>\n</li>\n</ul>\n<p>Upon a successful request, the response will contain the relevant details of the refund process.</p>\n","urlObject":{"path":["qr","qr-mpm-refund"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"418adf8a-580b-4384-b253-946b3a4e9e6d","name":"Error Access Token Invalid","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"externalStoreId\": \"abcd\",\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1005\",\n    \"partnerRefundNo\": \"9400000011305\",\n    \"reason\": \"Customer complain\",\n    \"additionalInfo\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-refund"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:51:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"67"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4017801\",\n    \"responseMessage\": \"Access Token Invalid\"\n}"},{"id":"efed4aa0-34da-4a78-a6e4-8365a392947d","name":"Error Transaction Not Found","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"externalStoreId\": \"abcd\",\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1005\",\n    \"partnerRefundNo\": \"9400000011305\",\n    \"reason\": \"Customer complain\",\n    \"additionalInfo\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-refund"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:52:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4047801\",\n    \"responseMessage\": \"Transaction Not Found\"\n}"},{"id":"ebc01fcf-343b-4d92-9379-482a332fdb8d","name":"Error Transaction Id Format Is Ivalid","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-SIGNATURE","value":"{{signatureService}}","type":"text"},{"key":"X-PARTNER-ID","value":"{{client_key}}","type":"text"},{"key":"X-EXTERNAL-ID","value":"002","type":"text"},{"key":"CHANNEL-ID","value":"003","type":"text"},{"key":"Authorization","value":"Bearer {{accessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"externalStoreId\": \"abcd\",\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1004\",\n    \"partnerRefundNo\": \"940000001130\",\n    \"reason\": \"Customer complain\",\n    \"additionalInfo\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-refund"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:54:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"90"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseCode\": \"4007800\",\n    \"responseMessage\": \"The transaction id field format is invalid.\"\n}"}],"_postman_id":"c76acfa7-b35b-478e-bf5d-b2377d523a82"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"8317401a-e77c-4b3a-a924-d88a6d973fa0","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"f78e06c4-dcbd-4205-bf81-d428ece99d35","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"2f84194d-76d7-4617-98b5-c9c6ae0024ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-refund","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"externalStoreId\": \"abcd\",\r\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"partnerRefundNo\": \"940000001130\",\r\n    \"reason\": \"Customer complain\",\r\n    \"additionalInfo\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"42cf78b8-6dab-431c-a26d-3f5e70170cb1","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}","type":"text"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}","type":"text"},{"key":"AccessToken","value":"{{accessToken}}","type":"text"},{"key":"HttpMethod","value":"POST","type":"text"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-refund","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"externalStoreId\": \"abcd\",\r\n    \"originalPartnerReferenceNo\": \"{{merchantCode}}1005\",\r\n    \"partnerRefundNo\": \"9400000011305\",\r\n    \"reason\": \"Customer complain\",\r\n    \"additionalInfo\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:51:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"elb"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"evt8S7GqiqfZz120G5CGECOh2ioLdLI2LeX4iDt18YkCU5mPS6jhAr/zayT3j6tDH5hmyy+lhGCGyKbfogwshQ==\"\n}"}],"_postman_id":"2f84194d-76d7-4617-98b5-c9c6ae0024ef"}],"id":"08b8a02f-c019-480e-b03e-60367990e5b5","_postman_id":"08b8a02f-c019-480e-b03e-60367990e5b5","description":""}],"id":"c9966e45-9daa-497e-b510-01caa97fee9c","_postman_id":"c9966e45-9daa-497e-b510-01caa97fee9c","description":""},{"name":"API Transfer to Bank","item":[{"name":"Bank Account Inquiry","item":[{"name":"Account Inquiry","event":[{"listen":"test","script":{"id":"da172f72-0676-4aad-880c-c6a5ae79b781","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"23595835-08e3-4da1-a5c4-765b475cd0ba","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"bd4141ec-cd7c-426e-8f44-a18ea8090c7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-SIGNATURE","value":"{{signatureService}}"},{"key":"X-PARTNER-ID","value":"{{client_key}}"},{"key":"X-EXTERNAL-ID","value":"002"},{"key":"CHANNEL-ID","value":"003"},{"key":"Authorization","value":"Bearer {{accessToken}}"}],"body":{"mode":"raw","raw":"{\r\n   \"partnerReferenceNo\":\"{{merchantCode}}1004\",\r\n   \"customerNumber\":\"6281317120222\",\r\n   \"amount\":{\r\n      \"value\":\"10000.00\",\r\n      \"currency\":\"IDR\"\r\n   },\r\n   \"beneficiaryAccountNumber\":\"8377388292\",\r\n   \"beneficiaryBankCode\":\"014\",\r\n   \"additionalInfo\":{\r\n      \"deviceId\":\"12345679237\",\r\n      \"channel\":\"mobilephone\"\r\n   }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/emoney/bank-account-inquiry","description":"<h3 id=\"registration-account-binding\">Registration Account Binding</h3>\n<p>This endpoint is used to bind a registration account with the provided merchant details.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>merchantId</code> (string, required): The ID of the merchant.</p>\n</li>\n<li><p><code>authCode</code> (string, required): The authentication code for the merchant.</p>\n</li>\n<li><p><code>grantType</code> (string, required): The type of grant for the registration account.</p>\n</li>\n<li><p><code>platformType</code> (string, required): The type of platform for the registration account.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"responseCode\": {\n    \"type\": \"string\"\n  },\n  \"accessTokenInfo\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"accessToken\": {\n        \"type\": \"string\"\n      },\n      \"expiresIn\": {\n        \"type\": \"string\"\n      },\n      \"refreshToken\": {\n        \"type\": \"string\"\n      },\n      \"reExpiresIn\": {\n        \"type\": \"string\"\n      },\n      \"tokenStatus\": {\n        \"type\": \"string\"\n      }\n    }\n  },\n  \"linkId\": {\n    \"type\": \"string\"\n  },\n  \"userInfo\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"publicUserId\": {\n        \"type\": \"integer\"\n      },\n      \"userName\": {\n        \"type\": \"string\"\n      },\n      \"userEmail\": {\n        \"type\": \"string\"\n      }\n    }\n  },\n  \"additionalInfo\": {\n    \"type\": \"array\"\n  },\n  \"responseMessage\": {\n    \"type\": \"string\"\n  }\n}\n\n</code></pre>\n<p>The response includes a <code>responseCode</code> field, <code>accessTokenInfo</code> object containing <code>accessToken</code>, <code>expiresIn</code>, <code>refreshToken</code>, <code>reExpiresIn</code>, and <code>tokenStatus</code>, <code>linkId</code>, <code>userInfo</code> object containing <code>publicUserId</code>, <code>userName</code>, and <code>userEmail</code>, <code>additionalInfo</code> array, and <code>responseMessage</code> providing additional information.</p>\n","urlObject":{"path":["emoney","bank-account-inquiry"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd4141ec-cd7c-426e-8f44-a18ea8090c7e"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"e1a71318-fd30-452e-8fc5-7abf20a92b3e","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"52513f1d-ab0e-47e2-92c4-6ad50bf3d80c","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"7f021851-193c-4d64-a6c4-168101cce31b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/emoney/bank-account-inquiry"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n   \"partnerReferenceNo\":\"{{merchantCode}}1004\",\r\n   \"customerNumber\":\"6281317120222\",\r\n   \"amount\":{\r\n      \"value\":\"10000.00\",\r\n      \"currency\":\"IDR\"\r\n   },\r\n   \"beneficiaryAccountNumber\":\"8377388292\",\r\n   \"beneficiaryBankCode\":\"014\",\r\n   \"additionalInfo\":{\r\n      \"deviceId\":\"12345679237\",\r\n      \"channel\":\"mobilephone\"\r\n   }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"95a886d8-7af0-463d-9b6c-6d0db4a6ac1a","name":"success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"2024-05-03T00:00:00+07:00"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-generate"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"partnerReferenceNo\": \"2024062400000000000001\",\r\n    \"amount\": {\r\n        \"value\": \"3000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"storeId\": \"abcd\",\r\n    \"terminalId\": \"213141251124\",\r\n    \"additionalInfo\": {\r\n        \"description\": \"pembayaran qris\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 09:13:02 GMT","uuid":"77b18e05-a246-4a25-bfaa-5ec69353d2e7"},{"key":"Content-Type","value":"application/json","uuid":"c22632e1-0327-4354-8f48-777c5a189f50"},{"key":"Transfer-Encoding","value":"chunked","uuid":"db44e899-e695-4144-8510-340672cc63bc"},{"key":"Connection","value":"keep-alive","uuid":"6447e954-ed71-4893-805c-667e29f333fb"},{"key":"Vary","value":"Accept-Encoding","uuid":"3be0ccf7-7922-4a00-8514-2ba9adaa9c99"},{"key":"Access-Control-Allow-Origin","value":"*","uuid":"2d4d9559-4f26-4541-90e2-c4423396295b"},{"key":"X-Frame-Options","value":"SAMEORIGIN","uuid":"522074a8-f7e9-44f9-944b-8a9305361c66"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","uuid":"b71d7638-3559-45d1-b2a6-f8b3224751ac"},{"key":"X-Content-Type-Options","value":"nosniff","uuid":"ecffc525-71e1-44a0-afad-242f7a02a2b0"},{"key":"X-XSS-Protection","value":"1; mode=block","uuid":"6a2afd82-54c3-4fb7-a9be-66e1a87c4e97"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade","uuid":"3ff04414-1ba6-406f-a70b-fedd737f581d"},{"key":"Content-Encoding","value":"gzip","uuid":"f6187506-816b-41dc-bcd1-97de50c30056"},{"key":"Server","value":"elb","uuid":"ccea6319-c032-47c7-ab01-360f0e938785"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"gFlHsP1RMiOxllQej0VbpwrS2/kd9o87vlhhzPhoXigwAurZFHfJrXHOqNIhMY9De6322++9pOd6nHcFIZzWNg==\"\n}"}],"_postman_id":"7f021851-193c-4d64-a6c4-168101cce31b"}],"id":"4fa61181-8991-407a-9c2d-378fe08b5c40","_postman_id":"4fa61181-8991-407a-9c2d-378fe08b5c40","description":""},{"name":"Transfer Bank","item":[{"name":"Transfer Bank","event":[{"listen":"test","script":{"id":"da172f72-0676-4aad-880c-c6a5ae79b781","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"23595835-08e3-4da1-a5c4-765b475cd0ba","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"22a61033-b2ad-4107-ae36-94a9083699d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-SIGNATURE","value":"{{signatureService}}"},{"key":"X-PARTNER-ID","value":"{{client_key}}"},{"key":"X-EXTERNAL-ID","value":"002"},{"key":"CHANNEL-ID","value":"003"},{"key":"Authorization","value":"Bearer {{accessToken}}"}],"body":{"mode":"raw","raw":"{\r\n   \"partnerReferenceNo\":\"{{merchantCode}}1004\",\r\n   \"customerNumber\":\"6281317120222\",\r\n   \"amount\":{\r\n      \"value\":\"10000.00\",\r\n      \"currency\":\"IDR\"\r\n   },\r\n   \"beneficiaryAccountNumber\":\"8377388292\",\r\n   \"beneficiaryBankCode\":\"014\",\r\n   \"additionalInfo\":{}\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/emoney/transfer-bank","description":"<h3 id=\"registration-account-binding\">Registration Account Binding</h3>\n<p>This endpoint is used to bind a registration account with the provided merchant details.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>merchantId</code> (string, required): The ID of the merchant.</p>\n</li>\n<li><p><code>authCode</code> (string, required): The authentication code for the merchant.</p>\n</li>\n<li><p><code>grantType</code> (string, required): The type of grant for the registration account.</p>\n</li>\n<li><p><code>platformType</code> (string, required): The type of platform for the registration account.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"responseCode\": {\n    \"type\": \"string\"\n  },\n  \"accessTokenInfo\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"accessToken\": {\n        \"type\": \"string\"\n      },\n      \"expiresIn\": {\n        \"type\": \"string\"\n      },\n      \"refreshToken\": {\n        \"type\": \"string\"\n      },\n      \"reExpiresIn\": {\n        \"type\": \"string\"\n      },\n      \"tokenStatus\": {\n        \"type\": \"string\"\n      }\n    }\n  },\n  \"linkId\": {\n    \"type\": \"string\"\n  },\n  \"userInfo\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"publicUserId\": {\n        \"type\": \"integer\"\n      },\n      \"userName\": {\n        \"type\": \"string\"\n      },\n      \"userEmail\": {\n        \"type\": \"string\"\n      }\n    }\n  },\n  \"additionalInfo\": {\n    \"type\": \"array\"\n  },\n  \"responseMessage\": {\n    \"type\": \"string\"\n  }\n}\n\n</code></pre>\n<p>The response includes a <code>responseCode</code> field, <code>accessTokenInfo</code> object containing <code>accessToken</code>, <code>expiresIn</code>, <code>refreshToken</code>, <code>reExpiresIn</code>, and <code>tokenStatus</code>, <code>linkId</code>, <code>userInfo</code> object containing <code>publicUserId</code>, <code>userName</code>, and <code>userEmail</code>, <code>additionalInfo</code> array, and <code>responseMessage</code> providing additional information.</p>\n","urlObject":{"path":["emoney","transfer-bank"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"22a61033-b2ad-4107-ae36-94a9083699d8"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"e1a71318-fd30-452e-8fc5-7abf20a92b3e","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"52513f1d-ab0e-47e2-92c4-6ad50bf3d80c","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"4aaced28-5166-4a2e-b6d3-4b73b6065514","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/emoney/transfer-bank"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n   \"partnerReferenceNo\":\"{{merchantCode}}1004\",\r\n   \"customerNumber\":\"6281317120222\",\r\n   \"amount\":{\r\n      \"value\":\"10000.00\",\r\n      \"currency\":\"IDR\"\r\n   },\r\n   \"beneficiaryAccountNumber\":\"8377388292\",\r\n   \"beneficiaryBankCode\":\"014\",\r\n   \"additionalInfo\":{}\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"33464353-507a-4795-a6e4-bca3b751ae38","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-generate"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"amount\": {\r\n        \"value\": \"3000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"storeId\": \"abcd\",\r\n    \"terminalId\": \"213141251124\",\r\n    \"additionalInfo\": {\r\n        \"description\": \"pembayaran qris\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:43:29 GMT","uuid":"39cc001f-b9fd-4329-9a12-0b4d09324514"},{"key":"Content-Type","value":"application/json","uuid":"0f8b7b5f-65d8-4ff1-a39a-ce54d80457cd"},{"key":"Transfer-Encoding","value":"chunked","uuid":"73bb8b45-1ac3-44cf-8309-388148759642"},{"key":"Connection","value":"keep-alive","uuid":"2157eb2a-5668-4523-a084-155da0e660a0"},{"key":"Vary","value":"Accept-Encoding","uuid":"7b73edfd-ed61-438e-8a19-853418999f31"},{"key":"Access-Control-Allow-Origin","value":"*","uuid":"9867178d-a7db-4e09-9c60-9d914d237c66"},{"key":"X-Frame-Options","value":"SAMEORIGIN","uuid":"dd9650df-c4b7-49f5-8df1-3e7237f0bf64"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","uuid":"6f9f8d67-86cc-4358-a62a-bcf153031d8f"},{"key":"X-Content-Type-Options","value":"nosniff","uuid":"fe5ca5a0-d394-4cdf-9955-4ed4becd9294"},{"key":"X-XSS-Protection","value":"1; mode=block","uuid":"a0f274d4-32fd-4218-b9a2-2cf2f47f7b81"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade","uuid":"d07bff7d-4403-424c-98d2-bc7c1deebab0"},{"key":"Content-Encoding","value":"gzip","uuid":"31b7deff-dc41-46d5-b727-b2cf2a233c3b"},{"key":"Server","value":"elb","uuid":"24b12376-38f4-4be3-8d6a-55dbf1e430e9"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"F8YgxKPVaSyk9RsaGJ2UQz+3/ka7VwfLfiSz/L9l0GGxtQxZJkWXyT4GEn5vjKPOOJuh3vdCPOja8mmSRO6M2w==\"\n}"}],"_postman_id":"4aaced28-5166-4a2e-b6d3-4b73b6065514"}],"id":"3c3559e6-4007-4332-9f37-9cbf69c45538","_postman_id":"3c3559e6-4007-4332-9f37-9cbf69c45538","description":""},{"name":"Transfer Status Inquiry","item":[{"name":"Transfer Status Inquiry","event":[{"listen":"test","script":{"id":"da172f72-0676-4aad-880c-c6a5ae79b781","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"23595835-08e3-4da1-a5c4-765b475cd0ba","exec":["pm.request.headers.add({key:\"X-EXTERNAL-ID\", value: Math.random()})","pm.request.headers.add({key:\"CHANNEL-ID\", value: Math.random()})"],"type":"text/javascript","packages":{}}}],"id":"38cadc75-1385-451d-8fac-08384d4fedaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-SIGNATURE","value":"{{signatureService}}"},{"key":"X-PARTNER-ID","value":"{{client_key}}"},{"key":"X-EXTERNAL-ID","value":"002"},{"key":"CHANNEL-ID","value":"003"},{"key":"Authorization","value":"Bearer {{accessToken}}"}],"body":{"mode":"raw","raw":"{\r\n   \"partnerReferenceNo\":\"{{merchantCode}}1004\",\r\n   \"serviceCode\":\"42\",\r\n   \"additionalInfo\":{}\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/qr/qr-mpm-status","description":"<h3 id=\"registration-account-binding\">Registration Account Binding</h3>\n<p>This endpoint is used to bind a registration account with the provided merchant details.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>merchantId</code> (string, required): The ID of the merchant.</p>\n</li>\n<li><p><code>authCode</code> (string, required): The authentication code for the merchant.</p>\n</li>\n<li><p><code>grantType</code> (string, required): The type of grant for the registration account.</p>\n</li>\n<li><p><code>platformType</code> (string, required): The type of platform for the registration account.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"responseCode\": {\n    \"type\": \"string\"\n  },\n  \"accessTokenInfo\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"accessToken\": {\n        \"type\": \"string\"\n      },\n      \"expiresIn\": {\n        \"type\": \"string\"\n      },\n      \"refreshToken\": {\n        \"type\": \"string\"\n      },\n      \"reExpiresIn\": {\n        \"type\": \"string\"\n      },\n      \"tokenStatus\": {\n        \"type\": \"string\"\n      }\n    }\n  },\n  \"linkId\": {\n    \"type\": \"string\"\n  },\n  \"userInfo\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"publicUserId\": {\n        \"type\": \"integer\"\n      },\n      \"userName\": {\n        \"type\": \"string\"\n      },\n      \"userEmail\": {\n        \"type\": \"string\"\n      }\n    }\n  },\n  \"additionalInfo\": {\n    \"type\": \"array\"\n  },\n  \"responseMessage\": {\n    \"type\": \"string\"\n  }\n}\n\n</code></pre>\n<p>The response includes a <code>responseCode</code> field, <code>accessTokenInfo</code> object containing <code>accessToken</code>, <code>expiresIn</code>, <code>refreshToken</code>, <code>reExpiresIn</code>, and <code>tokenStatus</code>, <code>linkId</code>, <code>userInfo</code> object containing <code>publicUserId</code>, <code>userName</code>, and <code>userEmail</code>, <code>additionalInfo</code> array, and <code>responseMessage</code> providing additional information.</p>\n","urlObject":{"path":["qr","qr-mpm-status"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"38cadc75-1385-451d-8fac-08384d4fedaf"},{"name":"Signature Service","event":[{"listen":"prerequest","script":{"id":"e1a71318-fd30-452e-8fc5-7abf20a92b3e","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"52513f1d-ab0e-47e2-92c4-6ad50bf3d80c","exec":["const jsonData = pm.response.json();\r","/* Or set environmental variable */\r","pm.environment.set(\"signatureService\", jsonData.signature);"],"type":"text/javascript","packages":{}}}],"id":"91b0edfc-6278-4075-a1a0-de4da9f3eef5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-status"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n   \"partnerReferenceNo\":\"{{merchantCode}}1004\",\r\n   \"serviceCode\":\"42\",\r\n   \"additionalInfo\":{}\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service","urlObject":{"path":["utilities","signature-service"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[{"id":"b49d82e8-a3f1-4766-a8d4-a403db306719","name":"Success","originalRequest":{"method":"POST","header":[{"key":"X-TIMESTAMP","value":"{{X-TIMESTAMP}}"},{"key":"X-CLIENT-SECRET","value":"{{client_secret}}"},{"key":"AccessToken","value":"{{accessToken}}"},{"key":"EndpointUrl","value":"/api/v1/qr/qr-mpm-generate"},{"key":"HttpMethod","value":"POST"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantId\": \"{{merchantCode}}\",\r\n    \"partnerReferenceNo\": \"{{merchantCode}}1004\",\r\n    \"amount\": {\r\n        \"value\": \"3000.00\",\r\n        \"currency\": \"IDR\"\r\n    },\r\n    \"storeId\": \"abcd\",\r\n    \"terminalId\": \"213141251124\",\r\n    \"additionalInfo\": {\r\n        \"description\": \"pembayaran qris\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/utilities/signature-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2024 05:43:29 GMT","uuid":"39cc001f-b9fd-4329-9a12-0b4d09324514"},{"key":"Content-Type","value":"application/json","uuid":"0f8b7b5f-65d8-4ff1-a39a-ce54d80457cd"},{"key":"Transfer-Encoding","value":"chunked","uuid":"73bb8b45-1ac3-44cf-8309-388148759642"},{"key":"Connection","value":"keep-alive","uuid":"2157eb2a-5668-4523-a084-155da0e660a0"},{"key":"Vary","value":"Accept-Encoding","uuid":"7b73edfd-ed61-438e-8a19-853418999f31"},{"key":"Access-Control-Allow-Origin","value":"*","uuid":"9867178d-a7db-4e09-9c60-9d914d237c66"},{"key":"X-Frame-Options","value":"SAMEORIGIN","uuid":"dd9650df-c4b7-49f5-8df1-3e7237f0bf64"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","uuid":"6f9f8d67-86cc-4358-a62a-bcf153031d8f"},{"key":"X-Content-Type-Options","value":"nosniff","uuid":"fe5ca5a0-d394-4cdf-9955-4ed4becd9294"},{"key":"X-XSS-Protection","value":"1; mode=block","uuid":"a0f274d4-32fd-4218-b9a2-2cf2f47f7b81"},{"key":"Referrer-Policy","value":"no-referrer-when-downgrade","uuid":"d07bff7d-4403-424c-98d2-bc7c1deebab0"},{"key":"Content-Encoding","value":"gzip","uuid":"31b7deff-dc41-46d5-b727-b2cf2a233c3b"},{"key":"Server","value":"elb","uuid":"24b12376-38f4-4be3-8d6a-55dbf1e430e9"}],"cookie":[],"responseTime":null,"body":"{\n    \"signature\": \"F8YgxKPVaSyk9RsaGJ2UQz+3/ka7VwfLfiSz/L9l0GGxtQxZJkWXyT4GEn5vjKPOOJuh3vdCPOja8mmSRO6M2w==\"\n}"}],"_postman_id":"91b0edfc-6278-4075-a1a0-de4da9f3eef5"}],"id":"3704bfbb-afff-4b0b-8851-baf8884feae0","_postman_id":"3704bfbb-afff-4b0b-8851-baf8884feae0","description":""}],"id":"87b2e9d6-d9b7-42b9-b13e-70b803194ca1","_postman_id":"87b2e9d6-d9b7-42b9-b13e-70b803194ca1","description":""},{"name":"Internal","item":[{"name":"New Request","id":"dabadcb2-d8ae-4bbf-9899-cb3112744a56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reff_no\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{HOST}}/api/v1/callback-rehit","urlObject":{"path":["api","v1","callback-rehit"],"host":["{{HOST}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dabadcb2-d8ae-4bbf-9899-cb3112744a56"}],"id":"cda5805a-daab-4ed9-899e-110fc034d157","_postman_id":"cda5805a-daab-4ed9-899e-110fc034d157","description":""}]}