API Doc (POSTMAN)
Overview
Latest version for merchants — Summary
OpenAPI spec (v2.0.0):
docs/openapi-v2.0.0.yaml— hosted in this docs repoRaw download:
raw.githubusercontent.com/.../openapi-v2.0.0.yamlVersion:
2.0.0(previously1.0.0)Revision date:
2026-05-11(recorded inx-revision-date)Docs source on GitHub: rozoai/rozo-docs
Get Your API Key
Before calling any endpoint, you need an API key from the Rozo merchant portal.
Sign in at partners.rozo.ai.
Create or open your merchant app — your
appIdwill look likemerchant_<slug>orwallet_<slug>.Generate an API key — format:
rz_live_xxxxx. The key is bound to thatappId.Configure your webhook URL in the portal (used for
payment_payin_completedandpayment_payout_completedevents).Pass the key on every
POSTrequest as theX-API-Keyheader:
When
X-API-Keyis present, the key'sapp_idis authoritative — a staleappIdin the request body is silently overridden. This is cross-tenant defense, so you cannot accidentally write into another merchant's namespace.
Auth errors
400 missing_api_key—appIdrequires a key but none was provided.400 invalid_api_key— key is unknown, revoked, expired, or inactive.
Complete Endpoint List
This is everything a merchant needs to look at.
1. Payment API (4 endpoints)
All paths are based on the base URL:
All POST requests require the header:
1
POST
/
Create an order — returns id and source.receiverAddress (the deposit address).
2
GET
/payments/{paymentId}
Look up an order by Rozo payment id.
3
GET
/payments/order/{appId}/{orderId}
Look up an order by your own orderId (idempotent lookup).
4
POST
/payments/{paymentId}/payin
(Optional) Accelerate confirmation — tell Rozo the buyer's on-chain txHash.
2. Webhooks (2 outbound events)
Rozo will POST to the URL you configure at partners.rozo.ai, signed with HMAC-SHA256.
payment_payin_completed
The buyer's payment is confirmed on-chain.
payment_payout_completed
The merchant wallet has received the funds (final success).
Signature headers
X-Rozo-TimestampX-Rozo-Signature
Signature contents
Interactive API Documentation
For the full interactive reference (try-it-out, request/response samples, schemas), open the Apidog portal:
Last updated


