Recover Account Withdrawal
Recovers accounts that are pending deletion due to withdrawal request.
Accounts that have exceeded the withdrawal grace period cannot be recovered.
Call Information
AccountManager.WithDrawalRestore(string withdrawalKey, PlayNANOODelegate callback) {}
Call Information Details
Parameter | Description | Type |
---|---|---|
withdrawalKey | Withdrawal query key received from the authentication service | string |
callback | Communication result | PlayNANOODelegate |
Source Code
using PlayNANOO;
public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;
void Start()
{
plugin = Plugin.GetInstance();
string withdrawalKey = "string";
plugin.AccountManager.WithDrawalRestore(withdrawalKey, (status, errorCode, jsonString, values) => {
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
Debug.Log(values["Status"].ToString());
}
else
{
Debug.Log("Fail");
}
});
}
}
Communication Result
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Status" : "String"
}
Communication Result Details
Data Key | Description | Type |
---|---|---|
Status | Operation result | string |