debiX API (2.10.0)
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.
Health check using GET method.
Returns a status message of the system.
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Responses
Response samples
- 200
- 400
- default
{- "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"
}
Health check using POST method.
Returns the request body. This operation will not modify the system.
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
Any message which is expected in the response.
message required | string [ 1 .. 100 ] characters Expected response message from health check. |
Responses
Request samples
- Payload
{- "message": "Any string"
}
Response samples
- 200
- 400
- default
{- "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"
}
Health check using PUT method.
Returns the request body. This operation will not modify the system.
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
Any message which is expected in the response.
message required | string [ 1 .. 100 ] characters Expected response message from health check. |
Responses
Request samples
- Payload
{- "message": "Any string"
}
Response samples
- 200
- 400
- default
{- "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 card.
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 |
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:
- 4432: BANK_CLEARING_NUMBER_NOT_CONFIGURED
- 4443: UNKNOWN_PARENT_CARD
- 4444: VIRTUAL_CARD_EQUALS_PARENT_CARD
- 4445: CARD_ALREADY_EXISTING
- 4446: DELIVERY_INFORMATION_FOR_OTRC_MISSING
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. | |||||||||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "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,
- "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"
}
}, - "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"
]
}
}
Response samples
- 400
- 404
- default
{- "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 card details.
Returns the status and the details of the specified card.
In addition to standard application error codes, the following codes can be returned:
- 4430 - UNKNOWN_CARD
- 4447 - NO_CARD_DETAILS_AVAILABLE
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. | ||||||||||
|
Responses
Request samples
- Payload
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}
}
Response samples
- 200
- 400
- 404
- default
{- "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 card token.
Returns the unique card token of the specified card.
In addition to standard application error codes, following codes can be returned:
- 4430 - UNKNOWN_CARD
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. | ||||||
|
Responses
Request samples
- Payload
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}
}
Response samples
- 200
- 400
- 404
- default
{- "cardToken": "CTK-54716A6080B14CF19CEA3C170F85B1DD"
}
Modifies the status of a card.
Modifies the status of the specified card.
In addition to standard application error codes, the following codes can be returned:
- 4430 - UNKNOWN_CARD
- 4438 - CARD_STATUS_UPDATE_NOT_ALLOWED
- 4439 - CARD_HAS_PENDING_STATUS
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. |
Responses
Request samples
- Payload
{- "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"
}
Response samples
- 400
- 404
- default
{- "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"
}
Start a PIN set operation.
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:
- 4430 - UNKNOWN_CARD
- 4440 - SET_PIN_NOT_ALLOWED_FOR_BLOCKED_OR_DELETED_CARD
- 4441 - SET_PIN_NOT_ALLOWED_FOR_VIRTUAL_CARD
- 4442 - PIN_PREVIOUSLY_PASSED_TO_NEWER_CARD
- 4450 - NO_CERTIFICATE_FOUND
- 4451 - INVALID_JWS_SIGNATURE
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: text/plainrequired
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.
- The algorithm of the JWS signature can be one of RS256/384/512, PS256/384/512, ES256/384/512 or EdDsa/Ed25519. ES256 is recommended.
- The JOSE header must contain a 'x5t#S256' parameter with the X.509 certificate SHA-256 thumbprint of the key used to sign the token. (https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.8)
Responses
Request samples
- Payload
{ "alg": "ES256 (example)", "typ": "JWT", "x5t#S256": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEp" }
Response samples
- 200
- 400
- default
{ "alg": "ES256 (example)", "typ": "JWT" }
Sets the PIN for the specified card.
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:
- 4430 - UNKNOWN_CARD
- 4440 - SET_PIN_NOT_ALLOWED_FOR_BLOCKED_OR_DELETED_CARD
- 4441 - SET_PIN_NOT_ALLOWED_FOR_VIRTUAL_CARD
- 4442 - PIN_PREVIOUSLY_PASSED_TO_NEWER_CARD
- 4450 - NO_CERTIFICATE_FOUND
- 4451 - INVALID_JWS_SIGNATURE
- 4452 - START_SET_PIN_NOT_CALLED
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: text/plainrequired
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.
- The algorithm of the JWS signature can be one of RS256/384/512, PS256/384/512, ES256/384/512 or EdDsa/Ed25519. ES256 is recommended.
- The JOSE header must contain a 'x5t#S256' parameter with the X.509 certificate SHA-256 thumbprint of the key used to sign the token. (https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.8)
Responses
Request samples
- Payload
{ "alg": "ES256 (example)", "typ": "JWT", "x5t#S256": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEp" }
Response samples
- 400
- default
{- "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"
}
Gets the PIN for the specified card.
Get PIN of the specified card.
In addition to standard application error codes, the following codes can be returned:
- 4430 - UNKNOWN_CARD
- 4450 - NO_CERTIFICATE_FOUND
- 4451 - INVALID_JWS_SIGNATURE
- 4458 - RETRIEVE_PIN_NOT_ALLOWED_FOR_DELETED_CARD
- 4459 - RETRIEVE_PIN_NOT_ALLOWED_FOR_VIRTUAL_CARD
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: text/plainrequired
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.
- The algorithm of the JWS signature can be one of RS256/384/512, PS256/384/512, ES256/384/512 or EdDsa/Ed25519. ES256 is recommended.
- The JOSE header must contain a 'x5t#S256' parameter with the X.509 certificate SHA-256 thumbprint of the key used to sign the token. (https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.8)
Responses
Request samples
- Payload
{ "alg": "ES256 (example)", "typ": "JWT", "x5t#S256": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEp" }
Response samples
- 200
- 400
- 404
- default
{ "alg": "ES256 (example)", "typ": "JWT" }
Get card credentials.
Get credentials (PAN, CVV) of the specified card.
In addition to standard application error codes, the following codes can be returned:
- 4430 - UNKNOWN_CARD
- 4450 - NO_CERTIFICATE_FOUND
- 4451 - INVALID_JWS_SIGNATURE
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: text/plainrequired
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.
- The algorithm of the JWS signature can be one of RS256/384/512, PS256/384/512, ES256/384/512 or EdDsa/Ed25519. ES256 is recommended.
- The JOSE header must contain a 'x5t#S256' parameter with the X.509 certificate SHA-256 thumbprint of the key used to sign the token. (https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.8)
Responses
Request samples
- Payload
{ "alg": "ES256 (example)", "typ": "JWT", "x5t#S256": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEp" }
Response samples
- 200
- 400
- default
{ "alg": "none", "typ": "JWT" }
Allows card registrations and deregistrations for 3DS and updates 3DS-related card data.
Registers the card for 3DS.
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:
- 4430 - UNKNOWN_CARD
- 4434 - THREE_DS_NOT_ENABLED_FOR_ISSUER
- 4435 - CARD_ALREADY_REGISTERED_FOR_THREE_DS
- 4436 - CARD_INACTIVE
- 4453 - THREE_DS_OOB_NOT_ENABLED_FOR_ISSUER
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. | ||||||||||||||
|
Responses
Request samples
- Payload
{- "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"
}
}
Response samples
- 400
- 404
- default
{- "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 3DS data.
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:
- 4430 - UNKNOWN_CARD
- 4434 - THREE_DS_NOT_ENABLED_FOR_ISSUER
- 4453 - THREE_DS_OOB_NOT_ENABLED_FOR_ISSUER
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. | ||||||||||||||
|
Responses
Request samples
- Payload
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "threeDsData": {
- "userId": "2345872",
- "phoneNumber": "+41797778899",
- "language": "DE",
- "authId": "480463608",
- "authenticationMethod": "PIN",
- "biometricType": "ANDROID_BIOMETRIC",
- "pinCode": "12345"
}
}
Response samples
- 400
- 404
- default
{- "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"
}
Deregisters a card from 3DS and deletes the corresponding data.
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:
- 4430 - UNKNOWN_CARD
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. | ||||||
|
Responses
Request samples
- Payload
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}
}
Response samples
- 400
- 404
- default
{- "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 3DS details for this card.
Returns the details for the current 3DS registration.
In addition to standard application error codes, the following codes can be returned:
- 4430 - UNKNOWN_CARD
- 4432 - BANK_CLEARING_NUMBER_NOT_CONFIGURED
- 4436 - CARD_INACTIVE
- 4457 - CARD_NOT_REGISTERED_FOR_THREE_DS
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/json
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. | ||||||||||
|
Responses
Request samples
- Payload
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}
}
Response samples
- 200
- 400
- 404
- default
{- "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"
}
Orders an One-Time-Registration-Code (OTRC)
Get a One-Time-Registration-Code (OTRC) for the specified card.
In addition to standard application error codes, the following codes can be returned:
- 4430 - UNKNOWN_CARD
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/json
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. | ||||||
|
Responses
Request samples
- Payload
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}
}
Response samples
- 200
- 400
- default
{- "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 encrypted card data.
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:
- 4430 - UNKNOWN_CARD
- 4432 - BANK_CLEARING_NUMBER_NOT_CONFIGURED
- 4436 - CARD_INACTIVE
- 4449 - TOKENIZATION_NOT_SUPPORTED
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. |
Responses
Request samples
- Payload
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "cardholderName": "Peter Meier"
}
Response samples
- 200
- 400
- 404
- default
{- "encryptedCardData": "string",
- "primaryAccountIdentifier": "string",
- "panSuffix": "0123",
- "publicKeyId": "tshKid"
}
Returns an authorization code.
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, the following codes can be returned:
- 4430 - UNKNOWN_CARD
- 4432 - BANK_CLEARING_NUMBER_NOT_CONFIGURED
- 4433 - UNKNOWN_WALLET_PROVIDER
- 4436 - CARD_INACTIVE
- 4449 - TOKENIZATION_NOT_SUPPORTED
- 4454 - EXCLUDED_WALLET_PROVIDER
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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)
|
Responses
Request samples
- Payload
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "wallet": "APPLE_PAY"
}
Response samples
- 200
- 400
- 404
- default
{- "authorizationCode": "string"
}
Provides encrypted card data for the provisioning of cards for Click to Pay via Thales SDK.
Returns encrypted card data for click to pay.
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:
- 4430 - UNKNOWN_CARD
- 4432 - BANK_CLEARING_NUMBER_NOT_CONFIGURED
- 4436 - CARD_INACTIVE
- 4449 - TOKENIZATION_NOT_SUPPORTED
- 4460 - ECOMMERCE_FEATURE_TOGGLE_NOT_ACTIVATED
- 4461 - INCOMPLETE_OR_MISSING_ADDRESS_DATA
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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) | ||||||||||
|
Responses
Request samples
- Payload
{- "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"
}
}
Response samples
- 200
- 400
- default
{- "encryptedCardData": "string",
- "scheme": "MASTERCARD",
- "publicKeyId": "tshKid",
- "tokenRequestorId": "40010075338"
}
Checks for existing click-to-pay registrations.
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:
- 4430 - UNKNOWN_CARD
- 4432 - BANK_CLEARING_NUMBER_NOT_CONFIGURED
- 4449 - TOKENIZATION_NOT_SUPPORTED
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. |
Responses
Request samples
- Payload
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "emailAddress": "peter.schweizer@mailbox.org"
}
Response samples
- 200
- 400
- 404
- default
{- "dpan": "1234567890123456"
}
Returns an authorization code.
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, the following codes can be returned:
- 4430 - UNKNOWN_CARD
- 4432 - BANK_CLEARING_NUMBER_NOT_CONFIGURED
- 4433 - UNKNOWN_WALLET_PROVIDER
- 4436 - CARD_INACTIVE
- 4449 - TOKENIZATION_NOT_SUPPORTED
- 4454 - EXCLUDED_WALLET_PROVIDER
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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)
|
Responses
Request samples
- Payload
{- "cardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1,
- "cardSeqNumber": 2,
- "cardExpiry": {
- "month": "01",
- "year": "21"
}
}, - "wallet": "APPLE_PAY"
}
Response samples
- 200
- 400
- 404
- default
{- "authorizationCode": "string"
}
Returns a digital card.
Returns the digital card specified by the dpan in the request.
In addition to standard application error codes, the following codes can be returned:
- 4430 - UNKNOWN_CARD
path Parameters
dpan required | string (Dpan) = 16 characters Example: 1234567890123456 Digital card number. |
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Responses
Response samples
- 200
- 400
- 404
- default
{- "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.
Returns a list of digital cards using filter arguments.
In addition to standard application error codes, the following codes can be returned:
- 4430 - UNKNOWN_CARD
- 4433 - UNKNOWN_WALLET_PROVIDER
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. | |||||||
|
Responses
Request samples
- Payload
{- "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
}
}
Response samples
- 200
- 400
- 404
- default
{- "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 digital cards of a card.
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:
- 4430 - UNKNOWN_CARD
- 4431 - DIGITAL_CARD_STATUS_UPDATE_NOT_ALLOWED
- 4437 - DIGITAL_CARD_HAS_PENDING_STATUS
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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 | string (DigitalCardStatusUpdateReason) Enum: "ISSUER_DECISION" "USER_DECISION" The reason for the status update of the digital card. |
Responses
Request samples
- Payload
{- "shortCardId": {
- "bankClearingNumber": 50000,
- "cardNumber": 12345678,
- "cardType": 1
}, - "status": "ACTIVE",
- "digitalCardStatusUpdateReason": "ISSUER_DECISION"
}
Response samples
- 202
- 400
- 404
- default
{- "commissionedDigitalCards": [
- "1234567890123456"
], - "rejectedDigitalCards": [
- {
- "dpan": "1234567890123456",
- "error": {
- "errorCode": 42,
- "description": "The answer to the great question of Life, the Universe and Everything."
}
}
]
}
Updates the status of a digital card.
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:
- 4430 - UNKNOWN_CARD
- 4431 - DIGITAL_CARD_STATUS_UPDATE_NOT_ALLOWED
- 4437 - DIGITAL_CARD_HAS_PENDING_STATUS
path Parameters
dpan required | string (Dpan) = 16 characters Example: 1234567890123456 Digital card number. |
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
Update request for the status of the digital card.
status required | string (DigitalCardStatus) Enum: "ACTIVE" "SUSPENDED" "DELETED" The status of the digital card. |
digitalCardStatusUpdateReason | string (DigitalCardStatusUpdateReason) Enum: "ISSUER_DECISION" "USER_DECISION" The reason for the status update of the digital card. |
Responses
Request samples
- Payload
{- "status": "ACTIVE",
- "digitalCardStatusUpdateReason": "ISSUER_DECISION"
}
Response samples
- 400
- 404
- default
{- "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.
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:
- 4430 - UNKNOWN_CARD
- 4432 - BANK_CLEARING_NUMBER_NOT_CONFIGURED
- 4456 - UNKNOWN_WALLET_TYPE
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. | |||||||
|
Responses
Request samples
- Payload
{- "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
}
}
Response samples
- 200
- 400
- 404
- default
{- "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.
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:
- 4430 - UNKNOWN_CARD
path Parameters
dpan required | string (Dpan) = 16 characters Example: 1234567890123456 Digital card number. |
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/json
Filter arguments for the authorizations search.
object (DateRange) Date range lower and upper bounds (both inclusive). | |||||
| |||||
object (Paging) Contains paging properties. | |||||
|
Responses
Request samples
- Payload
{- "transactionDateRange": {
- "from": "2024-01-01",
- "to": "2024-12-31"
}, - "paging": {
- "pageNumber": 0,
- "pageSize": 50
}
}
Response samples
- 200
- 400
- 404
- default
{- "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
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:
- 4430 - UNKNOWN_CARD
- 4432 - BANK_CLEARING_NUMBER_NOT_CONFIGURED
- 4456 - UNKNOWN_WALLET_TYPE
header Parameters
x-request-id | string A unique identifier for a request and response pair. |
Request Body schema: application/jsonrequired
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. | |||||||
|
Responses
Request samples
- Payload
{- "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
}
}
Response samples
- 200
- 400
- 404
- default
{- "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
}
Get merchant logo of given merchant id.
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:
- 4455 - UNKNOWN_MERCHANT
path Parameters
merchantId required | string A unique identifier corresponding to a merchant in debiX. |
header Parameters
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. |
Responses
Response samples
- 200
- 400
- 404
- default
{- "merchantLogo": {
- "image": "2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT",
- "width": 1000,
- "height": 600,
- "version": "be5d87a6-1c76-49d7-9a7f-75fa411b7e96",
- "mimeType": "image/svg+xml"
}
}