POST
/
LineItem
/
{entry}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Headers

idempotencyKey
string

A unique ID you can include to prevent duplicating objects or transactions if a request is sent more than once. This key is not generated in Payabli, you must generate it yourself.

Path Parameters

entry
string
required

The paypoint's entrypoint identifier. Learn more

Body

itemCost
number
required

Item or product price per unit.

itemProductName
string | null
required

Item or product name. Max length of 250 characters.

Maximum length: 250
itemQty
integer
required

Quantity of item or product.

itemCategories
(string | null)[]

Array of tags classifying item or product.

itemCommodityCode
string | null

Item or product commodity code. Max length of 250 characters.

Maximum length: 250
itemDescription
string | null

Item or product description. Max length of 250 characters.

Maximum length: 250
itemMode
enum<integer> | null

Internal class of item or product: value '0' is only for invoices, '1' for bills, and '2' is common for both.

Available options:
0,
1,
2
itemProductCode
string | null

Item or product code. Max length of 250 characters.

Maximum length: 250
itemUnitOfMeasure
string | null

Unit of measurement. Max length of 100 characters.

Maximum length: 100

Response

200 - application/json

Response schema for line item operations.

isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

pageIdentifier
string | null

Auxiliary validation used internally by payment pages and components.

responseData

If isSuccess = true, this contains the line item identifier. If isSuccess = false, this contains the reason of the error.

responseText
string | null

Response text for operation: 'Success' or 'Declined'.