Deposit One Stack Service

Test Deposit One Stack Service


Deposit One Stack File

Allows you to upload a stack of CloudCoins into your bank. You must know your account and PK.

Account:


Select a text file:

		
		

	

public deposit_one_stack

The program must put a stack file in a folder that is accessible via the web to cors on the CloudBank Server.

Sample POST Request:
		  
	https://bank.cloudcoin.global/service/deposit_one_stack.aspx?
stack=
{
	"cloudcoin": [
	{ 
	"nn":"1", 
	"sn":"1112240", 
	"an": ["f5a52ee881daaae548c24a8eaff7176c", "415c2375a6fa48c4661f5af8d7c95541", 
		"73e067b7b47c1556deebdca33f9a09fb", "9b90d265d102a565a702813fa2211f54", 
		"e3e191ca987c8010a3adc49c6fc18417", "baa7578e207b7cfaa0b8336d7ed4a4f8", 
		"6d8a5c66a589532fe9e5dc3932650cfa", "1170b354e097f2d90132869631409bd3", 
		"b7bc83e8ee7529ff9f874866b901cf15", "a37f6c4af8fbcfbc4d77880fc29ddfbc",
		"277668208e9bafd9393aebd36945a2c3", "ef50088c8218afe53ce2ecd655c2c786", 
		"b7bbb01fbe6c3a830a17bd9a842b46c0", "737360e18596d74d784f563ca729aaea", 
		"e054a34f2790fd3353ea26e5d92d9d2f", "7051afef36dc388e65e982bc853be417", 
		"ea22cbae0394f6c6918691f2e2f2e267", "95d1278f54b5daca5898c62f267b6364", 
		"b98560e11b7142d1addf5b9cf32898da", "e325f615f93ed682c7aadf6b2d77c17a",
		"3e8f9d74290fe31d416b90db3a0d2ab1", "c92d1656ded0a4f68e5171c8331e0aea", 
		"7a9cee66544934965bca0c0cb582ba73", "7a55437fa98c1b10d7f47d84f9accdf0", 
		"c3577cced2d428f205355522bc1119b6"],
	"ed":"7-2019",
	"pown":"ppppppppppppppppppppppppp",
	"aoid": []
	}

	]
}
		  
		  
Sample Response if good:
{
 "bank_server":"bank.cloudcoin.global",
 "status":"importing",
 "message":"The stack file has been imported and detection will begin automatically so long as they are not already in bank. 
  Please check your reciept.",
 "reciept":"640322f6d30c45328914b441ac0f4e5b",
 "time":"2016-49-21 7:49:PM"
}
				
		  
Sample Response if bad file bad:
{
 "bank_server":"bank.cloudcoin.global",
 "status":"error",
 "message":"JSON: Your stack file was corrupted. Please check JSON validation.",
 "reciept":"640322f6d30c45328914b441ac0f4e5b",
 "time":"2016-49-21 7:49:PM"
}
				
		  
Sample Response if nothing attached:
{
 "bank_server":"bank.cloudcoin.global",
 "status":"error",
 "message":"LoadFile: The stack file was empty.",
 "reciept":"640322f6d30c45328914b441ac0f4e5b",
 "time":"2016-49-21 7:49:PM"
}