Ripple cryptocurrency node administration guide

Create an Account

To create new XRP account, You should first generate a key pair and XRP Ledger address:

curl -H "Content-Type: application/json" --data '{"method": "wallet_propose"}' rpcuser:rpcpassword@ip:port

Always make sure that master_seed of a wallet is stored in a secure and reliable place as it's the only way to restore the wallet in the case of its loss

Now someone who already has an account in the XRP Ledger should send XRP to the address you generated. The first time you receive XRP at your own XRP Ledger address, you must pay the account reserve (currently 20 XRP), which locks up that amount of XRP indefinitely.

More

Ripple RPC API