Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): update spec #826

Merged
merged 2 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/swaggers/openpix.json

Large diffs are not rendered by default.

28 changes: 26 additions & 2 deletions src/swaggers/openpix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1400,14 +1400,14 @@ paths:
value:
value: 100
destinationAlias: c4249323-b4ca-43f2-8139-8232aab09b93
destinationAliasType: RANDOM
comment: payment comment
correlationID: payment1
sourceAccountId: my-source-account-id
qrCode:
summary: QR Code
value:
qrCode: 000201010212261060014br.gov.bcb.pix2584https://api.openpix.com.br/openpix/testing?transactionID=867ba5173c734202ac659721306b38c952040000530398654040.015802BR5909LOCALHOST6009Sao
Paulo62360532867ba5173c734202ac659721306b38c963044BCA
qrCode: 000201010212261060014br.gov.bcb.pix2584https://api.openpix.com.br/openpix/testing?transactionID=867ba5173c734202ac659721306b38c952040000530398654040.015802BR5909LOCALHOST6009SaoPaulo62360532867ba5173c734202ac659721306b38c963044BCA
comment: payment comment
correlationID: payment1
sourceAccountId: my-source-account-id
Expand All @@ -1429,6 +1429,7 @@ paths:
value: 100
status: CREATED
destinationAlias: c4249323-b4ca-43f2-8139-8232aab09b93
destinationAliasType: RANDOM
comment: payment comment
correlationID: payment1
sourceAccountId: my-source-account-id
Expand All @@ -1439,6 +1440,7 @@ paths:
value: 100
status: CREATED
destinationAlias: c4249323-b4ca-43f2-8139-8232aab09b93
destinationAliasType: RANDOM
qrCode: 000201010212261060014br.gov.bcb.pix2584https://api.openpix.com.br/openpix/testing?transactionID=867ba5173c734202ac659721306b38c952040000530398654040.015802BR5909LOCALHOST6009Sao
Paulo62360532867ba5173c734202ac659721306b38c963044BCA
comment: payment comment
Expand Down Expand Up @@ -2929,6 +2931,9 @@ components:
expiresIn:
type: number
description: Expires the charge in seconds (minimum is 15 minutes)
expiresDate:
type: string
description: Expiration date of the charge. Only in ISO 8601 format.
customer:
type: object
$ref: "#/components/schemas/CustomerPayload"
Expand Down Expand Up @@ -3302,6 +3307,7 @@ components:
required:
- value
- destinationAlias
- destinationAliasType
- correlationID
properties:
value:
Expand All @@ -3310,6 +3316,15 @@ components:
destinationAlias:
type: string
description: the pix key the payment should be sent to
destinationAliasType:
type: string
enum:
- CPF
- CNPJ
- EMAIL
- PHONE
- RANDOM
description: the type of the pix key the payment should be sent to
correlationID:
type: string
description: an unique identifier for your payment
Expand Down Expand Up @@ -3348,6 +3363,15 @@ components:
destinationAlias:
type: string
description: the pix key the payment should be sent to
destinationAliasType:
type: string
enum:
- CPF
- CNPJ
- EMAIL
- PHONE
- RANDOM
description: the type of the pix key the payment should be sent to
qrCode:
type: string
description: the QR Code to be paid
Expand Down
2 changes: 1 addition & 1 deletion static/openpixPostman.json

Large diffs are not rendered by default.