Delete a customer source

Changed on

Delete a specified source for a given customer.

delete/v1/customers/{customer}/cards/{id}

Request

  • Base URL: https://api.stripe.com
  • URL: https://api.stripe.com/v1/customers/{customer}/cards/{id}
  • Auth: one of:
    • HTTP basic
    • HTTP bearer

Path parameters

customerstring required
idstring required

Request body application/x-www-form-urlencoded

expandstring[]

Specifies which fields in the response should be expanded.

Response

Successful response.

OR

Changes

    • warning

      added the new final_payment_failure enum value to the ////////////// response property for the response status

    • warning

      added the new final_payment_failure enum value to the ////////// response property for the response status

    • warning

      added the new first_payment_failure enum value to the ////////////// response property for the response status

    • warning

      added the new first_payment_failure enum value to the ////////// response property for the response status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////// to the response with the status

Some revisions have not been checked yet.