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 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 |
moneySendReceiveAccepted | true |
moneySendReceiveAllowance | RECEIVE_AND_SEND_ALLOWED |
reservationAllowed | true |
transactionPushEnabled | true |
gamblingAndBettingAllowance | ALLOWED |
blockedMerchantCategoryCodes | (empty List) |
If both moneySendReceiveAccepted (deprecated) and moneySendReceiveAllowance are set, moneySendReceiveAccepted will be ignored.
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. |
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. In this version, only cardMaterial VIRTUAL is supported. | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
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. | |||||||||||||||||||||||||||||||||
|
{- "cardOrderData": {
- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "accountNumber": "AB-4567890123456",
- "iban": "CH3456789012345678901",
- "cardMaterial": "PHYSICAL",
- "language": "DE",
- "branchNumber": 1,
- "transactionAuthorizer": "ALWAYS_SIX",
- "subCardType": "A1",
- "onlineLimits": {
- "totalLimitPerMonth": 20000,
- "cashLimitPerMonth": 10000,
- "totalLimitPerDay": 5000,
- "cashLimitPerDay": 1000
}, - "featureToggles": {
- "eCommerceAllowed": true,
- "trxOnlyAsChipAndPin": true,
- "magStripePaymentAllowed": true,
- "automaticBilling": true,
- "purchaseWithCashBackAllowed": true,
- "allowedMerchantCategoryCodes": [
- 7995
], - "blockedMerchantCategoryCodes": [
- 7995
], - "merchantInitiatedTrxAllowed": true,
- "atmAllowed": true,
- "posAllowed": true,
- "motoAllowed": true,
- "bypassGeoblocking": true,
- "moneySendReceiveAccepted": 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"
}
}, - "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",
- "accountAuthority": [
- {
- "firstName": "Peter",
- "familyName": "Schweizer",
- "birthdate": "2000-12-31"
}
], - "individualIdentificationTag": "Owner of a sailing boat",
- "ebankingContractNo": "ABC-56789012345"
}, - "fraudConfiguration": {
- "restrictedRegions": [
- "SWITZERLAND_AND_LIECHTENSTEIN"
], - "restrictedCountries": [
- "CH"
]
}
}
{- "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, 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",
- "statusUpdateReason": "ISSUER_DECISION",
- "blockReason": "NO_INFORMATION",
- "blockOrigin": "ONLINE_BANKING_BY_CARDHOLDER",
- "blockInterface": "DEBIX_API",
- "blockedCardReplacement": "NO_REPLACEMENT",
- "unblockCardByCardholderAllowed": true,
- "pinRemainingRetries": 2,
- "pinRecoveryStatus": "NO_PIN_ORDERED"
}, - "onlineLimits": {
- "totalLimitPerMonth": 20000,
- "cashLimitPerMonth": 10000,
- "totalLimitPerDay": 5000,
- "cashLimitPerDay": 1000
}, - "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",
- "accountAuthority": [
- {
- "firstName": "Peter",
- "familyName": "Schweizer",
- "birthdate": "2000-12-31"
}
], - "individualIdentificationTag": "Owner of a sailing boat",
- "ebankingContractNo": "ABC-56789012345"
}, - "fraudConfiguration": {
- "restrictedRegions": [
- "SWITZERLAND_AND_LIECHTENSTEIN"
], - "restrictedCountries": [
- "CH"
]
}, - "contactlessActivationStatus": "UNKNOWN",
- "featureToggles": {
- "eCommerceAllowed": true,
- "trxOnlyAsChipAndPin": true,
- "magStripePaymentAllowed": true,
- "automaticBilling": true,
- "purchaseWithCashBackAllowed": true,
- "allowedMerchantCategoryCodes": [
- 7995
], - "blockedMerchantCategoryCodes": [
- 7995
], - "merchantInitiatedTrxAllowed": true,
- "atmAllowed": true,
- "posAllowed": true,
- "motoAllowed": true,
- "bypassGeoblocking": true,
- "moneySendReceiveAccepted": 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, 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. | ||||||||||
| |||||||||||
reason required | string (StatusUpdateReason) 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" "TECHNICAL_REASON" "DEFECTIVE_CARD" 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"
}
}, - "reason": "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, 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 credentials (PAN, CVV) 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. |
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, 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. Authentication method DELEGATED additionally requires an authId and SMS_ONLY additionally requires a phoneNumber. | ||||||||||||||||
|
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "threeDsData": {
- "userId": "2345872",
- "phoneNumber": "+41797778899",
- "language": "DE",
- "authId": "480463608",
- "emCertId": "480463608",
- "authenticationMethod": "PIN",
- "biometricType": "ANDROID_BIOMETRIC",
- "pinCode": "12345"
}
}
{- "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, 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",
- "emCertId": "480463608",
- "authenticationMethod": "PIN",
- "biometricType": "ANDROID_BIOMETRIC",
- "pinCode": "12345"
}
}
{- "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, 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"
}
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, 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"
}
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 five minutes.
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. |
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, 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]{1,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, 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 five minutes.
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. |
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, following codes can be returned:
dpan required | integer <int64> (Dpan) [ 1000000000000000 .. 10000000000000000 ] 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, 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, 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. | ||||||
reason 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",
- "reason": "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, following codes can be returned:
dpan required | integer <int64> (Dpan) [ 1000000000000000 .. 10000000000000000 ] 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. |
reason required | string (DigitalCardStatusUpdateReason) Enum: "ISSUER_DECISION" "USER_DECISION" The reason for the status update of the digital card. |
{- "status": "ACTIVE",
- "reason": "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 transactions using filter arguments. The list is ordered by transaction date from newest to oldest.
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. |
Filter arguments for the transaction search.
required | object (ShortCardId) Complex object representing a card consisting of bank clearing number, card number and card type. | ||||||
| |||||||
wallet | string (WalletProvider)
| ||||||
onlyDigitalCardBased | boolean Default: true Determines if only digital card based transactions 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
}, - "wallet": "APPLE_PAY",
- "onlyDigitalCardBased": true,
- "transactionDateRange": {
- "from": "2024-01-01",
- "to": "2024-12-31"
}, - "paging": {
- "pageNumber": 0,
- "pageSize": 50
}
}
{- "transactions": [
- {
- "id": "9e19df54-47cb-494b-84dc-1c126e95a05c",
- "proceessingType": 0,
- "dpan": 1234567890123456,
- "wallet": "APPLE_PAY",
- "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 transactions 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, following codes can be returned:
dpan required | integer <int64> (Dpan) [ 1000000000000000 .. 10000000000000000 ] Example: 1234567890123456 Digital card number. |
x-request-id | string A unique identifier for a request and response pair. |
Filter arguments for the transaction 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
}
}
{- "transactions": [
- {
- "id": "9e19df54-47cb-494b-84dc-1c126e95a05c",
- "proceessingType": 0,
- "dpan": 1234567890123456,
- "wallet": "APPLE_PAY",
- "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. | ||||||
| |||||||
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
}, - "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, 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 | number Version of the image currently stored in the client. |
{- "merchantLogo": {
- "image": "2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT=",
- "width": 1000,
- "height": 600,
- "version": 1,
- "mimeType": "image/svg+xml"
}
}