{
  "info": {
    "_postman_id": "fb915f3d-a286-446b-92a5-7e523ed1caa6",
    "name": "Wallet API",
    "description": "The Wallet API provides digital APIs for client mobile and digital applications.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "2563138",
    "_collection_link": "https://go.postman.co/collection/2563138-fb915f3d-a286-446b-92a5-7e523ed1caa6?source=collection_link"
  },
  "item": [
    {
      "name": "Wallets",
      "item": [
        {
          "name": "Get By Identity",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    var jsonData = pm.response.json();",
                  "    pm.environment.set('walletId', jsonData.walletId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet?identity-value={{identityValue}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet"
              ],
              "query": [
                {
                  "key": "identity-value",
                  "value": "{{identityValue}}"
                }
              ]
            },
            "description": "Get a Wallet by Identity Value"
          },
          "response": []
        },
        {
          "name": "Create",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('walletId', jsonData.walletId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n\t\"type\": \"CONSUMER\",\n    \"state\": \"DEFAULT\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet"
              ]
            },
            "description": "Create a Wallet"
          },
          "response": []
        },
        {
          "name": "Get By Id",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}"
              ]
            },
            "description": "Get a Wallet"
          },
          "response": []
        },
        {
          "name": "Update",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"meta\": {\n    \"foo\": \"bar\",\n    \"baz\": \"bat\"\n  }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}"
              ]
            },
            "description": "Update a Wallet"
          },
          "response": []
        },
        {
          "name": "Delete",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 204\", function () {",
                  "    pm.response.to.have.status(204);",
                  "});",
                  "",
                  "if (pm.response.code === 204) {",
                  "    pm.environment.unset('walletId');",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}"
              ]
            },
            "description": "Delete a Wallet"
          },
          "response": []
        },
        {
          "name": "Activate",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/activate",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "activate"
              ]
            },
            "description": "Change the state of a Wallet"
          },
          "response": []
        },
        {
          "name": "Terminate a Wallet",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "X-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "X-TRANSACTION-ID",
                "value": "{{xTransactionId}}"
              },
              {
                "key": "X-RETRY",
                "value": "1"
              },
              {
                "key": "X-EES-OPERATOR",
                "value": "1"
              },
              {
                "key": "X-EES-CALLER",
                "value": "POSTMAN"
              },
              {
                "key": "X-EES-CALLER-VERSION",
                "value": "0"
              },
              {
                "key": "X-EES-MESSAGEID",
                "value": "03d476861afd384510f2cb80ccfa8511"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/terminate",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "terminate"
              ]
            },
            "description": "Change the state of a Wallet"
          },
          "response": []
        },
        {
          "name": "Suspend",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "X-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "X-TRANSACTION-ID",
                "value": "{{xTransactionId}}"
              },
              {
                "key": "X-RETRY",
                "value": "1"
              },
              {
                "key": "X-EES-OPERATOR",
                "value": "1"
              },
              {
                "key": "X-EES-CALLER",
                "value": "POSTMAN"
              },
              {
                "key": "X-EES-CALLER-VERSION",
                "value": "0"
              },
              {
                "key": "X-EES-MESSAGEID",
                "value": "03d476861afd384510f2cb80ccfa8511"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/suspend",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "suspend"
              ]
            },
            "description": "Change the state of a Wallet"
          },
          "response": []
        },
        {
          "name": "Update State",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "X-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "X-TRANSACTION-ID",
                "value": "{{xTransactionId}}"
              },
              {
                "key": "X-RETRY",
                "value": "1"
              },
              {
                "key": "X-EES-OPERATOR",
                "value": "1"
              },
              {
                "key": "X-EES-CALLER",
                "value": "POSTMAN"
              },
              {
                "key": "X-EES-CALLER-VERSION",
                "value": "0"
              },
              {
                "key": "X-EES-MESSAGEID",
                "value": "03d476861afd384510f2cb80ccfa8511"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"state\": \"DEFAULT\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/state",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "state"
              ]
            },
            "description": "Change the state of a Wallet"
          },
          "response": []
        },
        {
          "name": "Wallet Stats",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/stats?dateFrom={{fromDate}}&dateTo={{toDate}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "stats"
              ],
              "query": [
                {
                  "key": "dateFrom",
                  "value": "{{fromDate}}"
                },
                {
                  "key": "dateTo",
                  "value": "{{toDate}}"
                }
              ]
            },
            "description": "Get Wallets"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Identities",
      "item": [
        {
          "name": "Get by Identity",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('walletId', jsonData.walletId);",
                  "    pm.environment.set('identityId', jsonData.identityId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/identity?name={{identityValue}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "identity"
              ],
              "query": [
                {
                  "key": "name",
                  "value": "{{identityValue}}"
                }
              ]
            },
            "description": "Get all Identities for a Wallet"
          },
          "response": []
        },
        {
          "name": "Get by SafeValue",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/identity?safeValue={{identitySafeValue}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "identity"
              ],
              "query": [
                {
                  "key": "safeValue",
                  "value": "{{identitySafeValue}}"
                }
              ]
            },
            "description": "Get all Identities for a Wallet"
          },
          "response": []
        },
        {
          "name": "Get all Identities in a Wallet",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('identityId', jsonData.results[0].identityId);",
                  "    pm.environment.set('identityValue', jsonData.results[0].value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identities",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identities"
              ]
            },
            "description": "Get all Identities for a Wallet"
          },
          "response": []
        },
        {
          "name": "Get a Single Identity in a Wallet",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('identityId', jsonData.identityId);",
                  "    pm.environment.set('identityValue', jsonData.value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identity/{{identityId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identity",
                "{{identityId}}"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "pm.environment.set('value', pm.variables.replaceIn('{{$guid}}'));",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('identityId', jsonData.identityId);",
                  "    pm.environment.set('identityValue', jsonData.value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"value\": \"{{value}}\",\n  \"type\": \"CUSTOMER_ID\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identity",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identity"
              ]
            },
            "description": "Create an Identity for a Wallet"
          },
          "response": []
        },
        {
          "name": "Update",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "pm.environment.set('value', pm.variables.replaceIn(\"{{$guid}}\"));",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('identityId', jsonData.identityId);",
                  "    pm.environment.set('identityValue', jsonData.value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"safeValue\": \"{{value}}\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identity/{{identityId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identity",
                "{{identityId}}"
              ]
            },
            "description": "Create an Identity for a Wallet"
          },
          "response": []
        },
        {
          "name": "Delete",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 204\", function () {",
                  "    pm.response.to.have.status(204);",
                  "});",
                  "",
                  "if (pm.response.code === 204) {",
                  "    pm.environment.unset('identityId');",
                  "    pm.environment.unset('identityValue');",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identity/{{identityId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identity",
                "{{identityId}}"
              ]
            },
            "description": "Delete an Identity belonging to a Wallet"
          },
          "response": []
        },
        {
          "name": "Suspend",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('identityId', jsonData.identityId);",
                  "    pm.environment.set('identityValue', jsonData.value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identity/{{identityId}}/suspend",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identity",
                "{{identityId}}",
                "suspend"
              ]
            },
            "description": "Create an Identity for a Wallet"
          },
          "response": []
        },
        {
          "name": "Activate",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('identityId', jsonData.identityId);",
                  "    pm.environment.set('identityValue', jsonData.value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identity/{{identityId}}/activate",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identity",
                "{{identityId}}",
                "activate"
              ]
            },
            "description": "Create an Identity for a Wallet"
          },
          "response": []
        },
        {
          "name": "Lost",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('identityId', jsonData.identityId);",
                  "    pm.environment.set('identityValue', jsonData.value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "X-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "X-TRANSACTION-ID",
                "value": "{{xTransactionId}}"
              },
              {
                "key": "X-RETRY",
                "value": "1"
              },
              {
                "key": "X-EES-OPERATOR",
                "value": "1"
              },
              {
                "key": "X-EES-CALLER",
                "value": "POSTMAN"
              },
              {
                "key": "X-EES-CALLER-VERSION",
                "value": "0"
              },
              {
                "key": "X-EES-MESSAGEID",
                "value": "03d476861afd384510f2cb80ccfa8511"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identity/{{identityId}}/lost",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identity",
                "{{identityId}}",
                "lost"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Stolen",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('identityId', jsonData.identityId);",
                  "    pm.environment.set('identityValue', jsonData.value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identity/{{identityId}}/stolen",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identity",
                "{{identityId}}",
                "stolen"
              ]
            },
            "description": "Create an Identity for a Wallet"
          },
          "response": []
        },
        {
          "name": "Terminate",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('identityId', jsonData.identityId);",
                  "    pm.environment.set('identityValue', jsonData.value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identity/{{identityId}}/stolen",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identity",
                "{{identityId}}",
                "stolen"
              ]
            },
            "description": "Create an Identity for a Wallet"
          },
          "response": []
        },
        {
          "name": "Change State",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('identityId', jsonData.identityId);",
                  "    pm.environment.set('identityValue', jsonData.value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"state\": \"EARNBURN\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identity/{{identityId}}/state",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identity",
                "{{identityId}}",
                "state"
              ]
            },
            "description": "Create an Identity for a Wallet"
          },
          "response": []
        },
        {
          "name": "Move",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('identityId', jsonData.identityId);",
                  "    pm.environment.set('identityValue', jsonData.value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n\t\"walletId\": \"{{walletIdToMoveTo}}\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/identity/{{identityId}}/move",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "identity",
                "{{identityId}}",
                "move"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Accounts",
      "item": [
        {
          "name": "Create a Coupon",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountId', jsonData.accountId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"status\": \"ACTIVE\",\n  \"state\": \"LOADED\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/campaign/{{campaignId}}/account",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "campaign",
                "{{campaignId}}",
                "account"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Multiple Coupons",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountId', jsonData.results[0].accountId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "[\n    {\n        \"state\": \"LOADED\",\n        \"campaignTag\": \"InitialOffers\"\n    }\n]"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/campaigns/accounts",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "campaigns",
                "accounts"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Stored Value Account",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    var jsonData = pm.response.json();",
                  "    pm.environment.set('accountId', jsonData.accountId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"status\": \"ACTIVE\",\n  \"state\": \"LOADED\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/programme/{{programmeId}}/account",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "programme",
                "{{programmeId}}",
                "account"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Loyalty Account",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    var jsonData = pm.response.json();",
                  "    pm.environment.set('accountId', jsonData.accountId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"status\": \"ACTIVE\",\n  \"state\": \"EARNBURN\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/scheme/{{schemeId}}/account",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "scheme",
                "{{schemeId}}",
                "account"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Subscription (Plan) Account",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    var jsonData = pm.response.json();",
                  "    pm.environment.set('accountId', jsonData.accountId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"status\": \"ACTIVE\",\n  \"state\": \"LOADED\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/plan/{{planId}}/account",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "plan",
                "{{planId}}",
                "account"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create new Entitlement Account in a Subscription",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    var jsonData = pm.response.json();",
                  "    pm.environment.set('accountId', jsonData.accountId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"status\": \"ACTIVE\",\n    \"state\": \"LOADED\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{parentAccountId}}/campaign/{{campaignId}}/account",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{parentAccountId}}",
                "campaign",
                "{{campaignId}}",
                "account"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get by walletId",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    var jsonData = pm.response.json();",
                  "    pm.environment.set('accountId', jsonData.accountId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/accounts",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "accounts"
              ]
            },
            "description": "Get Wallet Accounts by Wallet ID"
          },
          "response": []
        },
        {
          "name": "Get By Identity Value",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    var jsonData = pm.response.json();",
                  "    pm.environment.set('accountId', jsonData.accountId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/accounts?identity-value={{identityValue}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "accounts"
              ],
              "query": [
                {
                  "key": "identity-value",
                  "value": "{{identityValue}}"
                }
              ]
            },
            "description": "Get Wallet Accounts by Identity value"
          },
          "response": []
        },
        {
          "name": "Get a Single Account",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    var jsonData = pm.response.json();",
                  "    pm.environment.set('accountId', jsonData.accountId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}"
              ]
            },
            "description": "Get an account"
          },
          "response": []
        },
        {
          "name": "Update an Account",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"meta\": {\n        \"key1\": \"value1\",\n        \"keu2\": \"value2\"\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}"
              ]
            },
            "description": "Update an account"
          },
          "response": []
        },
        {
          "name": "Credit",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"balances\": {\n    \"current\": 1000\n  }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/credit",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "credit"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Earn",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"balances\": {\n    \"current\": 100\n  }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/earn",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "earn"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Debit",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"balances\": {\n    \"current\": 1000\n  }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/debit",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "debit"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Load",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"balances\": {\n    \"available\": 10\n  },\n  \"autoActivateOnLoad\": false\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/load",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "load"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Redeem",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/redeem",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "redeem"
              ]
            },
            "description": "Redeem a Wallet Account"
          },
          "response": []
        },
        {
          "name": "Topup",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) { ",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"balances\": {\n        \"available\": 100\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/topup",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "topup"
              ]
            },
            "description": "Redeem a Wallet Account"
          },
          "response": []
        },
        {
          "name": "Unredeem",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/unredeem",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "unredeem"
              ]
            },
            "description": "Redeem a Wallet Account"
          },
          "response": []
        },
        {
          "name": "Refund",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"balances\": {\n        \"available\": 10\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/refund",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "refund"
              ]
            },
            "description": "Redeem a Wallet Account"
          },
          "response": []
        },
        {
          "name": "Void",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/transaction/{{accountTransactionId}}/void",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "transaction",
                "{{accountTransactionId}}",
                "void"
              ]
            },
            "description": "Redeem a Wallet Account"
          },
          "response": []
        },
        {
          "name": "Inactivate",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/inactivate",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "inactivate"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Activate",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/activate",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "activate"
              ]
            },
            "description": "Credit an account"
          },
          "response": []
        },
        {
          "name": "Cancel",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/cancel",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "cancel"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Block",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"balances\": {\n    \"current\": 10000\n  }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/block",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "block"
              ]
            },
            "description": "Credit an account"
          },
          "response": []
        },
        {
          "name": "Unblock",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/unblock",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "unblock"
              ]
            },
            "description": "Credit an account"
          },
          "response": []
        },
        {
          "name": "Verify",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"lock\": true,\n    \"balances\": {\n        \"available\": 10\n    },\n    \"details\": {\n        \"key1\": \"value1\",\n        \"key2\": \"value2\"\n    }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/verify",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "verify"
              ]
            },
            "description": "Credit an account"
          },
          "response": []
        },
        {
          "name": "Spend",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"balances\": {\n    \"current\": 1000\n  }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/spend",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "spend"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update State",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n\t\"state\": \"LOADED\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/state",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "state"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update State Multiple",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    \"accountId\": 16436772,\n    \"state\": \"LOADED\"\n  },\n  {\n    \"accountId\": 16438920,\n    \"state\": \"UNLOADED\"\n  },\n  {\n    \"accountId\": 292890,\n    \"state\": \"EARNBURN\"\n  }\n]"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/accounts/state",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "accounts",
                "state"
              ]
            },
            "description": "Patch multiple Wallet Accounts State"
          },
          "response": []
        },
        {
          "name": "Get Stats",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n\t\"state\": \"LOADED\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/stats",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "stats"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Goodwill",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"transactionRef\": \"{{uniqueReference}}\",\n  \"pointsAmount\": 1\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/goodwill",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "goodwill"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Retrieve Available Points",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/points/available",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "points",
                "available"
              ]
            },
            "description": "Get Wallet Accounts by Identity value"
          },
          "response": []
        },
        {
          "name": "Calculate Points Earned",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"balances\": {\n    \"current\": 1000\n  }\n}"
            },
            "url": {
              "raw": "{{url}}/scheme/{{schemeId}}/earn/calculate?totalTransactionValue=100",
              "host": [
                "{{url}}"
              ],
              "path": [
                "scheme",
                "{{schemeId}}",
                "earn",
                "calculate"
              ],
              "query": [
                {
                  "key": "totalTransactionValue",
                  "value": "100"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Refresh",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('accountTransactionId', jsonData.accountTransactionId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/refresh",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "refresh"
              ]
            },
            "description": "Credit an account"
          },
          "response": []
        },
        {
          "name": "Move",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/account/{{accountId}}/move/to/wallet/{{walletId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "account",
                "{{accountId}}",
                "move",
                "to",
                "wallet",
                "{{walletId}}"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Household Balances",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/composite/wallet/{{walletId}}/householdBalances",
              "host": [
                "{{url}}"
              ],
              "path": [
                "composite",
                "wallet",
                "{{walletId}}",
                "householdBalances"
              ]
            },
            "description": "Get Wallet Accounts by Identity value"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Account Transactions",
      "item": [
        {
          "name": "Get Account Transactions",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/transactions",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "transactions"
              ]
            },
            "description": "Get a Wallet Account Transaction"
          },
          "response": []
        },
        {
          "name": "Get Account Transaction",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{accountId}}/transaction/{{accountTransactionId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "transaction",
                "{{accountTransactionId}}"
              ]
            },
            "description": "Get a Wallet Account Transaction"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Consumer",
      "item": [
        {
          "name": "Create Consumer Record",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "var jsonData = JSON.parse(responseBody);",
                  "pm.environment.set('consumerId', jsonData.consumerId);"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"type\": \"INDIVIDUAL\",\n    \"status\": \"ACTIVE\",\n    \"data\": {\n        \"personal\": {\n            \"title\": \"\",\n            \"firstName\": \"\",\n            \"lastName\": \"\",\n            \"preferredName\": \"\",\n            \"language\": \"\",\n            \"gender\": \"\",\n            \"birthDate\": \"\"\n        },\n        \"address\": [\n            {\n                \"name\": \"default\",\n                \"type\": \"local\",\n                \"line1\": \"\",\n                \"line2\": \"\",\n                \"line3\": \"\",\n                \"city\": \"\",\n                \"county\": \"\",\n                \"state\": \"\",\n                \"postcode\": \"\",\n                \"country\": \"\"\n            }\n        ],\n        \"contact\": [\n            {\n                \"name\": \"default\",\n                \"type\": \"email\",\n                \"value\": \"example@eagleeye.com\"\n            },\n            {\n                \"name\": \"default\",\n                \"type\": \"phone\",\n                \"value\": \"01234567890\"\n            }\n        ],\n        \"communication\": [\n            {\n                \"type\": \"default\",\n                \"optin\": {\n                    \"admin\": true,\n                    \"marketing\": false\n                }\n            },\n            {\n                \"type\": \"email\",\n                \"optin\": {\n                    \"admin\": true,\n                    \"marketing\": false\n                }\n            },\n            {\n                \"type\": \"sms\",\n                \"optin\": {\n                    \"admin\": true,\n                    \"marketing\": false\n                }\n            },\n            {\n                \"type\": \"mail\",\n                \"optin\": {\n                    \"admin\": true,\n                    \"marketing\": true\n                }\n            }\n        ]\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/consumer",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "consumer"
              ]
            },
            "description": "Create a Consumer for a Wallet"
          },
          "response": []
        },
        {
          "name": "Get Consumer",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/consumer",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "consumer"
              ]
            },
            "description": "Get a Consumer for a Wallet"
          },
          "response": []
        },
        {
          "name": "Get Consumer by Id",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/consumer/{{consumerId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "consumer",
                "{{consumerId}}"
              ]
            },
            "description": "Get a Consumer for a Wallet"
          },
          "response": []
        },
        {
          "name": "Update consumer",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"data\": {\n        \"personal\": {\n            \"title\": \"Mr\",\n            \"firstName\": \"Mark\",\n            \"lastName\": \"Henry\",\n            \"preferredName\": \"test\",\n            \"language\": \"test\",\n            \"gender\": \"test\",\n            \"birthDate\": \"test\"\n        },\n        \"address\": [\n            {\n                \"name\": \"default\",\n                \"type\": \"test\",\n                \"line1\": \"test\",\n                \"line2\": \"test\",\n                \"line3\": \"test\",\n                \"city\": \"test\",\n                \"county\": \"test\",\n                \"postcode\": \"test\",\n                \"country\": \"test\"\n            }\n        ],\n        \"contact\": [\n            {\n                \"type\": \"email\",\n                \"name\": \"default\",\n                \"value\": \"testuser@eagleyetest.com\"\n            },\n            {\n                \"type\": \"phone\",\n                \"name\": \"default\",\n                \"value\": \"02088700817\"\n            }\n        ],\n        \"communication\": [\n            {\n                \"type\": \"default\",\n                \"optin\": {\n                    \"admin\": true,\n                    \"marketing\": false\n                }\n            },\n            {\n                \"type\": \"email\",\n                \"optin\": {\n                    \"admin\": true,\n                    \"marketing\": false\n                }\n            },\n            {\n                \"type\": \"sms\",\n                \"optin\": {\n                    \"admin\": false,\n                    \"marketing\": true\n                }\n            }\n        ],\n        \"preference\": {\n            \"store\": [\n                {\n                    \"brand\": \"testBrand1\",\n                    \"outlets\": [\n                        \"testOutlet1\"\n                    ]\n                },\n                {\n                    \"brand\": \"testBrand2\",\n                    \"outlets\": [\n                        \"testOutlet2\"\n                    ]\n                }\n            ]\n        },\n        \"segmentation\": {\n            \"geographic\": {\n                \"labels\": [\n                    \"fsdf\",\n                    \"dsfsdf\",\n                    \"dfsdf\"\n                ],\n                \"base\": \"\",\n                \"weight\": \"\",\n                \"confidence\": \"\",\n                \"data\": {\n                    \"kms-from-town\": \"6777\",\n                    \"lhk\": \"test1\",\n                    \"test2\": \"test2\",\n                    \"test3\": \"test3\"\n                }\n            },\n            \"demographic\": {\n                \"labels\": [\n                    \"farmers\",\n                    \"hegdff\"\n                ],\n                \"base\": \"GDE\",\n                \"weight\": \"50\",\n                \"confidence\": \"0.59\",\n                \"data\": {\n                    \"kms-from-town\": \"50\"\n                }\n            }\n        },\n        \"dimension\": [\n            {\n                \"label\": \"customerSinceDate\",\n                \"value\": \"2005-11-01\"\n            },\n            {\n                \"label\": \"verification\",\n                \"value\": {\n                    \"age\": \"39\"\n                }\n            }\n        ]\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/consumer/{{consumerId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "consumer",
                "{{consumerId}}"
              ]
            },
            "description": "Get a Consumer for a Wallet"
          },
          "response": []
        },
        {
          "name": "Delete Consumer",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/consumer/{{consumerId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "consumer",
                "{{consumerId}}"
              ]
            },
            "description": "Get a Consumer for a Wallet"
          },
          "response": []
        },
        {
          "name": "Update Data",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"op\": \"replace\",\n  \"path\": \"sdfas\",\n  \"value\": \"abc\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/consumer/{{consumerId}}/data",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "consumer",
                "{{consumerId}}",
                "data"
              ]
            },
            "description": "Get a Consumer for a Wallet"
          },
          "response": []
        },
        {
          "name": "Update State",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status test\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"op\": \"replace\",\n  \"path\": \"sdfas\",\n  \"value\": \"abc\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/consumer/{{consumerId}}/state",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "consumer",
                "{{consumerId}}",
                "state"
              ]
            },
            "description": "Get a Consumer for a Wallet"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Relationships",
      "item": [
        {
          "name": "Create Child (Join)",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/join/{{relationshipWalletId}}/child",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "join",
                "{{relationshipWalletId}}",
                "child"
              ]
            },
            "description": "Join two wallets"
          },
          "response": []
        },
        {
          "name": "Create Associate",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/join/{{relationshipWalletId}}/associate",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "join",
                "{{relationshipWalletId}}",
                "associate"
              ]
            },
            "description": "Join two wallets"
          },
          "response": []
        },
        {
          "name": "Create Donor",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/join/{{relationshipWalletId}}/donor",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "join",
                "{{relationshipWalletId}}",
                "donor"
              ]
            },
            "description": "Join two wallets"
          },
          "response": []
        },
        {
          "name": "Remove (Split)",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/split/{{relationshipWalletId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "split",
                "{{relationshipWalletId}}"
              ]
            },
            "description": "Join two wallets"
          },
          "response": []
        },
        {
          "name": "Move",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/move/from/{{relationshipWalletId}}/to/{{newRelationshipWalletId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "move",
                "from",
                "{{relationshipWalletId}}",
                "to",
                "{{newRelationshipWalletId}}"
              ]
            },
            "description": "Join two Wallets together"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Transactions",
      "item": [
        {
          "name": "Get Wallet Transactions",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;",
                  "",
                  "let responseData = JSON.parse(responseBody);",
                  "",
                  "pm.environment.set('walletTransactionId', responseData.results[0].walletTransactionId);"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/transactions",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "transactions"
              ]
            },
            "description": "Get Transactions for a Wallet by ID"
          },
          "response": []
        },
        {
          "name": "Create",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "pm.environment.set('reference', pm.variables.replaceIn(\"{{$guid}}\"));",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = JSON.parse(responseBody);",
                  "postman.setEnvironmentVariable('transactionId', jsonData.walletTransactionId);",
                  "postman.setEnvironmentVariable('walletTransactionId', jsonData.walletTransactionId);",
                  "postman.setEnvironmentVariable('reference', jsonData.reference);",
                  "",
                  "tests[\"Status code is 201\"] = responseCode.code === 201;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"state\": \"SUPPRESSED\",\n  \"type\": \"PCF_EARN\",\n  \"reference\": \"{{reference}}\",\n  \"identityId\": \"{{identityId}}\",\n  \"parentWalletTransactionId\": 0,\n  \"accounts\": [\n    {\n      \"accountId\": \"{{accountId}}\",\n      \"accountTransactionId\": \"{{accountTransactionId}}\"\n    }  \n  ],\n  \"meta\": {\n    \"something\": \"another\"\n  },\n  \"basket\": {\n  }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/transaction",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "transaction"
              ]
            },
            "description": "Create a Wallet Transaction"
          },
          "response": []
        },
        {
          "name": "Get by Reference",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/transaction?reference={{uniqueReference}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "transaction"
              ],
              "query": [
                {
                  "key": "reference",
                  "value": "{{uniqueReference}}"
                }
              ]
            },
            "description": "Get Transactions for a Wallet by reference"
          },
          "response": []
        },
        {
          "name": "Get by Id",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/transaction/{{transactionId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "transaction",
                "{{transactionId}}"
              ]
            },
            "description": "Get Transactions for a Wallet by ID"
          },
          "response": []
        },
        {
          "name": "Get Transaction History",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/transaction/{{transactionId}}/history",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "transaction",
                "{{transactionId}}",
                "history"
              ]
            },
            "description": "Get Transactions for a Wallet by ID"
          },
          "response": []
        },
        {
          "name": "Delete",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/transaction/{{transactionId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "transaction",
                "{{transactionId}}"
              ]
            },
            "description": "Get Transactions for a Wallet by ID"
          },
          "response": []
        },
        {
          "name": "Update",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"validTo\": \"2018-11-30 00:00:00\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/transaction/{{transactionId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "transaction",
                "{{transactionId}}"
              ]
            },
            "description": "Patch a Wallet Transaction"
          },
          "response": []
        },
        {
          "name": "Update State",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"state\": \"SUPPRESSED\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/transaction/{{transactionId}}/state",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "transaction",
                "{{transactionId}}",
                "state"
              ]
            },
            "description": "Change the state of a Wallet Transaction"
          },
          "response": []
        },
        {
          "name": "Settle",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/transaction/{{transactionId}}/settle",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "transaction",
                "{{transactionId}}",
                "settle"
              ]
            },
            "description": "Change the status of a Wallet Transaction"
          },
          "response": []
        },
        {
          "name": "Cancel",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"state\": \"SUPPRESSED\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/transaction/{{transactionId}}/cancel",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "transaction",
                "{{transactionId}}",
                "cancel"
              ]
            },
            "description": "Cancel a Wallet Transaction"
          },
          "response": []
        },
        {
          "name": "Expire",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"state\": \"SUPPRESSED\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/transaction/{{transactionId}}/expire",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "transaction",
                "{{transactionId}}",
                "expire"
              ]
            },
            "description": "Cancel a Wallet Transaction"
          },
          "response": []
        },
        {
          "name": "Pending Points Release",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"state\": \"SUPPRESSED\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{walletId}/transaction/{transactionId}/pendingPointsRelease",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{walletId}",
                "transaction",
                "{transactionId}",
                "pendingPointsRelease"
              ]
            },
            "description": "Cancel a Wallet Transaction"
          },
          "response": []
        },
        {
          "name": "Pending Points Reject",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Status code is 200\"] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"state\": \"SUPPRESSED\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{walletId}/transaction/{transactionId}/pendingPointsReject",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{walletId}",
                "transaction",
                "{transactionId}",
                "pendingPointsReject"
              ]
            },
            "description": "Cancel a Wallet Transaction"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Invites",
      "item": [
        {
          "name": "Get by Guid",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/invite?guid={{guid}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "invite"
              ],
              "query": [
                {
                  "key": "guid",
                  "value": "{{guid}}"
                }
              ]
            },
            "description": "Get a Wallet Invite by GUID"
          },
          "response": []
        },
        {
          "name": "Get by Reference",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/invites?reference={{reference}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "invites"
              ],
              "query": [
                {
                  "key": "reference",
                  "value": "{{reference}}"
                }
              ]
            },
            "description": "Get a Wallet Invites"
          },
          "response": []
        },
        {
          "name": "Get by walletId",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "tests[\"Successfully created Wallet with ID: \" + jsonData.walletId] = responseCode.code === 200;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/invites",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "invites"
              ]
            },
            "description": "Get a Wallet Invites"
          },
          "response": []
        },
        {
          "name": "Create",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = JSON.parse(responseBody);",
                  "postman.setEnvironmentVariable('walletInviteId', jsonData.walletInviteId);",
                  "postman.setEnvironmentVariable('guid', jsonData.guid);",
                  "postman.setEnvironmentVariable('description', jsonData.description);",
                  "postman.setEnvironmentVariable('reference', jsonData.reference);",
                  "",
                  "tests[\"Successfully created Wallet Invite with ID: \" + jsonData.walletInviteId] = responseCode.code === 201;"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"type\": \"BASIC\",\n    \"state\": \"BASIC\",\n    \"status\": \"ACTIVE\",\n    \"validTo\": \"2019-12-31T19:10:00+01:00\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/invite",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "invite"
              ]
            },
            "description": "Create a Wallet Invite"
          },
          "response": []
        },
        {
          "name": "Get by Invite Id",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/invite/{{walletInviteId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "invite",
                "{{walletInviteId}}"
              ]
            },
            "description": "Get a Wallet Invite"
          },
          "response": []
        },
        {
          "name": "Update",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = JSON.parse(responseBody);",
                  "postman.setEnvironmentVariable('description', jsonData.description);",
                  "postman.setEnvironmentVariable('reference', jsonData.reference);"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"description\": \"Oliver's Wallet Invite\",\n  \"reference\": \"abc123\",\n  \"meta\": {\n    \"test\": \"data\"\n  }\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/invite/{{walletInviteId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "invite",
                "{{walletInviteId}}"
              ]
            },
            "description": "Patch a Wallet Invite"
          },
          "response": []
        },
        {
          "name": "Verify",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/invite/verify?guid={{guid}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "invite",
                "verify"
              ],
              "query": [
                {
                  "key": "guid",
                  "value": "{{guid}}"
                }
              ]
            },
            "description": "Verify a Wallet Invite"
          },
          "response": []
        },
        {
          "name": "Accept",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/invite/{{walletInviteId}}/accept",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "invite",
                "{{walletInviteId}}",
                "accept"
              ]
            },
            "description": "Accept a Wallet Invite"
          },
          "response": []
        },
        {
          "name": "Cancel",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/invite/{{walletInviteId}}/cancel",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "invite",
                "{{walletInviteId}}",
                "cancel"
              ]
            },
            "description": "Cancel a Wallet Invite"
          },
          "response": []
        },
        {
          "name": "Reject",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/invite/{{walletInviteId}}/reject",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "invite",
                "{{walletInviteId}}",
                "reject"
              ]
            },
            "description": "Reject a Wallet Invite"
          },
          "response": []
        },
        {
          "name": "Change State",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"state\": \"TESTY\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/invite/{{walletInviteId}}/state",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "invite",
                "{{walletInviteId}}",
                "state"
              ]
            },
            "description": "Change a Wallet Invite state"
          },
          "response": []
        }
      ],
      "description": "Create a Wallet Invite"
    },
    {
      "name": "Recommendations",
      "item": [
        {
          "name": "Get by WalletId",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/recommendations?channel={{channel}}&status={{status}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "recommendations"
              ],
              "query": [
                {
                  "key": "channel",
                  "value": "{{channel}}"
                },
                {
                  "key": "status",
                  "value": "{{status}}"
                }
              ]
            },
            "description": "Split the Wallet"
          },
          "response": []
        },
        {
          "name": "Get by Identity Value",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/recommendations?identity-value={{identityValue}}&status=ACTIVE&channel=MESSAGEATTILL_SEG",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "recommendations"
              ],
              "query": [
                {
                  "key": "identity-value",
                  "value": "{{identityValue}}"
                },
                {
                  "key": "status",
                  "value": "ACTIVE"
                },
                {
                  "key": "channel",
                  "value": "MESSAGEATTILL_SEG"
                }
              ]
            },
            "description": "Split the Wallet"
          },
          "response": []
        },
        {
          "name": "Change Status to Active",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/catalogue/{{catalogueGuid}}/recommendation/{{recommendationGuid}}/status/activate",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "catalogue",
                "{{catalogueGuid}}",
                "recommendation",
                "{{recommendationGuid}}",
                "status",
                "activate"
              ]
            },
            "description": "Split the Wallet"
          },
          "response": []
        },
        {
          "name": "Change Status to Accepted",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/catalogue/{{catalogueGuid}}/recommendation/{{recommendationGuid}}/status/accept",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "catalogue",
                "{{catalogueGuid}}",
                "recommendation",
                "{{recommendationGuid}}",
                "status",
                "accept"
              ]
            },
            "description": "Split the Wallet"
          },
          "response": []
        },
        {
          "name": "Change Status to Rejected",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/catalogue/{{catalogueGuid}}/recommendation/{{recommendationGuid}}/status/reject",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "catalogue",
                "{{catalogueGuid}}",
                "recommendation",
                "{{recommendationGuid}}",
                "status",
                "reject"
              ]
            },
            "description": "Split the Wallet"
          },
          "response": []
        },
        {
          "name": "Change Status to Deleted",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/catalogue/{{catalogueGuid}}/recommendation/{{recommendationGuid}}/status/delete",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "catalogue",
                "{{catalogueGuid}}",
                "recommendation",
                "{{recommendationGuid}}",
                "status",
                "delete"
              ]
            },
            "description": "Split the Wallet"
          },
          "response": []
        },
        {
          "name": "Accept and Create Account",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/catalogue/{{catalogueGuid}}/recommendation/{{recommendationGuid}}/accept",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "catalogue",
                "{{catalogueGuid}}",
                "recommendation",
                "{{recommendationGuid}}",
                "accept"
              ]
            },
            "description": "Split the Wallet"
          },
          "response": []
        },
        {
          "name": "Create and Fetch Wallet Accounts (recommendations by identity-value)",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"identity-value\": \"{{identityValue}}\",\n  \"campaigns\": [\n    {\n      \"campaignTag\": \"InitialOffers\"\n    }\n  ]\n}"
            },
            "url": {
              "raw": "{{url}}/composite/wallet/accounts/createAndFetch",
              "host": [
                "{{url}}"
              ],
              "path": [
                "composite",
                "wallet",
                "accounts",
                "createAndFetch"
              ]
            },
            "description": "Split the Wallet"
          },
          "response": []
        },
        {
          "name": "Create and Fetch Wallet Accounts (recommendations by walletId)",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"walletId\": \"{{walletId}}\",\n  \"campaigns\": [\n    {\n      \"campaignTag\": \"InitialOffers\"\n    }\n  ]\n}"
            },
            "url": {
              "raw": "{{url}}/composite/wallet/accounts/createAndFetch",
              "host": [
                "{{url}}"
              ],
              "path": [
                "composite",
                "wallet",
                "accounts",
                "createAndFetch"
              ]
            },
            "description": "Split the Wallet"
          },
          "response": []
        },
        {
          "name": "Accept All Recommendations (recommendations by identity-value)",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"identity-value\": \"{{identityValue}}\"\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/recommendations/accept",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "recommendations",
                "accept"
              ]
            },
            "description": "Split the Wallet"
          },
          "response": []
        },
        {
          "name": "Accept All Recommendations (recommendations by walletId)",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"walletId\": \"{{walletId}}\"\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/recommendations/accept",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "recommendations",
                "accept"
              ]
            },
            "description": "Split the Wallet"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Link",
      "item": [
        {
          "name": "Get Reward Bank Links",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('medusaUrl');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "// tests[\"Status code is 201\"] = responseCode.code === 201;",
                  "",
                  "// var jsonData = JSON.parse(responseBody);",
                  "// postman.setEnvironmentVariable('walletId', jsonData.walletId);"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/bank/pointsreward/links",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "bank",
                "pointsreward",
                "links"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Available Links",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('medusaUrl');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "// tests[\"Status code is 201\"] = responseCode.code === 201;",
                  "",
                  "// var jsonData = JSON.parse(responseBody);",
                  "// postman.setEnvironmentVariable('walletId', jsonData.walletId);"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/bank/pointsreward/links/available",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "bank",
                "pointsreward",
                "links",
                "available"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Link",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('medusaUrl');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "// tests[\"Status code is 201\"] = responseCode.code === 201;",
                  "",
                  "// var jsonData = JSON.parse(responseBody);",
                  "// postman.setEnvironmentVariable('walletId', jsonData.walletId);"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"status\": \"ACTIVE\",\n    \"pointsRewardBankRewardId\": \"{{rewardBankRewardId}}\",\n    \"type\": \"DEFAULT\",\n    \"state\": \"DEFAULT\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/link/bank/pointsreward/{{pointsRewardBankId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "link",
                "bank",
                "pointsreward",
                "{{pointsRewardBankId}}"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Single Link",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('medusaUrl');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "// tests[\"Status code is 201\"] = responseCode.code === 201;",
                  "",
                  "// var jsonData = JSON.parse(responseBody);",
                  "// postman.setEnvironmentVariable('walletId', jsonData.walletId);"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/bank/pointsreward/link/{{pointsRewardBankWalletLinkId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "bank",
                "pointsreward",
                "link",
                "{{pointsRewardBankWalletLinkId}}"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete Link",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('medusaUrl');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "// tests[\"Status code is 201\"] = responseCode.code === 201;",
                  "",
                  "// var jsonData = JSON.parse(responseBody);",
                  "// postman.setEnvironmentVariable('walletId', jsonData.walletId);"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/link/bank/pointsreward/{{pointsRewardBankWalletLinkId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "link",
                "bank",
                "pointsreward",
                "{{pointsRewardBankWalletLinkId}}"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update Link",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('medusaUrl');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript"
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "// tests[\"Status code is 201\"] = responseCode.code === 201;",
                  "",
                  "// var jsonData = JSON.parse(responseBody);",
                  "// postman.setEnvironmentVariable('walletId', jsonData.walletId);"
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n\t\"status\": \"ACTIVE\",\n    \"state\": \"CUSTOM\",\n    \"validFrom\": \"2020-04-18T09:14:25-04:00\",\n    \"validTo\": \"2020-05-18T09:14:25-04:00\"\n}"
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/bank/pointsreward/link/{{pointsRewardBankWalletLinkId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "bank",
                "pointsreward",
                "link",
                "{{pointsRewardBankWalletLinkId}}"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Services",
      "item": [
        {
          "name": "Social Behavioural Action (Trigger)",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "pm.environment.set('uniqueReference', pm.variables.replaceIn(\"{{$guid}}\"));",
                  "",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"walletTransaction\": {\n        \"reference\": \"{{uniqueReference}}\"\n    },\n    \"identityValue\": \"{{identityValue}}\",\n    \"triggers\": [\n        {\n            \"reference\": \"{{triggerReference}}\"\n        }\n    ]\n}"
            },
            "url": {
              "raw": "{{url}}/services/trigger",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "trigger"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update Wallet Transaction",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"accountTransactions\": [\n        {\n            \"transaction\": \"redeem\",\n            \"accountId\": \"123\"\n        }\n    ]\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/transaction/{{transactionId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "transaction",
                "{{transactionId}}"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Wallets and Identities",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "pm.environment.set('value', pm.variables.replaceIn('{{$guid}}'));",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('walletId', jsonData.walletId);",
                  "    pm.environment.set('identityValue', jsonData.identities[0].value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"state\": \"EARNBURN\",\n    \"status\": \"ACTIVE\",\n    \"type\": \"CONSUMER\",\n    \"identities\": [\n        {\n            \"state\": \"EARNONLY\",\n            \"status\": \"ACTIVE\",\n            \"type\": \"CUSTOMER_ID\",\n            \"value\": \"{{value}}\"\n        }\n    ]\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete Wallet and Contents",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 204\", function () {",
                  "    pm.response.to.have.status(204);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Wallet, Identities, Accounts and Consumer",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "pm.environment.set('value', pm.variables.replaceIn('{{$guid}}'));",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('walletId', jsonData.walletId);",
                  "    pm.environment.set('identityValue', jsonData.identities[0].value);",
                  "}",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"status\": \"ACTIVE\",\n    \"type\": \"CONSUMER\",\n    \"identities\": [\n        {\n            \"state\": \"DEFAULT\",\n            \"status\": \"ACTIVE\",\n            \"type\": \"CUSTOMERID\",\n            \"value\": \"{{value}}\"\n        }\n    ],\n    \"accounts\": {\n        \"campaign\": [\n            {\n                \"campaignId\": 1708342\n            }\n        ]\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/accounts",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "accounts"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Multiple Wallet Accounts",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "pm.environment.set('value', pm.variables.replaceIn('{{$guid}}'));",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "[\n    {\n        \"campaignId\": \"101066383\"\n    },\n    {\n        \"campaignId\": \"101066381\"\n    },\n    {\n        \"campaignId\": \"101066380\"\n    },\n    {\n        \"campaignId\": \"101066379\"\n    },\n    {\n        \"campaignId\": \"100916890\"\n    }\n]"
            },
            "url": {
              "raw": "{{url}}/services/wallet/campaign/accounts?identity-value={{identityValue}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "campaign",
                "accounts"
              ],
              "query": [
                {
                  "key": "identity-value",
                  "value": "{{identityValue}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Multiple Wallet Accounts",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "pm.environment.set('value', pm.variables.replaceIn('{{$guid}}'));",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "[\n    {\n        \"campaignId\": {{campaignId}}\n    }\n]"
            },
            "url": {
              "raw": "{{url}}/services/wallet/campaign/accounts/related",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "campaign",
                "accounts",
                "related"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get HH Accounts by Identity Value",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/services/wallet/childAndParentAccounts?identityValue={{identityValue}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "childAndParentAccounts"
              ],
              "query": [
                {
                  "key": "identityValue",
                  "value": "{{identityValue}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Wallet Consumer Upsert",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "pm.environment.set('value', pm.variables.replaceIn('{{$guid}}'));",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"status\": \"ACTIVE\",\n    \"type\": \"CONSUMER\",\n    \"identities\": [\n        {\n            \"state\": \"DEFAULT\",\n            \"status\": \"ACTIVE\",\n            \"type\": \"CUSTOMERID\",\n            \"value\": \"{{value}}\"\n        }\n    ],\n    \"accounts\": {\n        \"campaign\": [\n            {\n                \"campaignId\": 1708342\n            }\n        ]\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/consumer",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "consumer"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Expire Points",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/account/{{accountId}}/expirePoints",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "account",
                "{{accountId}}",
                "expirePoints"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Wallet Merge",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/merge/{{survivorWalletId}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "merge",
                "{{survivorWalletId}}"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Spend",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"accountId\": {{accountId}},\n    \"amount\": 100\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/transaction/spend",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "transaction",
                "spend"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Credit",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"accountId\": {{accountId}},\n    \"amount\": 100\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/transaction/credit",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "transaction",
                "credit"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Debit",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"accountId\": {{accountId}},\n    \"amount\": 100\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/transaction/debit",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "transaction",
                "debit"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Redeem Credit",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"redeemAccountId\": {{redeemAccountId}},\n    \"creditAccountId\": {{creditAccountId}},\n    \"redeemAccountTransaction\": {\n    \t\"amount\": 1000\n    },\n    \"creditAccountTransaction\": {\n        \"amount\": 1000\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/transaction/redeemCredit",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "transaction",
                "redeemCredit"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Donate",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"amount\": 10,\n    \"accountId\": \"{{accountId}}\",\n    \"toWalletId\": \"{{toWalletId}}\",\n    \"toAccountId\": \"{{toAccountId}}\",\n    \"walletTransaction\": {\n        \"state\": \"SOME_STATE\",\n        \"meta\": {\n            \"foo\": \"bar\"\n        }\n    },\n    \"childWalletTransaction\": {\n        \"state\": \"SOME_STATE\",\n        \"meta\": {\n            \"foo\": \"bar\"\n        }\n    },\n    \"donateAccountTransaction\": {\n       \"details\": {\n         \"key1\": \"foo\"\n       }\n    },\n    \"donateInAccountTransaction\": {\n       \"details\": {\n         \"key2\": \"bar\"\n       }\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/transaction/donate",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "transaction",
                "donate"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Gift",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"amount\": 10,\n    \"accountId\": \"{{accountId}}\",\n    \"toWalletId\": \"{{walletId}}\",\n    \"toAccountId\": \"4128749304\"\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/transaction/gift",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "transaction",
                "gift"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Goodwill",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('walletId', jsonData.walletId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"amount\": 10,\n    \"accountId\": \"{{accountId}}\",\n    \"toWalletId\": \"{{toWalletId}}\",\n    \"toAccountId\": \"{{toAccountId}}\",\n    \"walletTransaction\": {\n        \"state\": \"SOME_STATE\",\n        \"meta\": {\n            \"foo\": \"bar\"\n        }\n    },\n    \"childWalletTransaction\": {\n        \"state\": \"SOME_STATE\",\n        \"meta\": {\n            \"foo\": \"bar\"\n        }\n    },\n    \"donateAccountTransaction\": {\n       \"details\": {\n         \"key1\": \"foo\"\n       }\n    },\n    \"donateInAccountTransaction\": {\n       \"details\": {\n         \"key2\": \"bar\"\n       }\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/transaction/goodwill",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "transaction",
                "goodwill"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Unredeem",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('walletId', jsonData.walletId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"amount\": 10,\n    \"accountId\": \"{{accountId}}\",\n    \"toWalletId\": \"{{toWalletId}}\",\n    \"toAccountId\": \"{{toAccountId}}\",\n    \"walletTransaction\": {\n        \"state\": \"SOME_STATE\",\n        \"meta\": {\n            \"foo\": \"bar\"\n        }\n    },\n    \"childWalletTransaction\": {\n        \"state\": \"SOME_STATE\",\n        \"meta\": {\n            \"foo\": \"bar\"\n        }\n    },\n    \"donateAccountTransaction\": {\n       \"details\": {\n         \"key1\": \"foo\"\n       }\n    },\n    \"donateInAccountTransaction\": {\n       \"details\": {\n         \"key2\": \"bar\"\n       }\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/transaction/unredeem",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "transaction",
                "unredeem"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Exchange",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"accountId\": \"{{pointsAccountId}}\",\n    \"pointsRewardBankId\": \"1303773\",\n    \"pointsRewardBankRewardId\": \"904392\",\n    \"walletTransaction\": {\n        \"type\": \"AUTO_EXCHANGE\"\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/{{walletId}}/transaction/exchange/pointsreward",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "{{walletId}}",
                "transaction",
                "exchange",
                "pointsreward"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Backend Points",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('walletId', jsonData.walletId);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"walletId\": \"{{walletId}}\",\n    \"pointsValue\": -10010,\n    \"schemeReference\": \"RETAILPOINTS\",\n    \"location\": {\n        \"storeId\": \"1616\",\n        \"storeParentId\": \"harveys\"\n    },\n    \"walletTransactionType\": \"ADJUSTMENT\",\n    \"walletTransactionState\": \"ORIGINAL\",\n    \"walletTransactionDescription\": \"testTxt\",\n    \"meta\": {\n        \"walletTransactionMeta\": \"testMetaTxt\",\n        \"key1\": \"value1\"\n    },\n    \"accountTransactionMeta\": {\n        \"key1\": \"test1\"\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/backendpoints",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "backendpoints"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Backend Points Refund",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "",
                  "if (pm.response.code === 201) {",
                  "    const jsonData = pm.response.json();",
                  "    pm.environment.set('walletId', jsonData.walletId);",
                  "    pm.environment.set('identityValue', jsonData.identities[0].value);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"walletId\": \"{{walletId}}\",\n    \"pointsValue\": -10010,\n    \"schemeReference\": \"RETAILPOINTS\",\n    \"location\": {\n        \"storeId\": \"1616\",\n        \"storeParentId\": \"harveys\"\n    },\n    \"walletTransactionType\": \"ADJUSTMENT\",\n    \"walletTransactionState\": \"ORIGINAL\",\n    \"walletTransactionDescription\": \"testTxt\",\n    \"meta\": {\n        \"walletTransactionMeta\": \"testMetaTxt\",\n        \"key1\": \"value1\"\n    },\n    \"accountTransactionMeta\": {\n        \"key1\": \"test1\"\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/backendpointsrefund",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "backendpointsrefund"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Backend Points Redeem",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"walletId\": \"{{walletId}}\",\n    \"pointsValue\": 10,\n    \"reasonCode\": \"\",\n    \"campaignId\": \"{{campaignId}}\",\n    \"location\": {\n        \"storeId\": \"incomingIdentifier\",\n        \"storeParentId\": \"banner1\"\n    },\n    \"walletTransactionType\": \"ADJUSTMENT\",\n    \"walletTransactionState\": \"ORIGINAL\",\n    \"walletTransactionDescription\": \"\",\n    \"meta\": {\n        \"key1\": \"value1\"\n    },\n    \"accountTransactionMeta\": {\n        \"key1\": \"value1\"\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/services/wallet/backendpointsredeem",
              "host": [
                "{{url}}"
              ],
              "path": [
                "services",
                "wallet",
                "backendpointsredeem"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Tiers",
      "item": [
        {
          "name": "Get Tier Membership",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/account/{{pointsAccountId}}/membership",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "account",
                "{{pointsAccountId}}",
                "membership"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Tier Membership",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"status\": \"ACTIVE\",\n    \"expiryDate\": \"2025-07-01T00:00:00+00:00\",\n    \"tierBalancesResetDate\": \"2025-07-01T00:00:00+00:00\",\n    \"accountIds\": [\n        \"{{accountId}}\"\n    ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{url}}/wallet/{{walletId}}/tier/{{tierId}}/membership",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallet",
                "{{walletId}}",
                "tier",
                "{{tierId}}",
                "membership"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Credit Points Balance",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"balances\": {\n        \"points\": 50,\n        \"spend\": 50\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/tier/membership/{{tierMembershipId}}/credit",
              "host": [
                "{{url}}"
              ],
              "path": [
                "tier",
                "membership",
                "{{tierMembershipId}}",
                "credit"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Adjust Points Balance",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"balances\": {\n        \"points\": -50,\n        \"spend\": 500,\n        \"transactions\": 2\n    }\n}"
            },
            "url": {
              "raw": "{{url}}/tier/membership/{{tierMembershipId}}/adjust",
              "host": [
                "{{url}}"
              ],
              "path": [
                "tier",
                "membership",
                "{{tierMembershipId}}",
                "adjust"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Move Customer to New Tier",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"walletTransactionId\": null,\n  \"tierId\": \"{{tierId}}\",\n  \"expiryDate\": \"2024-03-11T16:33:00+00:00\"\n}\n"
            },
            "url": {
              "raw": "{{url}}/tier/membership/{{tierMembershipId}}/move",
              "host": [
                "{{url}}"
              ],
              "path": [
                "tier",
                "membership",
                "{{tierMembershipId}}",
                "move"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Audiences",
      "item": [
        {
          "name": "Add Wallet to Audience",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 204\", function () {",
                  "    pm.response.to.have.status(204);",
                  "})"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"wallets\": [\n        {\n            \"walletId\": \"{{walletId}}\"\n        },\n        {\n            \"walletId\": \"{{walletId2}}\"\n        }\n    ]\n}"
            },
            "url": {
              "raw": "{{url}}/audiences/{{audienceId}}/wallets",
              "host": [
                "{{url}}"
              ],
              "path": [
                "audiences",
                "{{audienceId}}",
                "wallets"
              ]
            },
            "description": "Add wallets to an audience"
          },
          "response": []
        },
        {
          "name": "Remove Wallet from Audience",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 204\", function () {",
                  "    pm.response.to.have.status(204);",
                  "})"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"wallets\": [\n        {\n            \"walletId\": \"{{walletId}}\"\n        },\n        {\n            \"walletId\": \"{{walletId2}}\"\n        }\n    ]\n}"
            },
            "url": {
              "raw": "{{url}}/audiences/{{audienceId}}/wallets/delete",
              "host": [
                "{{url}}"
              ],
              "path": [
                "audiences",
                "{{audienceId}}",
                "wallets",
                "delete"
              ]
            },
            "description": "Remove wallets from an audience"
          },
          "response": []
        },
        {
          "name": "Retrieve a Wallet's Audiences",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  "// Load global pre-request script object",
                  "var ee = eval(pm.globals.get('ees'));",
                  "ee.setUrl('walletApi');",
                  "",
                  "// Set up any environment variables",
                  "",
                  "// Call the global authentication function",
                  "ee.auth();"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "if (pm.response.code === 200) {",
                  "    pm.environment.set('audeinceId', pm.response.json().results[0].id);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-EES-AUTH-HASH",
                "value": "{{xAuthHash}}"
              },
              {
                "key": "X-EES-AUTH-CLIENT-ID",
                "value": "{{xAuthClientId}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": ""
            },
            "url": {
              "raw": "{{url}}/wallets/{{walletId}}/audiences",
              "host": [
                "{{url}}"
              ],
              "path": [
                "wallets",
                "{{walletId}}",
                "audiences"
              ]
            },
            "description": "Retrieve all audiences for a specific wallet"
          },
          "response": []
        }
      ]
    },
    {
      "name": "/health/status",
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "exec": [
              "// Load global pre-request script object",
              "var ee = eval(pm.globals.get('ees'));",
              "ee.setUrl('walletApi');",
              "",
              "// Set up any environment variables",
              "",
              "// Call the global authentication function",
              "ee.auth();"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        },
        {
          "listen": "test",
          "script": {
            "exec": [
              "pm.test(\"Status code is 200\", function () {",
              "    pm.response.to.have.status(200);",
              "});",
              "",
              "pm.test(\"Status is Green\", function() {",
              "    pm.expect(pm.response.json().summary.status).to.eql(\"GREEN\");",
              "});",
              ""
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-EES-AUTH-HASH",
            "value": "{{xAuthHash}}"
          },
          {
            "key": "X-EES-AUTH-CLIENT-ID",
            "value": "{{xAuthClientId}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{url}}/health/status",
          "host": [
            "{{url}}"
          ],
          "path": [
            "health",
            "status"
          ]
        }
      },
      "response": []
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "requests": {},
        "exec": [
          "let CryptoJS = require('crypto-js');",
          "",
          "pm.globals.set('ees', function ees() {",
          "    let ee = {};",
          "    ee.url = function() {",
          "        let url = pm.request.url.toString();",
          "        return url.slice(url.indexOf('/')).replace(/{{(\\w*)}}/g, function(str, key) {",
          "            return pm.variables.get(key);",
          "        }).replace(/!/g, '%21');",
          "    };",
          "    ee.payload = function() {",
          "        let payload = '';",
          "        if ('undefined' !== typeof pm.request.body && 'undefined' !== typeof pm.request.body.raw) {",
          "            payload = pm.request.body.raw;",
          "        }",
          "",
          "        if ('' === payload) {",
          "            return '';",
          "        }",
          "        return payload.replace(/{{(\\w*)}}/g, function(str, key) {",
          "            return pm.variables.get(key);",
          "        });",
          "    };",
          "    ee.hash = function() {",
          "        return CryptoJS.SHA256(",
          "            ee.url() + ee.payload() + pm.variables.get('password')",
          "        ).toString();",
          "    };",
          "    ee.transaction = function() {",
          "        return CryptoJS.MD5(new Date().getTime().toString()).toString();",
          "    };",
          "    ee.setUrl = function(key) {",
          "        if (pm.variables.has(key)) {",
          "            pm.environment.set('url', pm.variables.get(key));",
          "        }",
          "    };",
          "    ee.auth = function() {",
          "        pm.variables.set('xAuthHash', ee.hash());",
          "        pm.variables.set('xAuthClientId', pm.variables.get('username'));",
          "        pm.variables.set('xTransactionId', ee.transaction());",
          "    };",
          "    ee.pad = function(str, len) {",
          "        str.toString().padStart(len, '0');",
          "    };",
          "    ee.getCurrentAtomDateTime = function() {",
          "        let now = new Date();",
          "        return now.getUTCFullYear() +",
          "            '-' + ee.pad((now.getUTCMonth() + 1), 2) +",
          "            '-' + ee.pad(now.getUTCDate(), 2) +",
          "            'T' + ee.pad(now.getUTCHours(), 2) +",
          "            ':' + ee.pad(now.getUTCMinutes(), 2) +",
          "            ':' + ee.pad(now.getUTCSeconds(), 2) +",
          "            '+' + ee.pad((now.getTimezoneOffset() / -60), 2) + ':00';",
          "    };",
          "    return ee;",
          "} + '; ees();');",
          "",
          "let ee = eval(pm.globals.get('ees'));",
          "ee.setUrl('walletApi');",
          ""
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "requests": {},
        "exec": [
          ""
        ]
      }
    }
  ]
}