v1
latestOpenAPI 3.1.02026-07-241040774.6 KBEditar data de vencimento da cobrança
patch/charges/{charge_id}/due-date
Path parameters
charge_idstring required
Código da cobrança.
Request body
Response
200
Example response
{
"id": "ch_9R6419s6Btvp4ykO",
"code": "R8VI5WU79R",
"gateway_id": "efda8d57-50d8-4b19-b2d4-873bee2e1b62",
"amount": 14900000,
"status": "pending",
"currency": "BRL",
"payment_method": "boleto",
"due_at": "2017-04-04T00:00:00",
"created_at": "2017-04-04T21:34:32",
"updated_at": "2017-04-04T21:44:05",
"customer": {
"id": "cus_aEkwKv0SmNHMR931",
"name": "Luke Skywalker",
"email": "lskywalker@r2d2.com",
"created_at": "2017-04-04T19:41:31",
"updated_at": "2017-04-04T19:41:31"
},
"last_transaction": {
"id": "tran_E3r7OrMh3hbjvwKj",
"transaction_type": "boleto",
"gateway_id": "19372a76-a8de-4017-aa91-8c9d21c34185",
"amount": 14900000,
"status": "generated",
"success": true,
"url": "https://sandbox.mundipaggone.com/Boleto/ViewBoleto.aspx?19372a76-a8de-4017-aa91-8c9d21c34185",
"pdf": "https://api.mundipagg.com/core/v1.0/transactions/tran_E3r7OrMh3hbjvwKj/pdf",
"line": "34191.75009 03073.581237 41234.510000 2 71240014900000",
"barcode": "https://api.mundipagg.com/core/v1.0/transactions/tran_E3r7OrMh3hbjvwKj/barcode",
"qr_code": "https://api.mundipagg.com/core/v1.0/transactions/tran_E3r7OrMh3hbjvwKj/qrcode",
"nosso_numero": "00030735",
"bank": "001",
"document_number": "094408333",
"created_at": "2017-04-04T21:44:05",
"updated_at": "2017-04-04T21:44:05"
},
"metadata": {
"id": "my_charge_id"
}
}