# Tremendous API Documentation ## Guides - [OAuth 2.0](https://developers.tremendous.com/docs/oauth-20.md): Make API calls on behalf of other Tremendous users - [Managing currencies](https://developers.tremendous.com/docs/handling-currencies.md) - [Funding your account](https://developers.tremendous.com/docs/paying-for-orders.md): An overview of ways to pay. - [Managing your balance](https://developers.tremendous.com/docs/managing-your-balance.md) - [Paying for orders](https://developers.tremendous.com/docs/paying-for-orders-1.md) - [Tremendous Connect](https://developers.tremendous.com/docs/tremendous-connect.md): Embedded experience for your clients to connect to Tremendous through your platform - [Adding custom data to rewards](https://developers.tremendous.com/docs/using-custom-fields-to-add-custom-data-to-rewards.md): Using the Custom Fields feature, programmatically. - [Production access](https://developers.tremendous.com/docs/production-api-access.md) - [Error handling](https://developers.tremendous.com/docs/error-handling.md): Status codes and the error object. - [Change management](https://developers.tremendous.com/docs/versioning.md) - [Reward delivery failed](https://developers.tremendous.com/docs/delivery-failure-payload.md) - [Webhooks](https://developers.tremendous.com/docs/webhooks-1.md) - [Introduction](https://developers.tremendous.com/docs/introduction.md): Manage rewards and payouts at scale - [Postman Collection](https://developers.tremendous.com/docs/postman-collection.md): Integrate the Tremendous API using our Postman Collection. - [3) Send your first reward](https://developers.tremendous.com/docs/3-sending-your-first-reward.md): Exercise your newfound powers. - [Sandbox environment](https://developers.tremendous.com/docs/sandbox-environment.md): Learn about available API environments. - [Email delivery](https://developers.tremendous.com/docs/emailing-rewards.md): Tremendous emails your recipient - [Obtaining links](https://developers.tremendous.com/docs/link-delivery.md): Obtain a link that you can deliver yourself - [SMS delivery](https://developers.tremendous.com/docs/sms-rewards-wip.md) - [Customizing rewards using campaigns](https://developers.tremendous.com/docs/personalize-and-style-your-rewards.md): Using campaigns to control the look and feel of the rewards you send. - [Setting reward copy without campaigns](https://developers.tremendous.com/docs/personalizing-rewards-without-campaigns.md) - [Creating multi-product rewards](https://developers.tremendous.com/docs/creating-multi-product-rewards-wip.md): Let recipients choose from a wide set of payout options. - [Creating single-product rewards](https://developers.tremendous.com/docs/creating-single-product-rewards.md): Send a prepaid card, an Amazon.com gift card, or any other product in our catalog. ## API Reference - [Balance transactions](https://developers.tremendous.com/reference/balance-transactions.md) - [List balance transactions](https://developers.tremendous.com/reference/list-balance-transactions.md): Fetch a list of all balance transactions on your account. - [Balance transaction schema](https://developers.tremendous.com/reference/obj-schema-balance-transactions-1.md) - [Create campaign](https://developers.tremendous.com/reference/create-campaign.md) - [Retrieve campaign](https://developers.tremendous.com/reference/get-campaign.md): Retrieve a campaign, identified by the given `id` in the URL - [Campaigns](https://developers.tremendous.com/reference/campaigns.md) - [List campaigns](https://developers.tremendous.com/reference/list-campaigns.md): Retrieve a list of all campaigns created in your account - [Campaign schema](https://developers.tremendous.com/reference/obj-schema-campaigns-1.md) - [Update campaign](https://developers.tremendous.com/reference/update-campaign.md) - [Create connected organization member session](https://developers.tremendous.com/reference/create-connected-organization-member-session.md): Create a connected organization member session. - [Create connected organization member](https://developers.tremendous.com/reference/create-connected-organization-member.md): Create a connected organization member. - [Remove a connected organization member](https://developers.tremendous.com/reference/delete-connected-organization-member.md): Removes a connected organization member. If the member has completed registration and has an associated Tremendous member, that membership is also revoked. The connected organization itself is not affected. - [Retrieve a connected organization member](https://developers.tremendous.com/reference/get-connected-organization-member.md): Retrieve the connected organization member, identified by the given `id` in the URL - [Connected organization members](https://developers.tremendous.com/reference/connected-organization-members.md) - [List connected organization members](https://developers.tremendous.com/reference/list-connected-organization-members.md): Retrieve a list of connected organization members. - [Connected organization member schema](https://developers.tremendous.com/reference/obj-schema-connected-organization-members.md) - [Create connected organization](https://developers.tremendous.com/reference/create-connected-organization.md): Create a connected organization. Optionally pass a `kyb` object to forward KYB details you have already collected for the end client. When provided, these values pre-fill the end client's onboarding form; the end client still reviews, edits where needed, and submits the form. Every `kyb` field is optional, but any value provided is validated β malformed KYB details (for example an unsupported `country_code` or a malformed `website_url`) return a `400`. The stored KYB details are echoed back as `prefilled_kyb_details` on this create response only. - [Delete a connected organization](https://developers.tremendous.com/reference/delete-connected-organization.md): Deletes a connected organization and revokes the associated OAuth connection. The underlying Tremendous organization is not affected and remains accessible. - [Retrieve a connected organization](https://developers.tremendous.com/reference/get-connected-organization.md): Retrieve the connected organization, identified by the given `id` in the URL - [Connected organizations](https://developers.tremendous.com/reference/connected-organizations.md) - [List connected organizations](https://developers.tremendous.com/reference/list-connected-organizations.md): Retrieve a list of connected organizations. - [Connected organization schema](https://developers.tremendous.com/reference/obj-schema-connected-organizations.md) - [Create field](https://developers.tremendous.com/reference/create-field.md): Create a custom field to be associated with rewards. Custom fields can be used for reporting and analytics purposes. - [Fields](https://developers.tremendous.com/reference/fields.md) - [List fields](https://developers.tremendous.com/reference/list-fields.md): For reporting and analytics purposes, custom fields can be associated with rewards generated through the API. Custom fields must be first added by members of your admin team through the Tremendous Dashboard. - [Field schema](https://developers.tremendous.com/reference/obj-schema-fields-1.md) - [List exchange rates](https://developers.tremendous.com/reference/list-forex.md): Retrieve a list of exchange rates - [Block fraud review](https://developers.tremendous.com/reference/block-fraud-review.md): Completes the fraud review identified by the given `id` in the URL, and blocks the reward. The reward is canceled and the amount refunded. - [Retrieve single fraud review](https://developers.tremendous.com/reference/get-fraud-review.md): Retrieve the details of a fraud review, identified by the given `id` in the URL. Returns additional details regarding the fraud review beyond what's provided in the List fraud reviews endpoint, including reward details, recipient geolocation, etc. - [Fraud reviews](https://developers.tremendous.com/reference/fraud-reviews.md) - [List fraud reviews](https://developers.tremendous.com/reference/list-fraud-reviews.md): Retrieve a paginated list of all fraud reviews. List can be filtered by status, created or redeemed at dates. - [Fraud review schema](https://developers.tremendous.com/reference/obj-schema-fraud-reviews-1.md) - [Release fraud review](https://developers.tremendous.com/reference/release-fraud-review.md): Completes the fraud review identified by the given `id` in the URL, and releases the associated reward to the recipient. - [Delete fraud rule](https://developers.tremendous.com/reference/delete-fraud-rule.md): Deletes the rule of the type passed in the URL. - [Configure fraud rule](https://developers.tremendous.com/reference/fraud-rule.md): Configure a fraud rule of the type passed in the URL. If a rule of the same type already exists, it will be overwritten. - [Fraud rules](https://developers.tremendous.com/reference/fraud-rules.md) - [List fraud rules](https://developers.tremendous.com/reference/list-fraud-rules.md): List active fraud rules associated with the organization tied to your API key. - [Update fraud rule list](https://developers.tremendous.com/reference/update-fraud-rule-list.md): Use this endpoint to modify a list associated with an already-configured rule. Add and remove operations supported. For example, to append new IPs to the `review_ip` rule, a valid JSON body would be: ```json { "operation": "add", "config": { "ips": ["123.123.123.123"] } } ``` - [Retrieve funding source](https://developers.tremendous.com/reference/get-funding-source.md): Retrieve a funding source, identified by the given `id` in the URL. You can also use the special keyword `BALANCE` (case-insensitive) to retrieve the organization's balance funding source. - [Funding sources](https://developers.tremendous.com/reference/funding-sources.md) - [List funding sources](https://developers.tremendous.com/reference/list-funding-sources.md): Retrieve a list of all funding sources in your organization's account. - [Funding source schema](https://developers.tremendous.com/reference/obj-schema-funding-sources-1.md) - [Create invoice](https://developers.tremendous.com/reference/create-invoice.md): Creating an invoice is the way for your organization to fund your account's balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account's balance ## Request body
| Property | Type | Description |
|---|---|---|
po_number | string | Reference to the purchase order number within your organization |
amount | number double | Amount of the invoice |
currency_code | string | Currency of the invoice. Defaults to the organization's currency if not provided. |
memo | string | A note to be included in the invoice. This is for your internal use and will not be visible to the recipient. |
| Property | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
external_id | string | Reference for this order, supplied by the customer. When set, It also allows for retrieving by | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
payment | object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Show object properties
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reward | object | A single reward, sent to a recipient. A reward is always part of an order. Either | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Show object properties
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Property | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
report_type | string | Type of report for retrieval.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
format | string | Format the report will be generated in.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
filters | object | Filters to apply to the report. Corresponds to the filters provided in the dashboard | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Show object properties
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Property | Type | Description |
|---|---|---|
url | string uri | URL the webhook will make requests to |