The Carrier record contains the carrier codes, airline name and certificate
You will need to have generated and uploaded an Apple Pass Certificate before you can create the Carrier
Terminology
Carrier record
This record contains information about an airline, including its carrier codes, airline name, and certificate.
Carrier codes
These are the codes used to identify an airline, such as the IATA carrier code and the ICAO carrier code
IATA Accounting Code
A three-digit code used for accounting purposes within the airline industry.
Airline Name
The official name of the airline
Apple Pass Certificate
A digital certificate that must be generated and uploaded before a carrier record can be created.
Pass Type Identifier
A unique ID associated with the Apple Pass Certificate.
Payload
A block of data, typically in JSON format, that contains the information needed to create a carrier record.
Postman Collection
A set of pre-configured API requests (like the "Create Carrier" endpoint) used to interact with a system, often for testing and development.
Endpoint
A specific URL within an API that receives requests, in this case, the "Create Carrier" endpoint.
Creating the Carrier
Example Payload
{
"iataCarrierCode": "PK",
"icaoCarrierCode": "PKA",
"iataAccountingCode": 111,
"airlineName": "PK Airways",
"passTypeIdentifier": "pass.com.dannyv4.demo2025"
}
Edit the Payload
Edit the payload with the relevant information for your Airline. And add your certificate Pass Type ID.
Using the Postman Collection
You can find the Create Carrier endpoint with an example in the Postman Collection.
PassKit v4 SDK/Flights/Create Carrier
Edit the payload as explained above, and click Invoke to run the request.