Delete payment method

Delete a payment method owned by the authenticated customer. Returns 204 No Content on success. A method that is the default or tied to an active subscription cannot be deleted and returns 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Delete a payment method owned by the authenticated customer. Returns 204 No Content on success. A method that is the default, or tied to an active subscription, cannot be deleted and returns 404.

Example:

curl --request DELETE \
  --url 'https://www.pelcro.com/api/v1/sdk/payment_methods/1019?site_id=1232' \
  --header 'Authorization: Bearer <JWT>'
Path Params
int32
required

The unique identifier of the payment method.

Query Params
int32
required

The unique identifier of the site associated with your account.

Responses
204

No content.

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json