Create your WayPay account
To use the WayPay Merchant APIs, first create an account:- Go to: https://waypay-dev-web.icydesert-41d42f7e.uaenorth.azurecontainerapps.io
- Click Sign Up and complete the registration form (business name, contact, email, phone).
- Verify your email address via the link sent to your inbox.
- Provide required business details and documents for compliance (KYC/KYB).
- Submit for review and wait for approval. You’ll be notified once your account is active.
Your API access becomes available only after your account is approved and
active. Approval timelines vary based on compliance review completeness.
Get your API key
Once approved:- Sign in to the merchant portal.
- Locate your API key in the dashboard.
- Copy it securely. Never commit keys to source control.
- Use separate keys per environment and rotate them periodically.
- Swich-API-Key: YOUR_API_KEY
Make your first API call
Set your key in the terminal:paymentIntentId and checkoutUrl.
Charge a tokenized mobile wallet (optional)
Issue a refund (optional)
Troubleshooting
-
401 Unauthorized
Ensure the header is present and correct: -H “Swich-API-Key: $SWICH_API_KEY” -
400 Validation error
Check your payload fields and formats (e.g., description length and characters).
See the full API reference and schema at
/docs/api-reference/openapi.json, and endpoint examples under API
Reference → Endpoints.Next steps
API reference
Explore endpoints, payloads, and examples powered by OpenAPI.
Write Content
Learn MDX syntax and start writing your documentation.
Customize style
Make your docs match your brand perfectly.
Add code examples
Include syntax-highlighted code blocks.
Need help? See the Mintlify docs or join the community.