Last updated
Last updated
Note: your API key must have the "Invoices" permission.
The List Invoice endpoint provides a paginated list of invoices, including details such as amounts, statuses, and associated shop information. Use this endpoint to retrieve multiple invoices at once and filter or sort them based on various criteria like status, creation date, and currency.
GET
https://api.payhubix.com/v1/invoices/
Request Header:
Request Params:
Response
Node: The current status of the invoice. Possible values are: Created
, Pending
, Paid
,Canceled
,Partially
, PartiallyExpired
,Expired
An example of response:
Note: Please make sure to replace YOUR_API_KEY
in the code snippets with your actual merchant API key
Note: thecurrency_symbol
field should be IDs of .
X-Api-Key*
string
Your API key for authentication and authorization.
Name
Type
Description
page*
integer
Specifies the page number of the results.
per_page*
integer
Sets the number of invoices per page.
status
string
Filters invoices by their status.
created_at
string
Sorts results by creation date (e.g., asc
or desc
).
currency_symbol
string
Filters invoices by their Fiat symbol(e.g, USD, EUR).
Name
Type
Description
page_count*
integer
Total number of pages for the current request.
page*
integer
Current page number.
previous_page*
integer
Previous page number.
next_page*
integer
Next page number.
index*
integer
The position of the invoice in the list.
link*
string
A unique identifier for the invoice.
status*
string
The current status of the invoice (Created
, Pending
, Paid
,Canceled
,Partially
, PartiallyExpired
,Expired
).
transfer_fee_by*
string
Who is responsible for the transfer fee (e.g., "Customer").
service_fee_by*
string
Who is responsible for the service fee (e.g., "Customer").
currency_amount*
float
The total invoice amount in the specified currency.
remaining_currency_amount*
float
The remaining unpaid amount.
currency_symbol*
string
The symbol of the currency (e.g.,fiats, "USD").
order_id
string
The ID of the associated order (if available).
shop.name*
string
Name of the shop.
shop.website
string
The website of the shop (if provided).
shop.shop_id*
string
The unique identifier for the shop.
shop.transfer_fee_by*
string
Specifies whether the fee for the transaction is covered by the customer or the merchant.
shop.service_fee_by*
string
Specifies who will cover the service fee.
shop.logo_url
string
URL of the shop's logo (if provided).
invoice_url*
string
The URL of invoice.
created_at*
string
The timestamp when the invoice was created (in UTC).
see list of invoice