⚙️Delete a funding map line

Delete one funding map line from a payment account's funding map. Other lines remain unchanged. Removing the final map line leaves the payment account with an empty funding map.

Endpoints

EnvironmentMethod and URL
StagingDELETE https://staging-api.vitessepsp.com/api/account/{id}/fundingmap/lines/{keyValue}
Production – UK HubDELETE https://api.vitessepsp.com/api/account/{id}/fundingmap/lines/{keyValue}
Production – US HubDELETE https://api.us.vitesse.io/api/account/{id}/fundingmap/lines/{keyValue}

Replace {id} with the payment account ID and {keyValue} with the line key. Matching is case-insensitive.

For help choosing an environment, see ⚙️Environments.

Access requirements

Configure the following access:

OAuth scopeIdentity client role
APIDynamicRiskSharingConfiguration.Update

For more information about scopes, see ⚙️Authentication. For information about the access granted by specific roles, see Identity client roles.

Send the request

This example deletes the POL-78421-SEC-A line in Staging:

curl --request DELETE \
  --url 'https://staging-api.vitessepsp.com/api/account/3761/fundingmap/lines/POL-78421-SEC-A' \
  --header 'Authorization: Bearer <access-token>' \
  --header 'Accept: application/json'

Replace <access-token> with a valid access token that contains the required scope, and any example values with your own details.

Example response

A successful request returns 200 OK with the current or newly published funding map version summary. If the key does not exist, the request is idempotent and returns 200 OK without publishing a new version.

{
  "paymentAccountId": 3761,
  "fundingMapVersionId": 13,
  "versionNumber": 5,
  "status": "Published",
  "lineCount": 1
}

Troubleshoot requests

If the request fails, use the returned HTTP status code to identify the likely cause and corrective action.

For error response formats, additional HTTP status codes and error-handling guidance, see ⚙️Error responses.

  • 400 Bad Request – check that the keyValue is correct.
  • 401 Unauthorized – check account access and the required role.
  • 404 Not Found – check that you used the correct payment account Id.
  • 409 Conflict – a funding map version is pending approval. Resolve that change before trying again.
  • 500 Internal Server Error – retry later. Contact Support if the error continues.

Next steps

  • Retrieve the funding map to confirm which lines remain.

Related information