Dark Mode

Unlink E-Wallet Account API


The following endpoint Unlinks Gopay Account:

/ewallet/account/unbind

Run in Postman

Request Attributes

mobile

String
Mandatory

The mobile to unlink e-wallet account

wallet_type

String
Mandatory

The e-wallet you want to unlink ex GOPAY

Example
curl -u [Base64({Your_Server_Key}:)] \ 
-X GET 'https://api.durianpay.id/v1//ewallet/account/unbind' \
-H 'Is-live: true' \
-H 'Content-Type: application/json' \
-d '{"mobile": "8888888888",
     "wallet_type": "GOPAY"}'  
      

Response Code

200 - Success

1
2
3
4
5
6
7
8
9
{
    "data": {
        "wallet_type": "GOPAY",
        "mobile": "8888888888",
        "ref_id": "83f1c265-a345-4aed-8b42-08b0908a6ce7",
        "status": "disabled",
        "message": "account unbinded successfully"
    }
}

400 - Invalid Request

401 - Unauthorized Access

500 - Internal Server Error