Cancel Digital Gift Card

Cancel an issued digital gift card.

You must provide either a Code or URL from the original issue response. You cannot provide both.

If you are cancelling a Reward Pass product, you only need to provide the original client request ID from the original issue response. You don't need a code or URL in this case.

Please note, not all brands support the ability to cancel. You can determine which brands are eligible for cancellation by checking whether it has the cancelled_digital_issuance transaction type from the GET /api/v2/brands endpoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 5 and 50

Unique identifier for this request. Also acts as an idempotency key

string
required
length between 5 and 50

This field will be the client_request_id provided in the original transaction. For example, if you are performing some form of cancellation, then this would be the client_request_id you provided when making the original issuance request

string
required
length between 1 and 255

Brand identifier/slug (lowercase letters, numbers, hyphens only). Must be a brand connected to your buyer account.

face_value
object
required
string
enum
required
length ≥ 1

Must match one of the sectors configured for your buyer account.

string
length between 8 and 110

Gift card code to cancel (for code-delivery brands).
Must be between 8 and 110 characters. Only alphanumeric characters, dots, underscores, hyphens, colons, and forward slashes are allowed.

string

Gift card PIN. Required for cancelling certain brands when the original issue response included a PIN.

uri
length between 8 and 255

Gift card URL to cancel (for URL-delivery brands).
Must be between 8 and 255 characters and be a valid URI.

tags
array

Optional meta data associated with the issuance.

tags
Responses

502

Bad Gateway No response body is returned.

504

Gateway Timeout No response body is returned.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json