Invoices
Get Invoices
Getting Started
- Overview
- Authentication
- Concepts
- Error Codes
- Real-time Events
- Changelog
Core Profile
- Profile
- Members
- Owners
- Addresses
- Documents
- Access Tokens
- Webhooks
Core Wallet
- Wallets
- Balances
- Accounts
- Contacts
- Payment Links
- Statements
- Transfers
- Transactions
Billing & Payments
- Customers
- Plans
- Vouchers
- Invoices
- Subscriptions
- Payments
Integrations
- Payment Providers
Analytics & Logs
- Metrics
- Logs
Resources
- Banks
- Countries
- Currencies
- Events
- Industries
- Legal Form
- Providers
- Scopes
Get Invoices
Fetch a list of invoices. (Business Only)
GET
/
invoices
curl --request GET \
--url https://api.live.paisr.tech/{version}/invoices \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"invoices": [
{
"id": "inv_123456",
"sid": 600783,
"subscription_id": "sub_123456",
"customer": {
"id": "cus_123456",
"name": "Jane Smith",
"email": "jane@example.com",
"billing_details": null,
"shipping_details": null
},
"voucher": {
"id": "vch_123456",
"type": "percentage",
"rate": 10
},
"summary": "A simple pizza order",
"amount": {
"sub_total": 150,
"discount_total": 15,
"net_total": 135
},
"status": "paid",
"currency": "SRD",
"session": {
"url": "https://checkout.paisr.tech/ey7bTCm6tur63CR6mzbuq23r",
"expires_in": "30 minutes"
},
"due_at": "2023-11-07T05:31:56Z",
"paid_at": "2023-11-07T05:31:56Z",
"void_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The ID of the resource you want to filter based on. (e.g. Customer, Subscription or Voucher ID's)
The currency you want to filter based on.
Available options:
draft
, unpaid
, paid
, void
Example:
"paid"
Response
200
application/json
Successfully retrieved the list of invoices.
Example:
true
Example:
"inv_123456"
Example:
600783
Example:
"sub_123456"
Example:
"cus_123456"
Example:
"Jane Smith"
Example:
"jane@example.com"
Example:
"Example Street 10"
Example:
"Paramaribo"
Example:
"SR"
Example:
"Example Street 11"
Example:
"Kwatta"
Example:
"Jane Smith"
Example:
"Example Street 10"
Example:
"Paramaribo"
Example:
"SR"
Example:
"+597-8123456"
Example:
"Example Street 11"
Example:
"Kwatta"
Example:
"A simple pizza order"
Available options:
draft
, unpaid
, paid
, void
Example:
"paid"
Example:
"SRD"
Was this page helpful?
curl --request GET \
--url https://api.live.paisr.tech/{version}/invoices \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"invoices": [
{
"id": "inv_123456",
"sid": 600783,
"subscription_id": "sub_123456",
"customer": {
"id": "cus_123456",
"name": "Jane Smith",
"email": "jane@example.com",
"billing_details": null,
"shipping_details": null
},
"voucher": {
"id": "vch_123456",
"type": "percentage",
"rate": 10
},
"summary": "A simple pizza order",
"amount": {
"sub_total": 150,
"discount_total": 15,
"net_total": 135
},
"status": "paid",
"currency": "SRD",
"session": {
"url": "https://checkout.paisr.tech/ey7bTCm6tur63CR6mzbuq23r",
"expires_in": "30 minutes"
},
"due_at": "2023-11-07T05:31:56Z",
"paid_at": "2023-11-07T05:31:56Z",
"void_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}