curl --request DELETE \
--url https://api.getfernand.com/contacts/{id}/payment-email \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"source": "STRIPE",
"email": "billing@piedpiper.com"
}
'{
"error": "You cannot unlink the same email as the contact email."
}curl --request DELETE \
--url https://api.getfernand.com/contacts/{id}/payment-email \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"source": "STRIPE",
"email": "billing@piedpiper.com"
}
'{
"error": "You cannot unlink the same email as the contact email."
}ID of the contact to unlink the payment email from.
Payment processor source (case-insensitive, will be converted to uppercase).
STRIPE, PADDLE, LEMON "STRIPE"
Payment email address to unlink from the contact. Cannot be the same as the contact's primary email.
"billing@piedpiper.com"
Payment email unlinked successfully.
Was this page helpful?