Skip to content

Commit

Permalink
docs: baas-pix-qrcode
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure Pipelines committed Jun 5, 2024
1 parent 43cbc03 commit 61d3276
Showing 1 changed file with 217 additions and 4 deletions.
221 changes: 217 additions & 4 deletions assets/baas-pix-qrcode/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4684,14 +4684,227 @@
}
}
},
"/dynamics/{id}/jws": {
"/v1/cob/{id}": {
"get": {
"tags": [
"get_qr_code"
],
"summary": "Get a JWS from Dynamic QR Code",
"description": "Get a JWS from Dynamic QR Code",
"operationId": "get_jws_dynamic_qr_code",
"summary": "Get a JWS from Dynamic Immediate QR Code",
"description": "Get a JWS from Dynamic Immediate QR Code",
"operationId": "get_jws_dynamic_cob_qr_code",
"security": [
{
"BearerAuth": []
}
],
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"example": "69F963C6-7487-4363-9406-A1DE2A9636D4",
"type": "string",
"format": "uuid",
"description": "ID from QR Code"
},
"required": true
}
],
"responses": {
"200": {
"description": "QR Code JWS successfully returned",
"content": {
"text/plain": {
"schema": {
"type": "string",
"example": "eyJhbGciOiJQUzUxMiIsImtpZCI6IjUwQTM5Qzc0MUE0RTFDQjQxN0Y2OEM2Q0MwMkY2M0JFODg2RDg1MzIiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJVS09jZEJwT0hMUVg5b3hzd0M5anZvaHRoVEkiLCJqa3UiOiJodHRwczovL2V4ZW1wbG8uY29tL3BpeC9qZHBpL3FyYy9qd2tzIn0.eyJ2ZXJzYW8iOiIxLjAuMCIsImRvY3VtZW50byI6eyJpZCI6IjNmOTk0YTY2LTgyMzAtNGM5YS1hZDJhLTBmZmU0YjY5YWQ2OCIsInJldmlzYW8iOjB9LCJjYWxlbmRhcmlvIjp7ImNyaWFjYW8iOiIxMy8xMC8yMDIwIDE4OjQ0OjExIiwiYXByZXNlbnRhY2FvIjoiMTMvMTAvMjAyMCAxODo0NDoxMSIsImV4cGlyYWNhbyI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BWyIIGLr7zVKot5lFUt7hTgU8c6QeQijwjwqmxMUF8z2h-y7dV0prCt7o-JpbdcdTXAL7CuTte8WfH7nGiljeiDRdEkYneBvzBRpd84RMR1392bQ4gppaxHU7S-ZkakJ5hSHoQKzg"
}
}
}
},
"400": {
"description": "Error with types [BacenInvalidDataError].",
"content": {
"application/json": {
"schema": {
"title": "Invalid Data Error",
"properties": {
"error": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type of error",
"example": "https://pix.bcb.gov.br/api/v2/error/CobPayloadOperacaoInvalida"
},
"title": {
"type": "string",
"description": "Describes a title informing a reason for the error",
"example": "Requisicao invalida."
},
"detail": {
"type": "string",
"description": "Describes a message informing a reason for the error",
"example": "A cobranca existe, mas a requisicao e invalida."
},
"status": {
"type": "number",
"description": "Error status code",
"example": 400
},
"violacoes": {
"type": "array",
"description": "Array of violations",
"items": {
"type": "object",
"properties": {
"propriedade": {
"type": "string",
"description": "Field property from error",
"example": "id"
},
"razao": {
"type": "string",
"description": "Reason of the error",
"example": "Formato id invalido"
},
"valor": {
"type": "string",
"description": "Value of the property",
"example": "cd1e31ab234234234"
}
}
}
}
}
}
}
},
"examples": {
"Example 1 - BacenInvalidDataError": {
"value": {
"type": "https://pix.bcb.gov.br/api/v2/error/CobPayloadOperacaoInvalida",
"title": "Requisicao invalida.",
"detail": "A cobranca existe, mas a requisicao e invalida.",
"status": 400,
"violacoes": [
{
"propriedade": "id",
"razao": "Formato id invalido",
"valor": "cd1e31ab234234234"
}
]
}
}
}
}
}
},
"404": {
"description": "Error with types [BacenNotFoundError]",
"content": {
"application/json": {
"schema": {
"title": "Not Found Error",
"properties": {
"error": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type of error",
"example": "https://pix.bcb.gov.br/api/v2/error/CobPayloadNaoEncontrado"
},
"title": {
"type": "string",
"description": "Describes a title informing a reason for the error",
"example": "Cobranca nao encontrada."
},
"detail": {
"type": "string",
"description": "Describes a message informing a reason for the error",
"example": "A cobranca em questao nao foi encontrada para a location requisitada."
},
"status": {
"type": "number",
"description": "Error status code",
"example": 404
}
}
}
}
},
"examples": {
"Example 1 - BacenNotFoundError": {
"value": {
"type": "https://pix.bcb.gov.br/api/v2/error/CobPayloadNaoEncontrado",
"title": "Cobranca nao encontrada.",
"status": 404,
"detail": "A cobranca em questao nao foi encontrada para a location requisitada."
}
}
}
}
}
},
"410": {
"description": "Error with types [BacenGoneError]",
"content": {
"application/json": {
"schema": {
"title": "Gone Error",
"properties": {
"error": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type of error",
"example": "https://pix.bcb.gov.br/api/v2/error/CobPayloadNaoEncontrado"
},
"title": {
"type": "string",
"description": "Describes a title informing a reason for the error",
"example": "Cobranca nao encontrada."
},
"detail": {
"type": "string",
"description": "Describes a message informing a reason for the error",
"example": "A cobranca em questao nao foi encontrada para a location requisitada."
},
"status": {
"type": "number",
"description": "Error status code",
"example": 410
}
}
}
}
},
"examples": {
"Example 1 - BacenGoneError": {
"value": {
"type": "https://pix.bcb.gov.br/api/v2/error/CobPayloadNaoEncontrado",
"title": "Cobranca nao encontrada.",
"status": 410,
"detail": "A cobranca em questao nao foi encontrada para a location requisitada."
}
}
}
}
}
}
}
}
},
"/v1/cobv/{id}": {
"get": {
"tags": [
"get_qr_code"
],
"summary": "Get a JWS from Dynamic With Due Date QR Code",
"description": "Get a JWS from Dynamic With Due Date QR Code",
"operationId": "get_jws_dynamic_cobv_qr_code",
"security": [
{
"BearerAuth": []
Expand Down

0 comments on commit 61d3276

Please sign in to comment.