Confirm a Dagon credit purchase
dagon_confirm_purchaseReport a signed credit purchase to get the configured account credited: pass the fee-sponsored wallet-signed transaction, or the signature of the payment you submitted yourself.
Instructions
Report a dagon_buy_credits payment you signed yourself so the configured account is credited (POST /v1/credits/purchase/confirm). Fee sponsored: pass signed_transaction, the base64 wallet-signed transaction, without submitting it (the payment service adds the fee payer's signature and submits it; resending the same one is safe). Not fee sponsored: submit it yourself and pass its signature.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"purchase_id": "<purchase_id>"
},
"name": "dagon_confirm_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signature | No | Base58 Solana transaction signature of the payment you submitted (not fee sponsored). | |
| purchase_id | Yes | purchase_id returned by dagon_buy_credits. | |
| signed_transaction | No | Base64 wallet-signed transaction of a fee-sponsored purchase, not submitted. |