Dark Mode

EWallet Account Details API


The following endpoint gets Gopay Account Details:

/ewallet/account/:id

Run in Postman

Query Attributes

Path Attributes

id

String
Mandatory

The unique identifier assigned to a specific customer's linked e-wallet account, which is obtained after the account binding process

Example
curl -u [Base64({Your_Server_Key}:)] \ 
-X GET 'https://api.durianpay.id/v1/ewallet/account/ewa_123' \
-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