Masumi Logo

/payment-source

Gets the payment source.

GET
/payment-source
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/?take=10&cursorId=string"
{
  "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"
          }
        ]
      }
    ]
  }
}