Order Protection integrates with Rise.ai to automatically issue gift cards to customers when their claims are approved, providing a seamless resolution experience.
Overview
The Rise.ai integration allows you to automatically create and manage gift cards for customers. Order Protection uses Rise.ai for:- Claim Resolution: Automatically issue gift cards when claims are approved
- Bonus Store Credit: Issue store credit as customer rewards or incentives
- Balance Updates: Add additional amounts to existing customer loyalty cards
Prerequisites
Before setting up the Rise.ai integration, ensure you have:- An active Rise.ai account
- Your Rise.ai Credit API Token
- Your store configured in Order Protection
Installation
Follow these steps to connect Order Protection with Rise.ai.Get Your Credit API Token
Log in to your Rise.ai account and navigate to your settings to retrieve your Credit API Token. If you don’t see this option, reach out to your Rise.ai customer support contact.
Navigate to Integrations
In your Order Protection dashboard, go to Settings > Integrations and find Rise.ai in the list of available integrations.
Enter Your API Token
Click on the Rise.ai integration card and enter your Credit API Token in the field provided.The Credit API Token allows Order Protection to:
- Create gift cards on your behalf
- Attribute claim resolution gift cards to customer accounts
- Track gift card balances and usage
How It Works
Once the integration is configured, the gift card process is fully automated:Creating New Gift Cards
For Claims:- Claim Approval: When a support agent approves a claim and selects gift card as the resolution method
- Gift Card Creation: Order Protection automatically creates a gift card in Rise.ai with:
- The claim amount as the gift card value
- Customer’s email address and name
- Reference to the original order number
- Reference to the claim ID for tracking
- Email subject: “Gift Card for Claim #[ClaimID]”
- Customer Notification: Rise.ai sends the gift card to the customer’s email with a customized message
- Gift Card Activation: The customer receives a gift card code they can use immediately
- Credit Issuance: When bonus store credit is triggered (e.g., loyalty rewards, promotions)
- Gift Card Creation: Order Protection creates a gift card with:
- The specified credit amount
- Customer’s email address and name
- Reference to the original order number
- Email subject: “Bonus Store Credit for Order #[OrderNumber]”
- Customer Notification: Rise.ai sends the bonus credit to the customer
Updating Existing Gift Cards
For customers with existing Rise.ai loyalty cards:- Balance Check: Order Protection can retrieve the customer’s current gift card balance
- Balance Update: When additional credit is needed, Order Protection adds the amount to the existing card
- Type Tracking: Updates are marked as type “refund” with order reference for accounting
Gift Card Information
Each gift card created through this integration includes:- Gift Card Code: Unique code the customer uses at checkout
- Initial Value: The claim or credit amount
- Current Balance: Available credit (may differ from initial value after partial use)
- Customer Details: Email, name, and customer ID (if available)
- Order Reference: Links back to the original order
- Claim Reference: Links back to the specific claim (for claim-based cards)
- Expiration: Based on your Rise.ai settings (optional)
- Store Domain: Associated with your specific store
- Gift Card Type: Indicates the source (claim resolution, bonus credit, etc.)
- Collections: Associated Rise.ai collections for organization
Additional Features
Customer Loyalty Cards
Order Protection can retrieve and update existing customer loyalty cards:- Retrieve Balance: Check a customer’s current gift card balance before processing
- Accumulate Credit: Add amounts to existing cards instead of creating multiple cards
- Customer History: Track all gift card activity linked to the customer account
- Customers with multiple approved claims
- Loyalty program integration
- Preventing duplicate gift cards for the same customer
Best Practices
Customer Communication
Customer Communication
Ensure your customers understand:
- How to check their gift card balance
- Where to find their gift card code
- Any expiration dates or usage restrictions
- How to apply the gift card at checkout
- That multiple credits may be consolidated into a single loyalty card
Tracking and Reporting
Tracking and Reporting
Use Rise.ai’s dashboard to:
- Monitor gift card usage rates
- Track outstanding gift card balances
- Identify customers who haven’t redeemed their cards
- Analyze gift card performance over time
- Review balance update history for customer accounts
Bonus Store Credit Strategy
Bonus Store Credit Strategy
Consider using bonus store credit for:
- Customer retention campaigns
- Loyalty program rewards
- Referral incentives
- Apology gestures for service issues
- First-time customer promotions
Troubleshooting
Gift Card Not Created
Gift Card Not Created
If a gift card isn’t created automatically:
- Verify your Credit API Token is correct and active
- Ensure your store domain is properly configured
- Check that the customer has a valid email address
- Verify the claim amount is greater than zero
Customer Didn't Receive Gift Card
Customer Didn't Receive Gift Card
If a customer reports not receiving their gift card:
- Check the customer’s spam/junk folder
- Verify the email address in the claim is correct
- Look up the gift card in your Rise.ai dashboard
- Manually resend the gift card from Rise.ai if needed
Invalid API Token Error
Invalid API Token Error
If you see an “API key not found” error:
- Confirm you’re using the Credit API Token (not a different API key)
- Check that the token hasn’t expired or been revoked
- Re-enter the token in Order Protection settings
- Contact Rise.ai support if the token appears invalid
Store Domain Not Found
Store Domain Not Found
If you see a “Store domain not found” error:
- Verify your store is properly configured in Order Protection
- Check that your store domain matches your Shopify store URL
- Ensure the store hasn’t been archived or deactivated
- Contact Order Protection support for assistance
Gift Card Balance Update Failed
Gift Card Balance Update Failed
If updating an existing gift card balance fails:
- Verify the gift card ID exists in your Rise.ai dashboard
- Check that the gift card hasn’t expired
- Ensure the customer ID is correctly linked
- Verify the additional amount is a valid positive number
- Contact Rise.ai if the card appears to be locked or restricted
Service Temporarily Unavailable
Service Temporarily Unavailable
API Details
For developers and technical teams, the integration uses the Rise.ai Credit API v2 with the following endpoints:Create Gift Card
Endpoint:POST /v2/gift-cards/issue/
Parameters:
shop_url: Your store domaingift_card.balance: Gift card amountgift_card.note: Internal note with claim/order referenceemail_details.recipient: Customer nameemail_details.recipient_email: Customer emailemail_details.title: “Created by Order Protection”email_details.subject: Customized subject lineemail_details.body: Customized email body
x-rise-access-token header with your Credit API Token
Get Customer Gift Card
Endpoint:GET /v2/gift-cards/
Parameters:
shop_url: Your store domaincustomer_id: Shopify customer ID
gift_card_id: Unique identifier for the loyalty cardamount: Current balancecode: Gift card codeexpires_on: Expiration date (if applicable)
Update Gift Card Balance
Endpoint:PUT /v2/gift-cards/{giftCardId}
Parameters:
shop_url: Your store domainamount: Additional amount to addtype: “refund” (for tracking purposes)order_id: Reference order ID
- Base URL:
https://application.rise-ai.com(configurable viaRISE_API_BASE_URLenvironment variable) - Integration Category: “Support”
Support
If you need assistance with the Rise.ai integration:- Order Protection Support: Contact our support team through your dashboard
- Rise.ai Support: Reach out to your Rise.ai customer support contact
- API Issues: Check your API token and store configuration first

