Attribute
Store global user attributes
Changed onThis GET endpoint is used to retrieve all global user attributes associated with a specific user token. <br> You can use this endpoint to obtain the additional data that has been previously stored for a user. <br> To use this endpoint, you need to provide the user_token as a parameter in the URL Path. <br> The response will include all global attributes currently associated with the provided user token.
post/attribute/{user_token}/global
Request
- Base URLhttps://api.masspay.io/v1.0.0
- Auth
- API key in header Authorization
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_tokenstring required
Token representing the user to store attributes for
Headers
Idempotency-Keystring
Unique key to prevent duplicate processing
Request body
Example request
{
"values": [
{
"token": "e2ca24e9-c546-4c64-90d2-cb8e70e7c9ba",
"value": "432532532"
}
]
}Response
Succesfully created.
Changes
- info
endpoint added
- info