Checkout (public)
Simulate a demo store payment
Works only on invoices from the public demo store (/demo), which are in test mode. Moves the latest payment attempt to the chosen outcome one status every 4 seconds, through the same statuses as a real payment. The invoice needs a deposit address first. Any other invoice returns 404.
Rate limit: 60 per minute per IP address.
POST
id*stringInvoice id, starting with inv_.
application/json- body
outcome*stringValue in
"paid""underpaid""refunded""failed"The outcome was recorded.
curl -X POST 'https://example.com/api/v1/invoices/string/simulate' \ -H 'Content-Type: application/json' \ -d '{ "outcome": "paid"}'Example Response
Empty