Delete Payment Methods

This endpoint deletes a specific payment method associated with a user.

Request #


Method: DELETE


accept: */*

Authorization: Bearer {Token}

Path Parameters

id: The user ID (e.g., 132).

cardOrIbanNumber: The card or IBAN number of the payment method to be deleted (e.g., NL74RABO7959494258).

Request Example #

curl -X 'DELETE' \
'' \
-H 'accept: */*' \
-H 'Authorization: Bearer {Token}'

Responses #

200 Success #

Description: The payment method was successfully deleted.

Response Body: Empty result when success.

400 Bad Request #

Description: The request could not be understood or was missing required parameters.

Response Body Example 1:

	"type": "string",
	"title": "string",
	"status": 0,
	"detail": "string",
	"instance": "string",
	"additionalProp1": "string",
	"additionalProp2": "string",
	"additionalProp3": "string"

Response Body Example 2:

	"errors": {
		"Error": [
			"Card or iban number is not valid."
	"type": "",
	"title": "Bad Request",
	"status": 400,
	"traceId": "00-48c72a7ceabbbabfe71a727c0cd2ab2a-2b42be3c24fcfe0d-01"

500 Server Error #

Description: An error occurred on the server.

Snippet #

API Properties
Header parameters
Result of the call

Powered by BetterDocs