Unblock an amount in an account and perform a transaction
PUT {{baseUrl}}/v3/ledger/account/block/:id
2 credits per API call.
Unblocks a previously blocked amount in an account and invokes a ledger transaction from that account to a different recipient. If the request fails, the amount is not unblocked. The amount to transfer can be smaller than the amount of the blockage. The difference between the blocked amount and the amount to transfer remains blocked.
Request Body
{"amount"=>"5", "recipientAccountId"=>"5e6645712b55823de7ea82f2", "anonymous"=>false, "compliant"=>false, "transactionCode"=>"1_01_EXTERNAL_CODE", "paymentId"=>"9625", "recipientNote"=>"Private note", "baseRate"=>1, "senderNote"=>"Sender note"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"reference":"0c64cc04-5412-4e57-a51c-ee5727939bcb"}