Get comments
/me/comments
Target audience: Developers
Introduction
This endpoint returns comments for the account.
URI
Required scope
Curl Example
curl --request GET \
--url https://payway-api.stage.adeprimo.se/external/api/v1/me/comments \
--header 'accept: application/json' \
--header 'authorization: Bearer <access_token_with_identity>'
Response
Example response
HTTP 200
{
"items": [
{
"id": "5ea16b1295cfebff3e3ae0c0",
"type": "comment",
"message": "Testkommentar",
"producer": "payway@adeprimo.se",
"created_at": "2020-04-23 12:16:50 +0200",
"updated_at": "2020-04-23 12:16:50 +0200"
},
{
"id": "5cd55c2e95cfeb42159a53ff",
"type": "comment",
"message": "Testar 123",
"producer": "payway@adeprimo.se",
"created_at": "2019-05-10 13:10:38 +0200",
"updated_at": "2019-05-10 13:10:38 +0200"
}
]
}
Errors
HTTP 400 Bad Request
HTTP 404 Not Found
HTTP 500 Internal Server Error