Reset Merchant Wallet Balance


The endpoint and http method information used to reset merchant wallet balance are stated below.

POST /wallet/v1/merchants/me/wallet/reset-balance

Request Parameters

The expected parameters to be sent in requests to reset merchant wallet balance are listed under the table and subheadings below.

Parameter Name Type Mandatory Description
walletAmount decimal Yes The current wallet balance of merchant

Response Parameters

Parameters returned as a result of reset merchant wallet balance 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 of wallet
createdDate date The date that the wallet created
updatedDate date the date that the wallet last update date
amount decimal The money amount that exist in wallet
currency string Currency of the wallet
memberId number ID of member who the owner of the wallet

Sample Codes

You can review the sample codes in the open source Craftgate API clients.