DEVELOPER PLATFORM
Webhooks
RapidCents webhooks pago iniciado por el pagador (push) lifecycle events a un endpoint usted own as they happen: autorización, captura, reembolso, disputa opened y liquidación funded. Cada carga útil es signed con HMAC over el exact bytes sent, so un server puede prove un evento es genuine antes de acting en it, y delivery retries until el endpoint returns un 2xx. Delivery es en least once, so handlers must deduplicate en el identificador de evento. They exist because most de qué happens a un pago happens después de el original request returned.
- Entorno de pruebas (sandbox) con documented test tarjetas
- Signed webhooks
- Typed errors y idempotent retries
- Dedicated developer support

Qué crosses el wire
Dónde it sits
Outbound, desde RapidCents a un routable HTTPS endpoint usted own. It runs en its own clock, independent de el request ese created el pago, y may arrive antes de o después de ese request returns.
Qué usted receive
UN JSON body describing one evento: its own identifier, its type, y el resource it concerns en el state it es now en. UN signature header accompanies it, computed over el exact bytes sent. El reference lists el evento types y el carga útil para each.
Qué usted send back
UN 2xx status y nothing else ese matters. Anything outside 2xx es read as un failure y schedules un redelivery, so un slow database write inside el handler turns into duplicate deliveries rather than un slow success.
Cuando a use it
Keeping orders en sync
Order status should follow el pago evento rather than un polling loop, que es both slower y heavier en el API than waiting a ser told.
Reacting a disputes
UN disputa evento gives usted el evidence window el day it opens rather than en month end, que es usually el difference entre responding y forfeiting.
Closing el books
El funded evento es el one finance cares Acerca de, because it names el lote un depósito came desde y lets un libro contable entry ser written against money ese actually arrived.
Cómo a implement Webhooks
Register un HTTPS endpoint y store el signing secret en un secret manager.
Captura el raw cuerpo de la solicitud antes de any software intermediario parses it.
Verify el signature en constant time, then reject anything ese does no match.
Deduplicate en el identificador de evento, then return 2xx y queue el slow work.
Replay un delivered evento y confirm el handler writes once, no twice.
Qué fails, y cómo usted find out
Signature verified against a parsed body
Framework software intermediario ese parses JSON y hands usted un object has already changed el bytes. El HMAC will no match, y el symptom es un valid evento rejected as forged.
Events arriving out de order
Retries mean un later evento puede land antes de un earlier one. Trust el state carried en el carga útil rather than el arrival order, y ignore un evento ese would move un resource backwards.
UN handler ese acknowledges too late
If su endpoint does el fulfilment work antes de returning, un timeout produces un redelivery y un second fulfilment. Acknowledge first, work second, y make el work safe a repeat.
Un endpoint ese stopped listening
Deliveries do no fail loudly en su side. Each attempt y its outcome es recorded against el evento, so un alert en repeated non-2xx responses es qué catches un silently broken consumer.
Sandbox versus production
UN tunnel es un valid endpoint
Entorno de pruebas (sandbox) deliveries reach any HTTPS tunnel a localhost, so signature verification puede ser built sin deploying anything. Production requires un routable address con un valid certificate.
Events usted would otherwise wait days para
Liquidación y funding events fire en un accelerated schedule en entorno de pruebas (sandbox), so el handler ese closes su books puede ser exercised en el same test run ese created el pago.
Separate signing secrets
El entorno de pruebas (sandbox) signing secret es no el production one. UN handler ese verifies correctly en entorno de pruebas (sandbox) will reject cada live evento if el secret fue no swapped en cutover, que es el single most common go-live failure.
Questions about Webhooks
Cómo do I verify un RapidCents firma de webhook (notificación HTTP)?
Compute un HMAC over el raw cuerpo de la solicitud using su signing secret y compare it against el signature header en constant time. Verify antes de parsing, since parsing mutates el raw carga útil.
Qué happens if my endpoint es down?
Delivery retries en un backoff schedule. Events son también queryable desde el API, so un outage does no lose data.
Puede el same webhook (notificación HTTP) arrive twice?
Yes. En-least-once delivery es el guarantee, so handlers must ser idempotent, keyed en el identificador de evento.
Cómo many endpoints puede I register?
Más than one, que es el cleaner pattern cuando different systems care Acerca de different events: un order service consuming pago events y un finance job consuming liquidación events do no need a share un handler.
Should el webhook (notificación HTTP) o el Respuesta de API update my order?
El webhook (notificación HTTP). El response tells usted qué happened en ese instant; el webhook (notificación HTTP) es qué tells usted Acerca de everything después de, y it es el solo one ese arrives cuando un reembolso o disputa originates outside su application.
Qué if I never acknowledge un evento?
Retries continue en su schedule y then stop. El evento does no disappear — it stays readable desde el API — so recovery después de un extended outage es un backfill query rather than un Soporte request.
Cómo do I test el failure path sin breaking my endpoint?
Replay un delivered evento against un handler usted have deliberately made return un non-2xx, then confirm el retry arrives y ese su deduplication makes el eventual success un single write.
Cómo quickly does my endpoint have a respond?
Fast enough ese el delivery does no time out, que means acknowledging con un 2xx first y queueing el slow work second. UN handler ese fulfils un order antes de responding turns one evento into un redelivery y un second fulfilment.
Do webhooks tell me Acerca de reembolsos issued desde el dashboard?
Yes, y ese es el main reason a consume them. UN reembolso made por staff en el dashboard, un disputa filed weeks later y un overnight depósito all arrive as events. None de them appear en un synchronous response su application fue waiting en.
Continue el integration

The RapidCents API reference on a workstation, with a sample request, the matching response, and a test terminal. API Reference
REST endpoints para pagos, clientes, reembolsos, webhooks y settlements con request y…
Explore
A typed RapidCents API error on screen, next to the declined sandbox terminal sale that produced it. Errors
Typed error codes, retry guidance y idempotencia patterns para production reliability.
Explore
A RapidCents sandbox merchant account running test payments, isolated from production, with a sandbox terminal on the desk. Entorno de pruebas (sandbox)
Request entorno de pruebas (sandbox) access con test comerciante IDs y isolated environment.
Explore
A RapidCents API request and its response on a developer workstation, with the merchant dashboard and a test terminal. RapidCents APIs
REST APIs para pagos, reembolsos, clientes, tokens y liquidación, con predictable errors y…
Explore
Take the next step
Talk a un RapidCents specialist
RapidCents Análisis de comisiones reads un estado de cuenta de procesamiento y shows intercambio interbancario separately desde el markup. Upload un estado de cuenta para un instant breakdown, o open una cuenta de comerciante y start accepting pagos en one cuenta.
- No obligation
- Payment specialists, not a call centre
- Secure statement upload





