Simulate a payment (test mode)
simulate_test_paymentCreate a synthetic on-chain payment for an invoice (inv_) or credit purchase (cpu_) and run it through the real state machine and webhook pipeline. Test keys only. confirmations=0 -> payment.detected / invoice.pending; confirmations >= required -> invoice.paid. Use a smaller/larger amount to simulate underpaid/overpaid. Reuse tx_hash to advance the same payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | Which payment option to pay; defaults to the first accepted asset. | |
| amount | No | Amount in the asset; defaults to the exact payment_options[].amount. | |
| tx_hash | No | ||
| invoice_id | Yes | inv_... or cpu_... | |
| from_address | No | ||
| confirmations | No | Default 0 (detected only). | |
| delay_seconds | No |