
Integra RapidPay en minutos: checkout alojado, links, botón, API REST, webhooks y plugins.
https://pay.rapidpaypro.com/pagar/{slug}/{link_id}Autenticación: encabezado X-Api-Key con la llave generada en tu panel.
POST https://pay.rapidpaypro.com/api/v2/tenant/orders
X-Api-Key: rp_live_...
Idempotency-Key: pedido-1001
Content-Type: application/json
{"amount": 25.00, "description": "Pedido #1001", "customer_email": "cliente@correo.com",
"success_url": "https://tu-sitio.com/gracias", "cancel_url": "https://tu-sitio.com/carrito"}
→ 201 {"id": "...", "order_number": "RPCAF000012", "status": "created", "checkout_url": "...", "qr": "data:image/png;base64,..."}GET /api/v2/tenant/orders?status=paid&q=1001
GET /api/v2/tenant/orders/{id}
POST /api/v2/tenant/orders/{id}/void
POST /api/v2/tenant/orders/{id}/refund {"amount": 25.00}
GET /api/v2/tenant/links · POST /api/v2/tenant/links {"title": "...", "amount": 10}
GET /api/v2/tenant/links/{link_id}/qr.png | qr.svg
GET /api/v2/tenant/balance · GET /api/v2/tenant/ledgerErrores: {detail:{code, message}} traducidos según Accept-Language (es/en).
Firma: HMAC-SHA256 de "timestamp.body" en X-RapidPay-Signature.
POST https://tu-servidor.com/webhook
X-RapidPay-Event: order.paid
X-RapidPay-Timestamp: 1760000000
X-RapidPay-Signature: v1=<hex hmac_sha256(secret, timestamp + "." + body)>
{"id":"evt_...","event":"order.paid","created_at":"...","data":{"order_number":"RPCAF000012","status":"paid","amount":25.0,...}}
# Eventos: order.pending, order.paid, order.rejected, order.expired, order.voided, order.refundedWooCommerce: instala el ZIP, ve a WooCommerce → Ajustes → Pagos → RapidPay, pega tu llave API y slug. WordPress: usa el shortcode [rapidpay link="Lxxxx" slug="tu-comercio"].
created → pending → paid → refunded
↘ rejected ↘ voided
created|pending → expired (15 min) | voided