ZezoPay Docs

Get Payment Provider

"Payment gateway into your application"

✍️ Naresh Dhamu

📅 02/03/2025

Get Payment Provider

Get a payment provider

URL: https://payapi.zezo.in/api/v1/payments/ready

Method: GET

Headers:

  • Content-Type: application/json

  • api-key: {your_api_key}

  • secret-key: {your_secret_key}

  • x-platform: {x-platform} // web, android, ios

Success Response

Code : 200 OK

Content example

[
  {
    "provider": "razorpay",
    "logo": "https://res.cloudinary.com/dm4uaqlio/image/upload/v1679376412/razorpay-icon_i40wf1.webp"
  },
  {
    "provider": "stripe",
    "logo": "https://res.cloudinary.com/dm4uaqlio/image/upload/v1680760758/Stripe_sueumv.png"
  }
]

BadRequestError Response

Code : 400 BadRequestError

Content :

{
  "error": {
    "type": "BadRequestError",
    "msg": "message",
    "path": "",
    "location": ""
  }
}

Error Response

Code : 500 Internal Server Error

Content :

{
  "error": {
    "type": "InternalServerError",
    "status": 500,
    "message": "error message",
    "path": "",
    "location": ""
  }
}

Code : 401 Unauthorized

Content :

{
  "error": {
    "type": "UnauthorizedError",
    "status": 401,
    "message": "error message",
    "path": "",
    "location": ""
  }
}