Disable card authorisation type

In this section, you will learn how to disable card authorisation type in Tuum.

Use case

In this use case, we will deactivate purchase transactions with cash back for the card.

Use case data
API parameters with values

We will update the settings for card C001664282649.

...cards/C001664282649/settings/...

We will disable purchases with cash back (serviceCode = 09).

...authorisation-types/09/disable

The full list of card service codes is available here.

Sample API call

To disable a card authorisation type, use the following endpoint:

https://card-api.sandbox.tuumplatform.com/api/v1/cards/{cardId}/settings/authorisation-types/{serviceCode}/disable

Learn more about the disable card authorisation type endpoint in the Tuum developer portal.

Sample request

The sample request body is as follows:

No request body.

Sample response

Below is an example of the response body for the API call above.

Response
{
  "errors": null,
  "validationErrors": null,
  "data": null
}

Result

Cash back purchases (serviceCode = 09) are no longer allowed on card C001664282649. Changes to card services take effect immediately.

Last updated

Was this helpful?