v1
latestOpenAPI 3.0.02026-08-04880393.1 KBCreateSale
post/API/PaymentPageRequest.svc/CreateSale
Request body
Example request
{
"GroupPrivateToken": "a1408bfc-18da-49dc-aa77-d65870f7943e",
"Items": [
{
"Id": 0,
"CatalogNumber": "1a",
"UnitPrice": 5,
"Quantity": 1,
"Description": "item1"
},
{
"Id": 0,
"CatalogNumber": "2a",
"UnitPrice": 5,
"Quantity": 1,
"Description": "item2"
}
],
"IPNMethod": 1,
"IPNURL": "http://9188dde0.ngrok.io/test/ipn_listener.php",
"Reference": 12345,
"Order": "ab12345",
"EmailAddress": "a@a.com",
"CustomerLastName": "Israeli",
"CustomerFirstName": "Moshe",
"Address": "Ben Yehuda 1",
"POB": 12345,
"City": "Tel Aviv",
"PhoneNumber": "054-4444444",
"PhoneNumber2": "054-4444444",
"FaxNumber": "03-3333333",
"IdNumber": 123456790,
"VatNumber": 123456790,
"Custom1": "Custom1 value",
"Custom2": "Custom2 value",
"Custom3": "Custom3 value",
"Custom4": "Custom4 value",
"Custom5": "Custom5 value",
"Custom6": "Custom6 value",
"Custom7": "Custom7 value",
"Custom8": "Custom8 value",
"Custom9": "Custom9 value",
"Comments": "Comments will be here",
"EmailBcc": "a@a.com",
"DocumentLanguage": "en",
"Discount": 10,
"Currency": 1,
"SendMail": true,
"CreateCustomer": true,
"CreateItems": true,
"FindByMail": true,
"FindById": true,
"FindByPhone": true,
"SaleType": 1,
"ExchangeRate": 3.8,
"RecurringSaleCycle": 3,
"RecurringSaleDay": 10,
"RecurringSaleStep": 1,
"RecurringSaleCount": 12,
"RecurringSaleStartDate": "01-03-2025",
"RecurringSaleAutoCharge": true,
"DocumentType": 2,
"PriceIncludeVAT": true,
"Country": "Israel",
"State": "Texas",
"IPNFailureURL": "http://9188dde0.ngrok.io/test/ipn_listener.php"
}Response
New Sale Created successfully