Retrieve active, verified payment gateways and brand assets configured for your merchant account.
Use this endpoint to query which payment providers are verified, active, and operational for your account on a specific platform (web, ios, android).
This enables your client application to dynamically render available payment options, brand logos, and checkout action buttons.
https://payapi.zezo.in/api/v1/payments/ready| Parameter | Type | Required | Description |
|---|---|---|---|
x-public-key | string | Required | Your Public Key. |
x-secret-key | string | Optional | Your Secret Key (optional for public gateway queries). |
x-platform | string | Optional | Target platform filter. Supported values: `web`, `android`, `ios`. Default: web |
Content-Type | string | Required | Payload encoding format. Default: application/json |
curl -X GET "https://payapi.zezo.in/api/v1/payments/ready" \
-H "x-public-key: zp_pub_xxxxxxxxxxxxxxxxxxxx" \
-H "x-platform: web" \
-H "Content-Type: application/json"Returns an array of configured and operational payment providers with their display names and brand logo assets.
[
{
"provider": "razorpay",
"display_name": "Razorpay",
"logo": "https://res.cloudinary.com/dm4uaqlio/image/upload/v1679376412/razorpay-icon_i40wf1.webp"
},
{
"provider": "stripe",
"display_name": "Stripe",
"logo": "https://res.cloudinary.com/dm4uaqlio/image/upload/v1680760758/Stripe_sueumv.png"
},
{
"provider": "phonepe",
"display_name": "PhonePe",
"logo": "https://res.cloudinary.com/dm4uaqlio/image/upload/v1692211234/phonepe-icon.webp"
}
]Returned when x-public-key is missing or invalid.
{
"type": "UnauthorizedError",
"status": 401,
"message": "Authentication Failed"
}Returned when no payment gateway is active for the specified platform.
{
"type": "NotFoundError",
"status": 404,
"message": "No active payment gateways for platform: web"
}