Skip to main content
Endpoint:

Authorization

string
required
Example:Authorization | Bearer Paste-Your-API-Key-Here

Request Body

string
required
Customer email used to send proof of payment, or payment reminders.
string
required
Customer telephone number.
string
required
Customer name.
integer
required
Nominal amount of payment.
object
required
Installment details.
string
required
General description of the transaction or order.
number | integer
required
Installment interest (%).
number | integer
required
Installment tenor period in months (minimum 3, maximum 24).
number | integer
required
Due date each month (minimum 1, maximum 28).

Response

Successful Response

Main Structure (Root)

integer
Status code form API.
string
Status message that describes the status code.
object
The created installment data.

data Structure (Object)

string<uuid>
Main installment ID.
integer
Total installment amount.
integer
Interest value.
string
Type of interest (example: "FLAT").
string
Installment period (example: "MONTHLY").
integer
Installment duration (in months).
integer
Due date each month (example: 11).
integer
Total interest across all installments.
integer
Total amount payable across all installments.
string
Installment description.
object
Customer details.
string
Installment status (example: "unpaid").
array of object
List of installment invoices.
string (ISO 8601)
Creation time in ISO 8601 format.

customer Structure (Object)

string
Customer email address.
string
Customer name.
string
Customer phone number.

invoices Structure (Array Of Object)

string<uuid>
Invoice ID.
integer
Invoice order number.
integer
Invoice amount.
integer
Interest amount for the invoice.
integer
Remaining balance after this invoice.
string (ISO 8601)
Invoice due date in ISO 8601 format.
string
Payment status (example: "unpaid").
Unique invoice link.

Errors

object
Returned with messages: "Validation Error" when the request body fails validation (e.g. missing or malformed email, mobile, name, amount, or installment fields).
object
Returned with messages: "already exist" when the installment payment link could not be created because it already exists.
object
Returned with messages: "Failed to create installment invoices" when the installment invoices could not be generated.