API v1
Wallet passes from your code, live as you type.
$
npm i @passbook/sdkTypeScript
const pb = new PassBook() // $PASSBOOK_KEYconst pass = await pb.passes.create({ templateId: '0193a2f4-7c1e-7b20…', input: { name: 'Casey River', points: 120, },})201 CreatedSign in to try
TEST PREVIEW · NOT INSTALLABLE
HCHarbor Club
Points
120
Member
Casey River
Tier
Gold
Valid through
Jun 30, 2027
HBR-1042
Your sandboxTest only
Secret keyA pb_test_ key, shown once. Copy it as .env.
Limits500 test passes, 10 templates, 3 webhook endpoints
WebhooksA capture endpoint. Deliveries are stored, never sent.
ChangelogAll
Addedx-sdk names on every operation: the SDK resource and method, frozen.
AddedChild keys: mint, list, read, rotate, retire and revoke keys under a service key (api-keys:write).
AddedcreatedAfter, createdBefore and updatedSince beside from, to and since.