Home
  • Explore APIs
  • Support
    • Contact Us
    • FAQ
Account Locked Choose Org for Admin Choose Org for Non-Admin User Edit Success Password Expired Password Expired Conf User Invite Success Existing User Invite Success Reset Password Success
  •  Log In
Account Locked

  1. Home
  2. Explore APIs
  3. Airport Lounge Locator
  4. Documentation

Airport Lounge Locator

Airport Lounge Locator

Documentation

Overview

The Airport Lounge Locator accurately identifies airport lounges that participate in the Diners Club International® Lounge program.

Authentication-Making the first API request is only few steps away

  1. All projects start in Sandbox mode. Once you’re invited to gain access to this API you can login here to get Client Application ID (API Key), Client Application Secret, Consumer Application Secret and API Plan name.
  2. All API requests must be authenticated with an OAuth token. To get the OAuth token, follow these simple steps.
    1. Make a HTTP POST request to the endpoint /auth/oauth/v2/token with HTTP Authorization Header as Basic base64encoded(client_application_id:client_application_secret), Content-Type as application/x-www-form-urlencoded and Cache-Control as no-cache.
    2. The response would contain an OAuth token along with token type and token expiry in seconds.
  3. Once an OAuth token is obtained, you can use the token along with Consumer Application Secret and API Plan name provided during Sandbox access in the HTTP Header of an API to make your first call. The same OAuth can be used for multiple API calls as long as it is not expired.
Access Error

The service authenticates and authorizes the client, and provides the following status codes when errors occur:

  • 401 Unauthorized. The authorization credentials are either missing or incorrect.
  • 403 Forbidden. Access to the resource identified by URI is forbidden.
  • 400 Bad Request. Invalid JSON structure.
  • 400 Bad Request. Valid JSON structure but some validation error is found. Validation errors will be returned in the responseheader.
  • 500 Server Error. Unexpected error or downstream system unavailable.
  • Getting Started
    • Overview and Access Error
  • References
  • Error
    • API Error

Account Locked

User has been successfully invited to .
A notification email has been sent to user.
This block is broken or missing. You may be missing content or you might need to enable the original module.

Footer 2

  • Legal
  • Terms of Use
  • Privacy Statement
  • Support
  • Contact Us
  • FAQ
© 2022 Discover Financial Services

Choose organization

Welcome to Discover Developer Portal. To get started, select the organization you want to see on your dashboard.

Please select at least one org

Choose organization

Welcome to Discover Developer Portal. To get started, select the organization you want to see on your dashboard.

Please select at least one org

Password reset link was successfully sent to your email address.

Changes successfully saved. A notification email has been sent to user.

Edit existing user

All fields required
Account information changes will be sent via email.

Add new user

All fields required
Invite was successfully sent to . The invitation link will remain active for 24 hours.

Invite will be sent to . The invitation link will remain active for 24hrs.

Cancel
Send Invite
Delete user

Are you sure you want to delete the user from this organization? You can't undo this action.

Cancel
Delete
Invite was successfully sent to . The invitation link will remain active for 24 hours.

Log In