- API Introduction
- Error Code
- Payment Intents
- Charges
- Payment Methods
- Refunds
- Webhooks
- Events
- Files
- Disputes
- Payouts
- Balance
- Products
- Prices
- Payment Links
- Checkout
- Customers
- Setup Intents
- Invoices
- Invoice Items
- Invoice Line Item
- Subscriptions
- Subscription Items
- Issuing
- Authorizations
- Cardholders
- Cards
- Transactions
- Coupons
- Promotion Code
- Accounts
Retrieve an invoice item
Developing
GET
/v1/invoiceitems/{id}
Request
Authorization
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 YWRtaW46MTIzNDU2
Path Params
id
string
required
Header Params
Accept
string
required
Default:
application/json
Content-Type
string
required
Default:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apitest.wooshpay.com/v1/invoiceitems/?members&reference&Type&_postman_listIndexKey=key&_postman_listAllowsMultipleValues'
Responses
🟢200OK
application/json
Body
id
string
optional
object
string
optional
amount
integer
optional
currency
string
optional
customer
string
optional
description
string
optional
metadata
object
optional
period
object
optional
end
string
optional
start
string
optional
price
object
optional
id
string
optional
object
string
optional
active
boolean
optional
billing_scheme
enum<string>
optional
Allowed values:
per_unittiered
created
integer
optional
currency
string
optional
livemode
boolean
optional
lookup_key
string
optional
metadata
object
optional
nickname
string
optional
product
string
optional
type
enum<string>
optional
Allowed values:
one_timerecurring
unit_amount
integer
optional
recurring
object
optional
tiers
array [object {3}]
optional
date
string
optional
invoice
string
optional
livemode
boolean
optional
quantity
integer
optional
subscription
string
optional
unit_amount
integer
optional
test_clock
string
optional
Example
{
"id": "string",
"object": "string",
"amount": 0,
"currency": "string",
"customer": "string",
"description": "string",
"metadata": {},
"period": {
"end": "string",
"start": "string"
},
"price": {
"id": "string",
"object": "string",
"active": true,
"billing_scheme": "per_unit",
"created": 0,
"currency": "string",
"livemode": true,
"lookup_key": "string",
"metadata": {},
"nickname": "string",
"product": "string",
"type": "one_time",
"unit_amount": 0,
"recurring": {
"interval": "day",
"interval_count": 0,
"usage_type": "licensed"
},
"tiers": [
{
"up_to": "string",
"flat_amount": "string",
"unit_amount": "string"
}
]
},
"date": "string",
"invoice": "string",
"livemode": true,
"quantity": 0,
"subscription": "string",
"unit_amount": 0,
"test_clock": "string"
}
Modified at 2023-10-08 08:43:06