Allow a URL
In MyPVit, you can register specific URLs depending on your integration needs. The URLs added are used to: receive the secret key, receive transaction callbacks, and redirect the user at the end of a web transaction.
Steps to add a URL
1. Go to the URLs section
- Click “Settings”
- Select “Urls”
2. Add a new URL
- URL type:
- `Secret reception` – to receive your secret key after profile validation
- `Callback` – to receive transaction notifications (status, reference, etc.)
- `Redirection` – to redirect the user at the end of a web transaction
- URL address: enter a valid URL (e.g., https://my-domain.com/api/callback)
- Click “Submit”
Best practices
- Always use HTTPS URLs
- Ensure your backend accepts external calls (firewall, CORS, etc.)
- Create dedicated paths per URL type to trace events