Klaviyo
Send each customer's store credit balance to Klaviyo, then use it in emails, flows and segments.
CreditsYard keeps every customer's store credit balance on their Klaviyo profile. Use it to remind customers about unused credit, segment customers who have credit, or personalise any email.
How it works
- When credit is added, used, refunded or expires, CreditsYard updates that customer's Klaviyo profile a few seconds later.
- Customers are matched by email. Customers without an email aren't sent.
- If the profile doesn't exist in Klaviyo yet, Klaviyo creates it.
- Two custom properties are set on each profile:
| Property | Example | What it is |
|---|---|---|
| Credit balance | 125.5 |
The customer's current balance, as a number. |
| Credit last updated | 11-28-2026 |
The date of the customer's latest credit change (MM-DD-YYYY). |

Set up
- In Klaviyo, go to Settings › API keys.
- Copy your Public API key (also called Site ID), and create a Private API key.
- In CreditsYard, go to Integrations › Klaviyo › Set up.
- Paste both keys, turn on Sync to Klaviyo and click Save.

Send existing balances
Profiles update on the next credit change. To send every customer's balance now:
- Go to Integrations.
- Under Sync customer data, click Sync attributes, then Sync.

Show the balance in emails
Add these variables to any Klaviyo email or text block:
-
Balance:
{{ person|lookup:"Credit balance"|floatformat:2 }}shows125.50 -
Last change:
{{ person|lookup:"Credit last updated" }}shows11-28-2026
Add your currency symbol before the balance, for example ${{ person|lookup:"Credit balance"|floatformat:2 }}.

Segment customers with credit
- In Klaviyo, go to Audience › Lists & segments › Create › Segment.
- Set the condition to Properties about someone › Credit balance › is greater than ›
0. - Save the segment and use it in campaigns, or as the trigger of a flow (for example a "Your credit is waiting" reminder).

Good to know
- Balances are sent as plain numbers, without a currency.
- Turn off Sync to Klaviyo to stop updates. Properties already on profiles stay there.
- To only remind customers by email, you can also use CreditsYard's own balance reminder email.
Was this guide helpful?
Thanks! Tell us what's missing.