Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
21 changes: 13 additions & 8 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -7180,14 +7180,7 @@
"example": "2020-02-29T10:56:56.876Z"
},
"status": {
"description": "Current status of the transaction.",
"type": "string",
"enum": [
"SUCCESSFUL",
"CANCELLED",
"FAILED",
"PENDING"
]
"$ref": "#/components/schemas/TransactionStatus"
},
"payment_type": {
"$ref": "#/components/schemas/PaymentType"
Expand Down Expand Up @@ -7650,6 +7643,18 @@
],
"title": "Currency"
},
"TransactionStatus": {
"description": "Current status of the transaction.\n\n- `PENDING`: The transaction has been created but its final outcome is not known yet.\n- `SUCCESSFUL`: The transaction completed successfully.\n- `CANCELLED`: The transaction was cancelled or otherwise reversed before completion.\n- `FAILED`: The transaction attempt did not complete successfully.\n- `REFUNDED`: The transaction was refunded in full or in part.",
"type": "string",
"enum": [
"SUCCESSFUL",
"CANCELLED",
"FAILED",
"PENDING",
"REFUNDED"
],
"title": "Transaction Status"
},
"EventType": {
"description": "Type of the transaction event.",
"type": "string",
Expand Down
25 changes: 18 additions & 7 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5026,13 +5026,7 @@ components:
format: date-time
example: 2020-02-29T10:56:56.876Z
status:
description: Current status of the transaction.
type: string
enum:
- SUCCESSFUL
- CANCELLED
- FAILED
- PENDING
$ref: '#/components/schemas/TransactionStatus'
payment_type:
$ref: '#/components/schemas/PaymentType'
installments_count:
Expand Down Expand Up @@ -5406,6 +5400,23 @@ components:
- SEK
- USD
title: Currency
TransactionStatus:
description: |-
Current status of the transaction.

- `PENDING`: The transaction has been created but its final outcome is not known yet.
- `SUCCESSFUL`: The transaction completed successfully.
- `CANCELLED`: The transaction was cancelled or otherwise reversed before completion.
- `FAILED`: The transaction attempt did not complete successfully.
- `REFUNDED`: The transaction was refunded in full or in part.
type: string
enum:
- SUCCESSFUL
- CANCELLED
- FAILED
- PENDING
- REFUNDED
title: Transaction Status
EventType:
description: Type of the transaction event.
type: string
Expand Down