Environments
| Environment | Admin Dashboard | API |
|---|---|---|
| Sandbox | app.sandbox.zafapay.com | api.sandbox.zafapay.com |
| Production | app.zafapay.com | api.zafapay.com |
Use the Sandbox environment for development and testing. Switching to production only requires changing the API endpoint URL.
1. Get Access Token
Get your access token from the “Merchant Settings” page in the merchant dashboard.For detailed instructions, see Authentication.
2. Create Payment
3. Redirect Customer
Redirect the customer to thepayment_url from the response.
After payment completion, the customer will be redirected to success_redirect_url or failure_redirect_url configured in your merchant dashboard.
4. Verify Payment Result
Next Steps
API Reference
Complete API endpoint documentation
Implement Refunds
How to refund payments