> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/finance-payments/recurly.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Recurly

Recurly is a subscription billing platform. Manage accounts, subscriptions, invoices, credits and purchases.

![Recurly logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-41011be9e319690d338d1b5970e10421f1fd28da%2Frecurly.png?alt=media)

|                    |                                                                                      |
| ------------------ | ------------------------------------------------------------------------------------ |
| **Category**       | [Finance and payments](https://docs.fastn.ai/connectors/catalog/finance-payments.md) |
| **Website**        | [recurly.com](https://recurly.com)                                                   |
| **Authentication** | API key                                                                              |
| **Slug**           | `recurly`                                                                            |
| **On fastn.ai**    | [Embed Recurly in your product](https://fastn.ai/integrations/recurly)               |

## Setup

Your customers enter their API key for Recurly when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect Recurly from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Recurly**.
2. Select **Connect** on the Recurly card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Recurly's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Apply Credit Balance</td><td><code>applyCreditBalance</code></td><td>Apply available credit to a pending or past due charge invoice. Apply credit payment to the outstanding balance on an existing charge invoice from an account’s available</td></tr><tr><td>Cancel Subscription</td><td><code>cancelSubscription</code></td><td>Cancel a subscription. A canceled subscription will continue through its current billing cycle. At the end of the current billing cycle the subscription will expire and t</td></tr><tr><td>CancelPurchase</td><td><code>cancelPurchase</code></td><td>Cancel Purchase. A purchase is a hybrid checkout containing at least one or more subscriptions or one-time charges (adjustments) and supports both coupon and gift card re</td></tr><tr><td>Collect Invoice</td><td><code>collectInvoice</code></td><td>Collect a pending or past due, automatic invoice. Force a collection attempt using the stored billing information. This will trigger a transaction outside of Recurly's no</td></tr><tr><td>Convert Trial</td><td><code>convertTrial</code></td><td>Convert trial subscription. This will immediately convert a trial subscription to a fully active paid subscription, creating and collecting an invoice for auto-collecting</td></tr><tr><td>Create Account</td><td><code>createAccount</code></td><td>Create a customer account on the site, optionally including its address, billing information, shipping addresses, acquisition data, and custom fields.</td></tr><tr><td>Create Account External Account</td><td><code>createAccountExternalAccount</code></td><td>Create an external account.</td></tr><tr><td>Create Account Note</td><td><code>createAccountNote</code></td><td>Create an account note.</td></tr><tr><td>Create Authorize Purchase</td><td><code>createAuthorizePurchase</code></td><td>Authorize a purchase. A purchase is a hybrid checkout containing at least one or more subscriptions or one-time charges (adjustments) and supports both coupon and gift ca</td></tr><tr><td>Create Billing Info</td><td><code>createBillingInfo</code></td><td>Add a new billing information record to an account's wallet. Available for sites using the Wallet feature.</td></tr></tbody></table>

<details>

<summary>View 187 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Create Capture Purchase</td><td><code>createCapturePurchase</code></td><td>Capture a purchase. A purchase is a hybrid checkout containing at least one or more subscriptions or one-time charges (adjustments) and supports both coupon and gift card</td></tr><tr><td>Create Coupon</td><td><code>createCoupon</code></td><td>Create a new coupon.</td></tr><tr><td>Create Coupon Redemption</td><td><code>createCouponRedemption</code></td><td>Generate an active coupon redemption on an account or subscription.</td></tr><tr><td>Create External Invoice</td><td><code>createExternalInvoice</code></td><td>Create an external invoice.</td></tr><tr><td>Create External Product</td><td><code>createExternalProduct</code></td><td>Create an external product.</td></tr><tr><td>Create External Product External Product Reference</td><td><code>createExternalProductExternalProductReference</code></td><td>Create an external product reference on an external product.</td></tr><tr><td>Create External Subscription</td><td><code>createExternalSubscription</code></td><td>Create an external subscription.</td></tr><tr><td>Create General Ledger Account</td><td><code>createGeneralLedgerAccount</code></td><td>Create a new general ledger account.</td></tr><tr><td>Create Gift Card</td><td><code>createGiftCard</code></td><td>Create gift card.</td></tr><tr><td>Create Invoice</td><td><code>createInvoice</code></td><td>Create an invoice for pending line items.</td></tr><tr><td>Create Invoice Retry</td><td><code>createInvoiceRetry</code></td><td>Create an invoice for revenue recovery.</td></tr><tr><td>Create Item</td><td><code>createItem</code></td><td>Create a new item.</td></tr><tr><td>Create Line Item</td><td><code>createLineItem</code></td><td>Create a new line item for the account. When using the Credit Invoices feature, utilize the purchases endpoint in order to immediately post credit to a credit invoice.</td></tr><tr><td>Create Measured Unit</td><td><code>createMeasuredUnit</code></td><td>Create a new measured unit.</td></tr><tr><td>Create Pending Purchase</td><td><code>createPendingPurchase</code></td><td>Create a pending purchase. A purchase is a hybrid checkout containing at least one or more subscriptions or one-time charges (adjustments) and supports both coupon and gi</td></tr><tr><td>Create Plan</td><td><code>createPlan</code></td><td>Create a plan.</td></tr><tr><td>Create Plan Add on</td><td><code>createPlanAddOn</code></td><td>Create an add-on.</td></tr><tr><td>Create Purchase</td><td><code>createPurchase</code></td><td>Create a new purchase. A purchase is a checkout containing at least one or more subscriptions or one-time charges (line items) and supports both coupon and gift card rede</td></tr><tr><td>Create Shipping Address</td><td><code>createShippingAddress</code></td><td>Create a new shipping address for the account.</td></tr><tr><td>Create Shipping Method</td><td><code>createShippingMethod</code></td><td>Create a new shipping method.</td></tr><tr><td>Create Subscription</td><td><code>createSubscription</code></td><td>Create a new subscription.</td></tr><tr><td>Create Subscription Change</td><td><code>createSubscriptionChange</code></td><td>Create a new subscription change. Calling this will overwrite an existing, pending subscription change. If a subscription has a pending change, and a change is submitted</td></tr><tr><td>Create Usage</td><td><code>createUsage</code></td><td>Log a usage record on this subscription add-on.</td></tr><tr><td>Deactivate Account</td><td><code>deactivateAccount</code></td><td>Deactivate an account. This permanently deletes its billing information and cancels any active subscriptions, which remain active until the end of the current billing cycle before expiring.</td></tr><tr><td>Deactivate Coupon</td><td><code>deactivateCoupon</code></td><td>Expire a coupon. Mark an existing Coupon as expired</td></tr><tr><td>Deactivate External Product External Product Reference</td><td><code>deactivateExternalProductExternalProductReference</code></td><td>Deactivate an external product reference.</td></tr><tr><td>Deactivate External Products</td><td><code>deactivateExternalProducts</code></td><td>Deactivate an external product.</td></tr><tr><td>Deactivate Item</td><td><code>deactivateItem</code></td><td>Deactivate an item. Deactivating an item makes it unavailable for new purchases. It will not affect existing line items.</td></tr><tr><td>Deactivate Shipping Method</td><td><code>deactivateShippingMethod</code></td><td>Deactivate a shipping method. Deactivating a shipping method makes it unavailable for new subscriptions or purchases. It will not affect existing subscriptions.</td></tr><tr><td>Deactivate Unique Coupon Code</td><td><code>deactivateUniqueCouponCode</code></td><td>Deactivate a unique coupon code. Expire a unique code, making that specific code no longer redeemable. The parent bulk coupon will not be affected.</td></tr><tr><td>Delete Account External Account</td><td><code>deleteAccountExternalAccount</code></td><td>Delete an external account for an account.</td></tr><tr><td>Generate Unique Coupon Codes</td><td><code>generateUniqueCouponCodes</code></td><td>Generate unique coupon codes.</td></tr><tr><td>Generate Unique Coupon Codes Sync</td><td><code>generateUniqueCouponCodesSync</code></td><td>Generate unique coupon codes synchronously. Generates up to 200 unique coupon codes for a bulk coupon and returns them directly in the response. For larger batches, use t</td></tr><tr><td>Get a Billing Info</td><td><code>getABillingInfo</code></td><td>Fetch a single billing information record from an account's wallet by its ID.</td></tr><tr><td>Get Account</td><td><code>getAccount</code></td><td>Fetch a single account by its ID or account code.</td></tr><tr><td>Get Account Acquisition</td><td><code>getAccountAcquisition</code></td><td>Fetch an account's acquisition data, including the channel, campaign, and cost of acquiring the customer.</td></tr><tr><td>Get Account Balance</td><td><code>getAccountBalance</code></td><td>Fetch an account's balance, past due status, and per-currency balance amounts.</td></tr><tr><td>Get Account External Account</td><td><code>getAccountExternalAccount</code></td><td>Get an external account for an account.</td></tr><tr><td>Get Account Note</td><td><code>getAccountNote</code></td><td>Fetch an account note.</td></tr><tr><td>Get Add on</td><td><code>getAddOn</code></td><td>Fetch an add-on.</td></tr><tr><td>Get Billing Info</td><td><code>getBillingInfo</code></td><td>Fetch an account's primary billing information, including its payment method and billing address.</td></tr><tr><td>Get Business Entity</td><td><code>getBusinessEntity</code></td><td>Fetch a business entity.</td></tr><tr><td>Get Coupon</td><td><code>getCoupon</code></td><td>Fetch a coupon.</td></tr><tr><td>Get Coupon Redemption</td><td><code>getCouponRedemption</code></td><td>Show the coupon redemption.</td></tr><tr><td>Get Credit Payment</td><td><code>getCreditPayment</code></td><td>Fetch a credit payment.</td></tr><tr><td>Get Custom Field Definition</td><td><code>getCustomFieldDefinition</code></td><td>Fetch an custom field definition.</td></tr><tr><td>Get Dunning Campaign</td><td><code>getDunningCampaign</code></td><td>Fetch a dunning campaign.</td></tr><tr><td>Get Export Dates</td><td><code>getExportDates</code></td><td>List the dates that have an available export to download. Returns a list of dates for which export files are available for download.</td></tr><tr><td>Get Export Files</td><td><code>getExportFiles</code></td><td>List of the export files that are available to download. Returns a list of presigned URLs to download export files for the given date, with their MD5 sums.</td></tr><tr><td>Get External Product</td><td><code>getExternalProduct</code></td><td>Fetch an external product.</td></tr><tr><td>Get External Product External Product Reference</td><td><code>getExternalProductExternalProductReference</code></td><td>Fetch an external product reference.</td></tr><tr><td>Get External Subscription</td><td><code>getExternalSubscription</code></td><td>Fetch an external subscription.</td></tr><tr><td>Get External Subscription External Payment Phase</td><td><code>getExternalSubscriptionExternalPaymentPhase</code></td><td>Fetch an external payment phase.</td></tr><tr><td>Get General Ledger Account</td><td><code>getGeneralLedgerAccount</code></td><td>Fetch a general ledger account.</td></tr><tr><td>Get Gift Card</td><td><code>getGiftCard</code></td><td>Fetch a gift card.</td></tr><tr><td>Get Invoice</td><td><code>getInvoice</code></td><td>Fetch an invoice.</td></tr><tr><td>Get Invoice PDF</td><td><code>getInvoicePdf</code></td><td>Fetch an invoice as a PDF.</td></tr><tr><td>Get Invoice Template</td><td><code>getInvoiceTemplate</code></td><td>Fetch an invoice template.</td></tr><tr><td>Get Item</td><td><code>getItem</code></td><td>Fetch an item.</td></tr><tr><td>Get Line Item</td><td><code>getLineItem</code></td><td>Fetch a line item.</td></tr><tr><td>Get Measured Unit</td><td><code>getMeasuredUnit</code></td><td>Fetch a measured unit.</td></tr><tr><td>Get Performance Obligation</td><td><code>getPerformanceObligation</code></td><td>Get a single Performance Obligation.</td></tr><tr><td>Get Performance Obligations</td><td><code>getPerformanceObligations</code></td><td>Get a site's Performance Obligations.</td></tr><tr><td>Get Plan</td><td><code>getPlan</code></td><td>Fetch a plan.</td></tr><tr><td>Get Plan Add on</td><td><code>getPlanAddOn</code></td><td>Fetch a plan's add-on.</td></tr><tr><td>Get Preview Renewal</td><td><code>getPreviewRenewal</code></td><td>Fetch a preview of a subscription's renewal invoice(s). The subscriptions's renewal invoice(s) will be returned if they exist; if they don't (for example, if the subscrip</td></tr><tr><td>Get Price Segment</td><td><code>getPriceSegment</code></td><td>Fetch a price segment.</td></tr><tr><td>Get Shipping Address</td><td><code>getShippingAddress</code></td><td>Fetch an account's shipping address.</td></tr><tr><td>Get Shipping Method</td><td><code>getShippingMethod</code></td><td>Fetch a shipping method.</td></tr><tr><td>Get Site</td><td><code>getSite</code></td><td>Fetch a site by its ID or subdomain, returning its mode, address, settings, enabled features, and public API key.</td></tr><tr><td>Get Subscription</td><td><code>getSubscription</code></td><td>Fetch a subscription.</td></tr><tr><td>Get Subscription Change</td><td><code>getSubscriptionChange</code></td><td>Fetch a subscription's pending change.</td></tr><tr><td>Get Subscription Coupon Redemption</td><td><code>getSubscriptionCouponRedemption</code></td><td>Show the coupon redemption for a subscription.</td></tr><tr><td>Get Transaction</td><td><code>getTransaction</code></td><td>Fetch a transaction.</td></tr><tr><td>Get Unique Coupon Code</td><td><code>getUniqueCouponCode</code></td><td>Fetch a unique coupon code.</td></tr><tr><td>Get Usage</td><td><code>getUsage</code></td><td>Get a usage record.</td></tr><tr><td>List Account Acquisitions</td><td><code>listAccountAcquisition</code></td><td>List the acquisition data recorded across all of a site's accounts.</td></tr><tr><td>List Account Coupon Redemptions</td><td><code>listAccountCouponRedemptions</code></td><td>List the coupon redemptions for an account. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Account Credit Payments</td><td><code>listAccountCreditPayments</code></td><td>List an account's credit payments. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Account External Account</td><td><code>listAccountExternalAccount</code></td><td>List external accounts for an account.</td></tr><tr><td>List Account External Invoices</td><td><code>listAccountExternalInvoices</code></td><td>List the external invoices on an account. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Account External Subscriptions</td><td><code>listAccountExternalSubscriptions</code></td><td>List an account's external subscriptions. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Account Invoices</td><td><code>listAccountInvoices</code></td><td>List an account's invoices. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Account Line Items</td><td><code>listAccountLineItems</code></td><td>List an account's line items. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Account Notes</td><td><code>listAccountNotes</code></td><td>List an account's notes. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Account Subscriptions</td><td><code>listAccountSubscriptions</code></td><td>List an account's subscriptions. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Account Transactions</td><td><code>listAccountTransactions</code></td><td>List an account's transactions. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Accounts</td><td><code>listAccounts</code></td><td>List a site's accounts, with optional filtering by email, subscriber status, past-due status, and creation or update time.</td></tr><tr><td>List Active Coupon Redemptions</td><td><code>listActiveCouponRedemptions</code></td><td>List the coupon redemptions that are active on an account. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Add Ons</td><td><code>listAddOns</code></td><td>List a site's add-ons. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Billing Infos</td><td><code>listBillingInfos</code></td><td>List all billing information stored on an account. Available for sites using the Wallet feature.</td></tr><tr><td>List Business Entities</td><td><code>listBusinessEntities</code></td><td>List business entities.</td></tr><tr><td>List Business Entity Invoices</td><td><code>listBusinessEntityInvoices</code></td><td>List a business entity's invoices. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Child Accounts</td><td><code>listChildAccounts</code></td><td>List the child accounts belonging to a parent account.</td></tr><tr><td>List Coupons</td><td><code>listCoupons</code></td><td>List a site's coupons. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Credit Payments</td><td><code>listCreditPayments</code></td><td>List a site's credit payments. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Custom Field Definitions</td><td><code>listCustomFieldDefinitions</code></td><td>List a site's custom field definitions. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Dunning Campaigns</td><td><code>listDunningCampaigns</code></td><td>List the dunning campaigns for a site. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Entitlements</td><td><code>listEntitlements</code></td><td>List entitlements granted to an account.</td></tr><tr><td>List External Invoices</td><td><code>listExternalInvoices</code></td><td>List the external invoices on a site. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List External Product External Product References</td><td><code>listExternalProductExternalProductReferences</code></td><td>List the external product references for an external product. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List External Products</td><td><code>listExternalProducts</code></td><td>List a site's external products. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List External Subscription External Invoices</td><td><code>listExternalSubscriptionExternalInvoices</code></td><td>List the external invoices on an external subscription. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List External Subscription External Payment Phases</td><td><code>listExternalSubscriptionExternalPaymentPhases</code></td><td>List the external payment phases on an external subscription. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List External Subscriptions</td><td><code>listExternalSubscriptions</code></td><td>List the external subscriptions on a site. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List General Ledger Accounts</td><td><code>listGeneralLedgerAccounts</code></td><td>List a site's general ledger accounts. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Gift Cards</td><td><code>listGiftCards</code></td><td>List gift cards.</td></tr><tr><td>List Invoice Coupon Redemptions</td><td><code>listInvoiceCouponRedemptions</code></td><td>List the coupon redemptions applied to an invoice. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Invoice Line Items</td><td><code>listInvoiceLineItems</code></td><td>List an invoice's line items. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Invoice Template Accounts</td><td><code>listInvoiceTemplateAccounts</code></td><td>List an invoice template's associated accounts. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Invoice Templates</td><td><code>listInvoiceTemplates</code></td><td>Show the invoice templates for a site. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Invoices</td><td><code>listInvoices</code></td><td>List a site's invoices. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Items</td><td><code>listItems</code></td><td>List a site's items. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Line Items</td><td><code>listLineItems</code></td><td>List a site's line items. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Measured Unit</td><td><code>listMeasuredUnit</code></td><td>List a site's measured units. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Plan Add Ons</td><td><code>listPlanAddOns</code></td><td>List a plan's add-ons. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Plans</td><td><code>listPlans</code></td><td>List a site's plans. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Price Segments</td><td><code>listPriceSegments</code></td><td>List a site's price segments. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Related Invoices</td><td><code>listRelatedInvoices</code></td><td>List an invoice's related credit or charge invoices. Related invoices provide a link between credit invoices and the charge invoices that they are refunding. For a charge</td></tr><tr><td>List Shipping Addresses</td><td><code>listShippingAddresses</code></td><td>Fetch a list of an account's shipping addresses. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Shipping Methods</td><td><code>listShippingMethods</code></td><td>List a site's shipping methods. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Sites</td><td><code>listSites</code></td><td>List sites. This route is most useful for finding a site's ID for subsequent requests. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Subscription Coupon Redemptions</td><td><code>listSubscriptionCouponRedemptions</code></td><td>List the coupon redemptions for a subscription. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Subscription Invoices</td><td><code>listSubscriptionInvoices</code></td><td>List a subscription's invoices. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Subscription Line Items</td><td><code>listSubscriptionLineItems</code></td><td>List a subscription's line items. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Subscriptions</td><td><code>listSubscriptions</code></td><td>List a site's subscriptions. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Transactions</td><td><code>listTransactions</code></td><td>List a site's transactions. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Unique Coupon Codes</td><td><code>listUniqueCouponCodes</code></td><td>List unique coupon codes associated with a bulk coupon. See the Pagination Guide to learn how to use pagination in the API and Client Libraries.</td></tr><tr><td>List Usage</td><td><code>listUsage</code></td><td>List a subscription add-on's usage records.</td></tr><tr><td>Mark Invoice Failed</td><td><code>markInvoiceFailed</code></td><td>Mark an open invoice as failed. Indicates that the invoice was not successfully paid for and that collection attempts should stop. This functionality is mostly used to ha</td></tr><tr><td>Mark Invoice Successful</td><td><code>markInvoiceSuccessful</code></td><td>Mark an open invoice as successful. Indicates that the invoice was successfully paid for and that automated collection attempts should stop - this functionality is typica</td></tr><tr><td>Pause Subscription</td><td><code>pauseSubscription</code></td><td>Pause subscription. This will put a subscription into the pause state at the next renewal. The body of the request must contain the remaining_pause_cycles parameter. If t</td></tr><tr><td>Preview Gift Card</td><td><code>previewGiftCard</code></td><td>Preview gift card.</td></tr><tr><td>Preview Invoice</td><td><code>previewInvoice</code></td><td>Preview new invoice for pending line items.</td></tr><tr><td>Preview Purchase</td><td><code>previewPurchase</code></td><td>Preview a new purchase. A purchase is a checkout containing at least one or more subscriptions or one-time charges (line items) and supports both coupon and gift card red</td></tr><tr><td>Preview Subscription Change</td><td><code>previewSubscriptionChange</code></td><td>Preview a new subscription change. Calling this will not save the subscription change or overwrite an existing change.</td></tr><tr><td>Put Dunning Campaign Bulk Update</td><td><code>putDunningCampaignBulkUpdate</code></td><td>Assign a dunning campaign to multiple plans.</td></tr><tr><td>Put External Subscription</td><td><code>putExternalSubscription</code></td><td>Update an external subscription.</td></tr><tr><td>Reactivate Account</td><td><code>reactivateAccount</code></td><td>Reactivate an inactive account. Reactivating an account restores its history, but the customer must provide new billing information to continue billing.</td></tr><tr><td>Reactivate Item</td><td><code>reactivateItem</code></td><td>Reactivate an inactive item. Reactivating an item makes it available for new purchases. It will not affect existing line items.</td></tr><tr><td>Reactivate Subscription</td><td><code>reactivateSubscription</code></td><td>Reactivate a canceled subscription. This will bring the subscription back to an active, renewing state on the customer's original billing cycle. Expired or failed subscri</td></tr><tr><td>Reactivate Unique Coupon Code</td><td><code>reactivateUniqueCouponCode</code></td><td>Restore a unique coupon code.</td></tr><tr><td>Record External Transaction</td><td><code>recordExternalTransaction</code></td><td>Record an external payment for a manual invoices. It will throw an error</td></tr><tr><td>Redact Account</td><td><code>redactAccount</code></td><td>Permanently and irreversibly remove all personally identifiable information from an account, to fulfil a data subject's right to erasure. The account must already be deactivated.</td></tr><tr><td>Redeem Gift Card</td><td><code>redeemGiftCard</code></td><td>Redeem gift card.</td></tr><tr><td>Refund Invoice</td><td><code>refundInvoice</code></td><td>Refund an invoice. There are two ways to do a refund: Apply a specific dollar/cent amount or percentage amount to an entire invoice, which will refund the resulting amou</td></tr><tr><td>Remove a Billing Info</td><td><code>removeABillingInfo</code></td><td>Remove a single billing information record from an account's wallet by its ID.</td></tr><tr><td>Remove Account Acquisition</td><td><code>removeAccountAcquisition</code></td><td>Remove an account's acquisition data.</td></tr><tr><td>Remove Account Note</td><td><code>removeAccountNote</code></td><td>Delete an account note.</td></tr><tr><td>Remove Billing Info</td><td><code>removeBillingInfo</code></td><td>Remove an account's primary billing information. If the account has a subscription, the renewal will go into dunning unless billing information is updated before the renewal.</td></tr><tr><td>Remove Coupon Redemption</td><td><code>removeCouponRedemption</code></td><td>Delete the active coupon redemption from an account.</td></tr><tr><td>Remove Coupon Redemption by ID</td><td><code>removeCouponRedemptionById</code></td><td>Delete the coupon redemption. Deactivate the coupon redemption on an account.</td></tr><tr><td>Remove Line Item</td><td><code>removeLineItem</code></td><td>Delete an uninvoiced line item.</td></tr><tr><td>Remove Measured Unit</td><td><code>removeMeasuredUnit</code></td><td>Remove a measured unit. A mesured unit cannot be deleted if it is used by an active plan.</td></tr><tr><td>Remove Plan</td><td><code>removePlan</code></td><td>Remove a plan.</td></tr><tr><td>Remove Plan Add on</td><td><code>removePlanAddOn</code></td><td>Remove an add-on.</td></tr><tr><td>Remove Shipping Address</td><td><code>removeShippingAddress</code></td><td>Remove an account's shipping address.</td></tr><tr><td>Remove Subscription Change</td><td><code>removeSubscriptionChange</code></td><td>Delete the pending subscription change. Deleting the pending subscription change will cause the current subscription settings to be used on the next renewal.</td></tr><tr><td>Remove Subscription Coupon Redemption</td><td><code>removeSubscriptionCouponRedemption</code></td><td>Delete the coupon redemption from a subscription. Deactivate the coupon redemption on a subscription.</td></tr><tr><td>Remove Usage</td><td><code>removeUsage</code></td><td>Delete a usage record.</td></tr><tr><td>Reopen Invoice</td><td><code>reopenInvoice</code></td><td>Reopen a closed, manual invoice.</td></tr><tr><td>Restore Coupon</td><td><code>restoreCoupon</code></td><td>Restore an inactive coupon. Make an expired coupon redeemable again. You can change editable fields in this call.</td></tr><tr><td>Resume Subscription</td><td><code>resumeSubscription</code></td><td>Resume subscription. This will immediately resume a paused subscription and move it into the active state. The subscription must be in the paused state. Active, expired</td></tr><tr><td>Show External Invoice</td><td><code>showExternalInvoice</code></td><td>Fetch an external invoice.</td></tr><tr><td>Terminate Subscription</td><td><code>terminateSubscription</code></td><td>Terminate a subscription. Immediately expires the subscription. If the subscription has a paid invoice you may choose to refund all, part or none of last invoice's amount</td></tr><tr><td>Update a Billing Info</td><td><code>updateABillingInfo</code></td><td>Update a single billing information record in an account's wallet by its ID.</td></tr><tr><td>Update Account</td><td><code>updateAccount</code></td><td>Update an existing account's details, including its address, billing information, and custom fields. Only the fields supplied are changed.</td></tr><tr><td>Update Account Acquisition</td><td><code>updateAccountAcquisition</code></td><td>Create or update an account's acquisition data, recording how and at what cost the customer was acquired.</td></tr><tr><td>Update Account External Account</td><td><code>updateAccountExternalAccount</code></td><td>Update an external account.</td></tr><tr><td>Update Billing Info</td><td><code>updateBillingInfo</code></td><td>Create or update an account's primary billing information with a new payment method, such as a card, token, or bank account.</td></tr><tr><td>Update Coupon</td><td><code>updateCoupon</code></td><td>Update an active coupon.</td></tr><tr><td>Update External Product</td><td><code>updateExternalProduct</code></td><td>Update an external product.</td></tr><tr><td>Update General Ledger Account</td><td><code>updateGeneralLedgerAccount</code></td><td>Update a general ledger account.</td></tr><tr><td>Update Invoice</td><td><code>updateInvoice</code></td><td>Update an invoice.</td></tr><tr><td>Update Item</td><td><code>updateItem</code></td><td>Update an active item.</td></tr><tr><td>Update Measured Unit</td><td><code>updateMeasuredUnit</code></td><td>Update a measured unit.</td></tr><tr><td>Update Plan</td><td><code>updatePlan</code></td><td>Update a plan.</td></tr><tr><td>Update Plan Add on</td><td><code>updatePlanAddOn</code></td><td>Update an add-on.</td></tr><tr><td>Update Shipping Address</td><td><code>updateShippingAddress</code></td><td>Update an account's shipping address.</td></tr><tr><td>Update Shipping Method</td><td><code>updateShippingMethod</code></td><td>Update an active Shipping Method.</td></tr><tr><td>Update Subscription</td><td><code>updateSubscription</code></td><td>Update a subscription. This only lets you change the subscription settings that have no impact on the billed amount. Use the Create Subscription Change endpoint to make t</td></tr><tr><td>Update Usage</td><td><code>updateUsage</code></td><td>Update a usage record.</td></tr><tr><td>Verify a Billing Info</td><td><code>verifyBillingInfos</code></td><td>Verify the credit card of a single billing information record in an account's wallet.</td></tr><tr><td>Verify a Billing Info CVV</td><td><code>verifyBillingInfosCvv</code></td><td>Verify the CVV of a single billing information record in an account's wallet.</td></tr><tr><td>Verify Billing Info</td><td><code>verifyBillingInfo</code></td><td>Verify an account's stored credit card by running a verification transaction through the payment gateway.</td></tr><tr><td>Verify Billing Info CVV</td><td><code>verifyBillingInfoCvv</code></td><td>Verify the CVV of an account's stored credit card.</td></tr><tr><td>Void Invoice</td><td><code>voidInvoice</code></td><td>Void a credit invoice. Invoice must be a credit invoice (type=credit) and cannot be closed (state=closed), processing (state=processing), or already voided.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/finance-payments/recurly.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
