Skip to Content
Omnibase

Add a line item to a Stripe invoice using a price ID

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

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
currency*string
Length3 <= length <= 3
description*string
Length1 <= length
metadata?
price_id?string
quantity*integer
Formatint64
stripe_price_id?string

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/price' \  -H 'Content-Type: application/json' \  -d '{  "currency": "str",  "description": "string",  "quantity": 0}'
Example Response
{  "amount": 0,  "description": "string",  "id": "string"}