check_payment
Verify Lightning invoice payment status and retrieve spend tokens for pay-per-request AI model access. Use after generating an invoice to confirm payment completion.
Instructions
Check if a Lightning invoice has been paid and retrieve the spend token. Poll this after generate_invoice until the payment is confirmed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| charge_id | Yes | Charge ID returned by generate_invoice |