QR Code

Criar cobrança (Qr Code)

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

Headers

Name
Type
Description

account*

String

ID da conta a ser operada

authorization*

String

Bearer Token

Request Body

Name
Type
Description

amount*

Number

Valor

key*

String

Chave pix para gerar a cobrança

dueAt*

Date

Vencimento/validade da cobrança (yyyy-MM-dd

description

String

Descrição da cobrança

{
  "id": "c03391a3-3abe-4bc2-ab07-5b3d425006b6",
  "hashCode": "HASH_CODE",
  "qrCodeBase64": "QR_CODE_BASE64",
  "payerName": "ANDRE FRANCA DE AVILA",
  "payerDocument": null,
  "status": "PROCESSED",
  "dueAt": "2022-07-14T03:00:00.000Z",
  "date": "2022-07-13T15:13:01.425Z"
}

Buscar um Qr Code

GET https://dev.stric.com.br/qrcode{id}

Buscar um QrCode pelo ID

Path Parameters

Name
Type
Description

id*

String

ID do QrCode

Headers

Name
Type
Description

account*

String

ID da conta a ser operada

authorization*

String

Bearer Token

{
  "id": "c03391a3-3abe-4bc2-ab07-5b3d425006b6",
  "hashCode": "HASH_CODE",
  "qrCodeBase64": "QR_CODE_BASE64",
  "payerName": "ANDRE FRANCA DE AVILA",
  "payerDocument": null,
  "status": "PAID",
  "dueAt": "2022-07-14T03:00:00.000Z",
  "date": "2022-07-13T15:13:01.425Z"
}

Listar todos Qr Code

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

Listar um QrCode pelo ID

Query Parameters

Name
Type
Description

start*

Date

yyyy-MM-dd

end*

Date

yyyy-MM-dd

Headers

Name
Type
Description

account*

String

ID da conta a ser operada

authorization*

String

Bearer Token

{
  "id": "c03391a3-3abe-4bc2-ab07-5b3d425006b6",
  "hashCode": "HASH_CODE",
  "qrCodeBase64": "QR_CODE_BASE64",
  "payerName": "ANDRE FRANCA DE AVILA",
  "payerDocument": null,
  "status": "PAID",
  "dueAt": "2022-07-14T03:00:00.000Z",
  "date": "2022-07-13T15:13:01.425Z"
}

Last updated