Lock Funds
A customer's wallet funds can be locked using the lockFunds
endpoint. Once the wallet funds is locked, a lockedID
will then be created on successful lock.
Request Body
Note
Serialize the request body, then encrypt (AES encryption) it using the provided key. The encryption requires a secret key and IV key which will be provided by the sterling team. Pass the encrypted string as the value of "Data" in the new request body.
This method locks a user's fund, which it to be passed in the
userAccount
andlockedby
parameters. It locks funds and returns alockedID
on successful lock.
Request Parameters
Parameter | Type | Description |
---|---|---|
virtualAcct | string *required | The customer’s virtual account number to be locked |
amount | string *required | The customer wallet amount |
lockedby | string *required | Name of the person who locked the fund |