getCustodianDetails

The getCustodianDetails query allows you to fetch the public wallet addresses (BEP20, Solana, TON, USDT-TON) linked to your API key. This helps you confirm that your custodian wallets are correctly registered.


πŸ”— Endpoint

URL: https://argonpay.onrender.com/graphql Method: POST Content-Type: application/json


πŸ” Query Structure

query GetCustodianDetails($apiKey: String!) {
  getCustodianDetails(apiKey: $apiKey) {
    code
    message
    custodian {
      apiKey
      bep20
      solana
      ton
      usdtTon
    }
  }
}

πŸ“₯ Parameters

Name
Type
Required
Description

apiKey

String

βœ…

Your issued API key


βœ… Successful Response


🚫 Error Codes

Code
Description

200

Success

401

Invalid or expired API key

404

No custodian details found for the API key

500

Internal server error


πŸ§ͺ Code Examples

Python Example


JavaScript Example

Last updated