Skip to content

Commit

Permalink
cloned parameters from NewTransactionResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
EmanueleBVtech committed Dec 10, 2024
1 parent 53222c4 commit 92bb2e3
Showing 1 changed file with 98 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,104 @@
"status",
"payments"
]
}, "TransactionInfo": {
"description": "Transaction data returned when querying for an existing transaction",
"type": "object",
"properties": {
"transactionId": {
"type": "string"
},
"payments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PaymentInfo"
},
"minItems": 1,
"maxItems": 1,
"example": [
{
"rptId": "77777777777302012387654312384",
"paymentToken": "paymentToken1",
"reason": "reason1",
"amount": 600,
"transferList": [
{
"paFiscalCode": "77777777777",
"digitalStamp": false,
"transferCategory": "transferCategory1",
"transferAmount": 500
},
{
"paFiscalCode": "11111111111",
"digitalStamp": true,
"transferCategory": "transferCategory2",
"transferAmount": 100
}
]
}
]
},
"status": {
"$ref": "#/components/schemas/TransactionStatus"
},
"feeTotal": {
"$ref": "#/components/schemas/AmountEuroCents"
},
"clientId": {
"description": "transaction client id",
"type": "string",
"enum": [
"IO"
]
},
"sendPaymentResultOutcome": {
"description": "The outcome of sendPaymentResult api (OK, KO, NOT_RECEIVED)",
"type": "string",
"enum": [
"OK",
"KO",
"NOT_RECEIVED"
]
},
"authorizationCode": {
"type": "string",
"description": "Payment gateway-specific authorization code related to the transaction"
},
"errorCode": {
"type": "string",
"description": "Payment gateway-specific error code from the gateway"
},
"gateway": {
"type": "string",
"pattern": "XPAY|VPOS|NPG|REDIRECT",
"description": "Pgs identifier"
},
"closePaymentResultError": {
"type": "object",
"description": "Error details for close payment result",
"properties": {
"statusCode": {
"type": "number"
},
"description": {
"type": "string"
}
}
},
"status": {
"$ref": "#/components/schemas/TransactionStatus"
},
"gatewayAuthorizationStatus": {
"type": "string",
"description": "Payment gateway authorization status"
}
},
"required": [
"status",
"transactionId",
"status",
"payments"
]
},
"AmountEuroCents": {
"description": "Amount for payments, in euro cents",
Expand Down

0 comments on commit 92bb2e3

Please sign in to comment.