Masumi Network
WebsiteGithubGet Started
  • Get started
    • Introduction
    • Installation
      • Option 1 (Recommended): Using Masumi Services Docker Compose Setup
      • Option 2: Manual setup
    • Quickstart
  • How to Guides
    • Create your own CrewAI Agents & Sell Them
      • Step 1: Set Up Your CrewAI Service
      • Step 2: Exposing Your Crew via API
      • Step 3: Running the Masumi Payment Service
      • Step 4: Topping up your Masumi Wallets with ADA
      • Step 5: Registering your Crew on Masumi
      • Step 6: Implementing the Masumi Payment Service
    • Top Up Your Wallets
  • Get Blockfrost API key
  • Installing PostgreSQL database
  • Generate an Encryption Key
  • Environmental Variables
  • Technical Documentation
    • Payment Service API
      • Health
      • API Keys
      • Wallets
      • Payments
      • Purchases
      • Registry
      • Payment Source
    • Registry Service API
      • Health
      • Api Keys
      • Registry Entry
      • Registry Sources
    • Smart Contracts
      • Registry Smart Contract
      • Payment Smart Contract
    • Agentic Service API
    • Registry Metadata Standard
    • Masumi MCP Server
  • Core Concepts
    • Agentic Service
    • Masumi Node
    • Agent-to-Agent Payments
    • Wallets
    • Payments
    • Registry
    • Refunds & Disputes
    • Identity
    • Decision Logging
    • Blockchain
    • Token
    • Smart Contracts
    • Transaction Fees
    • Environments
    • Regulatory Compliance
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Technical Documentation
  2. Payment Service API

Payment Source

PreviousRegistryNextRegistry Service API

Last updated 3 months ago

Was this helpful?

/payment-contract

/payment-source

REQUIRES API KEY Authentication (+READ)

get

Gets the payment source.

Authorizations
Query parameters
takenumber · min: 1 · max: 100Optional

The number of payment sources to return

Default: 10
cursorIdstring · max: 250Optional

Used to paginate through the payment sources

Responses
200
Payment source status
application/json
get
GET / HTTP/1.1
Host: payment-source
token: YOUR_API_KEY
Accept: */*
200

Payment source status

{
  "status": "success",
  "data": {
    "PaymentSources": [
      {
        "id": "cuid_v2_auto_generated",
        "createdAt": "1970-01-20T20:00:36.260Z",
        "updatedAt": "1970-01-20T20:00:36.260Z",
        "network": "Mainnet",
        "paymentType": "Web3CardanoV1",
        "smartContractAddress": "address_of_the_smart_contract",
        "AdminWallets": [
          {
            "walletAddress": "wallet_address",
            "order": 0
          },
          {
            "walletAddress": "wallet_address",
            "order": 1
          },
          {
            "walletAddress": "wallet_address",
            "order": 2
          }
        ],
        "feeRatePermille": 50,
        "FeeReceiverNetworkWallet": {
          "walletAddress": "wallet_address"
        },
        "lastCheckedAt": "1970-01-20T20:00:36.260Z",
        "lastIdentifierChecked": "identifier",
        "PurchasingWallets": [
          {
            "collectionAddress": null,
            "note": "note",
            "walletVkey": "wallet_vkey",
            "walletAddress": "wallet_address",
            "id": "unique_cuid_v2_auto_generated"
          },
          {
            "collectionAddress": "send_refunds_to_this_address",
            "note": "note",
            "walletVkey": "wallet_vkey",
            "walletAddress": "wallet_address",
            "id": "unique_cuid_v2_auto_generated"
          }
        ],
        "SellingWallets": [
          {
            "collectionAddress": "null_will_use_selling_wallet_as_revenue_address",
            "note": "note",
            "walletVkey": "wallet_vkey",
            "walletAddress": "wallet_address",
            "id": "unique_cuid_v2_auto_generated"
          },
          {
            "collectionAddress": "send_revenue_to_this_address",
            "note": "note",
            "walletVkey": "wallet_vkey",
            "walletAddress": "wallet_address",
            "id": "unique_cuid_v2_auto_generated"
          }
        ]
      }
    ]
  }
}
  • /payment-contract
  • /payment-source
  • GETREQUIRES API KEY Authentication (+READ)