Dark Mode

EWallet Account Details API


The following endpoint gets Gopay Account Details:

/ewallet/account?mobile="88888888888"?wallet_type="GOPAY"

Run in Postman

Query Attributes

mobile

String
Mandatory

The mobile you use for e-wallet account

wallet_type

String
Mandatory

The e-wallet use ex GOPAY

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

Response Code

200 - Success

1
2
3
4
5
6
7
8
9
10
11
{
    "data": {
        "wallet_type": "GOPAY",
        "ref_id": "7f125e70-095e-481d-8db8-241df9d5b86d",
        "status": "enabled",
        "mobile": "8888888888",
        "balance": "8000000.00",
        "currency": "IDR",
        "token": "53c385d4-e279-495f-835a-d5ed089fe2cb"
    }
}

400 - Invalid Request

401 - Unauthorized Access

500 - Internal Server Error