Payments
Create a payment record
Changed onCreate a payment record manually. Useful for importing historical data. If status is SUCCEEDED, the associated invoice will also be marked as paid.
post/api/payments
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
{
"provider": "manual",
"amount": 49.99,
"currency": "USD"
}Response
Payment created
Example response
{
"id": "clx1234567890",
"invoiceId": "clxinv123",
"provider": "paystack",
"providerTransactionId": "PAY_txn_abc123",
"amount": "99.9900",
"currency": "USD",
"status": "SUCCEEDED",
"failureReason": "Insufficient funds"
}Changes
- info
endpoint added
- info