Architecture Overview
When a customer initiates a payment on the VTPE platform, the flow works as follows:- VTPE calls your Product Information API to retrieve payment details using a business reference.
- Your API returns the amount, currency, and payment details to display to the customer.
- VTPE processes the payment through its platform.
- VTPE sends webhook events to your Webhook Endpoint as the payment state changes.
Quickstart
Implement your first VTPE integration step by step in minutes.
Integration Overview
Learn how the Product Information API and webhooks work together.
Product Information API
Explore the GET endpoint schema and response formats.
Webhook Events
Understand payment event types and how to handle them securely.
Onboarding Steps
Get integrated with Mizaniya Pay VTPE by completing these four onboarding steps.1
Create a Partner Account
Register at the Partner Portal to get access to the VTPE platform. Once your account is approved, you will receive your API Secret and HMAC Secret.
2
Receive API credentials from Mizaniya Pay
After account approval, you receive an API Secret for authentication and an HMAC Secret for webhook signature verification.
3
Configure your integration
Provide your API URL and Webhook URL to Mizaniya Pay. The API URL is the endpoint VTPE calls to retrieve payment details. The Webhook URL is the endpoint that receives payment events.
4
Implement the Product Information API endpoint
Build a
GET endpoint at {API_URL}/{reference} that returns payment information, including total_amount, currency, and optional amount_detail and details arrays.5
Implement the webhook handler and verify signatures
Build a
POST endpoint at your Webhook URL that parses the event envelope, handles relevant payment events, and verifies the HMAC signature on every request.