Invoices
Get Invoice
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 Invoice
Fetch invoice information. (Business Only)
GET
/
invoices
/
{invoice_id}
curl --request GET \
--url https://api.live.paisr.tech/{version}/invoices/{invoice_id} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"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.
Path Parameters
The Invoice ID.
Response
200
application/json
Successfully retrieved invoice details.
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/{invoice_id} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"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"
}
}