Endpoint

Set Carwash Payment Intent Paid

This endpoint allows to set a carwash payment intent as paid within the Neatcar platform. This operation requires authentication through a valid API token. This action is not offered on production, it's only for testing purposes.

POST

/user/payment-session-status

Body

Response example

On successful setting of the carwash payment intent as paid, the response contains the carwash payment intent object with the carwash linked to it.

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: