Skip to main content
POST
/
api
/
payment-method
/
delete
Delete a Payment Method for a customer
curl --request POST \
  --url https://app.dimepayments.com/api/payment-method/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": []
}'
{
  "data": {
    "message": "Payment Method deleted successfully."
  }
}

Authorizations

Authorization
string
header
required

You can retrieve your token by visiting your dashboard and clicking Generate API token under your profile in top right.

Body

application/json
data
object
Example:
[]

Response

Successful Deletion

data
object