Api

ZEENPE: Revolutionizing Payments with Unified UPI and Crypto Solutions

POST api/payment

Initiates a payment transaction.

Request Parameters
Name Type Description Required
Authorization string Bearer token for authentication (MID). Yes
order_id string The ID of the order. Yes
amount number The amount to be paid. Yes
esign string Base64 encoded MD5 hash of the request body and authorization token. Yes
paymentMethod string The payment method used. Yes
callback string The callback URL for handling payment responses. No
purpose string Purpose of Payment. No
currency string Currency of Payment. No
Response Example
{
  "result": {
    "temp_uuid": "unique_uuid",
    "order_id": "order_id_value",
    "currency": "USD",
     "amount": 100,
    "url": "https://payment-link.com/pay_inI/88373737",
    "status": "SUCCESS",
    "created_at": "2024-07-03T12:00:00Z",
    "updated_at": "2024-07-03T12:00:00Z"
  }
}
        
Code Docs
POST api/transaction

Retrieves details of a transaction.

URL Parameters
Name Type Description Required
Authorization string Bearer token for authentication (MID). Yes
esign string Base64 encoded MD5 hash of the request body and authorization token (ITS WILL PROVIDED ON CALLBACK/WEBHOOK). Yes
Response Example
{
  "order_id": "order_id",
  "transaction_id": "transaction_id",
  "transaction_date": "transaction_date",
  "payment_method": "upi",
  "amount": 100.00,
  "currency": "currency",
  "status": "SUCCESS",
  "timestamp": "2024-07-03T12:00:00Z"
}
        
Code Docs