Find card settings history
In this section, you will learn how to find card settings history in Tuum.
Use case
In this use case, we will retrieve the history of changes to the card's settings.
Use case data
API parameters with values
Search for the card settings history related to card C001664282649.
...cards/C001664282649/settings-historySample API call
To retrieve card settings history, use the following endpoint:
https://card-api.sandbox.tuumplatform.com/api/v1/cards/{cardId}/settings-history
Sample request
The sample request body is as follows:
No request body.
curl -X 'GET' \
'https://card-api.sandbox.tuumplatform.com/api/v1/cards/C001664282649/settings-history' \
-H 'accept: */*' \
-H 'x-tenant-code: MB' \
-H 'Accept-Language: en' \
-H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHBpcnlEVGltZSI6IjIwMjUtMDQtMDJUMDg6MDE6NTQiLCJleHAiOjE3NDM1ODA5MTQsInJvbGVzIjpbIkFETUlOIiwiUE9TVElOR1NfVEVBTSIsIlNZU1RFTSJdfQ.UbVbQx2Q4anDZxWxIQ9919A2Ka15uneqhM5ZmIoOAYw'Sample response
Below is an example of the response body for the API call above.
Result
The result of the API call is a complete list of service codes, along with their validity periods that were in effect at specific points during the card’s lifecycle.
Last updated
Was this helpful?