LaserData Payments API

Payment methods (Stripe)

Operations 3

POST /tenants/{tenant_id}/billing/payments/intents Create Stripe setup intent #
GET /tenants/{tenant_id}/billing/payments/method Get payment method #
DELETE /tenants/{tenant_id}/billing/payments/method Remove payment method #

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/laserdata-payments-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

laserdata-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LaserData Cloud Core Payments API
  description: 'Control plane: tenants, divisions, environments, deployments, billing, members.'
  termsOfService: https://laserdata.com/terms
  contact:
    name: LaserData Support
    url: https://docs.laserdata.com
    email: support@laserdata.com
  license:
    name: Proprietary
  version: 0.0.66
  x-logo:
    url: https://assets.laserdata.com/laserdata_dark.png
    altText: LaserData
    href: https://laserdata.com
servers:
- url: https://api.laserdata.cloud
  description: Production
security:
- ld_api_key: []
- session_cookie: []
tags:
- name: Payments
  description: Payment methods (Stripe)
paths:
  /tenants/{tenant_id}/billing/payments/intents:
    post:
      tags:
      - Payments
      summary: Create Stripe setup intent
      description: Creates a Stripe setup intent so the client can collect and attach a payment method for the tenant.
      operationId: create_setup_intent
      parameters:
      - name: tenant_id
        in: path
        description: Tenant identifier
        required: true
        schema:
          $ref: '#/components/schemas/TenantId'
      responses:
        '200':
          description: Stripe setup intent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetupIntentResponse'
        '403':
          description: Insufficient permissions
  /tenants/{tenant_id}/billing/payments/method:
    get:
      tags:
      - Payments
      summary: Get payment method
      description: Returns the tenant's current payment provider and stored payment method metadata.
      operationId: get_payment_info
      parameters:
      - name: tenant_id
        in: path
        description: Tenant identifier
        required: true
        schema:
          $ref: '#/components/schemas/TenantId'
      responses:
        '200':
          description: Payment method info
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInfo'
        '403':
          description: Insufficient permissions
    delete:
      tags:
      - Payments
      summary: Remove payment method
      description: Detaches the current payment method for the tenant.
      operationId: remove_payment_method
      parameters:
      - name: tenant_id
        in: path
        description: Tenant identifier
        required: true
        schema:
          $ref: '#/components/schemas/TenantId'
      responses:
        '204':
          description: Payment method removed
components:
  schemas:
    TenantId:
      type: integer
      format: int64
      example: 7261845022003200001
      minimum: 0
    PaymentProvider:
      type: string
      enum:
      - manual
      - stripe
      - pay_pal
      - bank_transfer
      - aws_marketplace
    SetupIntentResponse:
      type: object
      required:
      - client_secret
      properties:
        client_secret:
          type: string
    PaymentInfo:
      type: object
      required:
      - provider
      - auto_charge
      properties:
        auto_charge:
          type: boolean
        card_brand:
          type:
          - string
          - 'null'
        card_exp_month:
          type:
          - integer
          - 'null'
          format: int32
          minimum: 0
        card_exp_year:
          type:
          - integer
          - 'null'
          format: int32
          minimum: 0
        card_last4:
          type:
          - string
          - 'null'
        coupon_id:
          type:
          - string
          - 'null'
        currency:
          type:
          - string
          - 'null'
        customer_id:
          type:
          - string
          - 'null'
        discount_percent:
          type:
          - string
          - 'null'
        invoice_prefix:
          type:
          - string
          - 'null'
        metadata:
          type:
          - string
          - 'null'
        payment_method_id:
          type:
          - string
          - 'null'
        payment_terms_days:
          type:
          - integer
          - 'null'
          format: int32
          minimum: 0
        provider:
          $ref: '#/components/schemas/PaymentProvider'
        subscription_id:
          type:
          - string
          - 'null'
        tax_exempt:
          type:
          - string
          - 'null'
  securitySchemes:
    ld_api_key:
      type: apiKey
      in: header
      name: ld-api-key
      description: Tenant API key issued via POST /tenants/{tenant_id}/api_keys. Sent in the ld-api-key request header. Scoped to tenant-level operations only. Cannot be used on user-scope endpoints (`/account/*`) or for tenant creation.
    session_cookie:
      type: apiKey
      in: cookie
      name: session
      description: Browser session cookie issued by POST /account/sign_in. Required for user-scope endpoints and tenant creation. Mutating endpoints additionally require the X-CSRF-Token header echoed from the sign-in response.
externalDocs:
  url: https://docs.laserdata.com
  description: LaserData Cloud documentation