Passes
Nullify Pass
Irreversibly nullifies a pass, removing all dynamic data (fields, images, barcode, NFC, localisation) while preserving the tombstone record for billing and auditability.
The pass will appear in the expired section of the wallet with a generic “Deactivated” design. The extId is preserved on the nullified record and can be reused when creating new passes.
This endpoint is idempotent — calling it on an already-nullified pass returns 200 with no further changes.
POST
/
api
/
v1
/
passes
/
{id}
/
nullify
Nullify Pass
curl --request POST \
--url https://api.passentry.com/api/v1/passes/{id}/nullify \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.passentry.com/api/v1/passes/{id}/nullify"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.passentry.com/api/v1/passes/{id}/nullify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.passentry.com/api/v1/passes/{id}/nullify",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.passentry.com/api/v1/passes/{id}/nullify"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.passentry.com/api/v1/passes/{id}/nullify")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.passentry.com/api/v1/passes/{id}/nullify")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "e89b1330fc391ec89656f3c664318cff8805471e",
"type": "pass",
"attributes": {
"downloadUrl": "https://download.passentry.com?pass=e89b1330fc391ec89656f3c664318cff8805471e",
"passType": "storeCard",
"deviceType": "iphone",
"createdAt": "2025-01-15T10:30:00Z",
"status": "nullified",
"extId": "user-123",
"addedAt": "2025-01-15T10:35:00Z",
"nullifiedAt": "2026-03-28T14:00:00Z",
"expiresAt": "2026-03-28T14:00:00Z",
"passTemplateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"passTemplateName": "Loyalty Card",
"nfc": null,
"barcode": {},
"passContent": {}
}
}
}{
"errors": [
"<string>"
]
}{
"errors": [
"<string>"
]
}Was this page helpful?
⌘I
Nullify Pass
curl --request POST \
--url https://api.passentry.com/api/v1/passes/{id}/nullify \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.passentry.com/api/v1/passes/{id}/nullify"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.passentry.com/api/v1/passes/{id}/nullify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.passentry.com/api/v1/passes/{id}/nullify",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.passentry.com/api/v1/passes/{id}/nullify"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.passentry.com/api/v1/passes/{id}/nullify")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.passentry.com/api/v1/passes/{id}/nullify")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "e89b1330fc391ec89656f3c664318cff8805471e",
"type": "pass",
"attributes": {
"downloadUrl": "https://download.passentry.com?pass=e89b1330fc391ec89656f3c664318cff8805471e",
"passType": "storeCard",
"deviceType": "iphone",
"createdAt": "2025-01-15T10:30:00Z",
"status": "nullified",
"extId": "user-123",
"addedAt": "2025-01-15T10:35:00Z",
"nullifiedAt": "2026-03-28T14:00:00Z",
"expiresAt": "2026-03-28T14:00:00Z",
"passTemplateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"passTemplateName": "Loyalty Card",
"nfc": null,
"barcode": {},
"passContent": {}
}
}
}{
"errors": [
"<string>"
]
}{
"errors": [
"<string>"
]
}