Skip to main content
This page explains the concepts. To turn it on step by step, follow the gifts & referrals setup guide.

Purchase, Deliver, Redeem

Gift subscriptions allow your customers to purchase a subscription plan on behalf of someone else. The recipient receives a unique gift code they can redeem to activate the subscription on their own account.
  • Purchase — a buyer selects a plan, duration, and recipient email
  • Deliver — Recurso generates a unique gift code and sends it to the recipient
  • Redeem — the recipient creates an account (or logs in) and redeems the code

Gift Object

Gift Statuses

Purchase a Gift

The buyer specifies the plan, recipient email, and subscription duration. Recurso charges the buyer immediately and generates a gift code.

Purchase Parameters

The buyer is charged the full upfront cost for the gifted duration. For example, gifting a 49/monthplanfor6monthschargesthebuyer49/month plan for 6 months charges the buyer 294 at purchase time.

Redeem a Gift

The recipient uses the gift code to activate their subscription. They must have (or create) a Recurso customer account.

Redemption Parameters

Each gift code can only be redeemed once. Attempting to redeem an already-used code returns an error. The redeemed_by_customer_id does not need to match the original recipient_email — this allows flexibility if the recipient forwards the code to a different account.

What Happens on Redemption

1

Code validation

Recurso verifies the code exists and has not already been redeemed.
2

Subscription creation

A new subscription is created for the recipient on the gifted plan, with a duration matching duration_months.
3

Gift status update

The gift record transitions from purchased to redeemed. The redeemed_by_customer_id and redeemed_at fields are populated.
4

No payment required

The recipient is not charged. The subscription is fully prepaid by the buyer.

List Gifts

Retrieve all gifts with pagination.

Gift Lifecycle

The complete gift flow from purchase to subscription activation:

Webhooks

Example Webhook Payload

Use Cases

Holiday Promotions

Run seasonal campaigns where customers can gift subscriptions during holidays, birthdays, or special events.

Corporate Gifting

Let businesses purchase bulk gift subscriptions for clients, partners, or employees.

Onboarding Incentives

Combine with referral programs — reward referrers with gift codes they can share instead of account credit.

Charitable Giving

Allow customers to sponsor subscriptions for nonprofits or individuals who cannot afford the service.

Best Practices

While the API does not enforce an expiration by default, consider implementing a background job that flags gifts older than 12 months as expired. Notify the buyer so they can re-gift or request a refund.
Listen for the gift.purchased event and set up automated email reminders. If the recipient has not redeemed after 7 days, send a follow-up. After 30 days, notify the buyer.
When the gifted duration ends, the subscription will not auto-renew unless the recipient adds a payment method. Notify the recipient before the gift period expires so they can choose to continue.
Present buyers with multiple duration options (3, 6, or 12 months). Longer durations can include a discount to increase average order value.
While the core API tracks the gift code and recipient email, you can store a personal message in your application layer and include it in the delivery email.

Next steps

Set up gifts & referrals

Enable both growth features

Referrals

The other growth loop