Error
A valid request URL is required to generate request examples{
"id": "<string>",
"object": "invoice_item",
"deleted": true
}{
"error": {
"code": "INVALID_DATA",
"message": "invalid currency"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "INVOICE_ITEM_NOT_FOUND",
"message": "invoice item not found"
}
}{
"error": {
"code": "INVOICE_ITEM_NOT_PENDING",
"message": "invoice item is already assigned to an invoice"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Invoices
Delete an invoice item
Deletes a pending item. An item already drained onto an invoice cannot be deleted.
DELETE
/
invoice_items
/
{id}
Error
A valid request URL is required to generate request examples{
"id": "<string>",
"object": "invoice_item",
"deleted": true
}{
"error": {
"code": "INVALID_DATA",
"message": "invalid currency"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "INVOICE_ITEM_NOT_FOUND",
"message": "invoice item not found"
}
}{
"error": {
"code": "INVOICE_ITEM_NOT_PENDING",
"message": "invoice item is already assigned to an invoice"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
A merchant secret key (sk_…) sent as Authorization: Bearer <key>.
Headers
Merchant ID when an authorized Platform acts for a connected Merchant. Omit when authenticating directly as that Merchant.
Pattern:
^mer_[0-9A-Za-z]{14}$A unique key that makes retries safe: the same key with the same request body returns the original response instead of repeating the operation.
Maximum string length:
255Path Parameters
The invoice item id (ii_…).

