Getting the Public Key and Secret Key
1
Access XPay Dashboard

- Log in to your XPay Dashboard.
- Navigate to the Settings section from left sidebar.
- Open the Your Keys tab.
- Copy the Public Key and Secret Key and keep them handy for configuration.
SetUp XPay Webhooks
1
Access Webhook Settings in XPay
- Open the Webhooks tab.
- Click on Set up Webhook.
2
Add Webhook Endpoint and Events
Webhooks set-up is a mandatory step as it confirms the order creation on your store

- Paste the above URL in the Endpoint URL field.
- Generate the Secret, copy it, and keep it handy for configuration.
- Under Events to send, enable all events starting with
intent, including:- Intent.checkout_opened
- Intent.created
- Intent.dispute_lost
- Intent.dispute_under_review
- Intent.dispute_won
- Intent.disputed
- Intent.failed
- Intent.refunded
- Intent.success
- Click Create to complete the webhook setup.
Integrate XPay with FlexyPe
1
Access Payments in FlexyPe Dashboard

- Log in to your FlexyPe Dashboard.
- Click on the Settings menu from left.
- Select Payments.
2
Configure XPay

- Click the Configure button within the XPay card.
- Paste the Webhook Secret (Webhook tab) into the Signing Key (Webhook) field.
- Paste the copied Public Key (Your keys tab) into the Public Key field.
- Paste the copied Secret Key (Your keys tab) into the Secret field.
-
Click Save to complete the configuration.

Use XPay for Your Payment Methods
1
Assign XPay as Payment Provider
- Once above steps are implemented, contact FlexyPe team.