Payment Source

/payment-contract

/payment-source

List payment sources with their public details. (READ access required)

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",
        "policyId": "policy_id",
        "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"
          }
        ]
      }
    ]
  }
}

Last updated

Was this helpful?