The endpoint and http method information used to inquiry member wallet are stated below.
HTTP Method | URL |
---|---|
GET |
/wallet/v1/members/:memberId/wallet |
Parameters returned as a result of member wallet inquiry are also subject to the rules specified in the Response Formats section of the API documentation home page. In the absence of a systematic or fictional error, the sub-parameters of the object returned in the data
parameter are as follows:
Parameter Name | Type | Description |
---|---|---|
id |
number |
ID value of the wallet |
createdDate |
date |
The date that the wallet created |
updatedDate |
date |
The date that the wallet last updated |
amount |
decimal |
Current balance of the wallet |
withdrawalAmount |
decimal |
The amount can be withdraw from wallet |
currency |
string |
Currency of the wallet |
memberId |
number |
ID value of the member who own the wallet |
You can review the sample codes in the open source Craftgate API clients.