Customer Portal
Create checkout for an invoice
Changed onInitiates a payment session with the configured payment provider. Returns a checkout URL to redirect the customer to.
post/api/portal/customers/{externalId}/invoices/{invoiceId}/checkout
Request
- Base URLhttps://api.novabilling.one
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
externalIdstring required
Customer external ID
invoiceIdstring required
Invoice ID
Response
Checkout URL and payment details
Example response
{
"checkoutUrl": "https://paystack.com/pay/abc123",
"paymentId": "clxpay123",
"provider": "paystack"
}Changes
- info
endpoint added
- info