Start here
Getting started
Core setup and request conventions to get your integration live quickly.
Quickstart
Get authenticated and make your first request in minutes.
Use for server-to-server / mobile clients. (See Swagger for full schema.)
curl -X POST "https://rewards.invatixtech.com/api/v1/auth/token" \
-H "Content-Type: application/json" \
-d '{
"username": "user@example.com",
"password": "Password123!",
"mfa_code": "123456"
}'
Include the access token in the Authorization header.
curl "https://rewards.invatixtech.com/api/v1/auth/me" \
-H "Authorization: Bearer <access_token>"
Conventions
Auth modes, content types, and common response patterns.
- JWT (recommended for API clients): send Authorization: Bearer <token>.
- Session (same-origin SPA): call https://rewards.invatixtech.com/api/v1/auth/csrf and send X-CSRFToken on state-changing requests.
You can send X-Request-ID and RuCoin will echo it back (plus X-Response-ID and X-Response-Time) for tracing.
curl "https://rewards.invatixtech.com/api/v1/health" \
-H "X-Request-ID: 8b2cb7f1-9b0c-4b1d-9f30-2f7d3b8c1234"
Most endpoints return a consistent wrapper for success and errors.
{
"success": true,
"status_code": 200,
"request_id": "...",
"response_id": "...",
"message": "Success",
"code": "success",
"data": { },
"meta": { }
}
{
"success": false,
"status_code": 400,
"request_id": "...",
"response_id": "...",
"message": "Validation failed",
"code": "validation_error",
"errors": { },
"data": null
}
Reference
API catalog
Browse categorized endpoints first, then drill down into full OpenAPI details.
API reference (categorized)
High-level categories with endpoint lists. For schemas, use Swagger/ReDoc.
Core Infrastructure
Health checks and lightweight utilities.
Identity & Authentication
JWT tokens, session auth, MFA, password reset, and user onboarding.
Organization & Tenant Management
Tenant profile, products/features, UI context, roles, and branding.
User & Team Management
Team directory and tenant-scoped RBAC feature mappings.
Verification & Compliance
Tax identity, bank verification, documents, and Cashfree verification workflows.
Loyalty & Wallet Operations
Wallet balances, transfers, and points operations.
Merchant & Catalogue
Rewards inventory, redemptions, and product catalogue discovery.
Developer Resources
Schema discovery and interactive API documentation.
All APIs (Detailed & categorized)
Full endpoint catalog generated from OpenAPI. Each category includes method, route, auth requirement, parameters, request body, response codes, and operation ID.
Admin Messages
4 endpoints
Permalink
List admin messages sent to me
/api/v1/admin-messages
GET
Mark all admin messages as read
/api/v1/admin-messages/read-all
POST
Unread admin message count
/api/v1/admin-messages/unread-count
GET
Mark admin message as read
/api/v1/admin-messages/{id}/read
POST
Authentication
JWT token, refresh, logout, MFA, OTP, email verification and password management.
Permalink
Get CSRF token
/api/v1/auth/csrf
GET
Resend verification email
/api/v1/auth/email/resend
POST
Verify email
/api/v1/auth/email/verify
POST
Logout
/api/v1/auth/logout
POST
Current user
/api/v1/auth/me
GET
MFA disable
/api/v1/auth/mfa/disable
POST
MFA setup (get QR)
/api/v1/auth/mfa/setup
GET
MFA setup (verify and enable)
/api/v1/auth/mfa/setup/verify
POST
MFA status
/api/v1/auth/mfa/status
GET
Request OTP
/api/v1/auth/otp/request
POST
Change password
/api/v1/auth/password/change
POST
Request password reset
/api/v1/auth/password/reset
POST
Confirm password reset
/api/v1/auth/password/reset/confirm
POST
Register (disabled)
/api/v1/auth/register
GET
Register (disabled)
/api/v1/auth/register
POST
Session login
/api/v1/auth/session/login
POST
Session logout
/api/v1/auth/session/logout
POST
Obtain tokens
/api/v1/auth/token
POST
Refresh token
/api/v1/auth/token/refresh
POST
Billing
8 endpoints
Permalink
Get revenue report
/api/v1/billing/revenue
GET
List invoices
/api/v1/invoices
GET
Create invoice
/api/v1/invoices
POST
Get invoice detail
/api/v1/invoices/{id}
GET
Download invoice PDF
/api/v1/invoices/{id}/download
GET
Mark invoice as paid
/api/v1/invoices/{id}/mark-paid
POST
Initiate payment
/api/v1/invoices/{id}/pay
POST
Send invoice email
/api/v1/invoices/{id}/send
POST
Cashfree Verification
Trigger and track Cashfree bank/document verification.
Permalink
List verification requests
/api/v1/tenant/cashfree
GET
Submit verification
/api/v1/tenant/cashfree
POST
Verify Aadhaar
/api/v1/tenant/cashfree/verify-aadhaar
POST
Verify bank account
/api/v1/tenant/cashfree/verify-bank
POST
Verify CIN
/api/v1/tenant/cashfree/verify-cin
POST
Verify Driving License
/api/v1/tenant/cashfree/verify-dl
POST
Verify document
/api/v1/tenant/cashfree/verify-document
POST
Verify GSTIN
/api/v1/tenant/cashfree/verify-gstin
POST
Verify PAN
/api/v1/tenant/cashfree/verify-pan
POST
Verify Passport
/api/v1/tenant/cashfree/verify-passport
POST
Verify UPI
/api/v1/tenant/cashfree/verify-upi
POST
Verify Voter ID
/api/v1/tenant/cashfree/verify-voter-id
POST
Get verification request
/api/v1/tenant/cashfree/{id}
GET
Common
1 endpoints
Permalink
Lookup pincode
/api/v1/pincode/lookup
GET
Health
API health, readiness and version checks.
Permalink
health_list
/api/v1/health
GET
health_ready_retrieve
/api/v1/health/ready
GET
health_version_retrieve
/api/v1/health/version
GET
Landing
5 endpoints
Permalink
List FAQs
/api/v1/landing/faqs
GET
List platform metrics
/api/v1/landing/metrics
GET
List downloadable resources
/api/v1/landing/resources
GET
Public status check
/api/v1/landing/status-check
GET
List testimonials
/api/v1/landing/testimonials
GET
marketplace
5 endpoints
Permalink
Marketplace wallet balance (points available)
/api/v1/marketplace/balance
GET
Checkout with points (RuGift order)
/api/v1/marketplace/checkout
POST
marketplace_orders_retrieve
/api/v1/marketplace/orders
GET
marketplace_products_list
/api/v1/marketplace/products
GET
marketplace_products_retrieve
/api/v1/marketplace/products/{id}
GET
Marketplace
RuGift marketplace products, checkout, orders.
Permalink
Marketplace entry (redirect targets for web and API clients)
/api/v1/marketplace/entry
GET
Notifications
6 endpoints
Permalink
List my notifications
/api/v1/notifications
GET
Get notification preferences
/api/v1/notifications/preferences
GET
Get notification preferences
/api/v1/notifications/preferences
PATCH
Mark all notifications as read
/api/v1/notifications/read-all
POST
Unread notification count
/api/v1/notifications/unread-count
GET
Mark notification as read
/api/v1/notifications/{id}/read
POST
Prefund
10 endpoints
Permalink
List active prefund receiver accounts
/api/v1/prefund/accounts
GET
Get prefund receiver account
/api/v1/prefund/accounts/{id}
GET
List prefund requests
/api/v1/prefund/requests
GET
Create prefund request (tenant admin only)
/api/v1/prefund/requests
POST
Get prefund request detail
/api/v1/prefund/requests/{id}
GET
Assign prefund request to internal staff
/api/v1/prefund/requests/{id}/assign
POST
Confirm OTP and finalize approve/reject (super admin)
/api/v1/prefund/requests/{id}/decision/otp/confirm
POST
Request OTP for final approve/reject (super admin)
/api/v1/prefund/requests/{id}/decision/otp/request
POST
Request clarification on prefund request
/api/v1/prefund/requests/{id}/request-clarification
POST
Move prefund request to under review
/api/v1/prefund/requests/{id}/review
POST
Redemption Management
4 endpoints
Permalink
Approve a redemption
/api/v1/rewards/redemptions/{id}/approve
POST
Cancel a redemption (refunds points)
/api/v1/rewards/redemptions/{id}/cancel
POST
Fulfill a redemption
/api/v1/rewards/redemptions/{id}/fulfill
POST
Reject a redemption (refunds points)
/api/v1/rewards/redemptions/{id}/reject
POST
Reward Programs
6 endpoints
Permalink
List tenant reward programs
/api/v1/rewards/programs
GET
Create program
/api/v1/rewards/programs
POST
Get program
/api/v1/rewards/programs/{id}
GET
Update program
/api/v1/rewards/programs/{id}
PUT
Partially update program
/api/v1/rewards/programs/{id}
PATCH
Delete program
/api/v1/rewards/programs/{id}
DELETE
rewards
8 endpoints
Permalink
rewards_list
/api/v1/rewards
GET
rewards_create
/api/v1/rewards
POST
rewards_redemptions_list
/api/v1/rewards/redemptions
GET
rewards_redemptions_retrieve
/api/v1/rewards/redemptions/{id}
GET
rewards_retrieve
/api/v1/rewards/{id}
GET
rewards_update
/api/v1/rewards/{id}
PUT
rewards_partial_update
/api/v1/rewards/{id}
PATCH
rewards_destroy
/api/v1/rewards/{id}
DELETE
Rewards
Reward catalog, redemptions.
Permalink
User's redemption history
/api/v1/rewards/my-redemptions
GET
Redeem a reward
/api/v1/rewards/{id}/redeem
POST
Support
Ticket management, comments, status updates.
Permalink
List tickets
/api/v1/tickets
GET
Create ticket
/api/v1/tickets
POST
Canned responses
/api/v1/tickets/canned-responses
GET
SLA compliance metrics
/api/v1/tickets/sla-metrics
GET
Get ticket detail
/api/v1/tickets/{id}
GET
Assign ticket
/api/v1/tickets/{id}/assign
POST
Change ticket status
/api/v1/tickets/{id}/change-status
POST
Add comment to ticket
/api/v1/tickets/{id}/comments
POST
List comments for ticket
/api/v1/tickets/{id}/comments-list
GET
Ticket status history
/api/v1/tickets/{id}/history
GET
Rate ticket (satisfaction survey)
/api/v1/tickets/{id}/rate
POST
tenant
6 endpoints
Permalink
tenant_branding_retrieve
/api/v1/tenant/branding
GET
tenant_branding_create
/api/v1/tenant/branding
POST
tenant_cashfree_update
/api/v1/tenant/cashfree/{id}
PUT
tenant_cashfree_partial_update
/api/v1/tenant/cashfree/{id}
PATCH
tenant_cashfree_destroy
/api/v1/tenant/cashfree/{id}
DELETE
tenant_self_api_keys_retrieve
/api/v1/tenant/self-api-keys/{id}
GET
Tenant API Keys
3 endpoints
Permalink
List organization API keys
/api/v1/tenant/self-api-keys
GET
Create API key (requires approved network allowlist)
/api/v1/tenant/self-api-keys
POST
Revoke API key
/api/v1/tenant/self-api-keys/{id}
DELETE
Tenant Context
Tenant branding and context for SPA.
Permalink
Get tenant context
/api/v1/tenant/context
GET
Get public tenant context by slug
/api/v1/tenant/public-context
GET
Tenant Documents
Upload and manage tenant documents for verification.
Permalink
List documents
/api/v1/tenant/documents
GET
Upload document
/api/v1/tenant/documents
POST
Get document
/api/v1/tenant/documents/{id}
GET
Update document
/api/v1/tenant/documents/{id}
PUT
Partially update document
/api/v1/tenant/documents/{id}
PATCH
Delete document
/api/v1/tenant/documents/{id}
DELETE
Tenant Users
User accounts management within tenant.
Permalink
Request account deletion (GDPR)
/api/v1/auth/account/delete
POST
Update user profile
/api/v1/auth/profile
PATCH
List assignable roles
/api/v1/tenant/assignable-roles
GET
tickets
1 endpoints
Permalink
tickets_partial_update
/api/v1/tickets/{id}
PATCH
Transactions
Transaction history and details.
Permalink
List transactions
/api/v1/transactions
GET
Transaction analytics
/api/v1/transactions/analytics
GET
Get transaction
/api/v1/transactions/{id}
GET
List disputes for transaction
/api/v1/transactions/{id}/disputes
GET
Raise dispute on transaction
/api/v1/transactions/{id}/raise-dispute
POST
Refund transaction
/api/v1/transactions/{id}/refund
POST
Void pending transaction
/api/v1/transactions/{id}/void
POST
wallets
5 endpoints
Permalink
wallets_list
/api/v1/wallets
GET
wallets_transfer_create
/api/v1/wallets/transfer
POST
wallets_retrieve
/api/v1/wallets/{id}
GET
wallets_credit_create
/api/v1/wallets/{id}/credit
POST
wallets_debit_create
/api/v1/wallets/{id}/debit
POST
Operate
Operations and docs
Use route references for implementation and day-2 operations.
All routes (reference)
Operational URLs for the RuCoin website (marketing, login, legal) and the operator portal.