View Categories

Delete Payment Methods

< 1 min read

Delete Payment Method #

Deletes a specific card or IBAN payment method for an individual.

Endpoint #

DELETE https://api-test.10npay.com/api/v1/IndividualPaymentMethod/{individualId}/{cardOrIbanNumber}

Headers #

  • Authorization: Bearer <access_token>
  • Accept: application/json

Path Parameters #

Name Description
individualId CRM individual ID.
cardOrIbanNumber The exact value returned in value when listing payment methods (masked card number or IBAN).

Responses #

  • 200 OK – payment method deleted (empty body).
  • 400 Bad Request – invalid ID/number combination. Example:
    {
      "errors": {
        "Error": [ "Card or iban number is not valid." ]
      },
      "title": "Bad Request",
      "status": 400
    }
    
  • 404 Not Found – payment method not found for this individual.
  • 500 Internal Server Error – unexpected backend error.

Notes #

  • Ensure the individual has no pending transactions using the payment method before deletion.
  • The cardOrIbanNumber must match exactly the stored value (masked cards use the returned masked form).