---
updatedAt: 2025-12-23T15:23:48.000Z
agentTools:
  siteIndex: https://developer.paymentology.com/llms.txt
  projectIndex: https://developer.paymentology.com/lume/llms.txt
---

# Token Account Holder Messaging

Allows issuer to display customized messages per token within the Apple Pay wallet, below the digitized image of the card.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "PayApi Docs",
    "description": "OpenAPI 3.0 spec for PayAPI with required fields sorted first",
    "version": "3.0.0"
  },
  "servers": [
    {
      "url": "https://api.uat.paymentology.com/ppws/api"
    }
  ],
  "tags": [
    {
      "name": "Tokenization customer service"
    }
  ],
  "paths": {
    "/pws/customerservice/v2/token/account_holder_messaging": {
      "post": {
        "tags": [
          "Tokenization customer service"
        ],
        "summary": "Account Holder Messaging",
        "operationId": "pws_mea_cs_token_account_holder_messaging",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountHolderMessagingRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountHolderMessagingResponseModelBody"
                }
              }
            }
          },
          "404": {
            "description": "Webservices does not exist"
          },
          "500": {
            "description": "Internal Server error"
          }
        },
        "description": "Allows issuer to display customized messages per token within the Apple Pay wallet, below the digitized image of the card.",
        "x-codeSamples": [
          {
            "lang": "Csharp + Restsharp",
            "source": "var client = new RestClient(\"https://api.uat.paymentology.com/ppws/api/pws/customerservice/v2/token/account_holder_messaging\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddParameter(\"application/json\", \"{\\\"api_call_unique_identifier\\\":\\\"438574845790657485\\\",\\\"client_id\\\":760131,\\\"issuerApplicationMessageDisplay\\\":false,\\\"messageExpiration\\\":\\\"2020-06-18T18:04:35+03:00\\\",\\\"messageIdentifier\\\":\\\"6598123486451346764616431064\\\",\\\"messageLanguageCode\\\":\\\"en\\\",\\\"messageText\\\":\\\"Hello World\\\",\\\"token\\\":311012081,\\\"tokenUniqueReference\\\":\\\"DNITHEgx1ZI57H5eVHZpoFptyWpay10\\\",\\\"user_id\\\":\\\"string\\\",\\\"remarks\\\":\\\"string\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"
          },
          {
            "lang": "Java + Okhttp",
            "source": "OkHttpClient client = new OkHttpClient();\n\nMediaType mediaType = MediaType.parse(\"application/json\");\nRequestBody body = RequestBody.create(mediaType, \"{\\\"api_call_unique_identifier\\\":\\\"438574845790657485\\\",\\\"client_id\\\":760131,\\\"issuerApplicationMessageDisplay\\\":false,\\\"messageExpiration\\\":\\\"2020-06-18T18:04:35+03:00\\\",\\\"messageIdentifier\\\":\\\"6598123486451346764616431064\\\",\\\"messageLanguageCode\\\":\\\"en\\\",\\\"messageText\\\":\\\"Hello World\\\",\\\"token\\\":311012081,\\\"tokenUniqueReference\\\":\\\"DNITHEgx1ZI57H5eVHZpoFptyWpay10\\\",\\\"user_id\\\":\\\"string\\\",\\\"remarks\\\":\\\"string\\\"}\");\nRequest request = new Request.Builder()\n  .url(\"https://api.uat.paymentology.com/ppws/api/pws/customerservice/v2/token/account_holder_messaging\")\n  .post(body)\n  .addHeader(\"content-type\", \"application/json\")\n  .build();\n\nResponse response = client.newCall(request).execute();"
          },
          {
            "lang": "Javascript + Jquery",
            "source": "const settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https://api.uat.paymentology.com/ppws/api/pws/customerservice/v2/token/account_holder_messaging\",\n  \"method\": \"POST\",\n  \"headers\": {\n    \"content-type\": \"application/json\"\n  },\n  \"processData\": false,\n  \"data\": \"{\\\"api_call_unique_identifier\\\":\\\"438574845790657485\\\",\\\"client_id\\\":760131,\\\"issuerApplicationMessageDisplay\\\":false,\\\"messageExpiration\\\":\\\"2020-06-18T18:04:35+03:00\\\",\\\"messageIdentifier\\\":\\\"6598123486451346764616431064\\\",\\\"messageLanguageCode\\\":\\\"en\\\",\\\"messageText\\\":\\\"Hello World\\\",\\\"token\\\":311012081,\\\"tokenUniqueReference\\\":\\\"DNITHEgx1ZI57H5eVHZpoFptyWpay10\\\",\\\"user_id\\\":\\\"string\\\",\\\"remarks\\\":\\\"string\\\"}\"\n};\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});"
          },
          {
            "lang": "Php + Http1",
            "source": "<?php\n\n$request = new HttpRequest();\n$request->setUrl('https://api.uat.paymentology.com/ppws/api/pws/customerservice/v2/token/account_holder_messaging');\n$request->setMethod(HTTP_METH_POST);\n\n$request->setHeaders([\n  'content-type' => 'application/json'\n]);\n\n$request->setBody('{\"api_call_unique_identifier\":\"438574845790657485\",\"client_id\":760131,\"issuerApplicationMessageDisplay\":false,\"messageExpiration\":\"2020-06-18T18:04:35+03:00\",\"messageIdentifier\":\"6598123486451346764616431064\",\"messageLanguageCode\":\"en\",\"messageText\":\"Hello World\",\"token\":311012081,\"tokenUniqueReference\":\"DNITHEgx1ZI57H5eVHZpoFptyWpay10\",\"user_id\":\"string\",\"remarks\":\"string\"}');\n\ntry {\n  $response = $request->send();\n\n  echo $response->getBody();\n} catch (HttpException $ex) {\n  echo $ex;\n}"
          },
          {
            "lang": "Python + Python3",
            "source": "import http.client\n\nconn = http.client.HTTPSConnection(\"api.uat.paymentology.com\")\n\npayload = \"{\\\"api_call_unique_identifier\\\":\\\"438574845790657485\\\",\\\"client_id\\\":760131,\\\"issuerApplicationMessageDisplay\\\":false,\\\"messageExpiration\\\":\\\"2020-06-18T18:04:35+03:00\\\",\\\"messageIdentifier\\\":\\\"6598123486451346764616431064\\\",\\\"messageLanguageCode\\\":\\\"en\\\",\\\"messageText\\\":\\\"Hello World\\\",\\\"token\\\":311012081,\\\"tokenUniqueReference\\\":\\\"DNITHEgx1ZI57H5eVHZpoFptyWpay10\\\",\\\"user_id\\\":\\\"string\\\",\\\"remarks\\\":\\\"string\\\"}\"\n\nheaders = { 'content-type': \"application/json\" }\n\nconn.request(\"POST\", \"/ppws/api/pws/customerservice/v2/token/account_holder_messaging\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"
          },
          {
            "lang": "Shell + Curl",
            "source": "curl --request POST \\\n  --url https://api.uat.paymentology.com/ppws/api/pws/customerservice/v2/token/account_holder_messaging \\\n  --header 'content-type: application/json' \\\n  --data '{\"api_call_unique_identifier\":\"438574845790657485\",\"client_id\":760131,\"issuerApplicationMessageDisplay\":false,\"messageExpiration\":\"2020-06-18T18:04:35+03:00\",\"messageIdentifier\":\"6598123486451346764616431064\",\"messageLanguageCode\":\"en\",\"messageText\":\"Hello World\",\"token\":311012081,\"tokenUniqueReference\":\"DNITHEgx1ZI57H5eVHZpoFptyWpay10\",\"user_id\":\"string\",\"remarks\":\"string\"}'"
          },
          {
            "lang": "Go + Native",
            "source": "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.uat.paymentology.com/ppws/api/pws/customerservice/v2/token/account_holder_messaging\"\n\n\tpayload := strings.NewReader(\"{\\\"api_call_unique_identifier\\\":\\\"438574845790657485\\\",\\\"client_id\\\":760131,\\\"issuerApplicationMessageDisplay\\\":false,\\\"messageExpiration\\\":\\\"2020-06-18T18:04:35+03:00\\\",\\\"messageIdentifier\\\":\\\"6598123486451346764616431064\\\",\\\"messageLanguageCode\\\":\\\"en\\\",\\\"messageText\\\":\\\"Hello World\\\",\\\"token\\\":311012081,\\\"tokenUniqueReference\\\":\\\"DNITHEgx1ZI57H5eVHZpoFptyWpay10\\\",\\\"user_id\\\":\\\"string\\\",\\\"remarks\\\":\\\"string\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"
          },
          {
            "lang": "Node + Native",
            "source": "const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"uat.banking.live\",\n  \"port\": \"55555\",\n  \"path\": \"/ppws/api/pws/customerservice/v2/token/account_holder_messaging\",\n  \"headers\": {\n    \"content-type\": \"application/json\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  api_call_unique_identifier: '438574845790657485',\n  client_id: 760131,\n  issuerApplicationMessageDisplay: false,\n  messageExpiration: '2020-06-18T18:04:35+03:00',\n  messageIdentifier: '6598123486451346764616431064',\n  messageLanguageCode: 'en',\n  messageText: 'Hello World',\n  token: 311012081,\n  tokenUniqueReference: 'DNITHEgx1ZI57H5eVHZpoFptyWpay10',\n  user_id: 'string',\n  remarks: 'string'\n}));\nreq.end();"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AccountHolderMessagingResponseModelBody": {
        "type": "object",
        "properties": {
          "responseId": {
            "type": "string",
            "description": "Response ID",
            "example": "1234"
          },
          "tokenUniqueReference": {
            "type": "string",
            "description": "Unique reference to the digital token"
          }
        }
      },
      "AccountHolderMessagingRequestModel": {
        "required": [
          "api_call_unique_identifier",
          "client_id",
          "issuerApplicationMessageDisplay",
          "messageExpiration",
          "messageIdentifier",
          "messageLanguageCode",
          "messageText",
          "token",
          "tokenUniqueReference"
        ],
        "type": "object",
        "properties": {
          "api_call_unique_identifier": {
            "maxLength": 40,
            "minLength": 1,
            "type": "string",
            "description": "Unique number that must be passed at each API request. Identifier to make each API request unique",
            "example": "438574845790657485"
          },
          "client_id": {
            "minimum": 1,
            "type": "integer",
            "description": "Unique identifier for the client which Paymentology will provide at outset",
            "format": "int32",
            "example": 760131
          },
          "issuerApplicationMessageDisplay": {
            "type": "boolean",
            "description": "This is the indicator if the message can be viewed in the Issuer Application using the MessageIdentifier.",
            "example": false
          },
          "messageExpiration": {
            "minLength": 1,
            "type": "string",
            "description": "Date and time after which the message is no longer valid. Maximum value of 30 days in the future. ISO 8601 format.",
            "example": "2020-06-18T18:04:35+03:00"
          },
          "messageIdentifier": {
            "minLength": 1,
            "type": "string",
            "description": "This is the message identifier. This could be used for linking into the issuer application.",
            "example": "6598123486451346764616431064"
          },
          "messageLanguageCode": {
            "minLength": 1,
            "type": "string",
            "description": "The language of the message. Only messages with the requested language code will be presented to the account holder. ISO 639-1 format",
            "example": "en"
          },
          "messageText": {
            "minLength": 1,
            "type": "string",
            "description": "This is the message which will be displayed to the cardholder.",
            "example": "Hello World"
          },
          "token": {
            "minimum": 1,
            "type": "integer",
            "description": "Paymentology Public Token.",
            "format": "int64",
            "example": 311012081
          },
          "tokenUniqueReference": {
            "minLength": 1,
            "type": "string",
            "description": "Unique reference of the token to be updated.",
            "example": "DNITHEgx1ZI57H5eVHZpoFptyWpay10"
          },
          "user_id": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "User Id of the Customer who triggered the API request."
          },
          "remarks": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string",
            "description": "Remarks for API request"
          }
        }
      }
    }
  },
  "x-tagGroups": [
    {
      "name": "API",
      "tags": [
        "Overview",
        "Account Structure",
        "Security and Authentication",
        "Required Fields",
        "Error handling/Codes",
        "Curl Request Sample",
        "API 1.0",
        "API 2.0",
        "API 3.0"
      ]
    },
    {
      "name": "API 2.0",
      "tags": [
        "",
        "3DS",
        "Account",
        "Account Groups",
        "Account V2",
        "Apata",
        "Card",
        "Card Groups",
        "Card PaySecure WS",
        "Card PaySecure WS V2",
        "Card PaySecure WS V3",
        "Card V2",
        "Card-v2",
        "Cashback",
        "Chargeback",
        "Chargeback V2",
        "ChargeBack-V2",
        "Credit account status",
        "Credit billing cycle",
        "Credit grace period",
        "Credit interest",
        "Credit limits",
        "Credit test script",
        "Customer",
        "Customer-V2",
        "Decision Engine",
        "Delinquency",
        "EMV",
        "Fees",
        "Group",
        "Health check",
        "Installment",
        "Mada Pay - MadaPay To PTY (Beta)",
        "Mada Pay LCM",
        "MCC",
        "PcjS API Docs V2",
        "Pin-V2",
        "Rules",
        "Rules action",
        "Rules action V2",
        "Rules V2",
        "SCA Contactless Limits",
        "Tokenization customer service",
        "Tokenization Predigitization",
        "Tokenization predigitization lite",
        "Transaction",
        "VCAS",
        "VTS - PTY To Visa",
        "VTS - Visa To PTY",
        "Wallet"
      ]
    },
    {
      "name": "Ledger API",
      "tags": [
        "Ledger API - Cards"
      ]
    },
    {
      "name": "Deprecated",
      "tags": [
        "Rules (Deprecated)"
      ]
    }
  ]
}
```

# Sibling pages

* [Search V3](https://developer.paymentology.com/lume/reference/pws_mea_cs_search.md)
* [Token Activate](https://developer.paymentology.com/lume/reference/pws_mea_cs_token_activate.md)
* [Token Approve Device Binding](https://developer.paymentology.com/lume/reference/pws_mea_cs_token_approve_binding.md)
* [Token Delete](https://developer.paymentology.com/lume/reference/pws_mea_cs_token_delete.md)
* [Token Remove Device Binding](https://developer.paymentology.com/lume/reference/pws_mea_cs_token_remove_binding.md)
* [Token Suspend](https://developer.paymentology.com/lume/reference/pws_mea_cs_token_suspend.md)
* [Token Unsuspend](https://developer.paymentology.com/lume/reference/pws_mea_cs_token_unsuspend.md)
* [Token Update](https://developer.paymentology.com/lume/reference/pws_mea_cs_token_update.md)
* [Pan Update](https://developer.paymentology.com/lume/reference/pws_mea_cs_pan_update.md)
* [Token Update Product Configuration Id](https://developer.paymentology.com/lume/reference/pws_mea_cs_token_update_prd_config_id.md)