Delete payment details

Changed on

Use this method to delete payment details.<br><br>Note: Removing payment details that are attached to subscriptions will prevent those subscriptions from being renewed if a customer doesn't add new payment details.

delete/payment_details/{paymentDetailsId}

Request

  • Base URL
    https://mediastoreapi-sandbox.cleeng.com
  • URL
    https://mediastoreapi-sandbox.cleeng.com/payment_details/{paymentDetailsId}
  • Auth
    API key in header Authorization

Path parameters

paymentDetailsIdstring required

Customer payment details ID. This can be fetched by the fetch customer payment details endpoint.

Response

200

Example response

{
  "responseData": {
    "success": true
  }
}

Changes

    • warning

      deleted the header request parameter Content-Type

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id 31-delete-payment-details removed and replaced with delete-payment-details

    • info

      for the path request parameter paymentDetailsId, the type was generalized from integer to string, and format from int32 to no format

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status