client/v1/customer/suspend

[POST] client/v1/customer/suspend

Suspend a customer's account

Sometimes it is necessary to suspend a customer's account for various security reasons. The suspend endpoint will allow client admin to control this status of a customer's account. A suspended account will be able to access statements, view balances, and view payment details. A suspended account will not be able to initiate or receive payments.

Example [POST] Request

{{avenu_base_url}}/client/v1/customer/suspend
{
    "customerAccountNumber": "",
    "suspend": true, 
    "reason": "" 
}

Input Parameters

ParameterFormatRequiredNotes
"customerAccountNumber"StringYCustomer account number - indicates which customer account to suspend / unsuspend
"suspend"BooleanYTrue or False, whether to suspend / unsuspend a customer
"reason"StringYReason for suspension / unsuspension

Example Response

{
    "customerAccountNumber": "",
    "status": "",
    "reason": ""
}