Property Type Description
id
string

Tremendous ID of the order

external_id
string

Reference for this order, supplied by the customer.

When set, external_id makes order idempotent. All requests that use the same external_id after the initial order creation, will result in a response that returns the data of the initially created order. The response will have a 201 response code. These responses fail to create any further orders.

created_at
string date-time

Date the order has been created

status
string

Execution status of a given order

Status Description
CART The order has been created, but hasn't yet been processed.
EXECUTED The order has been executed. Payment has been handled and rewards are being delivered (if applicable).
FAILED The order could not be processed due to an error. E.g. due to insufficient funds in the account.
payment
object

Cost breakdown of the order (cost of rewards + fees). Cost and fees are always denominated in USD, independent from the currency of the ordered rewards. Note that this property will only appear for processed orders (status is EXECUTED).

Show object properties
Property Type Description
subtotal
number double

Total price of the order before fees (in USD)

total
number double

Total price of the order including fees (in USD)

fees
number double

Fees for the order (in USD)

funding_source_id
string

ID of the funding source linked to your account, to draw funds from for this order

rewards
array
Show array item type
Property Type Description
id
string

Tremendous ID of the reward

order_id
string

Tremendous ID of the order this reward is part of.

campaign_id
string

ID of the campaign in your account, that defines the available products (different gift cards, charity, etc.) that the recipient can choose from.

products
array string

List of IDs of product (different gift cards, charity, etc.) that will be available to the recipient to choose from.

Providing a products array will override the campaign_id property.

value
object
Show object properties
Property Type Description
denomination
integer

Amount of the reward

currency_code
string

Currency of the reward

delivery
object

Details on how the reward is delivered to the recipient.

Show object properties
Property Type Description
method
string

How to deliver the reward to the recipient.

Delivery Method Description
EMAIL Deliver the reward to the recipient by email
LINK

Deliver the reward to the recipient via a link.

The link can be retrieved on a successfully ordered reward via the /rewards or /rewards/{id} endpoint. That link must then be delivered to the recipient out-of-band.

PHONE Deliver the reward to the recipient by SMS (US phone numbers, only)
status
string

Current status of the delivery of the reward:

  • SCHEDULED - Reward is scheduled for delivery and will be delivered soon.
  • FAILED - Delivery of reward failed (e.g. email bounced).
  • SUCCEEDED - Reward was successfully delivered (email or text message delivered or reward link opened).
  • PENDING - Delivery is pending but not yet scheduled.
link
string

Link to redeem the reward at. You need to deliver this link to the recipient.

Only available when the method for delivery is set to PHONE.

recipient
object

Details of the recipient of the reward

Show object properties
Property Type Description
name
string

Name of the recipient

email
string email

Email address of the recipient

phone
string

Phone number of the recipient (US phone numbers only)