Update an installment payment token
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/installments/update/paymenttoken \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "<string>",
"installmentId": "a3e535f7-985e-4252-ae0f-9c9448907d86",
"paymentToken": {
"type": "creditcard",
"token": {
"provider": "jupico",
"token": "f309450d-ef37-42f1-ac04-b04192a8d65f"
}
}
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/installments/update/paymenttoken"
payload = {
"subMerchantId": "<string>",
"installmentId": "a3e535f7-985e-4252-ae0f-9c9448907d86",
"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: '<string>',
installmentId: 'a3e535f7-985e-4252-ae0f-9c9448907d86',
paymentToken: {
type: 'creditcard',
token: {provider: 'jupico', token: 'f309450d-ef37-42f1-ac04-b04192a8d65f'}
}
})
};
fetch('https://sandbox-platform.jupico.com/v1/installments/update/paymenttoken', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/installments/update/paymenttoken';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subMerchantId: '<string>',
installmentId: 'a3e535f7-985e-4252-ae0f-9c9448907d86',
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));Installments
Update an installment payment token
Replaces the payment token charged for an existing installment plan — for example, when the customer changes cards.
POST
https://sandbox-platform.jupico.com
/
v1
/
installments
/
update
/
paymenttoken
Update an installment payment token
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/installments/update/paymenttoken \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "<string>",
"installmentId": "a3e535f7-985e-4252-ae0f-9c9448907d86",
"paymentToken": {
"type": "creditcard",
"token": {
"provider": "jupico",
"token": "f309450d-ef37-42f1-ac04-b04192a8d65f"
}
}
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/installments/update/paymenttoken"
payload = {
"subMerchantId": "<string>",
"installmentId": "a3e535f7-985e-4252-ae0f-9c9448907d86",
"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: '<string>',
installmentId: 'a3e535f7-985e-4252-ae0f-9c9448907d86',
paymentToken: {
type: 'creditcard',
token: {provider: 'jupico', token: 'f309450d-ef37-42f1-ac04-b04192a8d65f'}
}
})
};
fetch('https://sandbox-platform.jupico.com/v1/installments/update/paymenttoken', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/installments/update/paymenttoken';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subMerchantId: '<string>',
installmentId: 'a3e535f7-985e-4252-ae0f-9c9448907d86',
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
application/json
Response
Installment payment token successfully updated.
Last modified on August 31, 2026
Was this page helpful?

