Coal API

Coal API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-27); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 24

POST /api/checkouts POST /api/checkouts #
GET /api/console/checkouts Returns all checkout sessions for the authenticated merchant, newest first. #
POST /api/console/checkouts/{id}/capture Capture a Payment (Console only). #
POST /api/console/checkouts/{id}/void Void an Authorization (Console only). #
GET /api/console/paywalls GET /api/console/paywalls #
POST /api/console/paywalls POST /api/console/paywalls #
DELETE /api/console/paywalls/{id} Soft-deletes a paywall by marking it inactive. Existing valid access grants are not revoked. #
PUT /api/console/paywalls/{id} Updates an existing paywall. Only the fields you provide are changed. #
GET /api/console/products List Products #
POST /api/console/products POST /api/console/products #
DELETE /api/console/products/{id} Delete a Product #
PUT /api/console/products/{id} Update a Product #
GET /api/console/splits GET /api/console/splits #
POST /api/console/splits POST /api/console/splits #
DELETE /api/console/splits/{id} Permanently deletes a split. #
PUT /api/console/splits/{id} Updates an existing split. #
GET /api/console/webhooks List Webhooks #
POST /api/console/webhooks POST /api/console/webhooks #
DELETE /api/console/webhooks/{id} Delete a Webhook #
PUT /api/console/webhooks/{id} Update a Webhook #
POST /api/pay/confirm Called by the checkout widget after the customer's wallet submits the transaction. #
GET /api/pay/status/{sessionid} Poll this endpoint or use it in your redirect handler to check whether a payment has been confirmed. #
POST /api/paywalls/{id}/pay Submits a transaction hash to prove payment and create an access grant for the wallet address. #
GET /api/paywalls/{id}/verify Checks whether a given wallet address has a valid (unexpired) access grant for this paywall. #

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/usecoal-xyz:usecoal-xyz-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

usecoal-xyz-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Coal API
  version: '2026-11-27'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-27: 24 operation(s) read from 5 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Coal has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 13
    documentation: 11
    pages-with-code: 5
    pages-read: 5
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-27'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://www.usecoal.xyz/docs/api/splits
  - https://www.usecoal.xyz/docs/api/paywalls
  - https://www.usecoal.xyz/docs/api/products
  - https://www.usecoal.xyz/docs/api/webhooks
  - https://www.usecoal.xyz/docs/api/checkouts
servers:
- url: https://api.usecoal.xyz
paths:
  /api/checkouts:
    post:
      operationId: post_api_checkouts
      tags:
      - Api
      summary: POST /api/checkouts
      x-source: https://www.usecoal.xyz/docs/api/checkouts
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://api.usecoal.xyz/api/checkouts \\ 2 -H \"x-api-key: coal_live_your_key_here\" \\ 3 -H \"Content-Type: application/json\"\
          \ \\ 4 -d '{ 5 \"amount\": 49.99, 6 \"productName\": \"Pro Plan\", 7 \"redirectUrl\": \"https://yoursite.com/success\", 8 \"payerInfo\"\
          : { 9 \"required\": true, 10 \"fields\": [\"fullName\", \"email\"] 11 } 12 }' \n json Copy 1 { 2 \"data\" : { 3 \"id\" : \"clxxx789\"\
          \ , 4 \"url\" : \"https://useco"
  /api/console/checkouts:
    get:
      operationId: get_api_console_checkouts
      tags:
      - Api
      summary: Returns all checkout sessions for the authenticated merchant, newest first.
      description: 'Authentication: Authorization: Bearer <Privy JWT>'
      x-source: https://www.usecoal.xyz/docs/api/checkouts
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
        description: 'Filter by status: pending, confirmed, failed, expired'
      - name: limit
        in: query
        required: false
        schema:
          type: number
        description: 'Max results per page (default: 50, max: 100)'
      - name: cursor
        in: query
        required: false
        schema:
          type: string
        description: Cursor for pagination (from previous response)
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiConsoleCheckoutsResponse'
      x-evidence:
        kind: documentation
  /api/console/checkouts/{id}/capture:
    post:
      operationId: post_api_console_checkouts_id_capture
      tags:
      - Api
      summary: Capture a Payment (Console only).
      description: 'Authentication: Authorization: Bearer <Privy JWT>'
      x-source: https://www.usecoal.xyz/docs/api/checkouts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiConsoleCheckoutsIdCaptureRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiConsoleCheckoutsIdCaptureResponse'
      x-evidence:
        kind: documentation
  /api/console/checkouts/{id}/void:
    post:
      operationId: post_api_console_checkouts_id_void
      tags:
      - Api
      summary: Void an Authorization (Console only).
      description: 'Authentication: Authorization: Bearer <Privy JWT>'
      x-source: https://www.usecoal.xyz/docs/api/checkouts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiConsoleCheckoutsIdVoidResponse'
      x-evidence:
        kind: documentation
  /api/console/paywalls:
    get:
      operationId: get_api_console_paywalls
      tags:
      - Api
      summary: GET /api/console/paywalls
      x-source: https://www.usecoal.xyz/docs/api/paywalls
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl Example \n bash Copy 1 curl https://api.usecoal.xyz/api/console/paywalls \\ 2 -H \"Authorization: Bearer <privy_access_token>\"\
          \ \n Response Example \n json Copy 1 { 2 \"paywalls\" : [ 3 { 4 \"id\" : \"pw_cm9x4k2j00003lb08n5qz7v1r\" , 5 \"name\" : \"Research\
          \ Report — Q1 2026\" , 6 \"price\" : \"5.00\" , 7 \"currency\" : \"USDC\" , 8 \"contentType\" : \"download\" , 9 \"pricingModel\" :\
          \ \"one_time\" , 10 \"active\" : true , 11 "
    post:
      operationId: post_api_console_paywalls
      tags:
      - Api
      summary: POST /api/console/paywalls
      x-source: https://www.usecoal.xyz/docs/api/paywalls
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl Example \n bash Copy 1 curl -X POST https://api.usecoal.xyz/api/console/paywalls \\ 2 -H \"Content-Type: application/json\"\
          \ \\ 3 -H \"Authorization: Bearer <privy_access_token>\" \\ 4 -d '{ 5 \"name\": \"Research Report — Q1 2026\", 6 \"price\": 5.00, 7\
          \ \"currency\": \"USDC\", 8 \"contentType\": \"download\", 9 \"contentUrl\": \"https://yoursite.com/reports/q1-2026.pdf\", 10 \"description\"\
          : \"Pay once to download the Q1"
  /api/console/paywalls/{id}:
    delete:
      operationId: delete_api_console_paywalls_id
      tags:
      - Api
      summary: Soft-deletes a paywall by marking it inactive. Existing valid access grants are not revoked.
      x-source: https://www.usecoal.xyz/docs/api/paywalls
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer <privy_access_token> from an authenticated console session
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApiConsolePaywallsIdResponse'
      x-evidence:
        kind: documentation
    put:
      operationId: put_api_console_paywalls_id
      tags:
      - Api
      summary: Updates an existing paywall. Only the fields you provide are changed.
      x-source: https://www.usecoal.xyz/docs/api/paywalls
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer <privy_access_token> from an authenticated console session
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutApiConsolePaywallsIdRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutApiConsolePaywallsIdResponse'
      x-evidence:
        kind: documentation
  /api/console/products:
    get:
      operationId: get_api_console_products
      tags:
      - Api
      summary: List Products
      x-source: https://www.usecoal.xyz/docs/api/products
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer <Privy JWT>
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiConsoleProductsResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_console_products
      tags:
      - Api
      summary: POST /api/console/products
      x-source: https://www.usecoal.xyz/docs/api/products
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.usecoal.xyz/api/console/products \\ 2 -H \"Authorization: Bearer <Privy JWT>\" \n json Copy 1 { 2 \"data\"\
          \ : { 3 \"products\" : [ 4 { 5 \"id\" : \"clxxx123\" , 6 \"name\" : \"Pro Plan\" , 7 \"price\" : \"49.99\" , 8 \"image\" : \"https://cdn.yoursite.com/pro.png\"\
          \ , 9 \"active\" : true , 10 \"createdAt\" : \"2026-01-15T10:00:00.000Z\" 11 } 12 ] 13 } 14 } \n Create a Product \n POST /api/console/products\
          \ \n Authen"
  /api/console/products/{id}:
    delete:
      operationId: delete_api_console_products_id
      tags:
      - Api
      summary: Delete a Product
      x-source: https://www.usecoal.xyz/docs/api/products
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer <Privy JWT>
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApiConsoleProductsIdResponse'
      x-evidence:
        kind: documentation
    put:
      operationId: put_api_console_products_id
      tags:
      - Api
      summary: Update a Product
      x-source: https://www.usecoal.xyz/docs/api/products
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer <Privy JWT>
      - name: Content-Type
        in: header
        required: true
        schema:
          type: string
        description: application/json
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutApiConsoleProductsIdRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutApiConsoleProductsIdResponse'
      x-evidence:
        kind: documentation
  /api/console/splits:
    get:
      operationId: get_api_console_splits
      tags:
      - Api
      summary: GET /api/console/splits
      x-source: https://www.usecoal.xyz/docs/api/splits
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl Example \n bash Copy 1 curl https://api.usecoal.xyz/api/console/splits \\ 2 -H \"Authorization: Bearer <privy_access_token>\"\
          \ \n Response Example \n json Copy 1 { 2 \"data\" : [ 3 { 4 \"id\" : \"spl_cm9x4k2j00003lb08n5qz7v1r\" , 5 \"name\" : \"Marketplace\
          \ Fee Split\" , 6 \"recipients\" : [ 7 { \"address\" : \"0xPlatformWalletAddress000000000000000000\" , \"percent\" : 10 , \"label\"\
          \ : \"Platform Fee\" } , 8 { \"address\" "
    post:
      operationId: post_api_console_splits
      tags:
      - Api
      summary: POST /api/console/splits
      x-source: https://www.usecoal.xyz/docs/api/splits
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl Example \n bash Copy 1 curl -X POST https://api.usecoal.xyz/api/console/splits \\ 2 -H \"Content-Type: application/json\"\
          \ \\ 3 -H \"Authorization: Bearer <privy_access_token>\" \\ 4 -d '{ 5 \"name\": \"Marketplace Fee Split\", 6 \"description\": \"10%\
          \ platform fee, 90% to creator.\", 7 \"recipients\": [ 8 { 9 \"address\": \"0xPlatformWalletAddress000000000000000000\", 10 \"percent\"\
          : 10, 11 \"label\": \"Platform Fee\" 1"
  /api/console/splits/{id}:
    delete:
      operationId: delete_api_console_splits_id
      tags:
      - Api
      summary: Permanently deletes a split.
      x-source: https://www.usecoal.xyz/docs/api/splits
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer <privy_access_token> from an authenticated console session
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApiConsoleSplitsIdResponse'
      x-evidence:
        kind: documentation
    put:
      operationId: put_api_console_splits_id
      tags:
      - Api
      summary: Updates an existing split.
      x-source: https://www.usecoal.xyz/docs/api/splits
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer <privy_access_token> from an authenticated console session
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutApiConsoleSplitsIdRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutApiConsoleSplitsIdResponse'
      x-evidence:
        kind: documentation
  /api/console/webhooks:
    get:
      operationId: get_api_console_webhooks
      tags:
      - Api
      summary: List Webhooks
      description: Returns a list of registered webhooks for the merchant.
      x-source: https://www.usecoal.xyz/docs/api/webhooks
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiConsoleWebhooksResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_console_webhooks
      tags:
      - Api
      summary: POST /api/console/webhooks
      x-source: https://www.usecoal.xyz/docs/api/webhooks
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.usecoal.xyz/api/console/webhooks \\ 2 -H \"Authorization: Bearer <Privy JWT>\" \n json Copy 1 { 2 \"data\"\
          \ : { 3 \"webhooks\" : [ 4 { 5 \"id\" : \"clwh001\" , 6 \"url\" : \"https://yoursite.com/api/webhooks/coal\" , 7 \"events\" : [ \"checkout.session.completed\"\
          \ ] , 8 \"active\" : true , 9 \"createdAt\" : \"2026-01-15T10:00:00.000Z\" 10 } 11 ] 12 } 13 } \n Register a Webhook \n POST /api/console/webhooks\
          \ \n "
  /api/console/webhooks/{id}:
    delete:
      operationId: delete_api_console_webhooks_id
      tags:
      - Api
      summary: Delete a Webhook
      description: Removes the specified webhook.
      x-source: https://www.usecoal.xyz/docs/api/webhooks
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApiConsoleWebhooksIdResponse'
      x-evidence:
        kind: documentation
    put:
      operationId: put_api_console_webhooks_id
      tags:
      - Api
      summary: Update a Webhook
      description: Updates fields of an existing webhook; all fields are optional.
      x-source: https://www.usecoal.xyz/docs/api/webhooks
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutApiConsoleWebhooksIdRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/pay/confirm:
    post:
      operationId: post_api_pay_confirm
      tags:
      - Api
      summary: Called by the checkout widget after the customer's wallet submits the transaction.
      description: 'Warning: This endpoint is called by the Coal checkout widget, not by your integration.'
      x-source: https://www.usecoal.xyz/docs/api/checkouts
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/pay/status/{sessionid}:
    get:
      operationId: get_api_pay_status_sessionid
      tags:
      - Api
      summary: Poll this endpoint or use it in your redirect handler to check whether a payment has been confirmed.
      x-source: https://www.usecoal.xyz/docs/api/checkouts
      parameters:
      - name: sessionid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiPayStatusSessionidResponse'
      x-evidence:
        kind: documentation
  /api/paywalls/{id}/pay:
    post:
      operationId: post_api_paywalls_id_pay
      tags:
      - Api
      summary: Submits a transaction hash to prove payment and create an access grant for the wallet address.
      x-source: https://www.usecoal.xyz/docs/api/paywalls
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiPaywallsIdPayRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiPaywallsIdPayResponse'
      x-evidence:
        kind: documentation
  /api/paywalls/{id}/verify:
    get:
      operationId: get_api_paywalls_id_verify
      tags:
      - Api
      summary: Checks whether a given wallet address has a valid (unexpired) access grant for this paywall.
      x-source: https://www.usecoal.xyz/docs/api/paywalls
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: address
        in: query
        required: true
        schema:
          type: string
        description: The EVM wallet address to check access for.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiPaywallsIdVerifyResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiConsoleCheckoutsResponse:
      type: object
      properties:
        sessions:
          type: array
          description: List of session objects
        nextCursor:
          type: string
          description: Cursor for next page
        total:
          type: number
          description: Total number of sessions
    PostApiConsoleCheckoutsIdCaptureRequest:
      type: object
      properties:
        amount:
          type: number
          description: Amount to capture
      required:
      - amount
    PostApiConsoleCheckoutsIdCaptureResponse:
      type: object
      properties:
        id:
          type: string
          description: Session ID
        status:
          type: string
          description: New status (confirmed)
        capturedAt:
          type: string
          description: Timestamp of capture
        amount:
          type: string
          description: Captured amount
    PostApiConsoleCheckoutsIdVoidResponse:
      type: object
      properties:
        id:
          type: string
          description: Session ID
        status:
          type: string
          description: New status (voided)
        voidedAt:
          type: string
          description: Timestamp of void
    DeleteApiConsolePaywallsIdResponse:
      type: object
      properties:
        deleted:
          type: boolean
        id:
          type: string
    PutApiConsolePaywallsIdRequest:
      type: object
      properties:
        name:
          type: string
        price:
          type: number
        description:
          type: string
        contentData:
          type: object
        contentUrl:
          type: string
        active:
          type: boolean
        pricingModel:
          type: string
    PutApiConsolePaywallsIdResponse:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        price:
          type: string
        pricingModel:
          type: string
        updatedAt:
          type: string
    GetApiConsoleProductsResponse:
      type: object
      properties:
        data.products[]:
          type: array
          description: Array of product objects
        data.products[].id:
          type: string
          description: Unique product ID (CUID)
        data.products[].name:
          type: string
          description: Display name shown on checkout
        data.products[].price:
          type: string
          description: Price in the merchant's settlement currency
        data.products[].image:
          type: string
          description: URL of product image
        data.products[].active:
          type: boolean
          description: Whether the product is active
        data.products[].createdAt:
          type: string
          description: ISO 8601 creation timestamp
    DeleteApiConsoleProductsIdResponse:
      type: object
      properties:
        data.success:
          type: boolean
          description: Indicates successful deletion
    PutApiConsoleProductsIdRequest:
      type: object
      properties:
        price:
          type: number
          description: New price
        description:
          type: string
          description: New description
    PutApiConsoleProductsIdResponse:
      type: object
      properties:
        data.id:
          type: string
          description: Unique product ID (CUID)
        data.name:
          type: string
          description: Product name
        data.price:
          type: string
          description: Updated price
        data.updatedAt:
          type: string
          description: ISO 8601 last modified timestamp
    DeleteApiConsoleSplitsIdResponse:
      type: object
      properties:
        deleted:
          type: boolean
          description: Indicates successful deletion.
        id:
          type: string
    PutApiConsoleSplitsIdRequest:
      type: object
      properties:
        name:
          type: string
          description: New name for the split.
        description:
          type: string
          description: Updated description.
        recipients:
          type: array
          description: Full replacement recipient list. Percentages must still sum to 100.
    PutApiConsoleSplitsIdResponse:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        recipients:
          type: array
        updatedAt:
          type: string
          description: ISO timestamp of update.
    GetApiConsoleWebhooksResponse:
      type: object
      properties:
        data.webhooks[]:
          type: object
          description: Array of webhook objects
        data.webhooks[].id:
          type: string
          description: Unique webhook ID
        data.webhooks[].url:
          type: string
          description: HTTPS endpoint URL
        data.webhooks[].events:
          type: string
          description: Subscribed event types
        data.webhooks[].active:
          type: boolean
          description: Whether the webhook is active
        data.webhooks[].createdAt:
          type: string
          description: Creation timestamp (ISO 8601)
    DeleteApiConsoleWebhooksIdResponse:
      type: object
      properties:
        data.success:
          type: boolean
          description: Indicates successful deletion
    PutApiConsoleWebhooksIdRequest:
      type: object
      properties:
        url:
          type: string
          description: New endpoint URL
        events:
          type: string
          description: New list of event types
        active:
          type: boolean
          description: Set to false to pause the webhook
    GetApiPayStatusSessionidResponse:
      type: object
      properties:
        status:
          type: string
          description: Payment status
        txHash:
          type: string
          description: On-chain transaction hash
        redirectUrl:
          type: string
          description: Redirect URL after payment
    PostApiPaywallsIdPayRequest:
      type: object
      properties:
        txHash:
          type: string
          description: The settlement-token transfer transaction hash on Base.
        address:
          type: string
          description: The buyer's EVM wallet address.
      required:
      - txHash
      - address
    PostApiPaywallsIdPayResponse:
      type: object
      properties:
        status:
          type: string
          description: Verification status.
        paywallId:
          type: string
        address:
          type: string
        txHash:
          type: string
        message:
          type: string
    GetApiPaywallsIdVerifyResponse:
      type: object
      properties:
        hasAccess:
          type: boolean
          description: Whether access is granted.
        expiresAt:
          type: string
          description: Expiration timestamp if access granted.
        txHash:
          type: string
          description: Transaction hash of the granting payment.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api