Delete Netevia's account number - Payee.

Delete Payee

The Delete Payee endpoint removes a specific payee from a customer's payee list using the payee's financial account ID. Once deleted, the payee is no longer active in the system and cannot receive future transfers or payments. This endpoint provides a secure mechanism to maintain an accurate and current payee list.

Endpoint

POST /api/fundsMovement/deletePayee

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint when a customer wants to remove a payee they no longer need, such as when a business relationship ends or a recipient account is closed. This helps keep payee lists clean and prevents accidental transfers to outdated or unwanted recipients. Optionally, the force flag can be used to remove a payee even if there are conditions that would normally block deletion.

Request Body

FieldTypeRequiredDescription
financialAccountIdstringYesThe unique identifier of the Netevia financial account to be removed as a payee. Minimum length: 1 character.
forcebooleanNoWhen set to true, forces deletion of the payee even if standard validation checks would otherwise prevent removal. Defaults to false.
{
  "financialAccountId": "fa_XXXXXXXXXXXXXXXXXX",
  "force": false
}

Response

200 OK

A successful response confirms the payee was removed from the system. The response body is a confirmation message with no structured payload.

"Payee successfully deleted."

Error Codes

CodeWhen it happens
400Missing required financialAccountId or the value is empty/invalid
401Token missing, expired, or invalid
403Insufficient permissions to delete the specified payee
404The specified financialAccountId does not exist or is not found as a payee
500Internal server error

Common Mistakes

  • Omitting financialAccountId entirely or passing an empty string — this field is required and must have at least one character.
  • Attempting to delete a payee that has pending or in-flight transactions without setting force: true; the deletion may be blocked by default safety checks.
  • Reusing an old or expired Bearer token — tokens expire after 10 minutes and must be refreshed before making this call.

Related Endpoints

  • POST /api/fundsMovement/addPayee — Add a Netevia financial account as a payee for future transfers
  • GET /api/fundsMovement/getPayees — Retrieve the list of all payees associated with an account
  • POST /api/fundsMovement/transfer — Initiate a transfer to an existing payee

Example

curl -X POST https://api.banking.netevia.dev/api/fundsMovement/deletePayee \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "financialAccountId": "fa_XXXXXXXXXXXXXXXXXX",
    "force": false
  }'
Body Params
string
required
length ≥ 1
boolean
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response
200

Success

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here!