curl --request POST \
--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"
}
'{
"subscription_start": "2023-11-07T05:31:56Z",
"financials": {}
}curl --request POST \
--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"
}
'{
"subscription_start": "2023-11-07T05:31:56Z",
"financials": {}
}Associates a payment email from a payment processor (Stripe, Paddle, or Lemon Squeezy) with a contact. If the payment email differs from the contact’s primary email, it creates or updates the payment email link. The endpoint then either propagates existing financial data or triggers an asynchronous task to fetch and propagate financial information from the payment processor. Returns financial data immediately if available, otherwise returns empty response while processing continues in the background.Documentation Index
Fetch the complete documentation index at: https://developers.getfernand.com/llms.txt
Use this file to discover all available pages before exploring further.
ID of the contact to link the payment email to.
Was this page helpful?