This endpoint deletes a specific payment method associated with a user.
Request #
URL:
https://crm-api-test.10npay.com/api/v1/IndividualPaymentMethod/{individualId}/{cardOrIbanNumber}
Method: DELETE
Headers:
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' \
'https://app-api-test.10npay.com/api/v1/PaymentMethod/132/NL74RABO7959494258' \
-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": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "Bad Request",
"status": 400,
"traceId": "00-48c72a7ceabbbabfe71a727c0cd2ab2a-2b42be3c24fcfe0d-01"
}
500 Server Error #
Description: An error occurred on the server.