Boleto de Cobrança

Essa opção permite aos usuários realizar cobranças por meio de guias de pagamento.

Novo Boleto de Cobrança

POST https://dev.stric.com.br/billets

Endpoint para registro de boletos

Headers

NameTypeDescription

authorization*

String

Token de client

account

String (uuid)

Request Body

NameTypeDescription

amount*

Number

Valor

dueDate*

Date

Data de vencimento

customer.{name}*

String

Nome

customer.{document}*

String

Documento CPF/CNPJ

customer.{zipCode}*

String

Cep

customer.{State}*

String

Estado - (2 dígitos)

customer*

Object

Objeto do customer (cliente pagador/sacado)

{
    "type": "CHARGE",
    "ourNumber": "000000000169",
    "documentNumber": "000000000169",
    "amount": 1,
    "dueAt": "2022-06-15T03:00:00.000Z",
    "barCode": "65591901700000001000000002933500000000016900",
    "digitableLine": "65590.00002 02933.500007 00000.169003 1 90170000000100",
    "customerName": "Customer Name",
    "customerDocument": "Customer Document",
    "customerZipCode": "00000000",
    "customerState": "XX",
    "url": "https://sandboxboletos.fitbank.com.br/boleto/2022-06-15/qyhu0mpf.pdf",
    "id": "a44be28c-7df2-4c6b-be39-b3a9b460e8fb",
    "date": "2022-06-15T15:47:17.499Z"
}

Listar boletos gerados

GET https://dev.stric.com.br/billets

Endpoint para listar todos os boletos gerados

Query Parameters

NameTypeDescription

page*

Number

start*

Date

end*

Date

Headers

NameTypeDescription

authorization*

String

Token de client

account*

String (uuid)

{
    "current_page": 0,
    "total_pages": 0,
    "total_items": 1,
    "total_items_page": 1,
    "items": [
        {
            "id": "a44be28c-7df2-4c6b-be39-b3a9b460e8fb",
            "type": "CHARGE",
            "ourNumber": "000000000169",
            "documentNumber": "000000000169",
            "amount": 1,
            "dueAt": "2022-06-15T03:00:00.000Z",
            "barCode": "65591901700000001000000002933500000000016900",
            "digitableLine": "65590.00002 02933.500007 00000.169003 1 90170000000100",
            "paidAt": null,
            "creditAt": null,
            "customerName": "customerName",
            "customerDocument": "customerDocument",
            "customerZipCode": "00000000",
            "customerState": "XX",
            "url": "https://sandboxboletos.fitbank.com.br/boleto/2022-06-15/qyhu0mpf.pdf",
            "date": "2022-06-15T15:47:17.499Z"
        }
    ]
}

Last updated