In this section, you will learn how to enable card authorisation type in Tuum.
In this use case, we will enable ATM cash deposit transactions for the card.
We will update the settings for card C001664282649.
We will enable ATM cash deposit transactions (serviceCode = 21).
To enable a card authorisation type, use the following endpoint:
https://card-api.sandbox.tuumplatform.com/api/v1/cards/{cardId}/settings/authorisation-types/{serviceCode}/enable
The sample request body is as follows:
No request body.
curl -X 'POST' \
'https://card-api.sandbox.tuumplatform.com/api/v1/cards/C001664282649/settings/authorisation-types/21/enable' \
-H 'accept: */*' \
-H 'x-tenant-code: MB' \
-H 'Accept-Language: en' \
-H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHBpcnlEVGltZSI6IjIwMjUtMDQtMDJUMDg6NTY6NTkiLCJleHAiOjE3NDM1ODQyMTksInJvbGVzIjpbIkFETUlOIiwiUE9TVElOR1NfVEVBTSIsIlNZU1RFTSJdfQ.hIo0b__2GdF185L5hBOje3RZZLILtTAIB0kFWqAA6Q8' \
-d ''
Below is an example of the response body for the API call above.
ATM cash deposit transactions (serviceCode = 21
) are now enabled on card C001664282649
. Changes to card services take effect immediately.
...cards/C001664282649/settings/...
...authorisation-types/21/enable