Skip to Content
Omnibase

Add a line item to a Stripe invoice

POST
/api/v1/payments/invoices/{invoice_id}/items

Authorization

ServiceKeyAuth
headerX-Service-Key<token>

Admin service-to-service key. Trusted for all routes and skips permission checks.

Path Parameters

invoice_id*string

Request Body

application/json
  1. body
amount*integer
Formatint64
currency*string
Length3 <= length <= 3
description*string
Length1 <= length

Response Body

OK

application/json
  1. response
amount*integer
Formatint64
description*string
id*string
Example Request
curl -X POST 'https://api.omnibase.tech/api/v1/payments/invoices/string/items' \  -H 'Content-Type: application/json' \  -d '{  "amount": 0,  "currency": "str",  "description": "string"}'
Example Response
{  "amount": 0,  "description": "string",  "id": "string"}