Function /seller/hire/add
Function invocation
https://json.aftermarket.pl/seller/hire/add
Function description
Insert new hire transaction into the system.
Input parameters
This function takes the following input parameters:
Parameter | Type | Required | Default value | Description |
---|---|---|---|---|
name | string | YES | Name of the domain to be listed in hire transaction | |
memberId | string | YES | Buyer login | |
installment | float | YES | Price of installment price | |
firstInstallment | float | 0 | Another price of first installment | |
currency | string | YES | Transaction currency | |
months | integer | YES | The duration of transaction | |
saleType | string | "vat" | Possible sales document (vat - invoice with VAT only, novat - invoice with VAT or invoice without VAT, person - invoice with VAT or sale without document) |
Return value
New hire identifier (integer value).