Integration

Zembula + Friendbuy

Friendbuy returns the points or credit balance of one person as it stands at the time of the request. Zembula can read that balance when each email opens.

It's our business to grow yours

Book a demo

What Zembula can read from Friendbuy

Friendbuy is a referral and loyalty marketing platform with a merchant API. The ledger balance is a balance that Friendbuy keeps for each person. It is the current account credit or points balance of one person, in one currency. Each balance comes with its currency, its total, its creation date, its expiration date and its credit details.

Zembula can look it up by the customerId plus the currency. The tier is a second kind of data. Friendbuy returns the loyalty opt-in status and the member tier of a person, and it sends an update when those details change. Referral rewards are a third kind.

They list the rewards that an advocate earned in a time range, and each reward has a type, a status and a trigger. Zembula can find them by the advocate’s email or customerId. Friendbuy also sends webhooks for rewards, email captures, email opt-outs, receipts, ledger transactions and customer updates. Your key and secret return an access token for API calls.

DataDetailLooked up by
Ledger balancePoints or credit total, with creation and expiration dates.customerId plus currency
Member tierThe loyalty opt-in status and the member tier of a person.customerId
Referral rewardsRewards an advocate earned in a time range, with type and status.advocateEmail or advocateCustomerId

How the data arrives

  • API: Zembula can read balances, tiers and rewards from the Friendbuy merchant API.
  • Webhook: Friendbuy sends events such as rewards, ledger transactions and customer updates.
  • ESP merge tags: Braze shows Friendbuy custom attributes, and your email service provider carries the customerId and currency into the image URL.

What you need

  • An API key or a data export from Friendbuy. Zembula sets up the connection for you.
  • A Friendbuy key and secret, which return an access token for API calls.
  • A customerId and a currency for each person, sent as merge tags in the image URL.

Ideas for email

  • Show a person’s points balance in a loyalty email.
  • Congratulate a person on a higher member tier.
  • Tell an advocate about a reward earned, with its type and status.

Last checked: 19 November 2026.

Performance marketing dials, inside email. For the first time.

See how we do it by booking a demo.