v1
latestOpenAPI 3.0.02026-08-04880393.1 KBGetUrl
Get a payment page URL
post/API/PaymentPageRequest.svc/GetUrl
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"
}
],
"RedirectURL": "https://www.icredit.co.il/",
"IPNFailureURL": "http://9188dde0.ngrok.io/test/ipn_listener.php",
"IPNMethod": 1,
"IPNURL": "http://9188dde0.ngrok.io/test/ipn_listener.php",
"PriceIncludeVAT": true,
"MaxPayments": 12,
"CreditFromPayment": 4,
"Reference": 12345,
"Order": "ab12345",
"EmailAddress": "a@a.com",
"CustomerLastName": "Israeli",
"CustomerFirstName": "Moshe",
"Address": "Ben Yehuda 1",
"POB": 12345,
"City": "Tel Aviv",
"PhoneNumber2": "054-4444444",
"FaxNumber": "03-3333333",
"IdNumber": 123456790,
"PhoneNumber": "054-4444444",
"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",
"HideItemList": true,
"DocumentLanguage": "en",
"Discount": 10,
"Currency": 1,
"SendMail": true,
"CreateCustomer": true,
"FindByMail": true,
"FindById": true,
"FindByPhone": true,
"FailRedirectURL": "https://www.icredit.co.il/",
"MaxFailedAttempts": 4,
"SaleType": 1,
"NumberOfPayments": 1,
"CreateItems": true,
"ExchangeRate": 3.8,
"MinPayments": 1,
"DocumentType": 2,
"ClosedDocumentType": 1,
"Country": "Israel",
"State": "Texas",
"RecurringSaleCycle": 3,
"RecurringSaleDay": 10,
"RecurringSaleStep": 1,
"RecurringSaleCount": 12,
"RecurringSaleStartDate": "01-03-2025",
"RecurringSaleAutoCharge": true
}Response
Payment URL successfully retrieved
Example response
{
"PrivateSaleToken": "8e2f51dd-2eff-4c2c-96bb-a636d0f64da9",
"PublicSaleToken": "2a517967-85e5-43a0-820c-dc12d8721a12",
"URL": "https://testicredit.rivhit.co.il/payment/PaymentItems.aspx?GroupId=1beb572a-0db9-4854-908b-cdf7378e49c9&Token=2a517967-85e5-43a0-820c-dc12d8721a12"
}