Create Rest Invoices (SMS, Email) Request
INPUT PARAMETER | |
---|---|
## Invoice Details | |
Parameter | Description |
Invoice Value | Product Unit Price * Quantity of Products. - Please note merchant should manually calculate and enter the subtotal |
Customer Id | Customer Id. - Generated by MyFatoorah system. |
Customer Name | Customer Name (Required) |
Country Code Id | County with Phone Code. (Required) - Please note user should enter value of each Country Code. Each Country Codes differentiated by a Value. |
Customer Mobile | Customer Mobile Number "Without Country Code". (Required) |
Customer Email | Customer Email ID. (Required) |
Display Currency Id | Display Currency Id in Invoice. (Required) - Please note user should enter value of each Currency Id. Each Currency Id’s differentiated by a value. |
Send Invoice Option | Send Invoice Options. (Required). - Please note user should enter value of each option. Each sending options(SMS, Email and Link) differentiated by a value. 1 - Generate Invoice and Send link by SMS to the customer's phone. 2 - Generate Invoice and Send link by Email to the customer's email. 3 - Generate Invoice and Send link by both SMS & Email. 4 - Generate Invoice Link only. |
## Invoice Item Details | |
Product Id | Product Id. (Optional) - Vendor can enter the Product Id, once it is created through MyFatoorah system. |
Product Name | Product Name. (Required) |
Quantity | Product Quantity. (Required) |
Unit Price | Product Unit Price. (Required) |
Language | Invoice Language. (Required) Please note user should enter value of each Language. Each Language options(Arabic or English) differentiated by a value. |
1 - Generate Invoice and Send link by SMS to the customer's phone.
2 - Generate Invoice and Send link by Email to the customer's email.
3 - Generate Invoice and Send link by both SMS & Email.
4 - Generate Invoice Link only.
RESPONSE PARAMETER | |
---|---|
Parameter | Description |
Response Message | Response Message. |
Redirect URL | URL to be redirected after success message "Payment URL". |
NOTE: After creating the Invoices, an auto-generated message with invoice link send through the “Send Invoice Options”.
Updated over 5 years ago