API credentials

Ripple Payments API calls require Bearer authentication tokens that you retrieve from the authentication operation using API credentials. This topic explains how to create and rotate an API credential.

API Credentials page

Note

Each environment can have up to three credentials.

Prerequisites

Your user needs to have permissions to view and edit API credentials.
To check your API Credentials permissions, select User profile icon > Profile.

Create new credential

To create an API credential consisting of a client ID and client secret (credential):

  1. Log in to Ripple Payments .
  2. On the top right of the page, click the Settings gear icon.
  3. Under Integration , select API Credentials .
  4. On the top right of the page, next to the Question mark icon icon, select the access environment for which you want to create API credentials.
    For example, to provision credentials for the UAT environment, select UAT from the dropdown list.
  5. Click New Credential .
  6. In the Credential name field, enter a name for the credential.

    API credential dialog box

  7. Click Save & Generate Key .

    The Ripple Payments UI presents a dialog box with the client ID and audience that you’ll use with the credential, together with the credential itself.

    Security

    The credential is displayed only once and you won’t be able to view it again after exiting the page. Copy and store the client secret (credential) securely and share it with authorized individuals in accordance with your organization's security policy.

    API credential details

  8. To finish credential creation, click Close.

You can now use the client ID and client secret to generate access tokens using the authentication operation. For more information, see Authentication.

We recommend rotating your API credentials at regular intervals in accordance with your organization's security policy.

Rotate credential

Rotating credentials is the process of changing your password and replacing your cryptographic key for accessing RippleNet.

To rotate your RippleNet credential:

  1. Select Rotate Credential from the dropdown menu in the credential card and confirm your choice.

API credential details

  1. Click the Rotate Credential button to confirm.

API credential details

  1. Once again, copy the credential and store it in a secure location because you won’t be able to view it later.