API Reference

Base URL: https://api.EienPay.in/v1

POST

/charges

Create a new charge transaction.

Parameters

amountREQUIRED

Amount intended to be collected by this payment. A positive integer representing how much to charge in the smallest currency unit.

currencyREQUIRED

Three-letter ISO currency code, in lowercase. Must be a supported currency.

Response Example

{ "id": "ch_1J2Y3Z4", "object": "charge", "amount": 2000, "currency": "inr", "status": "succeeded", "created": 1623456789 }