Destroy supply of virtual currency
PUT {{baseUrl}}/v3/ledger/virtualCurrency/revoke
2 credits per API call.
Destroy supply of virtual currency linked on the given accountId. Method decreases the total supply of the currency.
This method creates Ledger transaction with operationType REV200 OKE with undefined counterAccountId.
Request Body
{"accountId"=>"5e68c66581f2ee32bc354087", "amount"=>"1.5", "paymentId"=>"My Payment", "reference"=>"akjsndakjsdn-asd-kjasnd-asdkn-asdjnasjkdn", "transactionCode"=>"1_01_EXTERNAL_CODE", "recipientNote"=>"Private note", "counterAccount"=>"5e6645712b55823de7ea82f1", "senderNote"=>"Sender note"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"reference":"0c64cc04-5412-4e57-a51c-ee5727939bcb"}