Create new Invoice

🚧

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

Amount Of Invoice

customer
object
required

Customer details

notification
object
required
options
object

Charge options

urls
object

Urls DTO

string

Merchant reference

string

purpose of invoice in english

string

purpose of invoice in arabic

string

description

string
enum
required
Defaults to en

language

Allowed:
products
array of objects

List of products

products
metadata
object

Transaction metadata

date-time
boolean
Defaults to false
Headers
string
required
Defaults to 123456

Your mid

Responses

201

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json