{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/if/main/json-schema/if-card-transaction-authentication-get-response-schema.json", "title": "CardTransactionAuthenticationGetResponse", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/if-card-transaction-api-openapi.yml#/components/schemas/CardTransactionAuthenticationGetResponse", "required": [ "connect", "data", "metadata", "workflow" ], "type": "object", "properties": { "workflow": { "$ref": "#/$defs/CardTransactionAuthenticationGetWorkflowContainer" }, "data": { "$ref": "#/$defs/CardTransactionAuthenticationGetDataContainer" }, "connect": { "$ref": "#/$defs/CardTransactionAuthenticationGetConnectContainer" }, "metadata": { "$ref": "#/$defs/CardTransactionAuthenticationGetMetadataContainer" } }, "$defs": { "CardTransactionAuthentication": { "required": [ "cardId", "clientId", "id", "merchant", "serviceProvider", "status", "transaction", "type" ], "type": "object", "properties": { "id": { "type": "string", "description": "ID of card transaction authentication", "format": "uuid", "readOnly": true }, "clientId": { "type": "string", "description": "ID of client", "format": "uuid" }, "cardId": { "type": "string", "description": "ID of card", "format": "uuid" }, "type": { "$ref": "#/$defs/ThirdPartyCardAuthenticationEnrollmentType" }, "status": { "$ref": "#/$defs/CardTransactionAuthenticationStatus" }, "serviceProvider": { "type": "string", "description": "service provider of card" }, "merchant": { "$ref": "#/$defs/ThirdPartyCardTransactionAuthenticationMerchantInfo" }, "transaction": { "$ref": "#/$defs/ThirdPartyCardTransactionAuthenticationTransactionInfo" }, "connection": { "$ref": "#/$defs/CardTransactionAuthenticationConnection" } }, "description": "Card Transaction Authentication Resource Object", "readOnly": true }, "CardTransactionAuthenticationConnection": { "type": "object", "properties": { "id": { "type": "string" }, "serviceProvider": { "type": "string" }, "reference": { "type": "string" }, "state": { "$ref": "#/$defs/ServiceProviderConnectionState" }, "status": { "$ref": "#/$defs/ThirdPartyCardTransactionAuthenticationStatus" }, "error": { "$ref": "#/$defs/ConnectionErrorResource" } }, "description": "Card Transaction Authentication Connection Resource Object", "readOnly": true }, "CardTransactionAuthenticationGetConnectContainer": { "type": "object" }, "CardTransactionAuthenticationGetDataContainer": { "type": "object", "properties": { "cardTransactionAuthentication": { "$ref": "#/$defs/CardTransactionAuthentication" } } }, "CardTransactionAuthenticationGetMetadataContainer": { "type": "object" }, "CardTransactionAuthenticationGetWorkflowContainer": { "type": "object" }, "CardTransactionAuthenticationStatus": { "type": "string", "description": "status of card transaction authentication", "readOnly": true, "enum": [ "pending", "approved", "rejected", "cancelled" ] }, "ConnectionErrorResource": { "type": "object", "properties": { "category": { "$ref": "#/$defs/ErrorCategory" }, "origin": { "$ref": "#/$defs/ErrorOrigin" }, "code": { "type": "string" }, "message": { "type": "string" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" } } } }, "ErrorCategory": { "type": "string", "enum": [ "functional", "technical" ] }, "ErrorOrigin": { "type": "string", "enum": [ "customer", "platform", "provider" ] }, "ServiceProviderConnectionState": { "type": "string", "enum": [ "pending", "creation-in-progress", "update-in-progress", "dependency-completed", "completed-up-to-date", "completed-outdated", "dependency-failed", "creation-failed" ] }, "ThirdPartyCardAuthenticationEnrollmentType": { "type": "string", "description": "type of authentication", "enum": [ "all", "sms", "email", "biometric", "out-of-band", "kba" ] }, "ThirdPartyCardTransactionAuthenticationMerchantInfo": { "type": "object", "properties": { "acquirer": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "url": { "type": "string" }, "categoryCode": { "type": "string" }, "country": { "type": "string" }, "appRedirectUrl": { "type": "string" } }, "description": "merchant info of card" }, "ThirdPartyCardTransactionAuthenticationStatus": { "type": "string", "enum": [ "pending", "success", "failure", "cancelled", "error", "step-up", "timeout" ] }, "ThirdPartyCardTransactionAuthenticationTransactionInfo": { "type": "object", "properties": { "creationDateTime": { "type": "string", "format": "date-time" }, "amount": { "type": "number" }, "currency": { "type": "string" } }, "description": "transaction info of card" } } }