(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.data-privacy-src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-P2BC6Q6N');

Help Center

View Categories

Creating a Pass Template for a Boarding Pass

8 min read

Table of Contents

Appearance #

Customize the appearance for the boarding pass by adding strip images, logos, and background color.

Appearance
Field Description
Carrier Airline Logo Upload the carrier airline logo that will appear on the customer’s boarding pass. The logo will appear rounded in the top center of the Pass on Google Pay and will appear square/rectangular in the top left corner of the Pass on Apple Wallet. The minimum size for the logo is 660px by 660px. It is recommended to leave the logo with a full bleed background color and a 15% margin.
Carrier Airline Name The name of the airline issuing the boarding pass. The carrier airline name is displayed below the logo on Google Pay passes and to the right of the logo on Apple Wallet Passes. An ellipsis will be displayed if the carrier airline name exceeds 20 characters. This field is required to generate boarding passes.
Carrier Alliance Logo Add the carrier alliance logo. The logo will be displayed as a small icon below the barcode. On Apple Wallet boarding passes, the carrier alliance logo is displayed above the barcode, whereas for Google Pay boarding passes, the carrier alliance logo is displayed below the barcode.
Background Set a background color for the Pass. The format is #rrggbb, where rrggbb is a hex RGB triplet, such as #ffcc00. The background color is the same for every Pass.

Universal Fields #

Main Fields

These are the fields that will appear on the front of the Pass for both Apple Wallet and Google Pay. All of the main fields listed below are required to generate boarding passes.

main fields 1
main fields 2
main fields 3
Field Description
Field 1: Origin Airport Name/IATA Code Add the origin airport name and IATA code, such as ‘Boston: BOS’. This field is required to generate boarding passes.
Field 2: Destination Airport Name/IATA Code Add the destination airport name and IATA code, such as ‘Charleston: CHS’. This field is required to generate boarding passes.
Field 3: Passenger Name The passenger name associated with the boarding pass. The label is a fixed value. This field is required to generate boarding passes.
Field 4:  Boarding Position The value of the boarding position, such as ‘1’. The label is a fixed value. This field is required to generate boarding passes.
Field 5: Boarding Policy/Group Choose either ‘Group’ or ‘Zone’ from the drop-down menu. The value is the boarding group/zone that this passenger will board with, such as ‘B’. This is specific for boarding pass type. This field indicates the policy the airline uses for boarding. If unset, Google Pay will default to ‘Zone’. This field is required to generate boarding passes.
Field 6: Seat Number The passenger’s seat number. The label is a fixed value. This field is required to generate boarding passes.
Field 7: Origin Terminal Label The origin terminal for the specific flight. The label is a fixed value. This field is required to generate boarding passes.
Field 8: Origin Gate Label The origin gate for the specific flight. The label is a fixed value. This field is required to generate boarding passes.
Field 9: Carrier IATA Code/Flight Number The two-character IATA airline code of the airline carrier and the flight number. This field is required to generate boarding passes.
Field 10: Local Boarding Time The local boarding date & time for the specific flight. The label is a fixed value. This field is required to generate boarding passes.

Expiration Fields

Boarding Pass Expiration fields
Field Description
Set default expiration date time (Optional) Add an expiration date for all Passes that are installed for this Template. The timezone will be used as default, if not sent in the request when generating/updating passes via API.
Expire passes automatically after fixed duration Auto expire the pass by setting a fixed duration after which the pass gets expired automatically from the time of its first generation. If any specific expiration timestamp is set for the pass record, then these settings will be overridden by the pass record expiration timestamp.

Additional Fields

These fields will appear on the back of the Pass on Apple Wallet and below the Pass on Google Pay.

Additional fields
Additional fields 2
Additional fields 3
Additional fields 4
Additional fields 5
Field Description
Pass Expiration Check the box if the Pass should have an expiration date. Choose a date and time for the Pass to expire.
Field 1: Boarding Seat Class Choose ‘Cabin’ or ‘Class’ from the drop-down menu. If unset, Google Pay will default to ‘Cabin’. The value indicates the boarding cabin or class, such as ‘Economy’ or ‘First’.
Field 2: Sequence Number Add the sequence number on the boarding pass, such as ‘49’.The label is a fixed value.
Field 3: Boarding Door Choose either ‘Front’ or ‘Back’ for the boarding door. The label is a fixed value.
Field 4: Flight Number This field will be pre-populated with the carrier IATA code and flight number set in the main fields.
Field 5: Reservation Code The confirmation code needed to check into this flight. The label is a fixed value. This field is required to generate boarding passes.
Field 6: Reservation Ticket Number The e-ticket number. The label is a fixed value.
Field 7: Frequent Flyer number Add frequency flyer information, if applicable. The label is a fixed value.
Field 8: Boarding Time This field will be prepopulated with the boarding date & time set in the main fields. The label is a fixed value.
Field 9: Local Gate Closing Time The time that the flight gate closes in the local time. The label is a fixed value.
Field 10: Scheduled Departure Time The scheduled or estimated flight departure time. The label is a fixed value.
Field 11: Scheduled Arrival Time The scheduled or estimated flight arrival time. The label is a fixed value.
Field 12: Destination Terminal The destination arrival terminal number. The label is a fixed value.
Field 13: Destination Gate The destination arrival gate number. The label is a fixed value.
Field 14 & 15: Message 1 & Message 2 These are optional fields to add messages on the back of the Pass for Apple Wallet or below the Pass for Google Pay. These fields allow line breaks.
Field 16: Text Module The recommended maximum length for the label is 35 characters to ensure the full string is displayed on smaller screens. The value of the Text Module is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure the full string is displayed on smaller screens. This field also allows line breaks.
Field 17: Info Module The recommended maximum length for the label is 30 characters to ensure the full string is displayed on smaller screens. The recommended maximum length for the value is 30 characters to ensure the full string is displayed on smaller screens.
Field 18: Home Page URI Add a link to the airline’s website.
Field 19 & 20: Link 1 & 2 Add any link including a link to a telephone number, URL, email address, or specific location. Google Pay uses special icons to distinguish different types of URI’s for the fields that use links. To use an icon, select from the drop-down menu and enter the correct data.

Barcode Fields

Boarding Pass Barcode fields
Field Description
Barcode Type Select the type of barcode you want to use on the Pass. Supported types include: QR Code, Code 128, Aztec, and PDF 417
Default Barcode Value Select the default barcode value that will appear if no value is passed in the API or if you have not selected ‘autogenerate barcode’
Autogenerate Barcode Check this box if you want to generate a random barcode value for your Passes.
Autogenerate Value Select the data type and data length (10-100 characters) of barcode you would like to autogenerate:Numeric OnlyAlphabet OnlyAlphanumeric
Preview Barcode Enter text to see how the barcode will be displayed on the actual pass.

Apple Wallet Fields

Apple fields
Apple fields 2
Field Description
Text Color Add any color to the text fields on Apple Passes only.
Icon Add an icon that will appear on your customer’s lock screen for Pass updates and notifications.
Description Add a description for blind and low vision users on Apple Passes.
Link to App Link an app to the Pass. The app will only appear on the back of Apple Wallet Passes.
Relevant Date & Time Set a relevant date and time for the Pass to appear on the device’s lock screen.
iBeacons – UUID, Major, and Minor Values, and Relevant Text Add up to 10 iBeacons for each Pass. Defining the UUID, Major, and Minor values are necessary for the iBeacon to work. Add relevant text that will appear on the customer’s screen when the iBeacon is detected in a range.

Google Pay Fields

GPay fields
Field Description
Strip Image The strip image is displayed as a banner across the center of the front of the Pass for Google Pay only. The required image type is a PNG file. The recommended image size is 1032px by 336px. Use an image with a colored background for the best results. This image does not appear on Google Pay boarding passes.
Additional Image If you choose to upload an additional image for Google Pay Passes, the image will appear below the Pass. The image will not appear anywhere on Apple Wallet Passes. You can preview how the additional image will appear by clicking ‘G Pay Preview’.
Additional Image Description Add a description for the additional image. The description will not appear on the Pass.

Relevance

Relevance
Field Description
Relevant Address Add up to 10 GPS locations to display a message/notification on your customer’s lock screen when they are nearby.
Relevant Text for IOS This is the custom text that will appear when the device is within the boundaries of the relevant address.
Relevant Text for Android This is the fixed text that will appear when the device is within the boundaries of the relevant address. The text is defined by Google Pay and cannot be customized.

Advanced

Advanced
Field Description
Disable Sharing Selecting this option will disable your customers from sharing the Pass on Apple Wallet or share the Pass install link on both Apple Wallet and Google Pay to another device.
Data Archive Settings These settings allow you to set a TTL (time to live) for each Pass. TTL settings can be set per Pass Template so that the value set for the TTL will get updated for each Pass depending on the events that occur.
Go to Top