Remove a payment method
Headers
-
Content-Type string
-
Accept string
Body Required
-
Stripe payment method ID.
DELETE /api/v1/payment-method
curl \
-X DELETE https://api.plannrcrm.com/api/v1/payment-method \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"payment_method_id":"pm_1EUmyr2x6R10KRrhlYS3l97f"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"payment_method_id": "pm_1EUmyr2x6R10KRrhlYS3l97f"
}