Masumi Logo

/payment-source-extended

Gets the payment contracts including the status.

GET
/payment-source-extended
token<token>

API key authentication via header (token)

In: header

Query Parameters

take?number

The number of payment sources to return

Default10
Range1 <= value <= 100
cursorId?string

Used to paginate through the payment sources

Lengthlength <= 250

Response Body

curl -X GET "https://loading/./../api/v1/payment-source-extended/?take=10&cursorId=string"
{
  "status": "success",
  "data": {
    "ExtendedPaymentSources": [
      {
        "id": "cuid_v2_auto_generated",
        "createdAt": "1970-01-20T20:00:36.260Z",
        "updatedAt": "1970-01-20T20:00:36.260Z",
        "network": "Mainnet",
        "paymentType": "Web3CardanoV1",
        "feeRatePermille": 50,
        "syncInProgress": true,
        "policyId": "policy_id",
        "smartContractAddress": "address_of_the_smart_contract",
        "AdminWallets": [
          {
            "walletAddress": "wallet_address",
            "order": 0
          },
          {
            "walletAddress": "wallet_address",
            "order": 1
          },
          {
            "walletAddress": "wallet_address",
            "order": 2
          }
        ],
        "FeeReceiverNetworkWallet": {
          "walletAddress": "wallet_address"
        },
        "lastCheckedAt": "1970-01-20T20:00:36.260Z",
        "lastIdentifierChecked": "identifier",
        "PaymentSourceConfig": {
          "rpcProviderApiKey": "rpc_provider_api_key_blockfrost",
          "rpcProvider": "Blockfrost"
        },
        "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"
          }
        ]
      }
    ]
  }
}