Shuffle L402 API

The L402 API from Shuffle — 3 operation(s) for l402.

Operations 3

GET /api/l402/offers List available L402 credit offers #
POST /api/l402/payment-request Create an L402 payment request #
GET /api/l402/payment-status/{id} Check L402 payment status #

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/addshuffle-com:addshuffle-com-l402-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

addshuffle-com-l402-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FarCash Longform Video L402 API
  version: 1.0.0
  description: API for AI-powered long-form video generation. Supports automated and manual clip-by-clip workflows, credit management, and L402 payments.
servers:
- url: https://www.textshuffle.com
  description: Current environment
security:
- BearerAuth: []
tags:
- name: L402
paths:
  /api/l402/offers:
    get:
      tags:
      - L402
      operationId: listL402Offers
      summary: List available L402 credit offers
      description: Returns all available credit packs with supported payment methods for L402 flow.
      responses:
        '200':
          description: List of offers
          content:
            application/json:
              schema:
                type: object
                properties:
                  offers:
                    type: array
                    items:
                      $ref: '#/components/schemas/L402Offer'
  /api/l402/payment-request:
    post:
      tags:
      - L402
      operationId: createL402PaymentRequest
      summary: Create an L402 payment request
      description: Creates a payment request for a specific offer and payment method.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - offer_id
              - payment_method
              properties:
                offer_id:
                  type: string
                  description: Offer ID from /api/l402/offers
                payment_method:
                  type: string
                  enum:
                  - credit_card
                  - lightning
                  - onchain
      responses:
        '200':
          description: Payment request created
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                  expires_at:
                    type: string
                    format: date-time
  /api/l402/payment-status/{id}:
    get:
      tags:
      - L402
      operationId: getL402PaymentStatus
      summary: Check L402 payment status
      description: Returns the current status of an L402 payment request.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Payment status
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                    enum:
                    - PENDING
                    - COMPLETED
                    - EXPIRED
                    - FAILED
                  offer_id:
                    type: string
                  payment_method:
                    type: string
                  amount:
                    type: integer
                  credits:
                    type: integer
        '404':
          description: Payment request not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
      required:
      - error
    L402Offer:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        description:
          type: string
        amount:
          type: integer
          description: Price in cents (USD)
        currency:
          type: string
        type:
          type: string
          enum:
          - top-up
        balance:
          type: integer
          description: Credits awarded on purchase
        payment_methods:
          type: array
          items:
            type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Use either a Privy ID token or an API key (format: fv_<32 hex chars>)'