Docs
post https://api.bankslip.iugu.com/api/v1/boletos

Cria o boleto

Permissões:

  • Ação implementada:

Schema

Tipo de conteúdo: application/json

document_info
Object

amount_cents
Integer

Ex: 80000

abatement
Integer

Ex: 10

expires_at
String

Ex: 10/10/2023

due_at
String

Ex: 02/10/2023

our_number
Integer

Ex: 123456

discounts
Object

date
String

Ex: 01/10/2023

value
Number

Ex: 30

fines
Object

date
String

Ex: 03/10/2023

value
Number

Ex: 10

interests
Object

date
String

Ex: 03/10/2023

value
Number

Ex: 15

recipient
Object

document_number
String

Ex: 13881681035

person_type
String

Ex: natural

name
String

Ex: Carolina

trade_name
String

Ex: Nome Fantasia LTDA

address
Object

street
String

Ex: Rua Palacete

number
Integer

Ex: 20

complement
String

Ex: Apartamento 42

zipcode
Integer

Ex: 1172490

city
String

Ex: São Paulo

state
String

Ex: SP

payer
Object

document_number
String

Ex: 59733299090

person_type
String

Ex: natural

name
String

Ex: Luana

trade_name
String

Ex: Nome Fantasia LTDA

address
Object

street
String

Ex: Rua Palacete

number
Integer

Ex: 20

complement
String

Ex: Apartamento 42

zipcode
Integer

Ex: 1172490

city
String

Ex: São Paulo

state
String

Ex: SP

Exemplo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
  "document_info": {
    "amount_cents": 80000,
    "abatement": 10,
    "expires_at": "10/10/2023",
    "due_at": "02/10/2023",
    "our_number": 123456,
    "discounts": {
      "date": "01/10/2023",
      "value": 30
    },
    "fines": {
      "date": "03/10/2023",
      "value": 10
    },
    "interests": {
      "date": "03/10/2023",
      "value": 15
    }
  },
  "recipient": {
    "document_number": 13881681035,
    "person_type": "natural",
    "name": "Carolina",
    "trade_name": "Nome Fantasia LTDA",
    "address": {
      "street": "Rua Palacete",
      "number": 20,
      "complement": "Apartamento 42",
      "zipcode": 1172490,
      "city": "São Paulo",
      "state": "SP"
    }
  },
  "payer": {
    "document_number": 59733299090,
    "person_type": "natural",
    "name": "Luana",
    "trade_name": "Nome Fantasia LTDA",
    "address": {
      "street": "Rua Palacete",
      "number": 20,
      "complement": "Apartamento 42",
      "zipcode": 1172490,
      "city": "São Paulo",
      "state": "SP"
    }
  }
}

Parâmetros no Cabeçalho

  • WORKSPACE_ID

    Obrigatório

    String

    Identificador do workspace

    Ex: 4fHECmQtLdROI4fDLWMiLd

Respostas

200
successful