Recurly External Payment Phase API

Details of payments in the lifecycle of a subscription from an external resource that is not managed by the Recurly platform, e.g. App Store or Google Play Store.

GitHub OpenAPI

Operations 1

GET /external_subscriptions/{external_subscription_id}/external_payment_phases/{external_payment_phase_id} Fetch an external payment phase #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/recurly:recurly-external-payment-phase-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

recurly-external-payment-phase-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Recurly V3 External Payment Phase API
  description: '# Getting Started


    ## Versioning

    The V3 API is versioned to allow stability for integrators and

    flexibility for Recurly to continue making improvements. The versions follow a format that incorporates the approximate date the

    changes were released in a YYYY-MM-DD format, e.g. `v2021-02-25`. > *WARNING*: Specifying a version is required to get a successful response. Each request should specify a version using the `Accept` header:

    * `Accept: application/vnd.recurly.v2021-02-25`

    * `Accept: application/vnd.recurly.v2021-02-25+json`


    All responses will include a `Recurly-Version` header with the API version

    used to process the request:

    ```

    Recurly-Version: recurly.v2021-02-25

    ```


    Recurly''s client libraries correspond with API versions as listed below. API Version

    Client Library Version


    v2021-02-25

    4.x


    v2019-10-10

    3.x


    Client library releases:


    * Node.js

    * Python

    * .NET

    * Ruby

    * Java

    * PHP

    * Go


    Client libraries follow semantic versioning. For example, Ruby client library

    version 3.18.1

    represents major version `3`, minor version `18` with patch `1`. We encourage you to update to the latest version of the API and corresponding client library,

    as most recent versions are more performant than their predecessors. See the

    changelog for a comprehensive list of changes

    introduced in the latest API version. ### Default Versions

    Specifying a version is required to get a successful response. If you wish to

    receive the latest version and are willing to accept the risk of breaking changes,

    you may specify a version of `latest`. The following media types will default the newest version of

    the API:


    * `application/vnd.recurly.latest`

    * `application/vnd.recurly.latest+json`


    ### Deprecation

    Responses for a deprecated version request will return two headers:

    ```

    Recurly-Deprecated: TRUE

    Recurly-Sunset-Date: 2017-06-01T00:00:00+00:00

    ```

    The sunset date is an ISO-8601 formatted date time after which the version

    will no longer be accessible. ### Unsupported Versions

    A request for an unsupported version will return a status code of 406 and

    the body will include a list of supported versions:

    ```

    {

    "error": {

    "type": "invalid_api_version",

    "message": "That accept header isn''t in the format we use to specify an API version. Try one of these instead:",

    "acceptable_accept_headers": [

    "application/vnd.recurly.v2016-03-01",

    "application/vnd.recurly.v2016-04-27",

    "application/vnd.recurly.v2016-07-27",

    "application/vnd.recurly.v2016-12-15",

    "application/vnd.recurly.v2017-01-12",

    "application/vnd.recurly.v2017-09-30",

    "application/vnd.recurly.v2018-01-24",

    "application/vnd.recurly.v2018-05-10",

    "application/vnd.recurly.v2018-06-06",

    "application/vnd.recurly.v2018-08-09",

    "application/vnd.recurly.v2019-10-10",

    "application/vnd.recurly.v2021-02-25"

    ]

    }

    }

    ```


    ## Error Messages

    Error messages sent via the Recurly API are generally directed at

    developers and those who are familiar with API technology. When using the

    API and passing error messages to target systems, be mindful that

    these messages may not make sense in the context of the target system. Please consider changing these messages in the target system to be better

    suited to the audience of the system. Please see transaction error codes for more details. ## Pagination

    ### Response Schema

    Every GET listing endpoint returns a response with the same schema:


    ```

    {

    "object": "list", // Always "list"

    "has_more": true, // false if this is the last page of data

    "next": "https://...", // A URL pointing to the next page of data

    "data": [] // The data for this page as an array

    }

    ```


    To page through every record, your code should continually call the URL

    at `next` until `has_more` is `false`. ### Query Parameters

    Most GET listing endpoints take query parameters that allow filtering

    and sorting the results. Some endpoints have additional parameters, which are

    documented on the respective endpoints, but most support the

    following parameters:


    * `ids`: A comma separated list of ids to match.'
  version: v2021-02-25
servers:
- url: https://v3.recurly.com
- url: https://v3.eu.recurly.com
security:
- api_key: []
tags:
- name: External Payment Phase
  description: Details of payments in the lifecycle of a subscription from an external resource that is not managed by the Recurly platform, e.g. App Store or Google Play Store.
paths:
  /external_subscriptions/{external_subscription_id}/external_payment_phases/{external_payment_phase_id}:
    parameters:
    - $ref: '#/components/parameters/external_subscription_id'
    - $ref: '#/components/parameters/external_payment_phase_id'
    get:
      tags:
      - External Payment Phase
      operationId: get_external_subscription_external_payment_phase
      summary: Fetch an external payment phase
      parameters:
      - $ref: '#/components/parameters/accept_header'
      responses:
        '200':
          description: Details for an external payment phase.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalPaymentPhase'
        '404':
          description: Incorrect site or external subscription ID.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        default:
          description: Unexpected error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-code-samples: []
components:
  parameters:
    external_payment_phase_id:
      name: external_payment_phase_id
      in: path
      description: External payment phase ID, e.g. `a34ypb2ef9w1`.
      required: true
      schema:
        type: string
    external_subscription_id:
      name: external_subscription_id
      in: path
      description: External subscription id
      required: true
      schema:
        type: string
    accept_header:
      name: Accept
      in: header
      description: The API version to use for this request, e.g. `application/vnd.recurly.v2021-02-25`. Requests without a versioned `Accept` header return a 406 response.
      required: true
      schema:
        default: application/vnd.recurly.v2021-02-25
        $ref: '#/components/schemas/AcceptHeaderEnum'
  schemas:
    ErrorTypeEnum:
      type: string
      enum:
      - bad_request
      - immutable_subscription
      - internal_server_error
      - invalid_api_key
      - invalid_api_version
      - invalid_content_type
      - invalid_permissions
      - invalid_token
      - missing_feature
      - not_found
      - rate_limited
      - service_not_available
      - simultaneous_request
      - tax_service_error
      - transaction
      - unauthorized
      - unavailable_in_api_version
      - unknown_api_version
      - validation
    Error:
      type: object
      properties:
        type:
          title: Type
          $ref: '#/components/schemas/ErrorTypeEnum'
        message:
          type: string
          title: Message
        params:
          type: array
          title: Parameter specific errors
          items:
            type: object
            properties:
              param:
                type: string
    ExternalPaymentPhase:
      type: object
      description: Details of payments in the lifecycle of a subscription from an external resource that is not managed by the Recurly platform, e.g. App Store or Google Play Store.
      properties:
        id:
          type: string
          title: External payment phase ID
          description: System-generated unique identifier for an external payment phase ID, e.g. `e28zov4fw0v2`.
        object:
          type: string
          title: Object type
        started_at:
          type: string
          format: date-time
          title: Started At
        ends_at:
          type: string
          format: date-time
          title: Ends At
        starting_billing_period_index:
          type: integer
          title: Starting Billing Period Index
        ending_billing_period_index:
          type: integer
          title: Ending Billing Period Index
        offer_type:
          type: string
          title: Offer Type
          description: Type of discount offer given, e.g. "FREE_TRIAL"
        offer_name:
          type: string
          title: Offer Name
          description: Name of the discount offer given, e.g. "introductory"
        period_count:
          type: integer
          title: Period Count
          description: Number of billing periods
        period_length:
          type: string
          title: Period Length
          description: Billing cycle length
        amount:
          type: string
          format: decimal
          title: Amount
          minimum: 0
          description: Allows up to 9 decimal places
        currency:
          type: string
          title: Currency
          description: 3-letter ISO 4217 currency code.
          maxLength: 3
        created_at:
          type: string
          format: date-time
          title: Created at
          description: When the external subscription was created in Recurly.
        updated_at:
          type: string
          format: date-time
          title: Updated at
          description: When the external subscription was updated in Recurly.
    AcceptHeaderEnum:
      type: string
      enum:
      - application/vnd.recurly.v2021-02-25
      - application/vnd.recurly.v2021-02-25+json
  securitySchemes:
    api_key:
      type: http
      description: Enter the API key as the username and set the password to an empty string. You can locate and manage your API keys from the [API Credentials](https://app.recurly.com/go/developer/api_keys) page.
      scheme: basic
x-tagGroups:
- name: Customers
  tags:
  - Account
  - Account Note
  - Account Acquisition Info
  - Billing Info
  - Billing Infos
  - Coupon Redemption
  - Subscription
  - Subscription Change
  - Usage
  - Shipping Address
- name: Invoices and Payments
  tags:
  - Purchase
  - Invoice
  - Line Item
  - Credit Payment
  - Transaction
  - Revenue Recovery
  - Gift Cards
- name: Products and Promotions
  tags:
  - Item
  - Plan
  - Add-on
  - Measured Unit
  - Coupon
  - Unique Coupon Code
  - Price Segment
- name: Configuration
  tags:
  - Site
  - Custom Field Definition
  - Shipping Method
  - Dunning Campaigns
  - Business Entities
  - Automated Exports
  - General Ledger Account
  - Performance Obligations
  - Invoice Templates
- name: App Management
  tags:
  - External Subscription
  - External Invoice
  - External Product
  - External Account
  - External Product Reference
  - External Payment Phase
x-provenance:
  method: harvested
  publisher: Recurly
  source: https://raw.githubusercontent.com/recurly/recurly-client-ruby/master/openapi/api.yaml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)