Processing Withdrawal Request
For a customer to make a withdrawal, a specific account must be specified. When this account id is received, verify that the account has a public key.
To verify that an account has a public key, use the getAccountPublicKey API call.
If the account does not have a public key, it means that it is a new account that has not yet been activated. If possible, display a message to the customer as follows:
«The account provided has not yet been activated. To activate your account, use your wallet’s account activation service, make an outgoing transaction from the account to activate it, or refer to your documentation for alternative methods»
Currently, all outgoing transactions require a minimum transaction fee of 1000000 Planck. You can use the suggestFee API call to receive the cheap, standard, and priority fee suggestions.
Allowing the customer to add a message/memo on your withdrawal page is recommended for coordinating with other services that use a message-based deposit system.
To fund a withdrawal request, use the sendMoney API call with the following request parameters. This request must be sent using HTTP POST.
🔓 Security Advice
It's not recommended to pass the secret phrase to remote nodes unless you trust the node operator.
We recommend you to access the Node HTTP API Documentation and get more information about this API call. You can access by clicking the following link: