POST
/
api
/
v1
/
accounts
/
add-lien
/
{acct_no}
Add a lien to an account.
curl --request POST \
  --url https://demoapi.saasphereltd.com/api/v1/accounts/add-lien/{acct_no} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 50000,
  "reason": "Loan collateral",
  "expiry_date": "2025-12-31"
}
'
{
  "status": "00",
  "message": "Lien added successfully",
  "data": {}
}

Authorizations

Authorization
string
header
required

Paste only the token (no "Bearer " prefix).

Path Parameters

acct_no
string
required

Body

application/json
amount
number
required

The lien amount (minimum 1).

Example:

50000

reason
string
required

The reason for the lien (max 255 characters).

Example:

"Loan collateral"

expiry_date
date

optional The lien expiry date (must be after today).

Example:

"2025-12-31"

Response

200 - application/json
status
string
Example:

"00"

message
string
Example:

"Lien added successfully"

data
object