Place Account Lien
Last updated
Last updated
To place a lien on an account, you need to make a POST request to the designated API endpoint with the required URL path parameters. The request body should include specific payloads, such as accountNumber
, formOfLien
, and referenceNumber
.
POST
/api/accountlien/v1/placelien
A successful request will return a confirmation message along with the lien ID
for future reference in the response.
This process enables you to securely place liens on accounts, providing important financial safeguards.
Headers
Name | Value |
---|---|
Body
Name | Data Type (length) | Required | Description |
---|---|---|---|
Here is an example request and response with a sample payload sent to the endpoint in Curl format.
Content-Type*
application/json
Authorization*
Bearer <token>
Request-Reference
{unique-reference}
accountNumber
string
The account number to be placed on the lien
formOfLien
string
The form or type of lien. Lien type can be a flat amount or a percentage
The enumerations are:
1
= FlatAmount
2
= Percentage
referenceNumber
string
A unique reference number for the lien "This is necessary when processing a transaction that requires the automatic release of the lien."
amount
integer
The amount of money to be held as a lien
The amount should be sent in the base unit of the currency. For example, 1000
naira will be sent as 1000
* 100
. (nullable)
percentage
integer
The percentage of the account balance to be held as a lien
description
string
Description/reason for placing the lien The percentage should be shown with a maximum of three decimal places. (nullable)
tenure
integer
The duration of the lien in months
commencementDate
date
The date when the lien will start