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) |
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. | ||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
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,
- "cardSeqNumber": 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"
}, - "cardPlasticCode": "F0",
- "otrcDelivery": "NONE",
- "otrcDatamailerDelivery": "DELIVER_TO_BANK",
- "otrcDatamailerExpressCode": "A_POST",
- "deliveryInformation": {
- "address": [
- "Peter Schweizer",
- "Bahnhofstrasse 1",
- "8000 Zürich"
], - "country": "CH"
}, - "producerCode": "THALES",
- "producerInfo": "string",
- "emvProfile": {
- "emvCurrency": "CHF",
- "emvProfileId": 4
}, - "cardholderDataTrack": "SCHWEIZER/PETER",
- "cardLine1": "string",
- "cardLine2": "string"
}, - "parentCardReference": {
- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "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 specified card.
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. |
Identifier of the card for which to return the details.
required | object (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}
}
{- "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"
}, - "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"
}, - "threeDsInformation": {
- "paymentAuthenticationMethods": {
- "oob": {
- "status": "ENABLED",
- "id": "string"
}, - "ta": {
- "status": "ENABLED",
- "id": "string"
}, - "otp": {
- "status": "ENABLED"
}, - "password": {
- "status": "ENABLED"
}
}, - "mobilePhoneNumber": "+41797778899"
}
}
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"
}
Modifies the status of the specified card.
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. |
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" Distinguishes the type of the card update. | ||||||||||
required | object (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
| |||||||||||
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. | ||||||||||
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" The need of a card replacement when the card has been blocked. |
{- "action": "BLOCK",
- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "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:
x-request-id | string A unique identifier for a request and response pair. |
Signed request to get debiX's ephemeral public key, it contains a card identifier.
JSON Web Token signed by the issuer to get an ephemeral public key from debiX for the given cardId.
{ "alg": "ES256 (example)", "typ": "JWT", "x5t#S256": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEp" }
{ "alg": "ES256 (example)", "typ": "JWT" }
Sets the PIN for the specified 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:
x-request-id | string A unique identifier for a request and response pair. |
Signed request for the PIN set operation, containing card identifier, 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 specified card.
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. |
Signed request for the PIN, containing card identifier 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" }
Get credentials (PAN, CVV) of the specified card.
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. |
Signed request for the credentials, containing card identifier 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:
x-request-id | string A unique identifier for a request and response pair. |
Card and 3DS-related data.
required | object (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||||||||
| |||||||||||||||||
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). | ||||||||||||||||
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "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:
x-request-id | string A unique identifier for a request and response pair. |
Card and 3DS-related data.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||||||||||||
| |||||||||||||||||
required | object (PartialThreeDsData) Partial data pertaining to a 3DS registration. | ||||||||||||||||
|
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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:
x-request-id | string A unique identifier for a request and response pair. |
Identifier of the card to be deregistered from 3DS.
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
}
}
{- "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:
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 (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}
}
{- "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 a One-Time-Registration-Code (OTRC) for the specified card.
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. |
Identifier of the card for which the OTRC will be ordered.
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
}
}
{- "otrc": 0,
- "otrcExpirationDateTime": "2024-10-03T16:03:09.101+02:00"
}
Provides encrypted card data for the Wallet In-App provisioning of cards via Thales SDK.
Returns the encrypted card data for the provisioning of a funding debit card, specified by its cardId, into a wallet with Thales SDK.
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. |
Card data to encrypt.
required | object (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
| |||||||||||
cardholderName required | string (CardHolderName) [ 2 .. 26 ] characters The cardholder name as printed on the card. |
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "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 cardId, 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:
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 (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
| |||||||||||
wallet required | string (WalletProvider)
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "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:
x-request-id | string A unique identifier for a request and response pair. |
Card data to encrypt.
required | object (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
| |||||||||||
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) | ||||||||||
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "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 arguments 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:
x-request-id | string A unique identifier for a request and response pair. |
Identifier of the card for which to return the registered DPAN.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
emailAddress required | string (EmailAddress) non-empty Email address to identify the customer. |
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "emailAddress": "peter.schweizer@mailbox.org"
}
{- "dpan": "1234567890123456"
}
Returns an authorization code for the provisioning of a funding debit card, specified by its cardId, 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:
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 (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
| |||||||||||
wallet required | string (WalletProvider)
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "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 Example: 1234567890123456 Digital card number. |
x-request-id | string A unique identifier for a request and response pair. |
{- "digitalCardId": "eb404f8d-656b-4e51-8872-88c42fa55536",
- "dpan": "1234567890123456",
- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 using filter arguments.
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. |
Filter for the digital card search.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
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. | |||||||
|
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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": "1234567890123456",
- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 shortCardId. 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:
x-request-id | string A unique identifier for a request and response pair. |
Update request for the status of digital cards of a card.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
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. |
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "status": "ACTIVE",
- "digitalCardStatusUpdateReason": "ISSUER_DECISION"
}
{- "commissionedDigitalCards": [
- "1234567890123456"
], - "rejectedDigitalCards": [
- {
- "dpan": "1234567890123456",
- "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 Example: 1234567890123456 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"
}
Returns a list of authorizations using filter arguments. The list is ordered by transaction date from newest to oldest.
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. |
Filter arguments for the authorizations search.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
cardSeqNumber | integer <int32> (CardSeqNumber) [ 0 .. 9 ] Sequence number of the card. | ||||||
object (YearMonth) | |||||||
| |||||||
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. | |||||||
|
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "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": "1234567890123456",
- "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,
- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "cardDataSource": 1,
- "threeDsAuthenticationLevel": 0
}
], - "totalRecords": 1021
}
Returns a list of authorizations for a digital card, specified by the dpan, using filter arguments. 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 Example: 1234567890123456 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": "1234567890123456",
- "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,
- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "cardDataSource": 1,
- "threeDsAuthenticationLevel": 0
}
], - "totalRecords": 1021
}
Returns a list of presentments using filter arguments. The list is ordered by transaction date from newest to oldest.
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. |
Filter arguments for the presentment search.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
cardSeqNumber | integer <int32> (CardSeqNumber) [ 0 .. 9 ] Sequence number of the card. | ||||||
object (YearMonth) | |||||||
| |||||||
walletType | string (WalletType) <= 1 characters
| ||||||
object (DateRange) Date range lower and upper bounds (both inclusive). | |||||||
| |||||||
object (Paging) Contains paging properties. | |||||||
|
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "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",
- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "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": "1234567890123456",
- "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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 Example: 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 Example: 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 Example: 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 Example: 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 Example: 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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 Example: 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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 AD 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 Example: 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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 Example: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
x-request-id | string A unique identifier for a request and response pair. |
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
}
}
{- "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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 Example: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
x-request-id | string A unique identifier for a request and response pair. |
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
}
}
{- "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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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. |
x-request-id | string A unique identifier for a request and response pair. |
Request to delete a card from Visa Click to Pay.
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
}
}
{- "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."
}
]
}
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) |
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. | ||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
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,
- "cardSeqNumber": 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"
}, - "cardPlasticCode": "F0",
- "otrcDelivery": "NONE",
- "otrcDatamailerDelivery": "DELIVER_TO_BANK",
- "otrcDatamailerExpressCode": "A_POST",
- "deliveryInformation": {
- "address": [
- "Peter Schweizer",
- "Bahnhofstrasse 1",
- "8000 Zürich"
], - "country": "CH"
}, - "producerCode": "THALES",
- "producerInfo": "string",
- "emvProfile": {
- "emvCurrency": "CHF",
- "emvProfileId": 4
}, - "cardholderDataTrack": "SCHWEIZER/PETER",
- "cardLine1": "string",
- "cardLine2": "string"
}, - "parentCardReference": {
- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "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 encrypted card data for the provisioning of a funding debit card, specified by its cardId, into a wallet with Thales SDK.
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. |
Card data to encrypt.
required | object (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
| |||||||||||
cardholderName required | string (CardHolderName) [ 2 .. 26 ] characters The cardholder name as printed on the card. |
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "cardholderName": "Peter Meier"
}
{- "encryptedCardData": "string",
- "primaryAccountIdentifier": "string",
- "panSuffix": "0123",
- "publicKeyId": "tshKid"
}
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:
x-request-id | string A unique identifier for a request and response pair. |
Card data to encrypt.
required | object (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
| |||||||||||
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) | ||||||||||
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "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 arguments 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:
x-request-id | string A unique identifier for a request and response pair. |
Identifier of the card for which to return the registered DPAN.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
emailAddress required | string (EmailAddress) non-empty Email address to identify the customer. |
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "emailAddress": "peter.schweizer@mailbox.org"
}
{- "dpan": "1234567890123456"
}
Returns an authorization code for the provisioning of a funding debit card, specified by its cardId, 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:
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 (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
| |||||||||||
wallet required | string (WalletProvider)
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "wallet": "APPLE_PAY"
}
{- "authorizationCode": "string"
}
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:
x-request-id | string A unique identifier for a request and response pair. |
Card and 3DS-related data.
required | object (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||||||||
| |||||||||||||||||
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). | ||||||||||||||||
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "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:
x-request-id | string A unique identifier for a request and response pair. |
Card and 3DS-related data.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||||||||||||
| |||||||||||||||||
required | object (PartialThreeDsData) Partial data pertaining to a 3DS registration. | ||||||||||||||||
|
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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"
}
Returns the details for the current 3DS registration.
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. |
Identifier of the card for which to return the 3DS details.
required | object (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}
}
{- "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"
}
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:
x-request-id | string A unique identifier for a request and response pair. |
Identifier of the card to be deregistered from 3DS.
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
}
}
{- "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 a One-Time-Registration-Code (OTRC) for the specified card.
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. |
Identifier of the card for which the OTRC will be ordered.
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
}
}
{- "otrc": 0,
- "otrcExpirationDateTime": "2024-10-03T16:03:09.101+02:00"
}
Get credentials (PAN, CVV) of the specified card.
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. |
Signed request for the credentials, containing card identifier 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" }
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:
x-request-id | string A unique identifier for a request and response pair. |
Signed request to get debiX's ephemeral public key, it contains a card identifier.
JSON Web Token signed by the issuer to get an ephemeral public key from debiX for the given cardId.
{ "alg": "ES256 (example)", "typ": "JWT", "x5t#S256": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEp" }
{ "alg": "ES256 (example)", "typ": "JWT" }
Sets the PIN for the specified 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:
x-request-id | string A unique identifier for a request and response pair. |
Signed request for the PIN set operation, containing card identifier, 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 specified card.
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. |
Signed request for the PIN, containing card identifier 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" }
Returns the status and the details of the specified card.
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. |
Identifier of the card for which to return the details.
required | object (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}
}
{- "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"
}, - "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"
}, - "threeDsInformation": {
- "paymentAuthenticationMethods": {
- "oob": {
- "status": "ENABLED",
- "id": "string"
}, - "ta": {
- "status": "ENABLED",
- "id": "string"
}, - "otp": {
- "status": "ENABLED"
}, - "password": {
- "status": "ENABLED"
}
}, - "mobilePhoneNumber": "+41797778899"
}
}
Modifies the status of the specified card.
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. |
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" Distinguishes the type of the card update. | ||||||||||
required | object (CardId) Complex object representing a card consisting of bank clearing number, card number, card type, card sequence number and card expiry. | ||||||||||
| |||||||||||
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. | ||||||||||
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" The need of a card replacement when the card has been blocked. |
{- "action": "BLOCK",
- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "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"
}
Returns a list of authorizations using filter arguments. The list is ordered by transaction date from newest to oldest.
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. |
Filter arguments for the authorizations search.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
cardSeqNumber | integer <int32> (CardSeqNumber) [ 0 .. 9 ] Sequence number of the card. | ||||||
object (YearMonth) | |||||||
| |||||||
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. | |||||||
|
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "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": "1234567890123456",
- "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,
- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "cardDataSource": 1,
- "threeDsAuthenticationLevel": 0
}
], - "totalRecords": 1021
}
Returns a list of authorizations for a digital card, specified by the dpan, using filter arguments. 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 Example: 1234567890123456 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": "1234567890123456",
- "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,
- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "cardDataSource": 1,
- "threeDsAuthenticationLevel": 0
}
], - "totalRecords": 1021
}
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 Example: 1234567890123456 Digital card number. |
x-request-id | string A unique identifier for a request and response pair. |
{- "digitalCardId": "eb404f8d-656b-4e51-8872-88c42fa55536",
- "dpan": "1234567890123456",
- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 using filter arguments.
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. |
Filter for the digital card search.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
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. | |||||||
|
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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": "1234567890123456",
- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 shortCardId. 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:
x-request-id | string A unique identifier for a request and response pair. |
Update request for the status of digital cards of a card.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
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. |
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "status": "ACTIVE",
- "digitalCardStatusUpdateReason": "ISSUER_DECISION"
}
{- "commissionedDigitalCards": [
- "1234567890123456"
], - "rejectedDigitalCards": [
- {
- "dpan": "1234567890123456",
- "error": {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
}
]
}
Returns a list of presentments using filter arguments. The list is ordered by transaction date from newest to oldest.
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. |
Filter arguments for the presentment search.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
cardSeqNumber | integer <int32> (CardSeqNumber) [ 0 .. 9 ] Sequence number of the card. | ||||||
object (YearMonth) | |||||||
| |||||||
walletType | string (WalletType) <= 1 characters
| ||||||
object (DateRange) Date range lower and upper bounds (both inclusive). | |||||||
| |||||||
object (Paging) Contains paging properties. | |||||||
|
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "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",
- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}, - "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": "1234567890123456",
- "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
}
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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "expiration": {
- "month": "01",
- "year": "21"
}
}, - "digitalCard": {
- "tokenReferenceId": "string",
- "tokenRequestorId": "string"
}, - "panReferenceId": "string",
- "paymentAccountReference": "stringstringstringstringstrin",
- "customerStatus": "ACTIVE"
}
]
}
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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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. |
x-request-id | string A unique identifier for a request and response pair. |
Request to delete a card from Visa Click to Pay.
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
}
}
{- "requestTraceId": "f628c109-3289-492a-a630-ff94de86e182"
}
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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "preferredFor": [
- "RECEIVE"
]
}
]
}
{- "aliasId": "e336c8c8-2945-4be3-af3e-951ec2d01219"
}
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 Example: 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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 Example: 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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 AD 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 Example: 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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 Example: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
x-request-id | string A unique identifier for a request and response pair. |
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
}
}
{- "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"
}, - "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "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 Example: e336c8c8-2945-4be3-af3e-951ec2d01219 Identifier of the alias |
x-request-id | string A unique identifier for a request and response pair. |
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
}
}
{- "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"
}