curl --request POST \
--url https://sandbox-platform.jupico.com/v1/installments \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "mtck-md-1",
"customerId": "2ce8fe11-e111-4d76-a59e-7914d903ec12",
"totalAmount": 100,
"payments": {
"frequency": "monthly",
"amount": 9,
"qty": 10,
"startDate": "2026-02-10"
},
"paymentToken": {
"type": "creditcard",
"token": {
"provider": "jupico",
"token": "f309450d-ef37-42f1-ac04-b04192a8d65f"
}
}
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/installments"
payload = {
"subMerchantId": "mtck-md-1",
"customerId": "2ce8fe11-e111-4d76-a59e-7914d903ec12",
"totalAmount": 100,
"payments": {
"frequency": "monthly",
"amount": 9,
"qty": 10,
"startDate": "2026-02-10"
},
"paymentToken": {
"type": "creditcard",
"token": {
"provider": "jupico",
"token": "f309450d-ef37-42f1-ac04-b04192a8d65f"
}
}
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subMerchantId: 'mtck-md-1',
customerId: '2ce8fe11-e111-4d76-a59e-7914d903ec12',
totalAmount: 100,
payments: {frequency: 'monthly', amount: 9, qty: 10, startDate: '2026-02-10'},
paymentToken: {
type: 'creditcard',
token: {provider: 'jupico', token: 'f309450d-ef37-42f1-ac04-b04192a8d65f'}
}
})
};
fetch('https://sandbox-platform.jupico.com/v1/installments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/installments';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subMerchantId: 'mtck-md-1',
customerId: '2ce8fe11-e111-4d76-a59e-7914d903ec12',
totalAmount: 100,
payments: {frequency: 'monthly', amount: 9, qty: 10, startDate: '2026-02-10'},
paymentToken: {
type: 'creditcard',
token: {provider: 'jupico', token: 'f309450d-ef37-42f1-ac04-b04192a8d65f'}
}
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));Create an installment plan
Creates an installment plan that splits a total amount into scheduled payments for a customer. The initial charge depends on the deposit and start date: with no deposit and no future start date, the first payment is charged immediately; with a future start date and no deposit, only card validation is performed; with a deposit and no future start date, the deposit plus the first payment are charged immediately; with both, only the deposit is charged immediately.
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/installments \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "mtck-md-1",
"customerId": "2ce8fe11-e111-4d76-a59e-7914d903ec12",
"totalAmount": 100,
"payments": {
"frequency": "monthly",
"amount": 9,
"qty": 10,
"startDate": "2026-02-10"
},
"paymentToken": {
"type": "creditcard",
"token": {
"provider": "jupico",
"token": "f309450d-ef37-42f1-ac04-b04192a8d65f"
}
}
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/installments"
payload = {
"subMerchantId": "mtck-md-1",
"customerId": "2ce8fe11-e111-4d76-a59e-7914d903ec12",
"totalAmount": 100,
"payments": {
"frequency": "monthly",
"amount": 9,
"qty": 10,
"startDate": "2026-02-10"
},
"paymentToken": {
"type": "creditcard",
"token": {
"provider": "jupico",
"token": "f309450d-ef37-42f1-ac04-b04192a8d65f"
}
}
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subMerchantId: 'mtck-md-1',
customerId: '2ce8fe11-e111-4d76-a59e-7914d903ec12',
totalAmount: 100,
payments: {frequency: 'monthly', amount: 9, qty: 10, startDate: '2026-02-10'},
paymentToken: {
type: 'creditcard',
token: {provider: 'jupico', token: 'f309450d-ef37-42f1-ac04-b04192a8d65f'}
}
})
};
fetch('https://sandbox-platform.jupico.com/v1/installments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/installments';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subMerchantId: 'mtck-md-1',
customerId: '2ce8fe11-e111-4d76-a59e-7914d903ec12',
totalAmount: 100,
payments: {frequency: 'monthly', amount: 9, qty: 10, startDate: '2026-02-10'},
paymentToken: {
type: 'creditcard',
token: {provider: 'jupico', token: 'f309450d-ef37-42f1-ac04-b04192a8d65f'}
}
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
The subMerchantId associated with the installment.
"mtck-md-1"
The ID of the customer for this installment.
"2ce8fe11-e111-4d76-a59e-7914d903ec12"
The total amount to be paid across all installments.
100
Recurring payment schedule configuration.
Show child attributes
Show child attributes
The customer's permanent payment token.
Show child attributes
Show child attributes
Optional deposit charged at creation time.
Show child attributes
Show child attributes
Response
Installment successfully created.
Was this page helpful?

