curl --request POST 'https://api.mayar.id/hl/v1/installment/create' \
--header 'Authorization: Bearer Paste-Your-API-Key-Here' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "azumiikecee@gmail.com",
"mobile": "089961367511",
"name": "Azumii",
"amount": 1500000,
"installment": {
"description": "Cicil Produk Kelas Online 3 Bulan",
"interest": 0,
"tenure": 3,
"dueDate": 11
}
}
'
{
"statusCode": 200,
"messages": "Success",
"data": {
"id": "ba82c2dd-06c1-4b6c-bc59-a9c00801c842",
"createdAt": 1755631209521,
"dueDate": 11,
"interest": 0,
"interestType": "FLAT",
"period": "MONTHLY",
"tenure": 3,
"invoices": [
{
"id": "9fe1b9c4-b5d5-4d45-bf1a-5c4849631725",
"amount": 500000,
"updatedAt": 1755631210118,
"category": null,
"status": "unpaid",
"index": 1,
"link": "mkcn4u72ki",
"description": "Cicil Produk Kelas Online 3 Bulan",
"interestAmount": 0,
"remainingAmount": 1000000,
"customerId": "62d1a396-07d8-4d93-a14c-9ec801f3af20",
"customer": {
"id": "62d1a396-07d8-4d93-a14c-9ec801f3af20",
"email": "azumiikecee@gmail.com",
"mobile": "089961367511",
"name": "Azumii"
}
},
{
"id": "977777d6-af25-464e-a8ca-e290b3007275",
"amount": 500000,
"updatedAt": 1755631210119,
"category": null,
"status": "unpaid",
"index": 2,
"link": "0ll429zxvsue",
"description": "Cicil Produk Kelas Online 3 Bulan",
"interestAmount": 0,
"remainingAmount": 500000,
"customerId": "62d1a396-07d8-4d93-a14c-9ec801f3af20",
"customer": {
"id": "62d1a396-07d8-4d93-a14c-9ec801f3af20",
"email": "azumiikecee@gmail.com",
"mobile": "089961367511",
"name": "Azumii"
}
},
{
"id": "1dde3426-f6a4-43d2-a1d9-2cd2fa05eb9a",
"amount": 500000,
"updatedAt": 1755631210120,
"category": null,
"status": "unpaid",
"index": 3,
"link": "h8fiobqkek",
"description": "Cicil Produk Kelas Online 3 Bulan",
"interestAmount": 0,
"remainingAmount": 0,
"customerId": "62d1a396-07d8-4d93-a14c-9ec801f3af20",
"customer": {
"id": "62d1a396-07d8-4d93-a14c-9ec801f3af20",
"email": "azumiikecee@gmail.com",
"mobile": "089961367511",
"name": "Azumii"
}
}
]
}
}
Installment
POST Create Installment
Endpoint used to create installment
Was this page helpful?
