The DELETE /api/fundsMovement/externalPayee method allows you to remove an external payee (bank account) from the system. This operation deactivates the specified payee, ensuring that no further transactions can be processed to or from the account. It is crucial to ensure proper authentication and correct identification of the payee to avoid unintended deletions.
Purpose:
This API is designed to securely remove an external payee (such as an external bank account) from the userโs list of payees. Once removed, the payee will no longer be available for fund transfers, ensuring that future transactions to or from the payee are blocked.
Response:
The API returns a confirmation message indicating the successful removal of the payee, along with the payee ID for reference.
Key Features:
- Payee Deactivation: Ensures that no further transactions can be made to or from the external payee once it is deleted.
- Secure Authentication: Requires proper user authentication and authorization to execute the deletion, enhancing security.
- Error Handling: Validates the payee ID to ensure that the correct account is being removed, avoiding accidental deletion of other payees.
Summary:
The DELETE /api/fundsMovement/externalPayee API method offers a secure way to remove an external payee from the system. By requiring authentication and a valid payee ID, this endpoint ensures that payee accounts are deactivated only by authorized users. Once a payee is deleted, no further transactions can be made to or from that account, providing a clean and secure way to manage external payee lists.