- Import struct.sql into your MySQL database
- Create a file called config.php with these contents:
Adjust the config to your needs
$host = "localhost"; $port = "56750"; $username = "rpcuser"; $password = "rpcpassword"; $db_host = "localhost"; $db_port = "3306"; $db_database = "mysqldb"; $db_username = "mysqlusername"; $db_password = "mysqlpassword";
- Host the webserver with the files!
Parameters:
- address: Your DogeCash Address
Returns if error:
{
"status": 400/500,
"message": str
}
Returns if no error:
{
"status": 200,
"api_key": str
}
Parameters:
- api_key: Your unique api key
- invoice: Unique invoid ID
- amount: Amount requested
Returns if error:
{
"status": 400/500,
"message": str
}
Returns if no error:
{
"status": 200,
"address": str
}
Parameters:
- api_key: Your unique api key
- invoice: Unique invoid ID
Returns if error:
{
"status": 400/500,
"message": str
}
Returns if no error:
{
"status": 200,
"inv_status": str
}
Parameters:
- api_key: Your unique api key
- invoice: Unique invoid ID
Returns if error:
{
"status": 400/500,
"message": str
}
Returns if no error:
{
"status": 200,
"address": str
}