Endpoint

Delete Carwash Payment Intent

The Delete Carwash Payment Intent endpoint allows the permanent removal of a carwash payment intent from the Neatcar platform. This operation requires authentication through a valid API token and can only be performed by the user associated with the token. This action is irreversible and should be used with caution. This action is not offered on production, it's only for testing purposes.

DELETE

/user/carwash-payment-intent?carwashPaymentIntentUUID=5b57354f-acc1-4b2b-9120-1c41c51cbeca

Response example

On successful deletion of the carwash payment intent, the response contains an empty data object, a success field set to true, and a null value for error. This confirms that the carwash payment intent has been securely deleted without returning additional data.

Possible errors

The following list provides a selection of possible errors that can occur when deleting a user. However, it is non-exhaustive. Developers can expect to find additional errors and data within the model, offering comprehensive information about each error.

HTTP 400

Bad Request due to missing parameters

This error is returned when the request is missing the carwashPaymentIntentUUID query parameter.

Error body response example:

  
HTTP 400

Bad Request due to invalid id

The carwashPaymentIntentUUID passed as a query parameter is invalid or does not exist.

Error body response example:

  
HTTP 400

Bad Request due to wrong environment

This operation is not allowed in production.

Error body response example:

  
HTTP 401

Unauthorized

The API token is invalid, missing or the client IP is not part of the allowed IP list.

Error body response example:

  
HTTP 500

Internal Server Error

An unexpected error occurred while processing the request. Please try again later or contact support if the problem persists.

Error body response example: