{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/user-interface/settings/api-credentials/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#api-credentials\" aria-label=\"api credentials permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"api-credentials\"></div>API credentials</h1>\n<p>The 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.</p>\n<p><img src=\"/payments-direct-2/47bfb37613c92fa784ac449a96bf4554/api-credentials.png\" alt=\"API Credentials page\"></p>\n<div class=\"admonition admonition-attention\"><div class=\"admonition-heading\"><h5><span class=\"admonition-icon\"><i></i></span>Note</h5></div><div class=\"admonition-content\"><p>Each environment can have up to three credentials.</p></div></div>\n<h2 style=\"position:relative;\"><a href=\"#prerequisites\" aria-label=\"prerequisites permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"prerequisites\"></div>Prerequisites</h2>\n<p>Your user needs to have permissions to view and edit API credentials.<br> To check your <em>API Credentials</em> permissions, select <img src=\"/payments-direct-2/b296d0527c872fd735794aee472314e0/user-profile-icon.png\" alt=\"User profile icon\"> > <strong>Profile</strong>.</p>\n<h2 style=\"position:relative;\"><a href=\"#create-new-credential\" aria-label=\"create new credential permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"create-new-credential\"></div>Create new credential</h2>\n<p><strong>To create an API credential</strong> consisting of a client ID and client secret (credential):</p>\n<ol>\n<li>\nLog in to \n<a href=\"https://home.ripple.com\">Ripple Payments</a>\n.\n</li>\n<li>\nOn the top right of the page, click the \n<strong>Settings</strong>\n gear icon.\n</li>\n<li>\nUnder \n<strong>Integration</strong>\n, select \n<strong>API Credentials</strong>\n.\n</li>\n<li>\nOn the top right of the page, next to the \n<img src=\"/payments-direct-2/0a4a1c265be233c326a9126a0c047924/question-mark-icon.png\" alt=\"Question mark\">\n icon, select the access environment for which you want to create API credentials. \n<br>\nFor example, to provision credentials for the UAT environment, select \n<strong>UAT</strong>\n from the dropdown list.\n</li>\n<li>\nClick \n<strong>New Credential</strong>\n.\n</li>\n<li>\nIn the \n<strong>Credential name</strong>\n field, enter a name for the credential.\n<p><img src=\"/payments-direct-2/e783e398c374d86b524d8cb7a6b44e17/api-credential-new.png\" alt=\"API credential dialog box\"></p>\n</li>\n<li>\nClick \n<strong>Save &#x26; Generate Key</strong>\n.\n<p>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.</p>\n<div class=\"admonition admonition-warning\"><div class=\"admonition-heading\"><h5><span class=\"admonition-icon\"><i></i></span>Security</h5></div><div class=\"admonition-content\"><p>The credential is displayed only once and <strong>you won’t be able to view it again after exiting the page</strong>. Copy and store the client secret (credential) securely and share it with authorized individuals in accordance with your organization's security policy.</p></div></div>\n<p><img src=\"/payments-direct-2/626ae8e2a920842d5307139467e16f16/api-credential-details.png\" alt=\"API credential details\"></p>\n</li>\n<li>\nTo finish credential creation, click \n<strong>Close.</strong>\n</li>\n</ol>\n<!--![settings-api-select-env](../../payments-direct/images/rnh-settings-select-env.png)-->\n<p>You can now use the client ID and client secret to generate access tokens using the authentication operation. For more information, see <a href=\"/payments-direct-2/api-docs/best-practices/authentication/#fetch-an-access-token\">Authentication</a>.</p>\n<p>We recommend rotating your API credentials at regular intervals in accordance with your organization's security policy.</p>\n<h2 style=\"position:relative;\"><a href=\"#rotate-credential\" aria-label=\"rotate credential permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"rotate-credential\"></div>Rotate credential</h2>\n<p>Rotating credentials is the process of changing your password and replacing your cryptographic key for accessing RippleNet.</p>\n<p><strong>To rotate your RippleNet credential:</strong></p>\n<ol>\n<li>\nSelect \n<strong>Rotate Credential</strong>\n from the dropdown menu in the credential card and confirm your choice.\n</li>\n</ol>\n<p><img src=\"/payments-direct-2/2abb6d4ec1650bd319e9b14c8ae002fb/api-credential-rotate.png\" alt=\"API credential details\"></p>\n<ol start=\"2\">\n<li>\nClick the \n<strong>Rotate Credential</strong>\n button to confirm.\n</li>\n</ol>\n<p><img src=\"/payments-direct-2/a1777b30ae5aeabd3cc3e82389716a2d/api-credential-rotate-dialog.png\" alt=\"API credential details\"></p>\n<ol start=\"3\">\n<li>\nOnce again, copy the credential and store it in a secure location because you won’t be able to view it later.\n</li>\n</ol>","headings":[{"value":"API credentials","depth":1},{"value":"Prerequisites","depth":2},{"value":"Create new credential","depth":2},{"value":"Rotate credential","depth":2}]},"contentItem":{"data":{"lastModified":"2025-11-13T00:24:58.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":false,"disableLastModified":true,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"ba43729d-9e82-590b-a4c6-b10c2f610605__redocly content/user-interface/settings/api-credentials/","seo":{"title":"API credentials","description":null,"image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"user-interface/settings/api-credentials.md","pageBaseUrl":"/user-interface/settings/api-credentials","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"API credentials","id":"api-credentials"},{"depth":2,"value":"Prerequisites","id":"prerequisites"},{"depth":2,"value":"Create new credential","id":"create-new-credential"},{"depth":2,"value":"Rotate credential","id":"rotate-credential"}]},"data":{"title":""},"catalogInfo":null,"link":"/user-interface/settings/api-credentials/","sidebarName":"__root-sidebar__-data-69308394-sidebars.yaml","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}