Ccbill API

Ccbill API as documented publicly: 8 operations. Contract generated from the documentation by API Evangelist (2026-11-16); not the provider's own document.

GitHub OpenAPI

Operations 8

GET /api/auth-token GET /api/auth-token #
POST /api/purchase POST /api/purchase #
POST /api/purchase-3ds POST /api/purchase-3ds #
GET /ccbill-auth/oauth/token GET /ccbill-auth/oauth/token #
POST /ccbill-auth/oauth/token POST /ccbill-auth/oauth/token #
POST /transactions/payment-tokens/[payment_token_id] POST /transactions/payment-tokens/[payment_token_id] #
POST /transactions/payment-tokens/threeds/[payment_token_id] POST /transactions/payment-tokens/threeds/[payment_token_id] #
POST /webhooks.php POST /webhooks.php #

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/ccbill:ccbill-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

ccbill-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Ccbill API
  version: '2026-11-16'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-16: 8 operation(s) read from 7 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Ccbill has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 8
    documentation: 0
    pages-with-code: 6
    pages-read: 7
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-16'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://ccbill.com/doc/ccbill-restful-transaction-api
  - https://ccbill.com/doc/webhooks-overview
  - https://ccbill.com/doc/webhooks-user-guide
  - https://ccbill.com/doc/create-payment-token-non-3ds
  - https://ccbill.com/doc/create-payment-token-3ds
  - https://ccbill.com/doc/create-payment-token-for-deferred-charges
  - https://ccbill.com/doc/authenticate-customer-and-create-token-in-one-step
servers:
- url: https://api.ccbill.com
paths:
  /api/auth-token:
    get:
      operationId: get_api_auth_token
      tags:
      - Api
      summary: GET /api/auth-token
      x-source: https://ccbill.com/doc/create-payment-token-non-3ds
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: fetch('https://your-website.com/api/auth-token')
  /api/purchase:
    post:
      operationId: post_api_purchase
      tags:
      - Api
      summary: POST /api/purchase
      x-source: https://ccbill.com/doc/create-payment-token-non-3ds
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: "fetch('https://your-website.com/api/purchase', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json'\n },\n\
          \ body: JSON.stringify({\n paymentToken,\n amount: 9.99,\n currency: 840\n })"
  /api/purchase-3ds:
    post:
      operationId: post_api_purchase_3ds
      tags:
      - Api
      summary: POST /api/purchase-3ds
      x-source: https://ccbill.com/doc/create-payment-token-3ds
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: "fetch('https://your-website.com/api/purchase-3ds', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json'\n },\n\
          \ body: JSON.stringify({\n paymentToken,\n threedsInformation,\n amount: 9.99,\n currency: 840\n })"
  /ccbill-auth/oauth/token:
    get:
      operationId: get_ccbill_auth_oauth_token
      tags:
      - Ccbill Auth
      summary: GET /ccbill-auth/oauth/token
      x-source: https://ccbill.com/doc/ccbill-restful-transaction-api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl - POST ''https://api.ccbill.com/ccbill-auth/oauth/token''  --header ''Content-Type: application/x-www-form-urlencoded''  --header
          ''Authorization: Basic Merchant_ApplicationID:Secret_Key ''  --data-urlencode ''grant_type=client_credentials'' curl - POST '' https://api.ccbill.com/ccbill-auth/oauth/token
          ''  --header '' Content-Type: application/x-www-form-urlencoded ''  --header '' Authorization: Basic Mer'
    post:
      operationId: post_ccbill_auth_oauth_token
      tags:
      - Ccbill Auth
      summary: POST /ccbill-auth/oauth/token
      x-source: https://ccbill.com/doc/create-payment-token-non-3ds
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST ''https://api.ccbill.com/ccbill-auth/oauth/token''  -u ''[Frontend_Merchant_Application_ID]:[Frontend_Secret_Key]''  -H
          ''Content-Type: application/x-www-form-urlencoded''  -d ''grant_type=client_credentials'' curl -X POST '' https://api.ccbill.com/ccbill-auth/oauth/token
          ''  -u '' [Frontend_Merchant_Application_ID]:[Frontend_Secret_Key] ''  -H '' Content-Type: application/x-www-form-urlencoded '' '
  /transactions/payment-tokens/[payment_token_id]:
    post:
      operationId: post_transactions_payment_tokens_payment_token_id
      tags:
      - Transactions
      summary: POST /transactions/payment-tokens/[payment_token_id]
      x-source: https://ccbill.com/doc/create-payment-token-non-3ds
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST 'https://api.ccbill.com/transactions/payment-tokens/[payment_token_id]'  -H 'Accept: application/vnd.mcn.transaction-service.api.v.2+json'\
          \  -H 'Authorization: Bearer [Backend_Access_Token]'  -H 'Cache-Control: no-cache'  -H 'Content-Type: application/json'  -d '{\n \"\
          clientAccnum\": [Your_Client_Account_Number],\n \"clientSubacc\": [Your_Client_Subaccount_Number],\n \"initialPrice\": 9.99,\n \"i"
  /transactions/payment-tokens/threeds/[payment_token_id]:
    post:
      operationId: post_transactions_payment_tokens_threeds_payment_token_id
      tags:
      - Transactions
      summary: POST /transactions/payment-tokens/threeds/[payment_token_id]
      x-source: https://ccbill.com/doc/create-payment-token-3ds
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST 'https://api.ccbill.com/transactions/payment-tokens/threeds/[payment_token_id]'  -H 'Accept: application/vnd.mcn.transaction-service.api.v.2+json'\
          \  -H 'Authorization: Bearer [Backend_Access_Token]'  -H 'Cache-Control: no-cache'  -H 'Content-Type: application/json'  -d '{\n \"\
          clientAccnum\": [Your_Client_Account_Number],\n \"clientSubacc\": [Your_Client_Subaccount_Number],\n \"initialPrice\": 9"
  /webhooks.php:
    post:
      operationId: post_webhooks_php
      tags:
      - Webhooks
      summary: POST /webhooks.php
      x-source: https://ccbill.com/doc/webhooks-overview
      parameters:
      - name: clientAccnum
        in: query
        required: false
        schema:
          type: string
      - name: clientSubacc
        in: query
        required: false
        schema:
          type: string
      - name: eventGroupType
        in: query
        required: false
        schema:
          type: string
      - name: eventType
        in: query
        required: false
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: http
        snippet: ' POST /webhooks.php?clientAccnum=999999&clientSubacc=9999&eventType=Expiration&eventGroupType=Subscription HTTP/1.1

          X-Allowed-Satellites: PHX,ASH,AMS

          Content-Type: application/x-www-form-urlencoded

          Content-Length: 102

          Host: merchanturl.com

          User-Agent: Java/1.6.0_03

          Via: 1.1 wmq1.ccbill.com:3129 (squid/2.7.STABLE5), 1.0 internal

          Cache-Control: max-age=0

          Connection: keep-alive

          clientAccnum=999999&cl'
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Ccbill Auth
- name: Transactions
- name: Webhooks