Skip to main content
POST
Create an installment plan

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
subMerchantId
string
required

The subMerchantId associated with the installment.

Example:

"mtck-md-1"

customerId
string
required

The ID of the customer for this installment.

Example:

"2ce8fe11-e111-4d76-a59e-7914d903ec12"

totalAmount
number
required

The total amount to be paid across all installments.

Example:

100

payments
object
required

Recurring payment schedule configuration.

paymentToken
object
required

The customer's permanent payment token.

deposit
object

Optional deposit charged at creation time.

Response

Installment successfully created.