This is a managed integration. Prepare the credentials below, then contact your PolyAI account manager to complete setup.
Capabilities
Payment status
Look up the status of existing payments or charges.
Refunds
Initiate refunds for eligible transactions.
Coupons
Generate promotional discounts on demand.
Subscriptions
Query subscription status and details.
Getting started
Prerequisites
- A Stripe account (Test or Live mode)
- Stripe API keys with the permissions your integration needs
- PolyAI project access
Set up
Obtain API credentials
- Log in to your Stripe Dashboard.
- Go to Developers → API keys.
- Copy the values you need:
| Credential | Used for |
|---|---|
| Publishable key | Client-side operations (only if needed) |
| Secret key | Server-side API calls — required |
| Webhook secret | Only if you set up a webhook endpoint (step 2) |
Configure a webhook (optional)
If your integration needs real-time payment notifications:
- Go to Developers → Webhooks.
- Click Add endpoint.
- Enter the webhook URL provided by PolyAI.
- Select the events to receive, for example
payment_intent.succeededandcharge.refunded.
Use cases
Payment confirmation
Payment confirmation
Caller: “Did my payment go through?”Agent: Looks up recent charges by customer email or phone and confirms the payment status.
Refund requests
Refund requests
Caller: “I’d like a refund for my order.”Agent: Verifies the transaction and initiates the refund through Stripe.
Promotional discounts
Promotional discounts
Caller: “I was promised a discount.”Agent: Creates a one-time coupon in Stripe and reads the code back to the caller.
Limitations
- Card collection — Direct card number capture requires PCI compliance; use PCI Pal for secure entry.
- Dispute handling — Complex dispute resolution needs human intervention.
- Sensitive account changes — Verify with additional authentication before modifying account details.
Security
- API keys are stored as encrypted secrets.
- All API calls use HTTPS.
- Webhook signatures are verified to prevent spoofing.
Support
- For integration assistance, contact your PolyAI account manager.
- For Stripe-specific questions, see the Stripe documentation.
Related pages
PCI Pal
Secure payment processing for card collection.
Managed services
Other managed integrations requiring account manager setup.

