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
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.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 Key | Description | Type |
---|---|---|
Memo | Withdrawal message | string |
WithdrawalDate | Expected account deletion date | string |