π§Hosted Mode (In Development)
This functionality is currently in development.
Hosted Mode - Standard
During the the authentication process we return accessToken and refreshToken. This can be used to login user and access services using our UI and UX e.g. https://redeem.chainrewardz.net/{your_project}
Example Request
If using web 2 system
curl --location 'https://sandbox.chainrewardz.com/auth/login' \
--header 'Api-Key: {{api_key}}' \
--header 'Api-Secret: {{api_secret}}' \
--data '{
"userId": "user12345",
"membershipId": "membership67890"
}If using web 3 system
curl --location 'https://sandbox.chainrewardz.com/auth/v1/crypto/login' \
--header 'Api-Key: {{api_key}}' \
--header 'Api-Secret: {{api_secret}}' \
--data '{
"publicAdress": "xxxxxx",
"Smartcontractaddress": "xxxxxxxx"
"Chain": "ETH"
}Example Response
Hosted Mode - Quick Access
During the the authentication process we also return accessUrl. This can be used to login user and access services using our UI and UX without needing to store accessToken and refreshToken on your side.
Example Response
Prebuilt UI & Pathway
You can add pathway at the end of the access url to direct your users to specific pages.
Hotel Search
Allows users to search hotel
/hotel-search
Gift Card search
Allows users to search gift card
/gift-card search
My Booking
Allows user to view their bookings
/my-booking
My Gift cards
Allows users to view their gift card list
/my-giftcard
Last updated