# Fare Class Security

- The API performs the carrier/tariff combination (G00 and G01) and partner security (G33) checks. The PASS (partner security) check is configured to validate either a RACF User ID or a Gateway User ID. In practice, a Gateway User ID is more likely because there are currently no confirmed internal customers for this API.

- Internal systems calling this API through the EKS endpoint must pass a RACF User ID in the header for PASS checks.

- External systems calling this API are assigned a Gateway User ID and call the Axway URL.

- Carriers and systems can create Fare Class data on behalf of their partners—for example, AA sending a request on behalf of BA—subject to the transmitting carrier having organizational authority to update rules data for the partner carrier.

- For external customers, partner security is validated using the Gateway User ID. Bytes 2–3 of the Gateway User ID must match the data organization in the JSON request.

- For internal customers, such as Architect, partner security is validated using the RACF User ID. The carrier associated with the RACF User ID must have authority to update rules data for the carrier in the request.
