API Reference

This endpoint initiates a charge request to charge a knet or any other payment source.

🚧

Do not forget to add your api credentials in the headers.

X-Ecom-Api-Token
X-Ecom-Mid

You can get these keys from your Ecom dashboard (API-Credentials) tab

Body Params
amount
object
required

Transaction amount details

options
object
required

Charge options

urls
object

URLs for redirect actions

customer
object

Customer details

references
object

Transaction references

string

Transaction description

order
object

Order details

string
Defaults to en

Language of the transaction

metadata
object

Transaction metadata

Headers
string
required
Defaults to 123456

Your mid

Responses

201

Language
Credentials