v1
latestOpenAPI 3.0.02026-07-267581167.5 KBWallet Campaign API
Create a wallet campaign
Create a new mobile wallet campaign. The campaign type determines the kind of pass it issues (offer, loyalty, or event_ticket) and cannot be changed after creation.
post/companies/{company_key}/campaigns/wallet
Path parameters
company_keystring required
<div style="color:#dd1e2e; background:url(https://d2xs7zaan7w9gl.cloudfront.net/data/pages/64014/widgets/48027d01-e827-45e0-b96d-227c1099eedc/image/1680214872.png?icon-24x24-warning.png) no-repeat 10px center; background-color:#FCEAEC; padding:10px; font-size:13px;"><div style="padding-left:35px"><b>Important:</b> Using the <b>"Try It"</b> feature on the righthand console will send an actual API call to our system. This may result in a wallet campaign being created.</div></div>
Headers
X-API-Versionstring
Content-Typestring required
Request body
Example request
{
"campaign": {
"name": "Spring Sale",
"description": "20% off all items this spring",
"type": "offer",
"expiration_date": "2026-06-30T23:59:59Z",
"redirect_link": "https://example.com/expired"
}
}Response
The wallet campaign was created.