Invoices
Fetch an invoice
get/invoices/{id}
Request
- Base URL: https://api.swiftpayiq.com/api/v1
- URL: https://api.swiftpayiq.com/api/v1/invoices/{id}
- Auth: HTTP bearer
Response
Invoice
Example response
{
"subtotal": "50000",
"discount": "50000",
"discountPercentage": "10.00",
"taxAmount": "50000",
"customerFeeAmount": "50000",
"total": "50000",
"amountPaid": "50000",
"feeRate": "0.60325",
"feeAmount": "50000",
"customerFeeShare": "0.5000",
"netAmount": "50000",
"createdByType": "API_KEY",
"items": [
{
"unitPrice": "50000",
"lineTotal": "50000"
}
],
"payments": [
{
"provider": "ALQASEH",
"amount": "50000",
"feeAmount": "50000",
"netAmount": "50000"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.