Authorization
default Authorization<token>
A public key (pk./pk_test.) is accepted on /payments, /customers, /links, /invoices and the catalogue reads (/channels, /providers, /countries, /currencies); anything that moves money out, reads the balance or manages the account answers 406 to it. It is an identifier, never an authorization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment, there is no separate sandbox URL. Never expose your secret key in client-side code.
In: header
Path Parameters
idstringrequired
The invoice `id`.
Response Body
application/json
application/json
application/json
curl -X GET "https://api.wajub.com/invoices/inv_Hq7Lm2Xp9Rt4Vb8Nc3Kd"{ "code": 200, "status": "OK", "message": "Invoice retrieved", "invoice": { "id": "inv_Hq7Lm2Xp9Rt4Vb8Nc3Kd", "invoice_number": "INV-2026-0001", "document_type": "invoice", "status": "sent", "customer": null, "customer_id": null, "customer_name": "Amina Diallo", "customer_email": "amina@example.com", "customer_company_name": null, "customer_phone": null, "customer_address": null, "invoice_date": "2026-09-16", "due_date": "2026-09-30", "currency": "XAF", "language": "fr", "subtotal": 50000, "discount_amount": 0, "tax_amount": 0, "total": 50000, "amount_paid": 0, "amount_due": 50000, "payment_type": "full", "is_recurring": false, "recurring_interval": null, "next_invoice_date": null, "recurring_parent": null, "notes": null, "terms": null, "footer": null, "accept": null, "sent_at": "2026-09-16T10:15:37+00:00", "paid_at": null, "cancelled_at": null, "items": [ { "id": "9d3f6a2e-4b1c-4e8a-9f27-6c5d8b1a0e43", "name": "Website design", "description": null, "quantity": 1, "unit": null, "unit_price": 50000, "tax_rate": 0, "tax_amount": 0, "discount_type": null, "discount_value": 0, "discount_amount": 0, "subtotal": 50000, "total": 50000, "sort_order": 0 } ], "created_at": "2026-09-16T09:12:04+00:00", "updated_at": "2026-09-16T10:15:37+00:00" }}Invoice