Customers

Deactivate a payment instrument

Deactivates an identified card payment instrument resource for a customer.

delete/v0.1/customers/{customer_id}/payment-instruments/{token}

Response

Returns an empty response body when the operation succeeds.

Changes

Changed in 4 of the 53 revisions of this API.129

    • the security scope customers.write was added to the endpoint's security scheme oauth2

      api-security-scope-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • cd79d83b07e026See the full diff
    • removed the optional property error_code from the response with the 401 status

      response-optional-property-removed

    • removed the optional property message from the response with the 401 status

      response-optional-property-removed

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the optional property detail to the response with the 401 status

      response-optional-property-added

    • added the optional property instance to the response with the 401 status

      response-optional-property-added

    • added the optional property status to the response with the 401 status

      response-optional-property-added

    • added the optional property title to the response with the 401 status

      response-optional-property-added

    • added the required property type to the response with the 401 status

      response-required-property-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the media type application/json for the response with the status 204

      response-media-type-removed

    This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the endpoint scheme security apiKey was added to the API

      api-security-added

    • the endpoint scheme security oauth2 was added to the API

      api-security-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog