Download OpenAPI specification:Download
Allows to verify the availability of the API, the access to it across all layers, as well as the client authentication.
Returns a status message of the system.
| x-request-id | string A unique identifier for a request and response pair. |
{- "message": "The healthcheck GET request was successfully received and processed.",
- "requestDateTime": "2021-10-03T16:03:09.101+02:00",
- "receivedHeaders": [
- {
- "headerName": "x-correlation-id",
- "headerValue": "9bcd4351-4b7b-4017-9b63-9613414c6ff1"
}
], - "apiVersion": "1.0.0"
}Returns the request body. This operation will not modify the system.
| x-request-id | string A unique identifier for a request and response pair. |
Any message which is expected in the response.
| message required | string [ 1 .. 100 ] characters Expected response message from health check. |
{- "message": "Any string"
}{- "message": "The healthcheck GET request was successfully received and processed.",
- "requestDateTime": "2021-10-03T16:03:09.101+02:00",
- "receivedHeaders": [
- {
- "headerName": "x-correlation-id",
- "headerValue": "9bcd4351-4b7b-4017-9b63-9613414c6ff1"
}
], - "apiVersion": "1.0.0"
}Returns the request body. This operation will not modify the system.
| x-request-id | string A unique identifier for a request and response pair. |
Any message which is expected in the response.
| message required | string [ 1 .. 100 ] characters Expected response message from health check. |
{- "message": "Any string"
}{- "message": "The healthcheck GET request was successfully received and processed.",
- "requestDateTime": "2021-10-03T16:03:09.101+02:00",
- "receivedHeaders": [
- {
- "headerName": "x-correlation-id",
- "headerValue": "9bcd4351-4b7b-4017-9b63-9613414c6ff1"
}
], - "apiVersion": "1.0.0"
}Orders a new virtual or physical card optionally with a reference to an existing parent card.
In case the feature toggle values are not specified in the request, either directly, or by referencing a parentCard with the takeoverFeatureToggles set to true, the feature toggles will receive the following default values:
| Feature Flag | Default Value |
|---|---|
| eCommerceAllowed | true |
| trxOnlyAsChipAndPin | false |
| magStripePaymentAllowed | true |
| automaticBilling | true |
| purchaseWithCashBackAllowed | true |
| merchantInitiatedTrxAllowed | true |
| atmAllowed | true |
| posAllowed | true |
| motoAllowed | true |
| bypassGeoblocking | true |
| moneySendReceiveAllowance | RECEIVE_AND_SEND_ALLOWED |
| reservationAllowed | true |
| transactionPushEnabled | true |
| gamblingAndBettingAllowance | ALLOWED |
| blockedMerchantCategoryCodes | (empty List) |
| contactlessActivationStatus | ACTIVATED_CONFIRMED |
In addition to standard application error codes, the following codes can be returned:
| x-request-id | string A unique identifier for a request and response pair. |
Configuration specifying the new card to be ordered.
required | object (CardOrderData) Card data needed to order the card. Online limits are required if they should not be taken over from the parent card. EMV-Profile must be set for a physical card order. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object (ParentCardReference) Reference to a card from which settings can be inherited. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object (BccData) Information about the cardholder from the bank card central. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object (FraudConfiguration) The fraud configuration, containing restrictions for countries and regions. Authorizations from a country will be declined if the country itself, or the region it belongs to, is restricted. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| isBlocked | boolean Defines if the card is ordered blocked. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "cardOrderData": {
- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSequenceNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "accountNumber": "AB-4567890123456",
- "iban": "CH3456789012345678901",
- "cardMaterial": "PHYSICAL",
- "language": "DE",
- "chipApplication": "EMVI20",
- "branchNumber": 1,
- "transactionAuthorizer": "ALWAYS_SIX",
- "cardDelivery": "DELIVER_TO_BANK",
- "cardExpressCode": "A_POST",
- "subCardType": "A1",
- "onlineLimits": {
- "totalLimitPerMonth": 20000,
- "cashLimitPerMonth": 10000,
- "totalLimitPerDay": 5000,
- "cashLimitPerDay": 1000
}, - "featureToggles": {
- "eCommerceAllowed": true,
- "trxOnlyAsChipAndPin": true,
- "magStripePaymentAllowed": true,
- "automaticBilling": true,
- "purchaseWithCashBackAllowed": true,
- "blockedMerchantCategoryCodes": [
- 7995
], - "merchantInitiatedTrxAllowed": true,
- "atmAllowed": true,
- "posAllowed": true,
- "motoAllowed": true,
- "bypassGeoblocking": true,
- "moneySendReceiveAllowance": "NOT_ALLOWED",
- "reservationAllowed": true,
- "transactionPushEnabled": true,
- "gamblingAndBettingAllowance": "ALLOWED",
- "contactlessActivationStatus": "UNKNOWN"
}, - "cardPlasticCode": "F0",
- "otrcDelivery": "NONE",
- "otrcDatamailerDelivery": "DELIVER_TO_BANK",
- "otrcDatamailerExpressCode": "A_POST",
- "deliveryInformation": {
- "address": [
- "Peter Schweizer",
- "Bahnhofstrasse 1",
- "8000 Zürich"
], - "country": "CH",
- "salutationText": "string"
}, - "pinDatamailerDelivery": "DELIVER_TO_BANK",
- "pinDatamailerExpressCode": "A_POST",
- "producerCode": "THALES",
- "producerInfo": "string",
- "emvProfile": {
- "emvCurrency": "CHF",
- "emvProfileId": 4
}, - "cardholderDataTrack": "SCHWEIZER/PETER",
- "cardLine1": "string",
- "cardLine2": "string"
}, - "parentCardReference": {
- "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "shareLimits": true,
- "deleteAfterFirstUse": true,
- "takeoverPin": true,
- "takeoverContactlessActivationStatus": true,
- "takeoverFeatureToggles": true,
- "takeoverBillingUpdater": true
}, - "bccData": {
- "salutation": "NOT_SET",
- "firstName": "Peter",
- "familyName": "Schweizer",
- "street": "Bahnhofstrasse",
- "streetNo": "1",
- "city": "Zürich",
- "postalCode": "8001",
- "country": "CH",
- "phoneNumber": "+41797778899",
- "birthdate": "2000-12-31",
- "emailAddress": "peter.schweizer@mailbox.org",
- "customerRelationshipOpeningDate": "2021-12-31",
- "accountOpeningDate": "2021-12-31",
- "accountAuthorities": [
- {
- "firstName": "Peter",
- "familyName": "Schweizer",
- "birthdate": "2000-12-31"
}
], - "individualIdentificationTag": "Owner of a sailing boat",
- "ebankingContractNo": "ABC-56789012345"
}, - "fraudConfiguration": {
- "restrictedRegions": [
- "SWITZERLAND_AND_LIECHTENSTEIN"
], - "restrictedCountries": [
- "CH"
], - "riskShieldListing": [
- "string"
]
}, - "isBlocked": false
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Returns the status and the details of the given card.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Identifier of the card for which to return the details.
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||
| |||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}
}{- "aliasId": "e336c8c8-2945-4be3-af3e-951ec2d01219",
- "commonCardInformation": {
- "accountNumber": "AB-4567890123456",
- "iban": "CH3456789012345678901",
- "cardMaterial": "PHYSICAL",
- "plasticCode": "F0",
- "subCardType": "A1",
- "language": "DE",
- "status": "ACTIVE",
- "cardStatusUpdateReason": "ISSUER_DECISION",
- "blockInformation": {
- "blockReason": "NO_INFORMATION",
- "blockOrigin": "ONLINE_BANKING_BY_CARDHOLDER",
- "blockInterface": "DEBIX_API",
- "blockedCardReplacement": "NO_REPLACEMENT",
- "unblockCardByCardholderAllowed": true
}, - "pinRemainingRetries": 2,
- "pinRecoveryStatus": "NO_PIN_ORDERED",
- "markedAsDelayedDelete": true,
- "transactionAuthorizer": "ALWAYS_SIX",
- "cardOrderDateTime": "2024-04-13T08:30:00Z"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "bccData": {
- "salutation": "NOT_SET",
- "firstName": "Peter",
- "familyName": "Schweizer",
- "street": "Bahnhofstrasse",
- "streetNo": "1",
- "city": "Zürich",
- "postalCode": "8001",
- "country": "CH",
- "phoneNumber": "+41797778899",
- "birthdate": "2000-12-31",
- "emailAddress": "peter.schweizer@mailbox.org",
- "customerRelationshipOpeningDate": "2021-12-31",
- "accountOpeningDate": "2021-12-31",
- "accountAuthorities": [
- {
- "firstName": "Peter",
- "familyName": "Schweizer",
- "birthdate": "2000-12-31"
}
], - "individualIdentificationTag": "Owner of a sailing boat",
- "ebankingContractNo": "ABC-56789012345"
}, - "fraudConfiguration": {
- "restrictedRegions": [
- "SWITZERLAND_AND_LIECHTENSTEIN"
], - "restrictedCountries": [
- "CH"
], - "riskShieldListing": [
- "string"
]
}, - "featureToggles": {
- "eCommerceAllowed": true,
- "trxOnlyAsChipAndPin": true,
- "magStripePaymentAllowed": true,
- "automaticBilling": true,
- "purchaseWithCashBackAllowed": true,
- "blockedMerchantCategoryCodes": [
- 7995
], - "merchantInitiatedTrxAllowed": true,
- "atmAllowed": true,
- "posAllowed": true,
- "motoAllowed": true,
- "bypassGeoblocking": true,
- "moneySendReceiveAllowance": "NOT_ALLOWED",
- "reservationAllowed": true,
- "transactionPushEnabled": true,
- "gamblingAndBettingAllowance": "ALLOWED",
- "contactlessActivationStatus": "UNKNOWN"
}, - "onlineLimits": {
- "totalLimitPerMonth": 20000,
- "cashLimitPerMonth": 10000,
- "totalLimitPerDay": 5000,
- "cashLimitPerDay": 1000
}, - "threeDsInformation": {
- "paymentAuthenticationMethods": {
- "oob": {
- "status": "ENABLED",
- "id": "string"
}, - "ta": {
- "status": "ENABLED",
- "id": "string"
}, - "otp": {
- "status": "ENABLED"
}, - "password": {
- "status": "ENABLED"
}
}, - "mobilePhoneNumber": "+41797778899"
}
}Allows the modification of certain data fields belonging to a card.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Fields to modify. Not all fields are mandatory.
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object (CardMutationBccData) Information about the cardholder to mutate. | |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object (CardMutationFraudConfiguration) Controls the fraud configuration of a card. | |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object (CardMutationCardApplication) Controls card application settings for the EMV-Profile, online limits and transaction authorizer. | |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
| contactlessActivationStatus | boolean (CardMutationContactlessActivationStatus) Controls whether contactless is enabled. | ||||||||||||||||||||||||||||||||
object (CardMutationFeatureToggles) Feature Toggles to mutate. | |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "bccData": {
- "salutation": "NOT_SET",
- "firstName": "Peter",
- "familyName": "Schweizer",
- "street": "Bahnhofstrasse",
- "streetNo": "1",
- "city": "Zürich",
- "postalCode": "8001",
- "country": "CH",
- "phoneNumber": "+41797778899",
- "birthdate": "2000-12-31",
- "emailAddress": "peter.schweizer@mailbox.org",
- "customerRelationshipOpeningDate": "2021-12-31",
- "accountOpeningDate": "2021-12-31",
- "accountAuthorities": [
- {
- "firstName": "Peter",
- "familyName": "Schweizer",
- "birthdate": "2000-12-31"
}
], - "individualIdentificationTag": "Owner of a sailing boat",
- "ebankingContractNo": "ABC-56789012345"
}, - "fraudConfiguration": {
- "restrictedRegions": [
- "SWITZERLAND_AND_LIECHTENSTEIN"
], - "restrictedCountries": [
- "CH"
]
}, - "cardApplication": {
- "emvProfile": {
- "emvCurrency": "CHF",
- "emvProfileId": 4
}, - "onlineLimits": {
- "totalLimitPerMonth": 20000,
- "cashLimitPerMonth": 10000,
- "totalLimitPerDay": 5000,
- "cashLimitPerDay": 1000
}, - "transactionAuthorizer": "ALWAYS_SIX"
}, - "contactlessActivationStatus": true,
- "featureToggles": {
- "eCommerceAllowed": true,
- "trxOnlyAsChipAndPin": true,
- "magStripePaymentAllowed": true,
- "automaticBilling": true,
- "purchaseWithCashBackAllowed": true,
- "blockedMerchantCategoryCodes": [
- 7995
], - "merchantInitiatedTrxAllowed": true,
- "atmAllowed": true,
- "posAllowed": true,
- "motoAllowed": true,
- "bypassGeoblocking": true,
- "moneySendReceiveAllowance": "NOT_ALLOWED",
- "reservationAllowed": true,
- "transactionPushEnabled": true,
- "gamblingAndBettingAllowance": "ALLOWED"
}
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Returns the unique card token of the specified card.
In addition to standard application error codes, following codes can be returned:
| x-request-id | string A unique identifier for a request and response pair. |
Identifier of the card for which to return the card token.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}
}{- "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD"
}Returns the card identifier, i.e. short card id, of the given card.
In addition to standard application error codes, following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}
}Modifies the status of the specified card.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Contains the new status to be set on the card. In case of a blocking action, contains also the block reason.
| action required | string (UpdateCardStatusAction) Enum: "BLOCK" "UNBLOCK" "DELETE_IMMEDIATELY" "DELETE_AT_END_OF_NEXT_MONTH" Distinguishes the type of the card update. | ||||
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||
| |||||
| cardStatusUpdateReason required | string (CardStatusUpdateReason) Enum: "ISSUER_DECISION" "USER_DECISION" The reason for the status update of the card. | ||||
| cardBlockReason | string (CardBlockReason) Enum: "NO_INFORMATION" "CARD_LOST_WITHOUT_PIN" "CARD_STOLEN_WITHOUT_PIN" "FRAUD" "CREDIT_STANDING" "TOO_MANY_INVALID_PIN_ATTEMPTS" "CARD_LOST_WITH_PIN" "CARD_STOLEN_WITH_PIN" "PICK_UP_BM_TM" "CARD_DID_NOT_ARRIVE" "PIN_DID_NOT_ARRIVE" "FRAUD_SUSPECTED_ANALYSIS" "FRAUD_SUSPECTED_CARDHOLDER_FEEDBACK_REQUIRED" "TECHNICAL_REASON" "DEFECTIVE_CARD" "CARD_TEMPORARILY_BLOCKED" The reason why the card was blocked. Note: cardBlockReason is a mandatory parameter which must be provided when action = BLOCK. | ||||
| cardBlockOrigin | string (CardBlockOriginViaBank) Enum: "ONLINE_BANKING_BY_CARDHOLDER" "MOBILE_BANKING_BY_CARDHOLDER" "THREE_DS_CARDMANAGEMENT_APP_BY_CARDHOLDER" "BACKEND_OF_BANK_BY_BANK" "BACKEND_OF_BANK_BY_CARDHOLDER" Initiator and channel of the card blocking when the card is blocked via the bank. | ||||
| blockedCardReplacement | string (BlockedCardReplacement) Enum: "NO_REPLACEMENT" "CARD" "CARD_WITH_PIN_MAILER" "CARD_WITH_PIN_AND_OTRC_MAILER" "CARD_WITH_OTRC_MAILER" "CARD_WITH_UNKNOWN_MAILER" Indicates the need of a card replacement when the card has been blocked. This is only an indicator and does not trigger the actual card replacement. | ||||
{- "action": "BLOCK",
- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "cardStatusUpdateReason": "ISSUER_DECISION",
- "cardBlockReason": "NO_INFORMATION",
- "cardBlockOrigin": "ONLINE_BANKING_BY_CARDHOLDER",
- "blockedCardReplacement": "NO_REPLACEMENT"
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}First call to be able to set the PIN for the specified card. debiX returns an ephemeral public key to encrypt the PIN on the issuer's side for the '/set-pin' call.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Signed request to get debiX's ephemeral public key, it contains card identifiers.
JSON Web Token signed by the issuer to get an ephemeral public key from debiX for the given card.
{ "alg": "ES256 (example)", "typ": "JWT", "x5t#S256": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEp" }
{ "alg": "ES256 (example)", "typ": "JWT" }
Sets the PIN for the given card. The PIN is encrypted with the shared key derived from debiX's ephemeral public key from the '/start-set-pin' request and the issuer's ephemeral private key corresponding to the issuer's ephemeral public key in this request (clientEphPubKey).
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Signed request for the PIN set operation, containing card identifiers, encryption parameters and encrypted PIN.
JSON Web Token signed by the issuer to set the PIN for the given card.
{ "alg": "ES256 (example)", "typ": "JWT", "x5t#S256": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEp" }
{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Get PIN of the given card.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Signed request for the PIN, containing card identifiers and encryption parameters.
JSON Web Token signed by the issuer, containing all parameters for securely retrieving the PIN.
{ "alg": "ES256 (example)", "typ": "JWT", "x5t#S256": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEp" }
{ "alg": "ES256 (example)", "typ": "JWT" }
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Details of the PIN datamailer order.
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||||
| |||||||
| deliveryDestination required | string (DatamailerDeliveryDestination) Enum: "DELIVER_TO_BANK" "DELIVER_TO_CARDHOLDER" Delivery destination of PIN. | ||||||
| expressCode required | string (DatamailerExpressCode) Enum: "A_POST" "B_POST" "REGISTERED" The quickness of the PIN delivery. | ||||||
object (DeliveryInformation) The delivery information must be set if the PIN is delivered to the cardholder. | |||||||
| |||||||
| mailerText | integer <int32> Selects the individual text container for printing onto the datamailer. Can be set if the PIN is delivered to the cardholder. | ||||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "deliveryDestination": "DELIVER_TO_BANK",
- "expressCode": "A_POST",
- "deliveryInformation": {
- "address": [
- "Peter Schweizer",
- "Bahnhofstrasse 1",
- "8000 Zürich"
], - "country": "CH",
- "salutationText": "string"
}, - "mailerText": 0
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Get credentials (PAN, CVV) of the specified card.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Signed request for the credentials, containing card identifiers and encryption parameters.
JSON Web Token signed by the issuer, containing all parameters for securely retrieving sensitive card credentials.
{ "alg": "ES256 (example)", "typ": "JWT", "x5t#S256": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEp" }
{ "alg": "none", "typ": "JWT" }
Allows card registrations and deregistrations for 3DS and updates 3DS-related card data.
If a card with the provided card data is not yet registered for 3DS, the registration will take place.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Card identifier and 3DS-related data.
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||||||||||||||
| |||||||||||||||||
required | object (ThreeDsData) Relevant data to register a card for 3DS with a specific authentication method based on the setup desired by the issuer (i.e. for 3DS via SIX SDK or 3DS OOB). | ||||||||||||||||
| |||||||||||||||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "threeDsData": {
- "userId": "2345872",
- "phoneNumber": "+41797778899",
- "language": "DE",
- "authId": "480463608",
- "authenticationMethod": "PIN",
- "biometricType": "ANDROID_BIOMETRIC",
- "pinCode": "12345",
- "password": "password"
}
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}If the request contains new information, the 3DS data will be updated for the given card.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Contains 3DS-related data.
required | object (PartialThreeDsData) Partial data pertaining to a 3DS registration. | ||||||||||||||||
| |||||||||||||||||
{- "threeDsData": {
- "userId": "2345872",
- "phoneNumber": "+41797778899",
- "language": "DE",
- "authId": "480463608",
- "authenticationMethod": "PIN",
- "biometricType": "ANDROID_BIOMETRIC",
- "pinCode": "12345",
- "password": "password"
}
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}If a card with the provided identifier is known to debiX, it will be deregistered from 3DS and the corresponding data deleted.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Returns the details for the current 3DS registration.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Identifier of the card for which to return the 3DS details.
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||
| |||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}
}{- "phoneNumber": "+41797778899",
- "language": "DE",
- "userId": "2345872",
- "threeDsStatus": "ACTIVE",
- "threeDsRegistrationDateTime": "2021-10-03T16:03:09.101+02:00",
- "smsFallback": true,
- "authenticationMethod": "PIN",
- "otrcStatus": "DISABLED",
- "otrcValidity": "2021-10-03T16:03:09.101+02:00"
}Get an online One-Time-Registration-Code (OTRC) for the given card.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
{- "otrc": 0,
- "otrcExpirationDateTime": "2024-10-03T16:03:09.101+02:00"
}Get a datamailer with the One-Time-Registration-Code (OTRC) for the specified card.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Details of the OTRC datamailer.
| delivery required | string (DatamailerDeliveryDestination) Enum: "DELIVER_TO_BANK" "DELIVER_TO_CARDHOLDER" Delivery destination of the OTRC datamailer. | ||||||
| expressCode required | string (DatamailerExpressCode) Enum: "A_POST" "B_POST" "REGISTERED" Defines the express code of the OTRC datamailer delivery. | ||||||
object (DeliveryInformation) Delivery information for the OTRC datamailer. | |||||||
| |||||||
| mailerText | integer <int32> Selects the individual text container for printing onto the datamailer. | ||||||
{- "delivery": "DELIVER_TO_BANK",
- "expressCode": "A_POST",
- "deliveryInformation": {
- "address": [
- "Peter Schweizer",
- "Bahnhofstrasse 1",
- "8000 Zürich"
], - "country": "CH",
- "salutationText": "string"
}, - "mailerText": 0
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Provides encrypted card data for the Wallet In-App provisioning of cards via Mastercard.
Returns the encrypted card data for the provisioning of a funding debit card, specified by its card token, into an Apple Pay wallet.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||
| |||||
| cardholderName required | string (CardHolderName) [ 2 .. 26 ] characters The cardholder name as printed on the card. | ||||
| nonce required | string Nonce, passed back in the response. | ||||
| nonceSignature required | string Nonce signature, passed back in the response. | ||||
| applePublicCertificates required | Array of strings Apple's certificates to be used in the Diffie-Hellman key exchange. Base64 encoded DER certificate chain. | ||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "cardholderName": "Peter Meier",
- "nonce": "string",
- "nonceSignature": "string",
- "applePublicCertificates": [
- "string"
]
}{- "activationData": "for Mastercard see '#/components/schemas/MastercardTokenizationAuthenticationValue'",
- "ephemeralPublicKey": "string",
- "encryptedData": "see '#/components/schemas/ApplePayCardCredentials'"
}Returns the encrypted card data for the provisioning of a funding debit card, specified by its card token, into a Google Pay wallet.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||
| |||||
| cardholderName required | string (CardHolderName) [ 2 .. 26 ] characters The cardholder name as printed on the card. | ||||
| clientWalletAccountId required | string The active wallet id of the current Google Pay wallet. Client-provided consumer ID that identifies the wallet account holder entity. | ||||
| clientDeviceId required | string Stable device identification set by wallet provider. Could be a computer identifier or ID tied to hardware such as TEE_ID or SE_ID. | ||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "cardholderName": "Peter Meier",
- "clientWalletAccountId": "string",
- "clientDeviceId": "string"
}{- "base64GooglePayOpaquePaymentCard": "for Mastercard see '#/components/schemas/MastercardGooglePayOpaquePaymentCard'"
}Returns the encrypted card data for the provisioning of a funding debit card, specified by its card token, into a Samsung Pay wallet.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||
| |||||
| cardholderName required | string (CardHolderName) [ 2 .. 26 ] characters The cardholder name as printed on the card. | ||||
| clientWalletAccountId required | string The active wallet id of the current Samsung Pay wallet. Client-provided consumer ID that identifies the wallet account holder entity. | ||||
| clientDeviceId required | string Stable device identification set by wallet provider. Could be a computer identifier or ID tied to hardware such as TEE_ID or SE_ID. | ||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "cardholderName": "Peter Meier",
- "clientWalletAccountId": "string",
- "clientDeviceId": "string"
}{- "base64SamsungPayOpaquePaymentCard": "for Mastercard see '#/components/schemas/MastercardGooglePayOpaquePaymentCard'"
}Provides encrypted card data for the Wallet In-App provisioning of cards via Thales SDK.
Deprecated, use one of POST /cards/{cardToken}/apple-pay/provisioning-data,
POST /cards/{cardToken}/google-pay/provisioning-data,
POST /cards/{cardToken}/samsung-pay/provisioning-data instead.
Returns the encrypted card data for the provisioning of a funding debit card, specified by its card token, into a wallet with Thales SDK.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Card data to encrypt.
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||
| |||||
| cardholderName required | string (CardHolderName) [ 2 .. 26 ] characters The cardholder name as printed on the card. | ||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "cardholderName": "Peter Meier"
}{- "encryptedCardData": "string",
- "primaryAccountIdentifier": "string",
- "panSuffix": "0123",
- "publicKeyId": "tshKid"
}Returns an authorization code for the provisioning of a funding debit card, specified by its card token, into a wallet with Thales SDK. The code is valid for 20 seconds in the production environment and 60 seconds in test environment.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Card identifier and wallet for the generation of the authorization code.
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||
| |||||
| wallet required | string (WalletProvider)
| ||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "wallet": "APPLE_PAY"
}{- "authorizationCode": "string"
}Provides encrypted card data for the provisioning of cards for Click to Pay via Thales SDK.
Returns the encrypted card data for the provisioning of a funding debit card for Click to Pay into a wallet with Thales SDK.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Card data to encrypt.
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||||||||
| |||||||||||
| cardholderName required | string (CardHolderName) [ 2 .. 26 ] characters The cardholder name as printed on the card. | ||||||||||
| emailAddress required | string non-empty Email address to identify the customer. | ||||||||||
| phoneNumber required | string^[0-9]{5,12}$ The phone number without country code. | ||||||||||
| phoneNumberCountryCode required | string^[1-9][0-9]{0,3}$ The country code of the phone number. | ||||||||||
required | object (ClickToPayCardholderPostalAddress) Postal address of cardholder as specified by the TSH Token Push and Control specification. | ||||||||||
| |||||||||||
required | object (ClickToPayIssuerClientInformation) | ||||||||||
| |||||||||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "cardholderName": "Peter Meier",
- "emailAddress": "peter.schweizer@mailbox.org",
- "phoneNumber": "795625655",
- "phoneNumberCountryCode": "41",
- "address": {
- "line1": "Hardturmstrasse 201",
- "city": "Zürich",
- "postalCode": "8005",
- "country": "CHE"
}, - "issuerClientInformation": {
- "issuerAccountID": "1234567890",
- "firstName": "Peter",
- "lastName": "Meier",
- "locale": "de_CH",
- "country": "CH"
}
}{- "encryptedCardData": "string",
- "scheme": "MASTERCARD",
- "publicKeyId": "tshKid",
- "tokenRequestorId": "40010075338"
}Returns the DPAN associated with the given card and email address for Click to Pay. Will return no DPAN if no association exists.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Email address for which to return the registered DPAN.
| emailAddress required | string (EmailAddress) non-empty Email address to identify the customer. |
{- "emailAddress": "peter.schweizer@mailbox.org"
}{- "dpan": "4234567890123456"
}Returns an authorization code for the provisioning of a funding debit card, specified by its card token, into a wallet with Thales SDK. The code is valid for 20 seconds in the production environment and 60 seconds in test environment.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Card identifier and wallet for the generation of the authorization code.
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||
| |||||
| wallet required | string (WalletProvider)
| ||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "wallet": "APPLE_PAY"
}{- "authorizationCode": "string"
}Returns the digital card specified by the dpan in the request.
In addition to standard application error codes, the following codes can be returned:
| dpan required | string (Dpan) = 16 characters ^[4,5][0-9]{15}$ Examples: 4234567890123456 Digital card number. |
| x-request-id | string A unique identifier for a request and response pair. |
{- "digitalCardId": "eb404f8d-656b-4e51-8872-88c42fa55536",
- "dpan": "4234567890123456",
- "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "scheme": "MASTERCARD",
- "status": "ACTIVE",
- "pendingStatus": "RESUMPTION_PENDING",
- "digitalCardExpiry": {
- "month": "01",
- "year": "21"
}, - "wallet": "APPLE_PAY",
- "tokenRequestor": {
- "id": "1111111111",
- "name": "Zalando"
}, - "productId": "Bank Card Gold",
- "provisioningDate": "2021-10-03T16:03:09.101+02:00",
- "deviceType": "IPHONE",
- "deviceName": "Peter's iPhone",
- "digitalCardStatusUpdateReason": "ISSUER_DECISION"
}Returns a list of digital cards for the given card using filter arguments.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Filter for the digital card search.
| wallet | string (WalletProvider)
| ||||
object (TokenRequestor) Information about the token requestor. | |||||
| |||||
object (YearMonthRange) Year-month range lower and upper bounds (both inclusive). | |||||
| |||||
object (DateTimeRange) Date-time range lower and upper bounds (both inclusive). | |||||
| |||||
| status | string (DigitalCardStatus) Enum: "ACTIVE" "SUSPENDED" "DELETED" The status of the digital card. | ||||
object (Paging) Contains paging properties. | |||||
| |||||
{- "wallet": "APPLE_PAY",
- "tokenRequestor": {
- "id": "1111111111",
- "name": "Zalando"
}, - "digitalCardExpiryRange": {
- "from": {
- "month": "01",
- "year": "21"
}, - "to": {
- "month": "01",
- "year": "21"
}
}, - "provisioningDateTimeRange": {
- "from": "2022-01-01T00:00:00.000+02:00",
- "to": "2022-12-31T23:59:59.999+02:00"
}, - "status": "ACTIVE",
- "paging": {
- "pageNumber": 0,
- "pageSize": 50
}
}{- "digitalCards": [
- {
- "digitalCardId": "eb404f8d-656b-4e51-8872-88c42fa55536",
- "dpan": "4234567890123456",
- "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "scheme": "MASTERCARD",
- "status": "ACTIVE",
- "pendingStatus": "RESUMPTION_PENDING",
- "digitalCardExpiry": {
- "month": "01",
- "year": "21"
}, - "wallet": "APPLE_PAY",
- "tokenRequestor": {
- "id": "1111111111",
- "name": "Zalando"
}, - "productId": "Bank Card Gold",
- "provisioningDate": "2021-10-03T16:03:09.101+02:00",
- "deviceType": "IPHONE",
- "deviceName": "Peter's iPhone",
- "digitalCardStatusUpdateReason": "ISSUER_DECISION"
}
], - "totalRecords": 1021
}Updates the status of the digital cards of a funding debit card, specified by its card token. The status update is triggered only for those digital cards which can be updated.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Update request for the status of digital cards of a card.
| status required | string (DigitalCardStatus) Enum: "ACTIVE" "SUSPENDED" "DELETED" The status of the digital card. |
| digitalCardStatusUpdateReason required | string (DigitalCardStatusUpdateReason) Enum: "ISSUER_DECISION" "USER_DECISION" The reason for the status update of the digital card. |
{- "status": "ACTIVE",
- "digitalCardStatusUpdateReason": "ISSUER_DECISION"
}{- "commissionedDigitalCards": [
- "4234567890123456"
], - "rejectedDigitalCards": [
- {
- "dpan": "4234567890123456",
- "error": {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
}
]
}Triggers the status update of the digital card specified by the dpan in the request.
In addition to standard application error codes, the following codes can be returned:
| dpan required | string (Dpan) = 16 characters ^[4,5][0-9]{15}$ Examples: 4234567890123456 Digital card number. |
| x-request-id | string A unique identifier for a request and response pair. |
Update request for the status of the digital card.
| status required | string (DigitalCardStatus) Enum: "ACTIVE" "SUSPENDED" "DELETED" The status of the digital card. |
| digitalCardStatusUpdateReason required | string (DigitalCardStatusUpdateReason) Enum: "ISSUER_DECISION" "USER_DECISION" The reason for the status update of the digital card. |
{- "status": "ACTIVE",
- "digitalCardStatusUpdateReason": "ISSUER_DECISION"
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Retrieves not expired transactions of the last 120 days for cards and digital cards.
Returns a list of authorizations for the given card using filter arguments; only the authorizations of the last 120 days are available. The list is ordered by transaction date from newest to oldest.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Filter arguments for the authorizations search.
object (CardTokenExtension) Extension to card token to identify a card. | |||||
| |||||
| walletType | string (WalletType) <= 1 characters
| ||||
| onlyDigitalCardBased | boolean Default: true Determines if only digital card based authorizations should be returned. | ||||
object (DateRange) Date range lower and upper bounds (both inclusive). | |||||
| |||||
object (Paging) Contains paging properties. | |||||
| |||||
{- "cardTokenEntension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "walletType": "A",
- "onlyDigitalCardBased": true,
- "transactionDateRange": {
- "from": "2024-01-01",
- "to": "2024-12-31"
}, - "paging": {
- "pageNumber": 0,
- "pageSize": 50
}
}{- "authorizations": [
- {
- "id": "9e19df54-47cb-494b-84dc-1c126e95a05c",
- "processingType": 0,
- "dpan": "4234567890123456",
- "schemeTransactionId": "MDSJ9CC6I1134",
- "approvalCode": "803051",
- "walletType": "A",
- "transactionDateTime": "2021-10-03T16:03:09.101+02:00",
- "issuerResponseCode": 2103,
- "transactionState": 0,
- "transactionClass": 0,
- "transactionType": 101,
- "useCase": 0,
- "authorizationExpiryDate": "2021-10-03",
- "amount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}, - "cardAcceptor": {
- "id": "87040",
- "name": "Meier Gmbh",
- "streetName": "string",
- "postalCode": "string",
- "city": "string",
- "regionCode": "string",
- "countryCode": "string",
- "merchantCategoryCode": "string"
}, - "merchant": {
- "id": "496",
- "name": "Yallo",
- "merchantCategory": "Telco",
- "logoAvailable": true,
- "address": {
- "street": "Hardturmstrasse 201",
- "postalCode": "8004",
- "city": "Zürich",
- "countryCode": "CH"
}, - "location": {
- "longitude": 8.5426102,
- "latitude": 47.3717597
}, - "contact": {
- "website": "www.myshop.ch",
- "phoneNumber": "+41795625655"
}
}, - "cardholderAuthentication": 0,
- "retrievalReference": "120909092386",
- "acquiringInstitutionId": 13445,
- "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "cardDataSource": 1,
- "threeDsAuthenticationLevel": 0
}
], - "totalRecords": 1021
}Returns a list of authorizations for a digital card, specified by the dpan, using filter arguments; only the authorizations of the last 120 days are available. The list is ordered by transaction date from newest to oldest.
In addition to standard application error codes, the following codes can be returned:
| dpan required | string (Dpan) = 16 characters ^[4,5][0-9]{15}$ Examples: 4234567890123456 Digital card number. |
| x-request-id | string A unique identifier for a request and response pair. |
Filter arguments for the authorizations search.
object (DateRange) Date range lower and upper bounds (both inclusive). | |||||
| |||||
object (Paging) Contains paging properties. | |||||
| |||||
{- "transactionDateRange": {
- "from": "2024-01-01",
- "to": "2024-12-31"
}, - "paging": {
- "pageNumber": 0,
- "pageSize": 50
}
}{- "authorizations": [
- {
- "id": "9e19df54-47cb-494b-84dc-1c126e95a05c",
- "processingType": 0,
- "dpan": "4234567890123456",
- "schemeTransactionId": "MDSJ9CC6I1134",
- "approvalCode": "803051",
- "walletType": "A",
- "transactionDateTime": "2021-10-03T16:03:09.101+02:00",
- "issuerResponseCode": 2103,
- "transactionState": 0,
- "transactionClass": 0,
- "transactionType": 101,
- "useCase": 0,
- "authorizationExpiryDate": "2021-10-03",
- "amount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}, - "cardAcceptor": {
- "id": "87040",
- "name": "Meier Gmbh",
- "streetName": "string",
- "postalCode": "string",
- "city": "string",
- "regionCode": "string",
- "countryCode": "string",
- "merchantCategoryCode": "string"
}, - "merchant": {
- "id": "496",
- "name": "Yallo",
- "merchantCategory": "Telco",
- "logoAvailable": true,
- "address": {
- "street": "Hardturmstrasse 201",
- "postalCode": "8004",
- "city": "Zürich",
- "countryCode": "CH"
}, - "location": {
- "longitude": 8.5426102,
- "latitude": 47.3717597
}, - "contact": {
- "website": "www.myshop.ch",
- "phoneNumber": "+41795625655"
}
}, - "cardholderAuthentication": 0,
- "retrievalReference": "120909092386",
- "acquiringInstitutionId": 13445,
- "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "cardDataSource": 1,
- "threeDsAuthenticationLevel": 0
}
], - "totalRecords": 1021
}Returns a list of presentments for the given card using filter arguments; only the presentments of the last 120 days are available. The list is ordered by transaction date from newest to oldest.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Filter arguments for the presentment search.
object (CardTokenExtension) Extension to card token to identify a card. | |||||
| |||||
| walletType | string (WalletType) <= 1 characters
| ||||
object (DateRange) Date range lower and upper bounds (both inclusive). | |||||
| |||||
object (Paging) Contains paging properties. | |||||
| |||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "walletType": "A",
- "transactionDateRange": {
- "from": "2024-01-01",
- "to": "2024-12-31"
}, - "paging": {
- "pageNumber": 0,
- "pageSize": 50
}
}{- "presentments": [
- {
- "transactionType": 101,
- "transactionDateTime": "2021-10-03T16:03:09.101+02:00",
- "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "settlementData": {
- "clearingDate": "2023-12-31",
- "totalAmountClearingType": "DEBIT",
- "transactionAmountClearingType": "DEBIT",
- "feesProcessingType": "DEBIT",
- "feesType": 1,
- "settlementAmounts": {
- "totalAmount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}, - "transactionAmount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}, - "feesAmount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}, - "transactionCashbackAmount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}, - "transactionSurchargeAmount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}, - "transactionTipAmount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}
}
}, - "transactionDataDetails": {
- "retrievalReference": "120909092386",
- "schemeTransactionId": "MDSJ9CC6I1134",
- "approvalCode": "803051",
- "retrievalSituation": "str",
- "transactionCapture": "str",
- "captureMethod": "str",
- "cardDataSource": "str",
- "multipleClearingIndicator": true,
- "settlementIndicator": true,
- "paymentTransactionType": 1,
- "cardAcceptor": {
- "id": "87040",
- "name": "Meier Gmbh",
- "streetName": "string",
- "postalCode": "string",
- "city": "string",
- "regionCode": "string",
- "countryCode": "string",
- "merchantCategoryCode": "string"
}, - "merchant": {
- "id": "496",
- "name": "Yallo",
- "merchantCategory": "Telco",
- "logoAvailable": true,
- "address": {
- "street": "Hardturmstrasse 201",
- "postalCode": "8004",
- "city": "Zürich",
- "countryCode": "CH"
}, - "location": {
- "longitude": 8.5426102,
- "latitude": 47.3717597
}, - "contact": {
- "website": "www.myshop.ch",
- "phoneNumber": "+41795625655"
}
}, - "dpan": "4234567890123456",
- "walletType": "A",
- "threeDsIndicator": 1
}, - "originalCurrencyData": {
- "originalTransactionAmounts": {
- "originalAmount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}, - "cashbackAmount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}, - "surchargeAmount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}, - "tipAmount": {
- "currency": "CHF",
- "unscaledAmount": 2000,
- "scale": 1
}
}, - "exchangeRate": "1.211226",
- "referenceCountryCode": 756
}, - "reversalData": {
- "reversalType": 7,
- "originalTransactionDateTime": "2021-10-03T16:03:09.101+02:00",
- "issuerReference": 230776,
- "chargebackReasonCode": 4555
}, - "matchFlag": true,
- "authorizationReference": "6f4a6efe-fd8e-411a-8f23-adbf4bc4a6b6"
}
], - "totalRecords": 1021
}Retrieves the merchant logo for a given merchant id, including its version. The logo is only returned, if the version given in the ImageVersionHeader parameter does not correspond to the version in debiX.
In addition to standard application error codes, the following codes can be returned:
| merchantId required | string A unique identifier corresponding to a merchant in debiX. |
| x-request-id | string A unique identifier for a request and response pair. |
| If-None-Match | string Version of the image currently stored in the client. |
{- "merchantLogo": {
- "image": "2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT=",
- "width": 1000,
- "height": 600,
- "version": "be5d87a6-1c76-49d7-9a7f-75fa411b7e96",
- "mimeType": "image/svg+xml"
}
}Visa Alias Directory related operations. Feature under development, subject to change.
Creates an alias in the Alias Directory and associates the specified cards with the alias.
In addition to standard application error codes, the following codes can be returned:
| aliasType required | string (VisaADAliasType) Enum: "PHONE" "EMAIL" The type of alias provided in aliasValue. | ||||||||||||||||||
| aliasValue required | string (VisaADAliasValue) [ 1 .. 128 ] characters The value of the alias, e.g., phone number or email address. If phone number is used for alias, this should be provided in accordance with ITU-T E.164 (2010) number structure. Please note that in the E.164 format, the "+" prefix or leading zeros are not included. | ||||||||||||||||||
required | object (VisaADConsent) Consent details. | ||||||||||||||||||
| |||||||||||||||||||
required | object (VisaADProfile) Profile details for the customer that owns the alias. | ||||||||||||||||||
| |||||||||||||||||||
required | Array of objects (VisaADCard) [ 1 .. 10 ] items | ||||||||||||||||||
Array ([ 1 .. 10 ] items)
| |||||||||||||||||||
{- "aliasType": "PHONE",
- "aliasValue": "41791112233",
- "consent": {
- "presenter": "Bank A",
- "validFromDateTime": "2021-12-01T10:00:00Z",
- "version": "1.0"
}, - "profile": {
- "lastName": "R.",
- "firstName": "Hans",
- "middleName": "Ruedi",
- "contactInfo": [
- {
- "type": "PHONE",
- "value": "41791112233"
}
], - "dateOfBirth": "1947-02-01",
- "lastNameLocal": "R.",
- "preferredName": "Hansruedi",
- "firstNameLocal": "Hans",
- "middleNameLocal": "Ruedi"
}, - "cards": [
- {
- "nameOnCard": "Peter Schweizer",
- "cardType": "Visa Platinum",
- "billingAddress": {
- "city": "Zürich",
- "state": "CH-ZH",
- "country": "CHE",
- "postalCode": "8000",
- "streetName": "Bahnhofstrasse",
- "addressLine1": "Zurich Coffee Shop",
- "addressLine2": "z. H. Hans Ruedi Rüdisüli",
- "buildingNumber": "18",
- "minorSubdivisionCode": "ZH"
}, - "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "preferredFor": [
- "RECEIVE"
]
}
]
}{- "aliasId": "e336c8c8-2945-4be3-af3e-951ec2d01219"
}Retrieves information about a specific alias.
In addition to standard application error codes, the following codes can be returned:
| aliasId required | string (VisaADAliasId) = 36 characters Examples: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
| x-request-id | string A unique identifier for a request and response pair. |
{- "aliasValue": "41791112233",
- "consent": {
- "presenter": "Bank A",
- "validFromDateTime": "2021-12-01T10:00:00Z",
- "version": "1.0"
}, - "profile": {
- "lastName": "R.",
- "firstName": "Hans",
- "middleName": "Ruedi",
- "contactInfo": [
- {
- "type": "PHONE",
- "value": "41791112233"
}
], - "dateOfBirth": "1947-02-01",
- "lastNameLocal": "R.",
- "preferredName": "Hansruedi",
- "firstNameLocal": "Hans",
- "middleNameLocal": "Ruedi"
}, - "aliasType": "PHONE",
- "aliasStatus": "ACTIVE"
}Updates the information associated with the alias such as the identification, profile, or consent.
In addition to standard application error codes, the following codes can be returned:
| aliasId required | string (VisaADAliasId) = 36 characters Examples: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
| x-request-id | string A unique identifier for a request and response pair. |
required | object (VisaADConsent) Consent details. | ||||||||||||||||||
| |||||||||||||||||||
required | object (VisaADProfile) Profile details for the customer that owns the alias. | ||||||||||||||||||
| |||||||||||||||||||
{- "consent": {
- "presenter": "Bank A",
- "validFromDateTime": "2021-12-01T10:00:00Z",
- "version": "1.0"
}, - "profile": {
- "lastName": "R.",
- "firstName": "Hans",
- "middleName": "Ruedi",
- "contactInfo": [
- {
- "type": "PHONE",
- "value": "41791112233"
}
], - "dateOfBirth": "1947-02-01",
- "lastNameLocal": "R.",
- "preferredName": "Hansruedi",
- "firstNameLocal": "Hans",
- "middleNameLocal": "Ruedi"
}
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Deletes a specified alias which entails a deletion of the corresponding Visa Alias Directory card registrations.
In addition to standard application error codes, the following codes can be returned:
| aliasId required | string (VisaADAliasId) = 36 characters Examples: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
| x-request-id | string A unique identifier for a request and response pair. |
{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Updates the status of the specified alias.
In addition to standard application error codes, the following codes can be returned:
| aliasId required | string (VisaADAliasId) = 36 characters Examples: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
| x-request-id | string A unique identifier for a request and response pair. |
| aliasStatus required | string (VisaADAliasUpdatingStatus) Enum: "ACTIVE" "DISABLED" The updating status of an alias. |
{- "aliasStatus": "ACTIVE"
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Retrieves all the cards corresponding to the alias of the specified Alias ID.
In addition to standard application error codes, the following codes can be returned:
| aliasId required | string (VisaADAliasId) = 36 characters Examples: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
| x-request-id | string A unique identifier for a request and response pair. |
{- "cards": [
- {
- "nameOnCard": "Peter Schweizer",
- "cardType": "Visa Platinum",
- "billingAddress": {
- "city": "Zürich",
- "state": "CH-ZH",
- "country": "CHE",
- "postalCode": "8000",
- "streetName": "Bahnhofstrasse",
- "addressLine1": "Zurich Coffee Shop",
- "addressLine2": "z. H. Hans Ruedi Rüdisüli",
- "buildingNumber": "18",
- "minorSubdivisionCode": "ZH"
}, - "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "preferredFor": [
- "RECEIVE"
]
}
]
}Registers the given card for Visa Alias Directory under the alias of the specified Alias ID.
In addition to standard application error codes, the following codes can be returned:
| aliasId required | string (VisaADAliasId) = 36 characters Examples: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
| x-request-id | string A unique identifier for a request and response pair. |
required | object (VisaADCard) Card in the context of Visa Alias Directory. | ||||||||||
| |||||||||||
{- "card": {
- "nameOnCard": "Peter Schweizer",
- "cardType": "Visa Platinum",
- "billingAddress": {
- "city": "Zürich",
- "state": "CH-ZH",
- "country": "CHE",
- "postalCode": "8000",
- "streetName": "Bahnhofstrasse",
- "addressLine1": "Zurich Coffee Shop",
- "addressLine2": "z. H. Hans Ruedi Rüdisüli",
- "buildingNumber": "18",
- "minorSubdivisionCode": "ZH"
}, - "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "preferredFor": [
- "RECEIVE"
]
}
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Updates the given card for Visa Alias Directory under the alias of the specified Alias ID.
In addition to standard application error codes, the following codes can be returned:
| aliasId required | string (VisaADAliasId) = 36 characters Examples: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
| x-request-id | string A unique identifier for a request and response pair. |
required | object (VisaADCard) Card in the context of Visa Alias Directory. | ||||||||||
| |||||||||||
{- "card": {
- "nameOnCard": "Peter Schweizer",
- "cardType": "Visa Platinum",
- "billingAddress": {
- "city": "Zürich",
- "state": "CH-ZH",
- "country": "CHE",
- "postalCode": "8000",
- "streetName": "Bahnhofstrasse",
- "addressLine1": "Zurich Coffee Shop",
- "addressLine2": "z. H. Hans Ruedi Rüdisüli",
- "buildingNumber": "18",
- "minorSubdivisionCode": "ZH"
}, - "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "preferredFor": [
- "RECEIVE"
]
}
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Retrieves a specific card corresponding to the alias of the specified Alias ID.
In addition to standard application error codes, the following codes can be returned:
| aliasId required | string (VisaADAliasId) = 36 characters Examples: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
{- "card": {
- "nameOnCard": "Peter Schweizer",
- "cardType": "Visa Platinum",
- "billingAddress": {
- "city": "Zürich",
- "state": "CH-ZH",
- "country": "CHE",
- "postalCode": "8000",
- "streetName": "Bahnhofstrasse",
- "addressLine1": "Zurich Coffee Shop",
- "addressLine2": "z. H. Hans Ruedi Rüdisüli",
- "buildingNumber": "18",
- "minorSubdivisionCode": "ZH"
}, - "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "preferredFor": [
- "RECEIVE"
]
}
}Deletes the given card from the alias of the specified Alias ID.
In addition to standard application error codes, the following codes can be returned:
| aliasId required | string (VisaADAliasId) = 36 characters Examples: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Visa Click to Pay Issuer Offered operations to enroll and manage cards for Visa Click to Pay.
Starts the process of enrolling a new customer and a card for Visa Click to Pay, and provides a requestTraceId in the response to retrieve the status of the enrollment. As part of the request processing, a digital card will be generated for the enrolled card. The status of the customer is set to ACTIVE after a successful enrollment.
In addition to standard application error codes, the following codes can be returned:
| x-request-id | string A unique identifier for a request and response pair. |
Request to enroll a customer and a card for Visa Click to Pay.
required | object (VisaC2PEnrollingCustomer) Contains the information about a customer to be enrolled. | ||||||||||||||||||
| |||||||||||||||||||
required | object (VisaC2PCard) Contains the information about the card, which must be valid when enrolling for Click to Pay. | ||||||||||||||||||
| |||||||||||||||||||
{- "customer": {
- "email": "peter.schweizer@mailbox.org",
- "locale": "de_CH",
- "phone": "41791231212",
- "lastName": "Muster",
- "firstName": "Maximilian",
- "middleName": "Alexander",
- "countryCode": "CHE",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "nationalIdentifier": {
- "type": "PASSPORT",
- "value": "A123456"
}
}, - "card": {
- "nameOnCard": "Peter Schweizer",
- "billingAddress": {
- "city": "Winterthur",
- "state": "ZH",
- "countryCode": "CHE",
- "postalCode": "8400",
- "addressLine1": "Musterstrasse 12",
- "addressLine2": "string",
- "addressLine3": "string"
}, - "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "expiration": {
- "month": "01",
- "year": "21"
}
}
}{- "requestTraceId": "f628c109-3289-492a-a630-ff94de86e182"
}Retrieves all information about the customer stored in Visa Click to Pay, including their enrolled cards.
In addition to standard application error codes, the following codes can be returned:
| customerId required | string <uuid> (VisaC2PCustomerId) Identifier of the customer. |
| x-request-id | string A unique identifier for a request and response pair. |
{- "customer": {
- "email": "peter.schweizer@mailbox.org",
- "locale": "de_CH",
- "phone": "41791231212",
- "lastName": "Muster",
- "firstName": "Maximilian",
- "middleName": "Alexander",
- "countryCode": "CHE",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "customerStatus": "ACTIVE",
- "nationalIdentifier": {
- "type": "PASSPORT",
- "value": "A123456"
}
}, - "enrolledCards": [
- {
- "card": {
- "nameOnCard": "Peter Schweizer",
- "billingAddress": {
- "city": "Winterthur",
- "state": "ZH",
- "countryCode": "CHE",
- "postalCode": "8400",
- "addressLine1": "Musterstrasse 12",
- "addressLine2": "string",
- "addressLine3": "string"
}, - "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "expiration": {
- "month": "01",
- "year": "21"
}
}, - "digitalCard": {
- "tokenReferenceId": "string",
- "tokenRequestorId": "string"
}, - "panReferenceId": "string",
- "paymentAccountReference": "stringstringstringstringstrin",
- "customerStatus": "ACTIVE"
}
]
}Overwrites existing data for the specified customer, and provides a requestTraceId in the response to retrieve the status of this action. It is recommended to retrieve the latest customer information in Click to Pay and populate all data fields, including the ones that do not change. Therefore, the complete customer information need to be sent again if the customer is ACTIVE. If the status in the request is set to DISABLED, then the update will not be performed and Click to Pay will give an error.
In addition to standard application error codes, the following codes can be returned:
| customerId required | string <uuid> (VisaC2PCustomerId) Identifier of the customer. |
| x-request-id | string A unique identifier for a request and response pair. |
Request to update the customer's information.
required | object (VisaC2PUpdatingCustomer) Contains the information about the customer update. | ||||||||||||||||||
| |||||||||||||||||||
{- "customer": {
- "email": "peter.schweizer@mailbox.org",
- "locale": "de_CH",
- "phone": "41791231212",
- "lastName": "Muster",
- "firstName": "Maximilian",
- "middleName": "Alexander",
- "countryCode": "CHE",
- "customerStatus": "ACTIVE",
- "nationalIdentifier": {
- "type": "PASSPORT",
- "value": "A123456"
}
}
}{- "requestTraceId": "f628c109-3289-492a-a630-ff94de86e182"
}Deletes all data previously sent to Visa Click to Pay for the specified customer, including all linked cards and digital cards. Provides a requestTraceId in the response to retrieve the status of this action.
In addition to standard application error codes, the following codes can be returned:
| customerId required | string <uuid> (VisaC2PCustomerId) Identifier of the customer. |
| x-request-id | string A unique identifier for a request and response pair. |
{- "requestTraceId": "f628c109-3289-492a-a630-ff94de86e182"
}Enrolls a card for an existing customer already registered with Visa Click to Pay, and provides a requestTraceId in the response to retrieve the status of this action. As part of the request processing, a digital card will be generated for the enrolled card.
In addition to standard application error codes, the following codes can be returned:
| customerId required | string <uuid> (VisaC2PCustomerId) Identifier of the customer. |
| x-request-id | string A unique identifier for a request and response pair. |
Request to enroll a card for Visa Click to Pay.
required | object (VisaC2PCard) Contains the information about the card, which must be valid when enrolling for Click to Pay. | ||||||||
| |||||||||
{- "card": {
- "nameOnCard": "Peter Schweizer",
- "billingAddress": {
- "city": "Winterthur",
- "state": "ZH",
- "countryCode": "CHE",
- "postalCode": "8400",
- "addressLine1": "Musterstrasse 12",
- "addressLine2": "string",
- "addressLine3": "string"
}, - "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "expiration": {
- "month": "01",
- "year": "21"
}
}
}{- "requestTraceId": "f628c109-3289-492a-a630-ff94de86e182"
}Updates existing data for the specified card, and provides a requestTraceId in the response to retrieve the status of this action. It is recommended to retrieve the latest card information in Click to Pay and populate all data fields, including the ones that do not change. Therefore, the complete card information need to be sent again.
In addition to standard application error codes, the following codes can be returned:
| customerId required | string <uuid> (VisaC2PCustomerId) Identifier of the customer. |
| x-request-id | string A unique identifier for a request and response pair. |
Request to update the card information.
required | object (VisaC2PCard) Contains the information about the card, which must be valid when enrolling for Click to Pay. | ||||||||
| |||||||||
{- "card": {
- "nameOnCard": "Peter Schweizer",
- "billingAddress": {
- "city": "Winterthur",
- "state": "ZH",
- "countryCode": "CHE",
- "postalCode": "8400",
- "addressLine1": "Musterstrasse 12",
- "addressLine2": "string",
- "addressLine3": "string"
}, - "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD",
- "expiration": {
- "month": "01",
- "year": "21"
}
}
}{- "requestTraceId": "f628c109-3289-492a-a630-ff94de86e182"
}Deletes a card (including the digital card) from Visa Click to Pay, and provides a requestTraceId in the response to retrieve the status of this action.
Note: Deleting a customer's last card does not automatically remove the customer from Visa Click to Pay.
In addition to standard application error codes, the following codes can be returned:
| customerId required | string <uuid> (VisaC2PCustomerId) Identifier of the customer. |
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
{- "requestTraceId": "f628c109-3289-492a-a630-ff94de86e182"
}Provides the result of the operation corresponding to the requestTraceId from the previously initiated action. The requestTraceId is valid for 7 days from the time of receipt. If the action fails, the errorDetails will contain the errors received from Visa Click to Pay.
In addition to standard application error codes, the following codes can be returned:
| requestTraceId required | string <uuid> (VisaC2PRequestTraceId) Identifier of the request trace. |
| x-request-id | string A unique identifier for a request and response pair. |
{- "status": "IN_PROGRESS",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
]
}Enrolls a card in Mastercard Click to Pay. As part of the request processing, a digital card will be generated for the enrolled card.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||||||||||||||||||||
| |||||||||||||||||||||||
required | object (ClickToPayMastercardConsumer) Consumer details for Mastercard Click to Pay | ||||||||||||||||||||||
| |||||||||||||||||||||||
required | object (ClickToPayMastercardComplianceSettings) Contains URIs to the latest privacy policy and terms and conditions for Mastercard Click to Pay. | ||||||||||||||||||||||
| |||||||||||||||||||||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "consumer": {
- "emailAddress": "peter.schweizer@mailbox.org",
- "mobilePhoneNumber": "795625655",
- "mobilePhoneNumberCountryCode": "41",
- "languageCode": "de",
- "firstName": "John",
- "lastName": "Doe",
- "street": "Main Street",
- "streetNo": "123",
- "postalCode": "8005",
- "city": "Zürich",
- "countryCode": "CH"
}, - "complianceSettings": {
- "termsAndConditionsUri": "https://www.mastercard.com/global/click-to-pay/country-listing/terms.html"
}
}{- "applicationError": "OPERATION_FAILED",
- "errorCode": 5001,
- "description": "The requested operation failed.",
- "errors": [
- {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
], - "errorToken": "618503aa-7beb-4d3d-986e-36f1fdbd0e13"
}Deprecated, use one of POST /cards/{cardToken}/apple-pay/provisioning-data,
POST /cards/{cardToken}/google-pay/provisioning-data,
POST /cards/{cardToken}/samsung-pay/provisioning-data instead.
Returns the encrypted card data for the provisioning of a funding debit card, specified by its card token, into a wallet with Thales SDK.
In addition to standard application error codes, the following codes can be returned:
| cardToken required | string (CardToken) = 36 characters ^CTK-[0-9a-fA-F]{32}$ Examples: CTK-54716A6080B14CF19CEA3C170F85B1DD Card token |
| x-request-id | string A unique identifier for a request and response pair. |
Card data to encrypt.
required | object (CardTokenExtension) Extension to card token to identify a card. | ||||
| |||||
| cardholderName required | string (CardHolderName) [ 2 .. 26 ] characters The cardholder name as printed on the card. | ||||
{- "cardTokenExtension": {
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "cardSequenceNumber": 2
}, - "cardholderName": "Peter Meier"
}{- "encryptedCardData": "string",
- "primaryAccountIdentifier": "string",
- "panSuffix": "0123",
- "publicKeyId": "tshKid"
}