Sandbox on Solana devnet. No real funds move here. Use sk_test_ keys and a wallet set to devnet. Get devnet SOL from the Solana faucet and devnet USDC from the Circle faucet.

From intent to callback

Your backend creates the intent after collecting the customer's Telegram chat id. The customer pays with a Solana wallet. Gateway verifies the payment before sending a signed callback to your system and a bot notification to the customer.

Create intent
POST /api/payments
x-gateway-key: sk_live_...

  {
    "checkoutReference": "order-1001",
    "customerTelegramChatId": "123456789",
    "merchantAmountRaw": "250000000",
    "merchantTokenMint": "accepted token address"
  }

Try the payment console

OpenAPI 3.1 document (openapi.json)

  1. Register your business wallet, accepted payment token, callback URL, and Telegram chat id.
  2. Store the API key and callback secret on your backend. The developer console takes the key in the browser for testing only; never ship it in your app's client code.
  3. Ask the customer to add @solknife_sandbox_bot, then create an intent with the chat id they provide.
  4. Send the customer through a Solana payment that includes your business payment and SolKnife's fixed SOL fee.
  5. Gateway finds the payment by its reference, verifies it on Solana, and confirms it. Verify the signed callback before updating app records.