Fedex Logo

Introduction

FedEx API requires an OAuth access token to be provided with each API transaction to authenticate and authorize your access to the resources.

The Credential Registration API provides FedEx® Compatible solution providers the ability to onboard their customers by generating customer key and password, used for creating OAuth access token to execute API transaction.

Credential Registration API Prerequisite

FedEx APIs support the OAuth 2.0 (bearer token) authentication method to authorize your app and authenticate your API requests. This OAuth access token must be provided with each API transaction to authenticate and authorize your access to the resources.

Prerequisites

Following are the prerequisites:

API Key/Secret Key

FedEx provides a combination of an API Key and a Secret Key to authenticate API requests associated with your project(s). The API Key and the Secret Key will be associated with each project under your organization created by FedEx administrators.

Customer Details

Following are the customer details required while registering with FedEx:

  • 9–digit FedEx account number – The API endpoint documentation will specify whether a shipping account is required for the API call or not.
  • Customer address – The address information needs to match the shipping or billing address as loaded in FedEx systems. Contact FedEx support team for any address-related issues or questions.
  • Customer name – The name of the customer or the company registering with FedEx and requesting authentication details.

How Credential Registration API works

Create Customer Key and Password

This request is used to a create customer key and a password (secret) for a customer. To create a customer key API Key, API Secret, customer FedEx account number, customer name and address are required.

A customer key and password is a JSON web token provided for each of your customers.

For executing each API transactions, the customers must use the customer key, password along with the API key and API secret to get OAuth token.

To start using FedEx Credential Registration API endpoint, following are the high-level steps involved in the registration process:

  1. Get API key and secret key – The API key and secret key is generated when a project is created for you by the FedEx admin.
  2. Request Customer key and Customer password using API key, secret key, FedEx account and address details.
  3. Get an OAuth access token.
  4. Use this OAuth access token in API transactions.

Note: The access token expires in an hour, it can be regenerated by using a POST request to the OAuth/token endpoint.

CLOSE

Response

Copy