Tremendous
App · 20 actions
Read reward orders, campaigns, funding, and delivery history.
Actions
| Action | What it does |
|---|---|
| Get campaign | Get campaign. |
| Get funding source | Get funding source. |
| Get invoice | Get invoice. |
| Get order | Get order. |
| Get product | Get product. |
| Get reward | Get reward. |
| Get topup | Get topup. |
| Get webhook | > 📘 Learn more about Webhooks > > Our guide explains everything you need to know about the Tremendous webhooks: > Read it here |
| List balance transactions | Fetch a list of all balance transactions on your account. |
| List campaigns | Retrieve a list of all campaigns created in your account |
| List funding sources | Retrieve a list of all funding sources in your organization's account. |
| List invoices | Fetch a list of all invoices on your account. |
| List members | To list members of a sub-organization, use an API key for that organization. |
| List orders | Retrieve a list of orders |
| List products | Retrieve a list of available products |
| List rewards | List rewards. |
| List roles | List all available roles in the organization. |
| List topups | Retrieve a list of all topup requests. |
| List webhook events | List webhook events. |
| List webhooks | List webhooks. |
Get campaign
Get campaign.
Inputs
- Campaign
campaign_idtextRequired - ID of the campaign that should be retrieved
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"campaign": {
"auto_add_product_rule": {
"countries": [],
"currencies": [],
"enabled": false
},
"description": "example",
"email_style": {
"button_color": "example",
"logo_background_color": "example",
"logo_image_height_px": 1,
"logo_image_url": "example",
"sender_name": "example",
"subject_line": "example"
},
"fee_charged_to": "SENDER",
"id": "example",
"name": "example",
"products": [],
"webpage_style": {
"background_color": "example",
"headline": "example",
"logo_background_color": "example",
"logo_image_height_px": 1,
"logo_image_url": "example",
"message": "example"
}
}
}
}Get funding source
Get funding source.
Inputs
- Funding source
funding_source_idtextRequired - ID of the funding source that should be retrieved. Can also use `BALANCE` or `INVOICE` (case-insensitive) to retrieve the corresponding funding source.
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"funding_source": {
"id": "example",
"meta": {
"account_number_mask": "example",
"account_routing_mask": "example",
"account_type": "checking",
"accountholder_name": "example",
"address_1": "example",
"address_2": "example",
"available_amount": 1.0,
"available_cents": 1,
"bank_name": "example",
"city": "example",
"company_name": "example",
"credit_limit_amount": 1.0,
"credit_limit_cents": 1,
"currency_code": "example",
"day_of_week": "example",
"days_of_week": [],
"emails": "example",
"expired": false,
"failure_details": {
"description": "example",
"return_code": "example"
},
"interval": "example",
"invoice_type": "example",
"last4": "example",
"last_payment_failed_at": "example",
"month": "example",
"net": "example",
"network": "MasterCard",
"pending_amount": 1.0,
"pending_cents": 1,
"phone": "example",
"refundable": false,
"state": "example",
"year": "example",
"zip": "example"
},
"method": "balance",
"status": "active",
"type": "COMMERCIAL",
"usage_permissions": []
}
}
}Get invoice
Get invoice.
Inputs
- Invoice ID
invoice_idtextRequired - ID of the invoice that should be retrieved
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"invoice": {
"amount": 1.0,
"created_at": "example",
"currency_code": "USD",
"id": "example",
"international": false,
"orders": [],
"paid_at": "example",
"po_number": "example",
"rewards": [],
"status": "DELETED"
}
}
}Get order
Get order.
Inputs
- Order ID
order_idtextRequired - Order id.
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"order": {
"campaign_id": "example",
"channel": "UI",
"created_at": "example",
"external_id": "example",
"id": "example",
"invoice_id": "example",
"payment": {
"currency_code": "example",
"discount": 1.0,
"fees": 1.0,
"refund": {
"currency_code": "example",
"total": 1.0
},
"subtotal": 1.0,
"total": 1.0
},
"rewards": [],
"status": "CANCELED"
}
}
}Get product
Get product.
Inputs
- Product
product_idtextRequired - ID of the product that should be retrieved
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"product": {
"category": "ach",
"countries": [],
"currency_codes": [],
"description": "example",
"disclosure": "example",
"documents": {
"cardholder_agreement_pdf": "example",
"cardholder_agreement_url": "example",
"privacy_policy_url": "example"
},
"id": "example",
"images": [],
"name": "example",
"skus": [],
"subcategory": "beauty_and_health",
"usage_instructions": "example"
}
}
}Get reward
Get reward.
Inputs
- Reward ID
reward_idtextRequired - ID of the reward that should be retrieved
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"reward": {
"created_at": "example",
"custom_fields": [],
"deliver_at": "example",
"delivery": {
"method": "EMAIL",
"status": "SCHEDULED"
},
"expires_at": "example",
"id": "example",
"order_id": "example",
"recipient": {
"email": "example",
"name": "example",
"phone": "example"
},
"value": {
"currency_code": "USD",
"denomination": 1.0
}
}
}
}Get topup
Get topup.
Inputs
- Topup ID
topup_idtextRequired - ID of the topup request that should be retrieved
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"topup": {
"amount": 1.0,
"created_at": "example",
"currency_code": "example",
"expected_settlement_at": "example",
"fully_credited_at": "example",
"funding_source_id": "example",
"id": "example",
"idempotency_key": "example",
"instant_credit_amount": 1.0,
"processing_fee": 1.0,
"rejected_at": "example",
"reversed_at": "example",
"reversed_reason": "example",
"settled_amount": 1.0,
"status": "example"
}
}
}Get webhook
📘 Learn more about Webhooks > > Our guide explains everything you need to know about the Tremendous webhooks: > Read it here
Inputs
- Webhook ID
webhook_idtextRequired - ID of the webhook to retrieve
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"webhook": {
"id": "example",
"private_key": "example",
"url": "example"
}
}
}List balance transactions
Fetch a list of all balance transactions on your account.
Inputs
- Offset
offsetnumber - Offsets the returned list by the given number of transactions. The returned transactions are ordered (and offsetted) by their creation date (DESC).
- Limit
limitnumber - Limits the number of transactions listed. The default value is 10.
- Created after
created_afterdate and time - Only return results where the created_at field is greater than or equal to the supplied value. The string needs to be an ISO 8601 datetime.
- Created before
created_beforedate and time - Only return results where the created_at field is less than or equal to the supplied value. The string needs to be an ISO 8601 datetime.
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"transactions": []
}
}List campaigns
Retrieve a list of all campaigns created in your account
Inputs
- Limit
limitnumber - Limits the number of campaigns listed. The maximum value is 500. Without a limit, every campaign is returned.
- Offset
offsetnumber - Offsets the returned list by the given number of campaigns. Campaigns come back in the same order on every page.
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"campaigns": [],
"total_count": 1
}
}List funding sources
Retrieve a list of all funding sources in your organization's account.
Inputs
None.
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"funding_sources": []
}
}List invoices
Fetch a list of all invoices on your account. > 🚧 Deleted invoices are omitted > > The response does not include any previously deleted invoices.
Inputs
- Offset
offsetnumber - Offsets the returned list by the given number of invoices. The returned invoices are ordered (and offsetted) by their creation date (DESC).
- Limit
limitnumber - Limits the number of invoices listed. The maximum and default value is 10.
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"invoices": [],
"total_count": 1
}
}List members
To list members of a sub-organization, use an API key for that organization. You can create one in the Tremendous dashboard.
Inputs
None.
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"members": []
}
}List orders
Retrieve a list of orders
Inputs
- Offset
offsetnumber - Offsets the returned list by the given number of orders. The returned orders are ordered (and offsetted) by their creation date (DESC).
- Campaign ID
campaign_idtext - Only return results with a matching campaign_id.
- External ID
external_idtext - Only return results with a matching external_id.
- Created after
created_afterdate and time - Only return results where the created_at field is greater than or equal to the supplied value. The string needs to be an ISO 8601 datetime.
- Created before
created_beforedate and time - Only return results where the created_at field is less than or equal to the supplied value. The string needs to be an ISO 8601 datetime.
- Limit
limitnumber - Limits the number of orders listed. The maximum value is 500 and the default is 10.
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"orders": [],
"total_count": 1
}
}List products
Retrieve a list of available products
Inputs
- Webhook ID
webhook_idtext - Comma-separated list of product IDs, used to only retrieve the provided products. Also accepts the special value `ALL_FEE_FREE`, which stands for every product in your catalog that carries no fee.
- Country
countrytext - Comma-separated list of [Alpha-2 country codes](https://www.iban.com/country-codes), used to only retrieve products available in the provided countries
- Currency
currencytext - Comma-separated list of [currency codes](https://www.iban.com/currency-codes), used to only retrieve products available in the provided currencies
- Subcategory
subcategorytext - Comma-separated list of [subcategories](https://developers.tremendous.com/reference/obj-schema-products-1), used to only retrieve products with the provided subcategories
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"products": []
}
}List rewards
List rewards.
Inputs
- Offset
offsetnumber - Offsets the returned list by the given number of rewards. The returned rewards are ordered (and offsetted) by their creation date (DESC).
- Limit
limitnumber - Limits the number of rewards listed. The maximum value is 500 and the default is 100.
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"rewards": [],
"total_count": 1
}
}List roles
List all available roles in the organization.
Inputs
None.
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"roles": []
}
}List topups
Retrieve a list of all topup requests.
Inputs
- Offset
offsetnumber - Offsets the returned list by the given number of topups. The returned topups are ordered and offset by their creation date (DESC).
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"topups": [],
"total_count": 1
}
}List webhook events
List webhook events.
Inputs
- Webhook ID
webhook_idtextRequired - ID of the webhook to list the events for
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"events": []
}
}List webhooks
List webhooks.
Inputs
None.
Outputs
dataobject- The response from Tremendous.
Example output
{
"data": {
"webhooks": []
}
}