Adiar Parcela
curl --request POST \
--url https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"newDueDate": "<string>"
}
'import requests
url = "https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone"
payload = { "newDueDate": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({newDueDate: '<string>'})
};
fetch('https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'newDueDate' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone"
payload := strings.NewReader("{\n \"newDueDate\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"newDueDate\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"newDueDate\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyBoleto Parcelado (Carnê)
Adiar Parcela
Move uma parcela para uma data posterior
POST
/
api
/
v1
/
installment-plans
/
{uuid}
/
installments
/
{number}
/
postpone
Adiar Parcela
curl --request POST \
--url https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"newDueDate": "<string>"
}
'import requests
url = "https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone"
payload = { "newDueDate": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({newDueDate: '<string>'})
};
fetch('https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'newDueDate' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone"
payload := strings.NewReader("{\n \"newDueDate\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"newDueDate\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://garu.com.br/api/v1/installment-plans/{uuid}/installments/{number}/postpone")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"newDueDate\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyVisão Geral
Move uma parcela. As outras mantêm as datas — isso adia um pagamento, não re-parcela o carnê.Um boleto já emitido continua pagável na data original até expirar. Adiar não mata o código de barras que o comprador já tem.
Exemplo
curl -X POST https://garu.com.br/api/v1/installment-plans/e5d0d8fe-0000-4000-8000-000000000001/installments/4/postpone \
-H "Authorization: Bearer sk_live_sua_chave" \
-H "Content-Type: application/json" \
-d '{ "newDueDate": "2026-12-20" }'
await garu.installmentPlans.postponeInstallment(uuid, 4, {
newDueDate: '2026-12-20'
});
Parâmetros
string
required
Nova data em
YYYY-MM-DD. Há um limite de quanto uma parcela pode ser empurrada — adiar por um ano seria re-parcelar pela porta dos fundos, e os totais do plano deixariam de descrever o que o comprador aceitou.Was this page helpful?
⌘I