Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
EmanueleBVtech committed Dec 10, 2024
1 parent ed9ecfd commit e5a4954
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 117 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -472,48 +472,54 @@
"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"
"nodeInfo":{
"type": "object",
"description": "Gateway infos",
"properties": {
"closePaymentResultError": {
"type": "object",
"description": "Error details for close payment result",
"properties": {
"statusCode": {
"type": "number"
},
"description": {
"type": "string"
}
}
},
"sendPaymentResultOutcome": {
"description": "The outcome of sendPaymentResult api (OK, KO, NOT_RECEIVED)",
"type": "string",
"enum": [
"OK",
"KO",
"NOT_RECEIVED"
]
},
}
},
"gateway":{
"gatewayInfo":{
"type": "object",
"description": "Gateway infos",
"properties": {
"gatewayType": {
"gateway": {
"type": "string",
"pattern": "XPAY|VPOS|NPG|REDIRECT",
"description": "Pgs identifier"
},
"gatewayAuthorizationStatus": {
"type": "string",
"description": "Payment gateway authorization status"
}
}
},
"closePaymentResultError": {
"type": "object",
"description": "Error details for close payment result",
"properties": {
"statusCode": {
"type": "number"
},
"description": {
"type": "string"
}
"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"
},
}
},
},
Expand Down
66 changes: 36 additions & 30 deletions src/domains/ecommerce-app/api/ecommerce-io/v2/_openapi.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -1760,48 +1760,54 @@
"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"
"nodeInfo":{
"type": "object",
"description": "Gateway infos",
"properties": {
"closePaymentResultError": {
"type": "object",
"description": "Error details for close payment result",
"properties": {
"statusCode": {
"type": "number"
},
"description": {
"type": "string"
}
}
},
"sendPaymentResultOutcome": {
"description": "The outcome of sendPaymentResult api (OK, KO, NOT_RECEIVED)",
"type": "string",
"enum": [
"OK",
"KO",
"NOT_RECEIVED"
]
},
}
},
"gateway":{
"gatewayInfo":{
"type": "object",
"description": "Gateway infos",
"properties": {
"gatewayType": {
"gateway": {
"type": "string",
"pattern": "XPAY|VPOS|NPG|REDIRECT",
"description": "Pgs identifier"
},
"gatewayAuthorizationStatus": {
"type": "string",
"description": "Payment gateway authorization status"
}
}
},
"closePaymentResultError": {
"type": "object",
"description": "Error details for close payment result",
"properties": {
"statusCode": {
"type": "number"
},
"description": {
"type": "string"
}
"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"
},
}
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,48 +337,54 @@
"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"
"nodeInfo":{
"type": "object",
"description": "Gateway infos",
"properties": {
"closePaymentResultError": {
"type": "object",
"description": "Error details for close payment result",
"properties": {
"statusCode": {
"type": "number"
},
"description": {
"type": "string"
}
}
},
"sendPaymentResultOutcome": {
"description": "The outcome of sendPaymentResult api (OK, KO, NOT_RECEIVED)",
"type": "string",
"enum": [
"OK",
"KO",
"NOT_RECEIVED"
]
},
}
},
"gateway":{
"gatewayInfo":{
"type": "object",
"description": "Gateway infos",
"properties": {
"gatewayType": {
"gateway": {
"type": "string",
"pattern": "XPAY|VPOS|NPG|REDIRECT",
"description": "Pgs identifier"
},
"gatewayAuthorizationStatus": {
"type": "string",
"description": "Payment gateway authorization status"
}
}
},
"closePaymentResultError": {
"type": "object",
"description": "Error details for close payment result",
"properties": {
"statusCode": {
"type": "number"
},
"description": {
"type": "string"
}
"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"
},
}
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,48 +329,54 @@
"IO"
]
},
"closePaymentResultError": {
"nodeInfo":{
"type": "object",
"description": "Error details for close payment result",
"description": "Gateway infos",
"properties": {
"statusCode": {
"type": "number"
"closePaymentResultError": {
"type": "object",
"description": "Error details for close payment result",
"properties": {
"statusCode": {
"type": "number"
},
"description": {
"type": "string"
}
}
},
"sendPaymentResultOutcome": {
"description": "The outcome of sendPaymentResult api (OK, KO, NOT_RECEIVED)",
"type": "string",
"enum": [
"OK",
"KO",
"NOT_RECEIVED"
]
},
"description": {
"type": "string"
}
}
},
"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":{
"gatewayInfo":{
"type": "object",
"description": "Gateway infos",
"properties": {
"gatewayType": {
"gateway": {
"type": "string",
"pattern": "XPAY|VPOS|NPG|REDIRECT",
"description": "Pgs identifier"
},
"gatewayAuthorizationStatus": {
"type": "string",
"description": "Payment gateway authorization status"
}
},
"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"
},
}
},
},
Expand Down

0 comments on commit e5a4954

Please sign in to comment.