Digital Name Commands

From TNS API
Jump to: navigation, search

Definition

Management of Digital Names by a user is handled by the series of commands from the TNS Digital Names API that pertain to all aspects of adding blockchain public keys to a Digital Name, managing payment gateways, renewing a Digital Name, and Cancelling a Digital Name.

Listing of Digital Name Commands

Command Name Command Line Return Notes
Add Blockchain Keys https://usa.tnsapi.cloud/call.cfm?apikey=**&command=blockchainkey&digitalname=**&cc=**&symbol=**&key=** Return = 0 or 1 success Digital Name, cc, symbol, and key are required.
Delete Blockchain Keys https://usa.tnsapi.cloud/call.cfm?apikey=**&command=blockchainkey&digitalname=**&cc=**&symbol=**&key= Return = 0 or 1 success Key = null to delete.
Add Payment Gateways https://usa.tnsapi.cloud/call.cfm?apikey=**&command=paymentgateways&digitalname=**&cc=**&symbol=paypal&key=** Return = 0 or 1 success Digital Name, cc, and key are required.
Delete Payment Gateways https://usa.tnsapi.cloud/call.cfm?apikey=**&command=paymentgateways&digitalname=**&cc=**&symbol=paypal&key= When using key = null it will trigger the api to delete the record
Renew Digital Name https://usa.tnsapi.cloud/call.cfm?apikey=**&command=renew&digitalname=$**&term=** Return = 0 or 1 success Digital Name and term are required. Term is a number of years.
Cancel - Digital Name https://usa.tnsapi.cloud/call.cfm?apikey=**&command=canceldigitalname&digitalname=$**&cc=** Return = 0 or 1 success Will delete / remove the digital name.