Bulk add invoice line items
Developing
Request
Send your HTTP requests with an Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:Authorization: Basic *****************
Body Params application/json
{
"lines": [
{
"amount": 0,
"currency": "string",
"description": "string",
"metadata": {},
"price": "string",
"quantity": 0,
"unit_amount": 0
}
]
}
Request samples
curl --location --request POST 'https://apitest.wooshpay.com/v1/invoices//add_lines' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"lines": [
{
"amount": 0,
"currency": "string",
"description": "string",
"metadata": {},
"price": "string",
"quantity": 0,
"unit_amount": 0
}
]
}'
Responses
application/json Modified at 2024-10-08 02:48:42