Payment Providers
Configure a payment provider
Changed onSet up a payment provider (stripe, paystack, flutterwave, or mpesa) with encrypted credentials. The provider with the lowest priority number is used by default for checkout.
post/api/payment-providers
Request
- Base URLhttps://api.novabilling.one
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"providerName": "flutterwave"
}Response
Provider configured successfully
Example response
{
"id": "clx1234567890",
"providerName": "paystack",
"isActive": true,
"priority": 1
}Changes
- info
added the media type
application/jsonfor the response with the status
- info