BUILD WITH BEXO / API REFERENCE
API data models
Read the selected schema fields, nullability and constraints used by the downloadable OpenAPI contract.
Reference edition 2026-10-19 • Selected public contract
schemasdata modelsJSONOpenAPI
- Identifiers are opaque strings; most entity references use UUIDs. Validate the operation-specific field instead of inferring authority from the ID.
- Money in *Paise fields is integer INR minor units. Never convert a formatted currency string back into an authoritative amount.
- Date-time fields use ISO strings when present. Some fields can be null or absent.
- The reference describes a selected set of response fields. Clients should tolerate additional fields and avoid exposing whole private objects.
- Synthetic examples and placeholders are not production customer data or usable credentials.
Problem
| Field | Type | Details |
|---|
type | string | Problem type; normally about:blank. |
title | string | Human-readable summary. |
detail | string | Client-safe recovery detail. |
statusRequired | integer | HTTP status. |
codeRequired | string | Machine-readable error code. |
requestId | string | Correlation ID, when available. |
error | string | Legacy error message. |
Vendor
| Field | Type | Details |
|---|
idRequired | string | Vendor identifier. |
displayName | string | Customer-facing name. |
legalName | string | Private registered name. |
statusRequired | string | Review state.
sandbox_only · entity_verified · control_verified · risk_reviewed · production_active · suspended |
publicUrl | string · nullable | Public storefront URL, if configured. |
Application
| Field | Type | Details |
|---|
legalNameRequired | string | Registered legal name. |
displayNameRequired | string | Customer-facing name. |
contactEmailRequired | string | Business email. |
supportEmailRequired | string | Customer support email. |
contactPhone | string | Business phone; optional. |
businessCategory | string | Business category.
fitness · gym · coworking · education · retail · entertainment · healthcare · laundry · other |
registeredAddressRequired | string | Business address. |
authorizedRepresentativeRequired | string | Authorized representative name. |
serviceDescription | string | Description of the service. |
panRequired | string | Valid Indian PAN. Supply actual business details privately. |
gstExempt | boolean | Whether the business declares a GST exemption. |
gstin | string | Required when gstExempt is false. |
pincode | string | Six-digit PIN code, when supplied. |
city | string | City. |
state | string | State. |
websiteUrl | string | Website URL. |
refundPolicyUrl | string | Public refund policy URL. |
termsAccepted | boolean | Acceptance of the application terms. |
Plan
| Field | Type | Details |
|---|
id | string | Plan ID. |
tenantId | string | Owning vendor ID. |
name | string | Plan name. |
durationDays | integer | Membership duration. |
pricePaise | integer | Amount in integer INR paise; 100 paise equals INR 1. |
currency | string | Currency; INR in the documented checkout. |
billingPeriod | string | one_time or monthly. |
isActive | boolean | Whether this plan is currently published. |
checkoutUrl | string | Hosted checkout link, subject to vendor and plan availability. |
PlanUpdate
| Field | Type | Details |
|---|
name | string | Replacement name. |
durationDays | integer | Positive duration. |
pricePaise | integer | Amount in integer INR paise; 100 paise equals INR 1. |
gstPercent | number | See the downloadable schema for nested fields. |
taxInclusive | boolean | Whether tax is included. |
isActive | boolean | Publishing requires production_active vendor approval. |
Membership
| Field | Type | Details |
|---|
id | string | Membership ID. |
planId | string | Plan ID. |
planName | string | Plan display name. |
status | string | Membership state. |
validFrom | string · nullable | Validity start. |
validUntil | string · nullable | Validity end. |
amountPaise | integer · nullable | Purchase amount in paise. |
createdAt | string · nullable | Creation time. |
Terminal
| Field | Type | Details |
|---|
id | string | Terminal ID. |
label | string | Device name. |
serialNumber | string | Registered terminal serial; an identifier, not a secret. |
status | string | Device state. |
isRevoked | boolean | Revocation flag. |
hardwareModel | string | Model. |
lastSeen | string · nullable | Last check-in. |
totalRequests | integer | Recorded requests. |
TerminalUpdate
| Field | Type | Details |
|---|
label | string | Device label. |
status | string | Requested state.
active · offline · suspended · revoked |
hardwareModel | string | Device model. |
CheckoutLink
| Field | Type | Details |
|---|
linkId | string | Link reference. The owner route may return the plan ID in this field; treat it as opaque. |
token | string | Hosted checkout token. Do not log it. |
url | string | Hosted checkout URL. |
expiresAt | string | Server-returned availability hint. Plan and vendor checks still apply. |
Purchase
| Field | Type | Details |
|---|
membershipId | string | Original membership/purchase reference. |
orderId | string · nullable | Provider order reference. |
subscriptionId | string · nullable | Provider subscription reference, where enabled. |
keyId | string | Public provider checkout key, not the provider secret. |
amountPaise | integer | Amount in integer INR paise; 100 paise equals INR 1. |
currency | string | INR. |
durationDays | integer | Snapshotted duration. |
planName | string | Snapshotted name. |
billingPeriod | string | Server-returned billing mode. |
status | string | Current purchase state. |
pendingExpiresAt | string · nullable | Pending-purchase expiry, returned by resume. |
PaymentProof
| Field | Type | Details |
|---|
razorpay_payment_idRequired | string | Provider payment ID. |
razorpay_order_id | string | Original provider order, for an order payment. |
razorpay_subscription_id | string | Original subscription, for a subscription payment. |
razorpay_signatureRequired | string | Provider signature from the supported checkout callback. |
Subscriber
| Field | Type | Details |
|---|
memberId | string | Member reference. |
name | string · nullable | Display name, when supplied. |
photoUrl | string · nullable | Photo URL, when supplied. |
membershipStatus | string | Membership state. |
planName | string | Plan name. |
tenantPlanId | string · nullable | Plan reference. |
expiryDate | string · nullable | Expiry when supplied. |
validUntil | string · nullable | Validity when supplied. |
TapResult
| Field | Type | Details |
|---|
verifiedRequired | boolean | Access outcome; use alongside decision. |
decisionRequired | string | Operational outcome.
allow · deny |
decisionReasonRequired | string | Reason such as active, expired, no_membership_for_vendor or member_not_found. |
status | string | Membership/lookup status. |
subscriber | object · nullable | See the downloadable schema for nested fields. |
terminal | object · nullable | See the downloadable schema for nested fields. |
billing | object | See the downloadable schema for nested fields. |
latencyMs | integer | Server evaluation time. |
timestamp | string | Server evaluation time. |
logId | string · nullable | Log reference. |