WORP Payment API

POST /api/pay

{
  "rawTxHex": "<signed_tx_hex>",
  "address": "<merchant_address>",
  "amountWorp": 10
}
{
  "success": true,
  "txid": "<txid>",
  "amount_paid": 10
}

GET /api/confirmations

/api/confirmations?txid=<txid>&address=<merchant_address>
{
  "txid": "<txid>",
  "address": "<merchant_address>",
  "height": 112,
  "confirmations": 1
}

Rate limits

POST /api/pay            → 300 / min / IP
GET  /api/confirmations  → 10 / min / (txid + address + IP)