Query Withdrawn Account Information
Queries information about accounts that have requested withdrawal. Provides the withdrawal message and expected deletion date registered at the time of the withdrawal request.
Call Information
AccountManager.WithDrawalSearch(string withdrawalKey, PlayNANOODelegate callback) {}
Call Details
| Parameter | Description | Type |
|---|---|---|
| withdrawalKey | Withdrawal lookup 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.AccountManagerV20240401.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");
}
});
}
}
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Status" : "String"
}
Response Details
| Data Key | Description | Type |
|---|---|---|
| Memo | Withdrawal message | string |
| WithdrawalDate | Expected account deletion date | string |