Nexus API

B2B API Integration · Developer Partnership

One API to
connect orders
and status.

Nexus API accepts orders over REST and sends signed webhooks whenever status changes.

Partner HTTPS
API Gateway POST /v1/orders
Order DB ORDER STORE
Event Worker SIGNED PUSH
Receiver 2XX ACK
REST response202 Accepted
Status change eventorder.confirmed

Order intake → Status confirmed → Webhook delivery

Monthly REST availability

99.95%

Order intake p95 target

180ms

Joint integration plan

6weeks

Nexus API · Fictional platform proposal

01/ 10
Nexus API

01 / Integration Scope

All orders, one contract

Partner portals, merchant servers, and ops teams share the same order ID and status.

Partner portal

Duplicate files and manual reconciliation

CSV upload

Merchant server

Field & error formats vary

Custom order request

Ops dashboard

Repeatedly polling for confirmation

Status lookup

Nexus Order Contract

v1
order_idOrder key linking intake and status updates
statusaccepted → confirmed / rejected
event_idUnique key preventing duplicate event processing

In scopeOrder creation, lookup, and status alerts. Settlement and refunds in a later phase.

DeliverablesShared JSON schema · Sandbox account · Approval & rejection test cases

Nexus API · Fictional platform proposal

02/ 10
Nexus API

02 / System Architecture

Accept via REST, notify via webhooks.

Decoupling order intake from status alerts keeps orders flowing even if a receiver briefly goes down.

Partner HTTPS
API Gateway POST /v1/orders
Order DB ORDER STORE
Event Worker SIGNED PUSH
Receiver 2XX ACK
Solid · HTTPS requests and event deliveryDashed · Status updates and delivery logs
01

Gateway validates requests

Checks auth, schema & idempotency key, then saves orders.

REST
02

Persist order state

Saves status change and event in the same transaction.

OUTBOX
03

Deliver signed events

Workers dequeue, send events, and log 2xx acknowledgments.

WEBHOOK
↓Focus on

Nexus API · Fictional platform proposal

03/ 10
Nexus API

03 / Integration spec

Track requests
and events under
one order.

Use the order ID on the left to match intake responses with status updates.

Shared order ID

ord_demo_042
acceptedconfirmed

Error responses422 validation · 409 idempotency conflict · 429 rate limit

create-order.http 202 ACCEPTED
POST /v1/orders HTTP/1.1
Host: sandbox.nexus-api.example
Authorization: Bearer <sandbox_token>
Idempotency-Key: order-demo-042
Content-Type: application/json

{"external_order_id":"demo-order-042","items":[
  {"sku":"demo-part-07","quantity":2}
]}

HTTP/1.1 202 Accepted
{"order_id":"ord_demo_042","status":"accepted"}

Retrying with the same key and body returns the original intake response.

Nexus API · Fictional platform proposal

04/ 10
Nexus API

04 / Fault recovery

Design retries assuming failure.

Workers never block order processing while waiting for a response. Partners apply each event once.

Initial5s30s2m10m1hevent_idSame per retry
Each interval is measured from the previous failed attempt.
01

Register each order once

Reuses the initial result for 24 hours per partner and idempotency key.

01
02

Up to 5 retries without response

Retries after 5s, 30s, 2m, 10m, and 1h.

05
03

Review and replay failures

Select from the dead-letter queue and replay with the same event_id within 72 hours.

72h
↓Focus on

Nexus API · Fictional platform proposal

05/ 10
Nexus API

05 / Service levels

Track availability and latency separately.

Availability is a monthly REST target; latency is based on order intake load tests.

Monthly availability

30-day basis

Proposed SLA

99.95%

99.95% · Proposed21.6 min
99.90% · Baseline43.2 min

Minutes shown are monthly downtime budgets. Actual monthly budgets are calculated from total minutes in the month.

Order intake latency

in ms

0 80 160 240 320 p50 56 80 ms p95 146 180 ms p99 271 320 ms
Sandbox sampleProduction target

Test conditionsValid orders sent at 100 RPS for 30 min. Measured to 202 response; figures are illustrative.

Nexus API · Fictional platform proposal

06/ 10
Nexus API

06 / Security & observability

Verify request auth
and event signatures
separately.

Sandbox and production use separate credentials and delivery endpoints.

Request permissions

OAuth 2.0 Client Credentials · Separate order read/write scopes

Event signatures

HMAC-SHA256 on timestamp and raw body · 5-min tolerance

Audit & tracing

Match intake and delivery logs by request ID · 30-day prod log retention

Request authAccess token
Event verificationHMAC-SHA256
Shared trace keyrequest_id
Request check → Order processing → Delivery trace

Nexus API · Fictional platform proposal

07/ 10
Nexus API

07 / Rollout schedule

From design to limited rollout in 6 weeks

Both teams review sandbox progress and open issues together every week.

Joint partner timeline

Starts the week after contract and owner sign-off

WorkstreamWeek 1Week 2Week 3Week 4Week 5Week 6
Design sign-offFinalize schemas, scopes, and ops owners
Sandbox buildOrder create/lookup, signature & dedup checks
Fault & load testingVerify retries, limits, errors, and p95
Limited rollout10% traffic pilot and sign-off
W02

Schema sign-off

Freeze required fields and error responses

W05

End-to-end test

Pass normal, duplicate, failure, and replay cases

W06

Production cutover

Verify thresholds for 48 hours at 10% traffic

Nexus API · Fictional platform proposal

08/ 10
Nexus API

08 / Developer partnership

Aligned on production ownership.

Validate implementation in sandbox, then define support and incident response scope in the production agreement.

Development partner

Sandbox

Shared schemas, test tokens, error cases

Engineering owners verify integration readiness

Production partner

Production agreement

Joint onboarding, production keys, 99.95% REST SLA

Availability, support, and usage terms in an addendum

Nexus Integration Team

Schema versioning, delivery infra, outage alerts

Partner Engineering

Receiver API ops, signature checks, deduplication

Joint Ops Team

Launch sign-off, rollback calls, postmortems

Nexus API · Fictional platform proposal

09/ 10
Nexus API

09 / Next decision

Approve the
6-week pilot.

Launch on 1 Saegyeol Store channel first, then expand to the next partner once exit criteria pass.

Pilot traffic

10%

Observation window

48h

Kickoff alignment

Assign implementation leads

One dev and ops point of contact per side

Confirm pilot scope

Order intake, lookup, and alerts for sample partner Saegyeol Store

Approve cutover criteria

Monitor 10% initial traffic for 48 hours before scaling

Cutover gate202 success ≥ 99.9% · intake p95 ≤ 180ms · 0 unprocessed events

Nexus API · Fictional platform proposal

10/ 10