Passes
Issue a pass
Creates a pass from a template for one holder.
POST
The pass is created in the environment of your API key. Send the holder its
distributionUrl so they can add it. See Deliver passes.
string
required
A unique value, such as a UUID, so a retry never issues a second pass. See Idempotency.
string
required
The template to issue from, for example
tmpl_Q4vN8xT2mLr7KpZs3Wd1. Archived templates can’t issue passes.object
Values for the template’s per-pass fields, keyed by field key. Each value is a string or a number. Every key in the template’s
requiredFields must be included.string
The holder’s name. Used to find the pass in the dashboard.
string
The holder’s email address. Used to find the pass in the dashboard.
string
Your own reference for the pass, such as your customer ID, up to 255 characters. It doesn’t have to be unique, so one customer can hold several passes. Find passes by it with
GET /v1/passes?externalId=. It never appears on the pass.object
Your own key-value pairs, such as
{ "plan": "gold" }. Up to 50 keys of 1 to 40 characters, each with a non-empty string value of up to 500 characters. It never appears on the pass.string
The value encoded in the barcode. Required when the template takes a barcode value for each pass.
object
Links for the template’s Featured Actions, the buttons Apple Wallet shows below the pass on iOS 27 and later. Keyed by action key, such as
{ "bookTable": "https://example.com/book/8812" }. Each link must start with https://, or tel: for a call action. Every key in the template’s requiredActions must be included on a pass that uses Apple Wallet. A pass without Apple Wallet ignores this. An action with a link on the template uses that link when you leave it out. An action whose link is the same on every pass can’t be set here.object
When and where Apple Wallet suggests the pass on the Lock Screen. Each list you send replaces the template’s for this pass, and
[] means none. Lists you leave out use the template’s.integer
default:"0"
Stamp cards only: the starting stamp count, a whole number from 0 to the card’s total, such as
1 for a first-visit stamp. See Stamp cards.number
Points cards only: the starting balance, with up to 2 decimal places. Defaults to the template’s starting balance. A value outside the template’s limits is moved to the nearest one. See Points cards.
object
Which wallets to issue for. Each defaults to
true when the template’s issuePlatforms offers it. Send false to skip a wallet. Sending true for a wallet the template doesn’t offer returns 400.integer
A specific template revision to issue from. Defaults to the latest.
string
The Apple certificate to sign with. Defaults to the one chosen in the template’s settings.
string
The Google Wallet issuer to use. Defaults to the one chosen in the template’s settings.
Response
Returns the new pass with status201.