Skip to content

To interact with the Ripple Custody (Wallet) API, you need API credentials, which you create and manage in the console.

What are API credentials?

API credentials are unique secrets that authenticate and authorize access to resources and actions in the system.

You can grant each credential permissions to access specific resources and perform deliberate actions. It gives you fine-grained control over who can interact with the API and what each credential can do.

How do API credentials secure access to the API?

When you create a credential, Ripple Custody (Wallet) generates a clientId and clientSecret. These act as a username and password: you exchange them for a time-limited Bearer access token using the OAuth 2.0 client credentials flow, which is the only supported flow. The access token authenticates your API requests. When it expires, exchange the credentials again for a new token.

Access tokens last 60 seconds in Production and 1 hour in Sandbox and Development. For the exchange procedure, see Use API credentials.

Permissions

Each credential is scoped with a permission set that defines exactly what it can do. Each permission has four components:

ComponentDescription
TypeThe resource category (for example, balances, key, vault)
ActionThe operation (create, delete, read, update)
ScopeHow broadly the permission applies (org, vault, key, or counterparty for address book entries)
ResourceA specific vault or wallet (optional; leave it blank for all resources in the scope)

Credential types

Each API credential has a type (the permission set type in the console) that scopes it to a category of API resources and actions. A credential can't call endpoints outside its type: the request returns 403 with reason PAL000.002. Create a separate credential for each category your integration uses.

TypeGrants access to
WALLETSVaults, wallets (including vault and wallet tags), and balances
TRANSACTIONSCreating and managing transactions — transfers, raw signing, XRP Ledger transaction types, fee estimation, freezing and unfreezing — and triggering sweeps
CONTROLSCounterparties, address book entries, and policy rules
MONITORINGWebhooks and webhook subscriptions

For example, an integration that reads balances and creates transfers needs two credentials: one of type WALLETS and one of type TRANSACTIONS.

MONITORING appears as AUDIT in the API

The Create credentials form labels the fourth type Monitoring, but the credentials list shows it as Audit, and API responses return its category as AUDIT. They're the same credential type.

What requires the console

Not everything is available through API credentials. Administrative and security-sensitive domains — devices, MPC quorums, users and roles, approvals, organization settings, API credential management, WalletConnect connections, and sweep configuration — are managed in the Ripple Custody (Wallet) console and authenticated by your console session. API credentials can trigger a configured sweep, but creating or changing sweep configurations happens in the console.