Skip to content

FAQs

Common questions about integrating with the RewardOS API.

1. What are the possible responses when placing an order?

Section titled “1. What are the possible responses when placing an order?”
Status Description Your Action
SUCCESS Vouchers returned instantly Display vouchers
FAILED Order failed Show error; new referenceId
PROCESSING Generation in progress Webhook or poll Get Order

Call /v1/partners/orders/by-reference/{referenceId}:

  • 404 — order was not created; safe to retry with the same referenceId
  • Any other response — order exists; process by status

The referenceId is the idempotency key. It guarantees one order per id.

Subscribe to the Brand Updated webhook. Typical fields in the payload:

{
"id": "brand_id",
"denominationType": "FIXED",
"status": "ACTIVE",
"denominations": [100, 1000, 5000],
"amountRestrictions": {
"minOrderAmount": 100,
"maxOrderAmount": 5000,
"minVoucherAmount": 100,
"maxVoucherAmount": 5000
}
}

No. Filter to ACTIVE for any user-facing catalog.

Typically expiresInSecs ≈ 3600. Cache and refresh before expiry; re-auth on 401.

contact@rewardos.in — include environment, clientId (never the secret), and X-REQUEST-ID.