get https://api-sandbox.ecom.io/elinks/v1/api/invoices/
Responses
xxxxxxxxxx
curl --request GET \
--url https://api-sandbox.ecom.io/elinks/v1/api/invoices/invoiceId \
--header 'X-Ecom-Mid: 123456' \
--header 'accept: application/json'
xxxxxxxxxx
79}
{
"data": {
"id": "INV_2024090969898",
"amount": {
"value": 100.505,
"currency": "KWD",
"discountType": "PERCENTAGE",
"discountAmount": 10.5
},
"issuer": {
"id": "123313231321321321",
"fullName": "ahmed hany",
"email": "ahmed@ecom.io",
"role": "MERCHANT_SUPER_ADMIN"
},
"status": "UNPAID",
"paymentMethod": "KNET",
"customer": {
"id": "123456789",
"fullName": "Mahmoud",
"email": "mahmoud@outlook.com",
"phoneCode": "+965",
"phoneNumber": "123456789",
"receivedAmount": "0",
"createdAt": "2022-01-01T00:00:00.000Z"