Skip to main content

Query Withdrawal Account Information

Queries information about accounts that have requested for withdrawal.
Provides the withdrawal message and the expected date of deletion requested at the time of withdrawal.

Call Information

AccountManager.WithDrawalSearch(string withdrawalKey, PlayNANOODelegate callback) {}

Call Information Details

ParameterDescriptionType
withdrawalKeyWithdrawal query key received from the authentication servicestring
callbackCommunication resultPlayNANOODelegate

Source Code

using PlayNANOO;

public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;

void Start()
{
plugin = Plugin.GetInstance();

string withdrawalKey = "string";
plugin.AccountManager.WithDrawalSearch(withdrawalKey, (status, errorCode, jsonString, values) => {
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
Debug.Log(values["Memo"].ToString());
Debug.Log(values["WithdrawalDate"].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 KeyDescriptionType
MemoWithdrawal messagestring
WithdrawalDateExpected account deletion datestring