Skip to Content
🚀 Trusted by travel businesses worldwide - Roamify eSIM API
Gift Cards ModuleRevoke Gift Card

Table of Contents

Revoke Gift Card

To revoke a gift card, you need to send a POST request to the /api/gifts/revoke endpoint.

The request body should contain the following:

  • orderId: The order ID of the gift card. This is a required field of type string.

Usage - revoke a gift card

Here is an example of how you can revoke a gift card using Roamify Gift Card API.

curl --request POST \ --url 'https://api-dev.getroamify.com/api/gifts/revoke' \ --header 'Authorization: Bearer Access Token' \ --header 'Content-Type: application/json' \ --data '{ "orderId": "your-order-id" }'
Last updated on