ob-data-ais-transactionflow
ais transaction flow
ais transaction flow
As account holder needs to grant access to their data, the process of retrieving account data consists of several main steps, also visible in the diagram below:
We prepared a set of functions supporting these steps (the white boxes in the diagram). Each of those functions have a page with more explanation. You can choose how to integrate:
Data retrieval is done with API's during the validity time of the consent (up to 6 months). You can consult consent's validity by using dedicated get consent status endpoint.
for Data
The Bank Selection Interface provides a set of white labeled screens which support account holder's bank selection and capturing of additional information required for certain authorisation flows. The Bank Selection Interface will simplify the integration effort for the Initiating Party by handling the pre-authentication and consent initiation flows. It can be used by setting the field UseAuthorisationLandingPages= true in the Consent request.
A few screenshots below show how the screens look on a mobile device with the Worldline branding. The majority of the elements can be customised to support your branding.
API Reference
The API allows a PIN reminder to be requested for a card, identified by the Issuer Card External Reference or the Card Reference when a cardholder forgot its PIN.
The card must be in “ACTIVE” status.
As a result, a PIN mailer order is generated.
API links
POST /api/v2/issuers/{issuerId}/cards/{cardReference}/remind-pin
POST /api/v2/issuers/{issuerId}/cards/external-cards/{issuerCardExternalReference}/remind-pin
Request data:
{
"sendingMode":"Normal",
"deliveryType":"CUSTOMER"
}
Response data:
{
"responseMetadata":{
"correlationId":"2b54aa5c-aaf7-4b93-b6b2-5e12b92fa16b",
"statusMessage":"Executed successfully",
"statusCode":200,
"responseDateTime":"2023-01-03T15:14:13.531+0100",
"timeTakenMs":206
},
"data":{
"orderIdentifier":{
"orderReference":"202301032000000000389047"
},
"currentInternalStatus":"ORDERABLE",
"orderType":"PinMailerOrder"
}
}
This API enables card information for a given card identifier to be retrieved.
The response can also be enriched (if specified as embedded fields in input) with additional data such as the status history of the card, the card Contract information, the card order identifiers linked to the card.
API links
GET /api/v2/issuers/{issuerId}/cards/{cardReference}
GET /api/v2/issuers/{issuerId}/cards/external-cards/{issuerCardExternalReference}
Below an example of request for
POST /api/v2/issuers/1234/cards/2000000000386135
Response data:
{
"data":{
"issuerId":"1234",
"cardIdentifier":{
"cardReference":"2000000000386135",
"issuerCardExternalReference":"EXTREF_CARD_REF_MCI_ABC_CNT_235644290"
},
"pan":"5212137209162844",
"maskedPan":"521213******2844",
"expiryDate":"1227",
"panSequenceNumber":"1",
"status":"ACTIVE",
"statusDate":"2022-12-22T11:18:11.973+00:00",
"embossingName":"REMY NAME",
"artwork":"12340001",
"permanentlyBlocked":false,
"emergencyCard":false,
"emergencyCashAdvance":false,
"renewed":false,
"replaced":false,
"cardContractIdentifier":{
"cardContractReference":"12342000000000386134",
"issuerCardContractExternalReference":"EXTREF_CARD_CRT_REF_MCI_ABC_CNT_235644290"
},
"isCardDigitalizationAllowed":false,
"panReference":"2011231c953ee52147efb5a43d532c8fa43f",
"cardScheme":"MASTERCARD",
"virtual":false,
"techAndAppModelName":"M_1234_APPTEC_MCI",
"contractType":"CONSUMER"
}
}
This API enables card information to be retrieved based on PAN or PAN reference, and optionally on PAN sequence number and/or expiry date information as search criteria.
The response can be enriched (if specified as embedded fields in input) with additional data such as the status history of the card, the card Contract information, the card order identifiers linked to the card, card identifiers of the new card in case of replacement or renewal.
API links
Below an example of request with the response
As the expiry date and the sequence number are not in the request, the response gives all existing cards with the card number (here, 2 cards are provided)
POST /api/v2/issuers/1234/cards/search
Request data:
{
"pan":"4546175178227826"
}
Response data:
{
"responseMetadata":{
"correlationId":"a65a1fdb-dd67-4535-9b62-a62a4efc5c3f",
"statusMessage":"Executed successfully",
"statusCode":200,
"responseDateTime":"2023-01-03T15:44:43.195+0100",
"timeTakenMs":34
},
"data":[
{
"issuerId":"1234",
"cardIdentifier":{
"cardReference":"2000000000364034"
},
"pan":"4546175178227826",
"maskedPan":"454617******7826",
"expiryDate":"1127",
"panSequenceNumber":"2",
"status":"ACTIVE",
"statusDate":"2022-11-23T13:14:44.818+00:00",
"embossingName":"Boris PAVLOV",
"artwork":"DebitClassic",
"permanentlyBlocked":false,
"emergencyCard":false,
"emergencyCashAdvance":false,
"renewed":false,
"replaced":false,
"cardContractIdentifier":{
"cardContractReference":"12342000000000364012",
"issuerCardContractExternalReference":"EXTREF_CARD_CRT_REF_VIS_ING_CNT_20221123145502"
},
"isCardDigitalizationAllowed":false,
"panReference":"1500df38371f4b2541edad420044e1ba67ba",
"cardScheme":"VISA",
"virtual":false,
"techAndAppModelName":"M_1234_APPTEC_EMVT0VISA",
"contractType":"CONSUMER"
},
{
"issuerId":"1234",
"cardIdentifier":{
"cardReference":"2000000000364013",
"issuerCardExternalReference":"EXTREF_CARD_REF_VIS_ING_CNT_20221123145502"
},
"pan":"4546175178227826",
"maskedPan":"454617******7826",
"expiryDate":"1127",
"panSequenceNumber":"1",
"status":"ACTIVE",
"statusDate":"2022-11-23T12:55:04.256+00:00",
"embossingName":"REMYPAVLOV",
"artwork":"DebitClassic",
"permanentlyBlocked":false,
"emergencyCard":false,
"emergencyCashAdvance":false,
"renewed":false,
"replaced":true,
"replacementReason":"CARD_DATA_UPDATE",
"cardContractIdentifier":{
"cardContractReference":"12342000000000364012",
"issuerCardContractExternalReference":"EXTREF_CARD_CRT_REF_VIS_ING_CNT_20221123145502"
},
"isCardDigitalizationAllowed":false,
"panReference":"1500df38371f4b2541edad420044e1ba67ba",
"cardScheme":"VISA",
"virtual":false,
"techAndAppModelName":"M_1234_APPTEC_EMVT0VISA",
"contractType":"CONSUMER"
}
]
}
The API enables the card contract information related to a given card to be retrieved.
The main input fields are:
It is also possible to request some additional data by using the embedded fields (such as the list of models linked to the card contract, the account identifiers linked to the card contract, the identifiers and the information of the linked cards).
In return, the interface provides the generic information (mainly master data) relevant to the card contract.
API links
GET /api/v2/issuers/{issuerId}/cards/{cardReference}/card-contract
GET /api/v2/issuers/{issuerId}/cards/external-cards/{issuerCardExternalReference}/card-contract
Below is an example of the request and the response
In input:
GET /api/v2/issuers/1234/card-contracts/12342000000000242108
Response data:
"data":{
"issuerId":"1234",
"cardContractIdentifier":{
"cardContractReference":"12342000000000242108",
"issuerCardContractExternalReference":"T_1234_CARD_VISA_DEBIT_CLASSIC_SHARE"
},
"cardTemplateReference":"T_1234_CARD_VISA_DEBIT_CLASSIC_SHARE",
"cardTypeCode":"F",
"status":"ACTIVE",
"openingDate":"2022-06-14T12:54:58.930+00:00",
"activationDate":"2022-06-14T12:54:58.930+00:00",
"trustedAuthenticationReference":"123420220614145458365",
"newCardRenewalAllowed":true,
"issuerBranchCode":"NO_BRANCH",
"artwork":"DebitClassicShare",
"forcedEmbossingName":"ROSINETTE F CANAILLETTE",
"schemeDeclarationOptOut":true,
"principalSupplementaryCardIndicator":"PRINCIPAL",
"productCategory":"DEBIT",
"productCategoryLabel":"IMMEDIATE_DEBIT_DEBIT",
"specificFields":{
"cardContractKey2":"value2",
"cardContractKey1":"value1"
},
"productIdentifier":{
"issuerProductExternalReference":"PDT_1234_VISA_DEBIT_CLASSIC_SHARE",
"productReference":"PDT_1234_VISA_DEBIT_CLASSIC_SHARE"
},
"cardHolderIdentifier":{
"customerReference":"CUS10000243078"
},
"contractIdentifier":{
"contractReference":"REF_MCI_BSW_CNT_216566294",
"issuerContractExternalReference":"LEGACY_REF_MCI_BSW_CNT_216566294"
},
"cardProfileDescription":"P_1234_CARD_VISA_DEBIT_CLASSIC_SHARE",
"cardProfileReference":"P_1234_CARD_VISA_DEBIT_CLASSIC_SHARE"
}
The API enables the events information related to a given card to be retrieved (e.g. status change such as card blocking/card activation, card issuing for replacement or renewal, PIN change.)
API links
GET /api/v2/issuers/{issuerId}/cards/{cardReference}/card-events
GET /api/v2/issuers/{issuerId}/cards/external-cards/{issuerCardExternalReference}/card-events
Below is an example of the request and the response for:
Following event types are then returned : CardBlocking, CardOrderIssuing, CardActivation, CardIssuing
GET /api/v2/issuers/1234/cards/2000000000374460/card-events
Response data:
{
"data":[
{
"eventType":"CardBlocking",
"eventDate":"2022-12-05T16:16:19.514+00:00",
"reason":"LOST",
"waiveFee":false,
"blockingInformation":{
"cardBlockingDateTime":"2022-12-05T16:16:19.514+00:00",
"blockAgent":"admin",
"blockingReason":"LOST",
"blockingReasonDetail":"LOST",
"lostStolenDate":"2022-10-11T11:14:08.493+00:00",
"lossPlace":"lossPlace",
"lossCountry":"lossCountry",
"lastUsageDate":"2022-10-11T11:14:08.493+00:00",
"lastUsagePlace":"lastUsage",
"lossCircumstances":"lossCircumstances",
"lossReportedBy":"lossReportedBy",
"lossReportedVia":"lossReportedVia",
"fraudCode":"01",
"contactData":"contactData",
"pinCompromised":true,
"customerRequestingBlockDate":"2022-10-14T08:14:08.493+00:00",
"transferEffectiveDate":"2022-10-14T08:14:08.493+00:00",
"noReplacementReason":"tempAddr",
"comment":"comment",
"cppFlag":false,
"scheduledCardBlockingReason":"LOST"
}
},
{
"eventType":"CardOrderIssuing",
"eventDate":"2022-12-05T13:13:43.385+00:00",
"waiveFee":false
},
{
"eventType":"CardActivation",
"eventDate":"2022-12-05T13:13:43.288+00:00",
"reason":"CARD_CREATION",
"waiveFee":false
},
{
"eventType":"CardIssuing",
"eventDate":"2022-12-05T13:13:43.185+00:00",
"waiveFee":false
}
]
}
The API enables the blocking information related to a given card to be retrieved.
As a response, a set of information is returned such as :
API links
Below an example of request and the response for:
GET /api/v2/issuers/1234/cards/2000000000374460/blocking-information
Response data:
{
"data":{
"cardBlockingDateTime":"2022-12-05T16:16:19.514+00:00",
"blockAgent":"admin",
"blockingReason":"LOST",
"blockingReasonDetail":"LOST",
"lossPlace":"lossPlace",
"lossCountry":"lossCountry",
"lastUsageDate":"2022-10-11T11:14:08.493+00:00",
"lastUsagePlace":"lastUsage",
"lossCircumstances":"lossCircumstances",
"lossReportedBy":"lossReportedBy",
"lossReportedVia":"lossReportedVia",
"fraudCode":"01",
"contactData":"contactData",
"customerRequestingBlockDate":"2022-10-14T08:14:08.493+00:00",
"transferEffectiveDate":"2022-10-14T08:14:08.493+00:00",
"noReplacementReason":"tempAddr",
"cppFlag":false
}
}
This API is no more maintained. The block card API must be used instead.
The API enables blocking information related to a given card to be updated such as:
API links
Below an example of request for
/api/v2/issuers/1234/cards/2000000000444867/blocking-information
Request data:
{
"cppFlag":true,
"blockingReason":"LOST",
"blockingReasonDetail":"Detail blk rsn",
"lostStolenDate":"2023-03-06T17:18:42.806Z",
"pinCompromised":true,
"transferEffectiveDate":"2023-03-06T17:18:42.806Z",
"comment":"fieldComment"
}
Response data:
{
"responseMetadata":{
"correlationId":"492efcae-cc01-48e0-b5b4-8944ee5937ba",
"statusMessage":"Executed successfully",
"statusCode":200,
"responseDateTime":"2023-03-06T18:26:22.009+0100",
"timeTakenMs":70
},
"data":{
"cardIdentifier":{
"cardReference":"2000000000444867",
"issuerCardExternalReference":"CARD-2023022800001A"
}
}
}
This API is no more maintained. The block all cards API must be used instead.
The API is similar to “Update blocking information for a card” API but is applied to all cards having the same PAN or same PAN reference.
In response, card information for each matched card is provided.
API links
Emergency Card is a type of card that can be provided to a customer in emergency cases (for example, a customer has lost his card, while travelling outside his country and urgently needs a new card). The customer will call 24-hour service and request an Emergency Card.
In general, those cards will have short validity period and will not be renewed and replaced. Emergency Card is not produced by the issuer but by the scheme.
The emergency card creation is possible in our system only if an Emergency Card product is defined for the issuer and if the contract of the customer is allowed to issue an Emergency Card.
The API allows to create an emergency card for a given card.
API links
For PIN self-selection without a direct bank connection to the card issuing institute - i.e., without online banking access - Worldline offers the variant PIN change with TAN (Trusted Authentication Number). This applies to card programs where the bank is the card issuer for another partner, e.g., TUI or eBay.
The API allows to generate a TAN, which is used as a one-time password, printed and sent to cardholder in order to change card pin by e.g. IVR.
API links
POST /api/v2/issuers/{issuerId}/cards/{cardReference}/new-tan
POST /api/v2/issuers/{issuerId}/cards/external-cards/{issuerCardExternalReference}/new-tan
Below an example of request and the response for:
POST /api/v2/issuers/1234/cards/2000000000410108/new-tan
Request data:
{
"tanOrigin":"string",
"sendingMode":"normal",
"waiveFee":false,
"waiveShippingFee":false
}
Response data:
{
"responseMetadata":{
"correlationId":"a3e4fb90-72f9-4154-93d1-a0050b28c273",
"statusMessage":"Executed successfully",
"statusCode":200,
"responseDateTime":"2023-01-31T15:22:50.893+0100",
"timeTakenMs":155
},
"data":{
"orderIdentifier":{
"orderReference":"202301312000000000418220"
},
"currentInternalStatus":"ORDERABLE"
}"orderType":"TanMailerOrder"
}
This service offers the option to the issuer to display the CVV2 inside the mobile app.
As the CVV2 is not stored it must be re-created using the received card data from the request.
Note: Worldline will send the encrypted CVV2 towards the issuer. The issuer is responsible for displaying the CVV2 inside the mobile app or Homebanking service.
API links
This service offers the option to the issuer to display the PIN inside the mobile app for a given card. The card is identified either by the internal or external card reference.
Note: Worldline will only send the PIN block towards the issuer. The issuer is responsible for displaying the PIN inside the mobile app or Homebanking device.
API links
This Service allows the issuer to set the PIN after card creation, via issuer home banking or mobile app The card is identified either by the internal or external card reference.
API links
The API allows to order a new PIN for the card when a cardholder wants to change its PIN. The card must be in "CREATED" or "ACTIVE" status. As a result, a PIN mailer order with PIN REORDER reason is generated. This functionality can be used only if configured for the issuer.
API links
POST /api/v2/issuers/{issuerId}/cards/{cardReference}/pin
POST /api/v2/issuers/{issuerId}/cards/external-cards/{issuerCardExternalReference}/pin
Below an example of request for the
POST /api/v2/issuers/1234/cards/2000000000259979/reorder-pin
Request data:
{
"sendingMode":"Normal",
"deliveryType":"CUSTOMER"
}
Response data:
{
"responseMetadata":{
"correlationId":"be841b98-4624-4df6-9a67-c07b0fd44cf6",
"statusMessage":"Executed successfully",
"statusCode":200,
"responseDateTime":"2023-02-03T18:52:35.578+0100",
"timeTakenMs":475
},
"data":{
"orderIdentifier":{
"orderReference":"202302032000000000327150"
},
"currentInternalStatus":"ORDERABLE",
"orderType":"PinMailerOrder"
}
}
The API enables the orders information related to a given card to be retrieved. The response can also be enriched (if specified as embedded fields in input) with additional data such as the orders status history of the card, the card information.
API links
GET /api/v2/issuers/{issuerId}/cards/{cardReference}/orders
GET /api/v2/issuers/{issuerId}/cards/external-cards/{issuerCardExternalReference}/orders
Below an example of request for the
Below is an example of the request and the response
In input:
In response, one card order is provided back with the order reason (“FIRST_PIN_CARD_ISSUE”), the order date, the status, the pass-through data (“specific fields”) sent to the card embosser.
GET /api/v2/issuers/1234/cards/2000000000242109/orders
Response data:
{
"data":[
{
"issuerId":"1234",
"orderType":"CardOrder",
"orderIdentifier":{
"orderReference":"202206142000000000242110"
},
"currentInternalStatus":"ORDERED",
"currentInternalStatusDate":"2022-06-14T12:57:19.090+00:00",
"sendingMode":"Normal",
"deliveryType":"CUSTOMER",
"orderReason":"FIRST_PIN_CARD_ISSUE",
"cardProducer":"00022",
"specificFields":{
"insuranceCode":"insuranceCode",
"cardOrderKey2":"value2",
"cardOrderKey1":"value1"
},
"cardIdentifier":{
"cardReference":"2000000000242109"
},
"free":true
}
]
}
The API enables the order information (card, PIN mailer or TAN mailer order) related to a given card to be retrieved. The order is identified with order reference.
The response can also be enriched (if specified as embedded fields in input) with additional data such as the orders status history of the card, the card information.
API links
GET /api/v2/issuers/{issuerId}/cards/{cardReference}/orders
GET /api/v2/issuers/{issuerId}/cards/external-cards/{issuerCardExternalReference}/orders
Below is an example of the request and the response
In input:
GET /api/v2/issuers/1234/cards/2000000000242109/orders/202206142000000000242110
Request data:
{
"sendingMode":"Normal",
"deliveryType":"CUSTOMER"
}
Response data:
{
"data":{
"issuerId":"1234",
"orderType":"CardOrder",
"orderIdentifier":{
"orderReference":"202206142000000000242110"
},
"currentInternalStatus":"ORDERED",
"currentInternalStatusDate":"2022-06-14T12:57:19.090+00:00",
"sendingMode":"Normal",
"deliveryType":"CUSTOMER",
"orderReason":"FIRST_PIN_CARD_ISSUE",
"cardProducer":"00022",
"specificFields":{
"insuranceCode":"insuranceCode",
"cardOrderKey2":"value2",
"cardOrderKey1":"value1"
},
"cardIdentifier":{
"cardReference":"2000000000242109"
},
"free":true
}
}
This API enables the issuer to reset the PIN try Counter value.
A control related to this counter value ((MAX Pin try) can be performed during the authorization processing if configured.
API links
This API enables you to retrieve comprehensive payment data using specific criteria and periods of time.
Request parameters in bold on the Merchant payments API reference page are mandatory to complete a call.
To ensure best search call response time please use as many parameters as available.
There are two types of GET METHOD calls:
Worldline supports the whole card lifecycle.
Please find below an illustration of the possible transitions from one status to another
An issuer can activate a card on demand from Issuer Card External Reference or Card Reference only if the card is in CREATED status.
The issuer chooses the activation reason from the customised reasons previously configured.
As a result, the card is active in our system.
Note : The issuer can alternatively use one of the options offered by WL system to activate a card such as:
API links
The API allows to block a card permanently (immediately or in the future) or to block a card temporarily depending on the configured blocking reason by using the Issuer Card External Reference or the Card Reference.
The card is in “CREATED” or “ACTIVE” status.
The blocking reason is chosen among the reasons configured beforehand for the issuer.
Example of use cases :
Use case 1: The card is blocked permanently, in case of lost, stolen, not delivered, fraudulent activity, for example.
The issuer can provide:
As a result, the card is definitively blocked in our system (final status).
Next online authorizations are declined for the card.
If the card is permanently blocked, it can be notified to the scheme (card exceptions file sent to Stoplist network).
Use case 2: The card has been compromised in Common Point of Purchase (CPP) : a permanent card blocking is scheduled for the card and the cardholder is still allowed to use its card for PIN based transactions by the issuer.
The issuer indicates that the card has been compromised in a Common Point of Purchase (cppFlag) and provides the delay to block the card in the future (scheduledCardBlockingDelay)
As a result, the card is still active in our system and a permanent card blocking is scheduled for the card.
Authorizations are still accepted for the card.
The card is effectively blocked via batch process once the scheduled permanent card blocking date is reached.
Use case 3: The card is blocked temporarily in case of fraud suspicion by e.g. Issuer or Fraud system.
Fraud information as free text (fraud code) can be provided and can be used later (e.g. in dispute management in case there is a fraud declared on this card)
As a result, the card is temporarily blocked in our system and can be unblocked later.
Next online authorizations are declined for the card.
It is also possible to update the following blocking information by this API :
API links
POST /api/v2/issuers/{issuerId}/cards/{cardReference}/block
POST /api/v2/issuers/{issuerId}/cards/external-cards/{issuerCardExternalReference}/block
Example : Request for permanent blocking reason
POST /api/v2/issuers/1234/cards/2000000000374460/block
Request data
{
"blockingReason":"LOST",
"blockingReasonDetail":"LOST",
"comment":"comment",
"contactData":"contactData",
"customerRequestingBlockDate":"2022-10-14T08:14:08.493Z",
"fraudCode":"01",
"lastUsageDate":"2022-10-11T11:14:08.493Z",
"lastUsagePlace":"lastUsage",
"lossCircumstances":"lossCircumstances",
"lossCountry":"lossCountry",
"lossPlace":"lossPlace",
"lossReportedBy":"lossReportedBy",
"lossReportedVia":"lossReportedVia",
"lostStolenDate":"2022-10-11T11:14:08.493Z",
"noReplacementReason":"tempAddr",
"pinCompromised":true,
"transferEffectiveDate":"2022-10-14T08:14:08.493Z"
}
Response data
"data":{
"cardIdentifier":{
"cardReference":"2000000000374460"
},
"status":"BLOCKED",
"blockingReason":"LOST",
"blockingReasonDetail":"LOST",
"cardBlockingDateTime":"2022-12-05T16:16:19.514+00:00"
}
An issuer can reactivate a temporarily blocked card.
The card is in temporary “Blocked” status.
The issuer identifies the card with their own reference (Issuer Card External Reference) or with the reference generated by WL (Card Reference).
The issuer chooses the unblocking reason from the reasons configured beforehand for him.
As a result, the card is active again in our system.
An issuer cannot request the unblocking of a permanently blocked card.
API links
The API is similar to Block a card API but is applied to all cards having the same PAN or same PAN reference.
The API allows the permanent blocking (immediately or in the future), or temporary blocking, depending on the configured blocking reason, of all cards having the same PAN or same PAN reference.
Cards must be in “CREATED” or “ACTIVE” status.
The blocking reason is chosen from the reasons configured beforehand for the issuer
It is also possible to update the following blocking information by this API :
API links
The API is similar to Unblock a card API but is applied to all cards having the same PAN or same PAN reference.
The API allows the unblocking of all cards having the same PAN or same PAN reference.
Cards must be in temporary “Blocked” status.
The unblocking reason is chosen from the reasons configured beforehand for the issuer.
The Issuer cannot request this API for permanently blocked cards.
As a result, cards having the same PAN or same PAN reference are active again in our system.
API links
The API allows an active card, or a temporary blocked card, to be deactivated on demand, by using the Issuer Card External Reference or the Card Reference.
The deactivation reason is chosen from the reasons configured beforehand for the issuer.
As a result, the card is deactivated in our system.
This process is not reversible. New card authorizations are declined. If necessary, a request for a card replacement may be made by the issuer.
This API allows also to cancel a card in “Created” status, e.g., when the card production has failed.
API links
The API allows a card, that has not yet been replaced or renewed, to be replaced when the card is lost/stolen or damaged, or when the customer’s information has changed, by using the Issuer Card External Reference or the Card Reference.
The card contract must be ACTIVE with no replacement blocking and the card must not be in CREATED status.
The replacement reason is chosen from the reasons configured beforehand for the issuer.
Data that may need to be changed during replacement can be provided, such as: card data (e.g., embossing name), order data (e.g., card producer if several are allowed), customer data (e.g., name), PIN.
As a result, the new card is created, a card order and a PIN mailer order are created when applicable (physical card requested).
In case a product change on renewal is planned on the contract of the card to be replaced, the card will not be replaced but the product change will be forced instead. From the request, only blocking reason and embossingName/embossingName2ndLine will be considered :
In the request response, information related to the new contract and the product change will be returned.
API links
POST /api/v2/issuers/{issuerId}/cards/{cardReference}/replace
POST /api/v2/issuers/{issuerId}/cards/external-cards/{issuerCardExternalReference}/replace
Example Replacement Request for LOST_STOLEN replacement reason
POST /api/v2/issuers/1234/cards/2000000000374460/replace
Request data:
{
"waiveFee":false,
"replacementReason":"LOST_STOLEN",
"cardContract":{
"specificFields":{
"additionalProp1":"string",
"additionalProp2":"string",
"additionalProp3":"string"
},
"card":{
"issuerCardExternalReference":"CARD-20221119",
"cardOrder":{
"specificFields":{
"additionalProp1":"string",
"additionalProp2":"string",
"additionalProp3":"string"
},
"sendingMode":"Normal"
}
}
},
"overrideDistributionRules":false
}
Response data:
"data":{
"card":{
"cardIdentifier":{
"cardReference":"2000000000374491",
"issuerCardExternalReference":"CARD-20221119"
},
"pan":"4546174672045636",
"maskedPan":"454617******2386",
"expiryDate":"1227",
"panSequenceNumber":"1",
"status":"ACTIVE",
"replacementFor":{
"cardReference":"2000000000374460"
},
"orders":[
{
"orderIdentifier":{
"orderReference":"202212052000000000374492"
},
"orderType":"CardOrder",
"currentInternalStatus":"ORDERABLE"
}
],
"panReference":"1500d015027a202e47b39d56e25aab9fcc1d"
},
"replacementForCardStatus":"BLOCKED",
"replacementReason":"LOST_STOLEN",
"cardReplacementDateTime":"2022-12-05T16:27:57.340+00:00"
}
The API allows a card identified by the Issuer Card External Reference or the Card Reference to be blocked and replaced.
This API regroups Block a card (for card blocking or blocking information update) and Replace a card APIs in a single request.
As result, the card is blocked and the new card is created.
If any error occurs while card blocking or card replacing, the card is neither blocked nor replaced.
With this API, it is also possible to block all cards having the same PAN than the card referenced by Issuer Card External Reference or the Card Reference. In this case Block all cards API is called instead Block a card API.
In case a product change on renewal is planned on the contract of the card to be replaced, the card will not be replaced but the product change will be forced instead. From the replace card request, only blocking reason and embossingName/embossingName2ndLine will be considered :
In the request response, information related to the new contract and the product change will be returned.
API links
API Reference
The Create Consumer Contract API allows the creation of a new consumer contract already signed by the customer or not, and its first card(s), either with physical support (plastic) or not (virtual card).
Pre-conditions:
The issuer can request the creation of a new consumer contract from the provided active consumer product with additional information such as
As a result, the contract is created:
The API response returns newly created contract information such as
The references are used to: retrieve/update/close contracts, list accounts for a contract, retrieve the contract owner for a contract, retrieve/update legitimacy documents, etc..
Additional information for credit card when creating the contract
Additional information for prepaid card when creating the contract
API links
Below is an example where the data for customer creation is provided in the request:
POST /api/v2/issuers/1234/contracts/create-consumer-contract
Request data
"data":{
" ""customers":" "[
" "{
"/* Comment":"here is provided the customer required to create this contract. This customer is the contract owner (see above contractOwnerRequestCorrelationId"": "92"). Then it is also the account owner of the account “issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212050001""and also the cardholder of the card by automatic inheritance. */
""addresses":" "[
" "{
"addressLabel":" ""MAIN_POSTAL_ADDRESS",
" ""addressType":" ""POSTAL_MAIL",
" ""issuerAddressExternalReference":" ""ADDRESS-202212050001",
" ""postalAddress":" "{
" ""line1":" ""Belziger 70",
" ""line2":" ""Test line2",
" ""townName":" ""BERLIN",
" ""country":" ""DE"" "
}" "
}" "
],
" ""birthDate":" ""1970-10-22T00:00Z",
" ""birthPlace":" ""London",
" ""courtesyTitle":" ""Mr",
" ""firstName":" ""John",
" ""issuerCustomerExternalReference":" ""PERSON-202212050001",
" ""lastName":" ""SMITH",
" ""commercialStatus":" ""Normal",
" ""onlineRiskCategory":" ""Standard",
" ""offlineRiskCategory":" ""Standard",
" ""requestCorrelationId":" ""92",
"/* is used in the rest of the message to assign this new customer as e.g. contract owner",
"account owner",
"cardholder) */
""sex":" ""M",
" ""nationality":" ""DE"" "
}"/* Another new customer can be provided if contract owner and account owner or cardholder are not the same */
"
]" ""contract":" "{
" ""accountHierarchy":" "{
" ""accounts":" "[
" "{
" ""accountTemplateReference":" ""T_1234_ACC_ROOT_VISA_DEBIT_CLASSIC",
" ""bic":" ""XXXDEBB",
" ""iban":" ""DE02500105174128973163",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212050001"" "
},
" "{
" ""accountTemplateReference":" ""T_1234_ACC_CHILD_VISA_DEBIT_CLASSIC",
" ""bic":" ""XXXDEBB",
" ""iban":" ""DE02500105174128973163",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212050001"" "
}" "
]" "
},
" ""cardContracts":" "[
" "{
" ""card":" "{
" ""cardOrder":" "{
" ""sendingMode":" ""Normal"" "
},
" ""issuerCardExternalReference":" ""CARD-202212050001"" "
},
" ""cardTemplateReference":" ""T_1234_CARD_VISA_DEBIT_CLASSIC",
" ""forcedEmbossingName":" ""SMITH JOHN",
" ""forcedEmbossingName2ndLine":" ""STEVEN",
" ""issuerCardContractExternalReference":" ""CARD_CONTRACT-202212050001"" "
}" "
],
" ""cardReleaseOrder":" ""AUTOMATIC",
" ""contractOwnerRequestCorrelationId":" ""92",
/* the new customer provided in the list of customers above and identiied by correlationId as “92” is assigned to contract owner role */
"issuerContractExternalReference":" ""CONTRACT-202212050001",
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""issuerBranchCode":" ""NO_BRANCH"" "
}
}
Response data
"data":{
" ""contract":" "{
" ""contractIdentifier":" "{
" ""contractReference":" ""4459f986-5242-4202-9ed5-f652573e9f63",
" ""issuerContractExternalReference":" ""CONTRACT-202212050001"" "
},
" ""status":" ""SIGNED",
" ""creationDate":" ""2022-12-05T12:34:43.770+00:00",
" ""signatureDate":" ""2022-12-05T12:34:43.758+00:00",
" ""issuerBranchCode":" ""NO_BRANCH",
" ""cardReleaseOrder":" ""AUTOMATIC",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""contractOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000346472",
" ""issuerCustomerExternalReference":" ""PERSON-202212050001"" "
},
" ""accounts":" "[
" "{
"accountIdentifier":" "{
" ""accountReference":" ""12348505533653587133",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212050001"" "
},
" ""root":" false",
" ""status":" ""ACTIVE",
" ""accountOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000346472",
" ""issuerCustomerExternalReference":" ""PERSON-202212050001"" "
},
" ""accountGuarantorIdentifier":" "{
" ""customerReference":" ""CUS10000346472",
" ""issuerCustomerExternalReference":" ""PERSON-202212050001"" "
}" "
},
" "{
"accountIdentifier":" "{
" ""accountReference":" ""12346621070985963583",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212050001"" "
},
" ""root":" true",
" ""status":" ""ACTIVE",
" ""accountOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000346472",
" ""issuerCustomerExternalReference":" ""PERSON-202212050001"" "
},
" ""accountGuarantorIdentifier":" "{
" ""customerReference":" ""CUS10000346472",
" ""issuerCustomerExternalReference":" ""PERSON-202212050001"" "
}" "
}" "
],
" ""cardContracts":" "[
" "{
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""12342000000000374437",
" ""issuerCardContractExternalReference":" ""CARD_CONTRACT-202212050001"" "
},
" ""cardHolderIdentifier":" "{
" ""customerReference":" ""CUS10000346472",
" ""issuerCustomerExternalReference":" ""PERSON-202212050001"" "
},
" ""status":" ""ACTIVE",
" ""principalSupplementaryCardIndicator":" ""PRINCIPAL",
" ""card":" "{
" ""cardIdentifier":" "{
" ""cardReference":" ""2000000000374438",
" ""issuerCardExternalReference":" ""CARD-202212050001"" "
},
" ""pan":" ""4546177060616413",
" ""maskedPan":" ""454617******6413",
" ""expiryDate":" ""1227",
" ""panSequenceNumber":" ""1",
" ""status":" ""ACTIVE",
" ""orders":" "[
" "{
" ""orderIdentifier":" "{
" ""orderReference":" ""202212052000000000374439"" "
},
" ""orderType":" ""CardOrder",
" ""currentInternalStatus":" ""ORDERABLE"" "
}" "
],
" ""panReference":" ""1500fc52cb34fa714bf3bd94c9421d38c79c"" "
},
" ""relatedAccounts":" "[
" "{
" ""relation":" ""DEFAULT",
" ""accountIdentifier":" "{
" ""accountReference":" ""12348505533653587133",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212050001"" "
}" "
}" "
]" "
}" "
]" "
},
" ""customers":" "[
" "{
" ""customerIdentifier":" "{
" ""customerReference":" ""CUS10000346472",
" ""issuerCustomerExternalReference":" ""PERSON-202212050001"" "
},
" ""courtesyTitle":" ""Mr",
" ""lastName":" ""SMITH",
" ""firstName":" ""John",
" ""addresses":" "[
" "{
" ""addressIdentifier":" "{
" ""addressReference":" ""ADDREF_MAIN_POSTAL_ADDRESS_1000000000385897",
" ""issuerAddressExternalReference":" ""ADDRESS-202212050001"" "
},
" ""addressLabel":" ""MAIN_POSTAL_ADDRESS",
" ""addressType":" ""POSTAL_MAIL"" "
}" "
]" "
}" "
]" "
}
}
}
This API is no more maintained. The Global search for contracts API must be used instead to retrieve consumer contracts by criteria (multi issuers).
The API provides possibility to retrieve a list of consumer contracts for an issuer, based on certain criteria.
One of the following criteria for searching must be provided:
For searching with account's criteria, only one of the following data must be provided :
For searching with customer's criteria, only one of the following data must be provided :
For searching with card's criteria, only one of the following data must be provided :
If requested, the API input parameters allows also to:
The API response contains all matched contracts and for each returned contract some information is provided such as :
API links
This API allows the retrieval of a particular contract from its reference or its issuer external reference.
The API response contains contract information, such as:
API links
GET /api/v2/issuers/{issuerId}/contracts/{contractReference}
GET /api/v2/issuers/{issuerId}/contracts/external-contracts/{issuerContractExternalReference}
Below an example of a request for:
GET /api/v2/issuers/1234/contracts/4459f986-5242-4202-9ed5-f652573e9f63
Response data
"data":" "{
"issuerId":" ""1234",
" ""contractIdentifier":" "{
" ""contractReference":" ""4459f986-5242-4202-9ed5-f652573e9f63",
" ""issuerContractExternalReference":" ""CONTRACT-202212050001"" "
},
" ""issuerBranchCode":" ""NO_BRANCH",
" ""cardReleaseOrder":" ""AUTOMATIC",
" ""signatureDate":" ""2022-12-05T12:34:43.000+00:00",
" ""status":" ""SIGNED",
" ""statusDate":" ""2022-12-05T12:34:43.000+00:00",
" ""contractOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000346472",
" ""issuerCustomerExternalReference":" ""PERSON-202212050001"" "
},
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""rootAccountIdentifier":" "{
" ""accountReference":" ""12346621070985963583",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212050001"" "
}" "
}
Below a second example of a request for:
With requested embedded field: cardContracts
In the response, the 3 card contracts are provided.
GET /api/v2/issuers/1234/contracts/1e9802ae-68db-467b-8610-ae59f0d37291?embed=cardContracts
Response data
"data":{
" ""issuerId":" ""1234",
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""issuerBranchCode":" ""NO_BRANCH",
" ""cardReleaseOrder":" ""AUTOMATIC",
" ""numberOfFreeCardsPrimaryCardImpacted":" false",
" ""signatureDate":" ""2022-12-13T14:40:21.000+00:00",
" ""status":" ""SIGNED",
" ""statusDate":" ""2022-12-13T14:40:21.000+00:00",
" ""cardContracts":" "[
" "{
" ""issuerId":" ""1234",
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""12342000000000380697"" "
},
" ""cardTemplateReference":" ""T_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardTypeCode":" ""F",
" ""status":" ""ACTIVE",
" ""openingDate":" ""2022-12-13T15:25:57.710+00:00",
" ""activationDate":" ""2022-12-13T15:25:57.730+00:00",
" ""trustedAuthenticationReference":" ""123420221213162557294",
" ""newCardRenewalAllowed":" true",
" ""issuerBranchCode":" ""NO_BRANCH",
" ""artwork":" ""DebitClassic",
" ""forcedEmbossingName":" ""BOUBOU",
" ""schemeDeclarationOptOut":" false",
" ""principalSupplementaryCardIndicator":" ""SUPPLEMENTARY",
" ""productCategory":" ""DEBIT",
" ""productCategoryLabel":" ""IMMEDIATE_DEBIT_DEBIT",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""cardHolderIdentifier":" "{
" ""customerReference":" ""CUS10000351532",
" ""issuerCustomerExternalReference":" "" PERSON-202212130001B"" "
},
" ""vipFlag":" false",
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""cardProfileDescription":" ""P_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardProfileReference":" ""P_1234_CARD_VISA_DEBIT_CLASSIC"" "
},
" "{
" ""issuerId":" ""1234",
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""12342000000000380694",
" ""issuerCardContractExternalReference":" ""CARD_CONTRACT-202212130001"" "
},
" ""cardTemplateReference":" ""T_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardTypeCode":" ""F",
" ""status":" ""ACTIVE",
" ""openingDate":" ""2022-12-13T14:40:21.527+00:00",
" ""activationDate":" ""2022-12-13T14:40:21.527+00:00",
" ""trustedAuthenticationReference":" ""123420221213154021607",
" ""newCardRenewalAllowed":" true",
" ""issuerBranchCode":" ""NO_BRANCH",
" ""artwork":" ""DebitClassic",
" ""forcedEmbossingName":" ""BOUBOU*TEST BOUBOU EMBOSS2",
" ""schemeDeclarationOptOut":" false",
" ""principalSupplementaryCardIndicator":" ""PRINCIPAL",
" ""productCategory":" ""DEBIT",
" ""productCategoryLabel":" ""IMMEDIATE_DEBIT_DEBIT",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""cardHolderIdentifier":" "{
" ""customerReference":" ""CUS10000351531",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001"" "
},
" ""vipFlag":" false",
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""cardProfileDescription":" ""P_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardProfileReference":" ""P_1234_CARD_VISA_DEBIT_CLASSIC"" "
},
" "{
" ""issuerId":" ""1234",
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""12342000000000380700"" "
},
" ""cardTemplateReference":" ""T_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardTypeCode":" ""F",
" ""status":" ""ACTIVE",
" ""openingDate":" ""2022-12-13T16:54:15.002+00:00",
" ""activationDate":" ""2022-12-13T16:54:15.112+00:00",
" ""trustedAuthenticationReference":" ""123420221213175415246",
" ""newCardRenewalAllowed":" true",
" ""issuerBranchCode":" ""NO_BRANCH",
" ""artwork":" ""DebitClassic",
" ""forcedEmbossingName":" ""BOUBOU",
" ""schemeDeclarationOptOut":" false",
" ""principalSupplementaryCardIndicator":" ""SUPPLEMENTARY",
" ""productCategory":" ""DEBIT",
" ""productCategoryLabel":" ""IMMEDIATE_DEBIT_DEBIT",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""cardHolderIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""vipFlag":" false",
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""cardProfileDescription":" ""P_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardProfileReference":" ""P_1234_CARD_VISA_DEBIT_CLASSIC"" "
}" "
],
" ""contractOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000351531",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001"" "
},
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""rootAccountIdentifier":" "{
" ""accountReference":" ""12343652199237560111",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212130001"" "
}" "
}
}
This API is used to update all members of a given contract with same provided address (including address usages).
E.g., for Contract A, contract owner, cardholders 1 and 2 are updated simultaneously with the same Main postal address data.
This API is used also:
Each provided address must have
Each provided address can have
API links
POST /api/v2/issuers/1234/contracts/1e9802ae-68db-467b-8610-ae59f0d37291/update-all-customers-addresses
Request data
{
" ""addresses":" "[
" "{
" ""addressLabel":" ""MAIN_POSTAL_ADDRESS",
" ""addressType":" ""POSTAL_MAIL",
" ""postalAddress":" "{
" ""line1":" ""50 AVENUE LAMARTINE",
" ""line3":" ""string",
" ""line4":" ""string",
" ""line5":" ""string",
" ""buildingNumber":" ""50",
" ""streetName":" ""AVENUE LAMARTINE",
" ""postCode":" ""75010",
" ""townName":" ""PARIS",
" ""country":" ""FR"" "
},
" ""startDate":" ""2022-12-13T16:37:26.625Z"" "
}" "
]
}
Response data
"data":" "{
{
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""customers":" "[
" "{
" ""customerIdentifier":" "{
" ""customerReference":" ""CUS10000351531",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001"" "
},
" ""addresses":" "[
" "{
" ""addressIdentifier":" "{
" ""addressReference":" ""ADDREF_MAIN_POSTAL_ADDRESS_1000000000392073"" "
},
" ""addressLabel":" ""MAIN_POSTAL_ADDRESS",
" ""addressType":" ""POSTAL_MAIL"" "
}" "
]" "
},
" "{
" ""customerIdentifier":" "{
" ""customerReference":" ""CUS10000351532",
" ""issuerCustomerExternalReference":" ""HOME_ADDR_REF_PERSON-202212130001B"" "
},
" ""addresses":" "[
" "{
" ""addressIdentifier":" "{
" ""addressReference":" ""ADDREF_MAIN_POSTAL_ADDRESS_1000000000392074"" "
},
" ""addressLabel":" ""MAIN_POSTAL_ADDRESS",
" ""addressType":" ""POSTAL_MAIL"" "
}" "
]" "
}" "
]" "
}
}
This API allows an issuer to add a new card (debit, credit, prepaid, either physical or virtual), a new account to an existing contract, together or independently, from a product extension among those allowed by the product used to instantiate the contract.
This product extension is usually composed of both card and account products, but can be composed of a card or several cards only, or of one or several accounts only or combination of both cards and accounts. It leads to create a new card and a new card account within the contract (multiple contents of product extensions can be configured depending on issuer's needs).
The new card account is in most of the cases attached to the root account of the hierarchy (default behaviour) but the issuer can provide its parent account if it is not the root (complex account hierarchy with more than 2 account levels).
The issuer shall provide required data for each account and card contract/card if required (depends on product extension configuration).
The issuer can provide:
The issuer can choose to receive in response for the extended/updated contract new resources created only or all resources (e.g. already existing accounts, card contracts, cards).
In case it is configured that adding additional card and account should trigger a product change, and there is an already scheduled product change, then the product change will be initiated and the new card and account will be created in the new contract.
The API response returns the extended contract with information related to account(s), card contract(s) and card(s) (limited to newly created account(s) and card contract(s)/card(s) if requested).
Add Cards and Accounts Request
API links
Below, an example of a request to add a card to:
With the parameter “newResourcesOnly” set to true, only the created card and account are provided back.
POST /api/v2/issuers/1234/contracts/1e9802ae-68db-467b-8610-ae59f0d37291/add-cards-accounts?newResourcesOnly=true
Request data
{
" ""customers":" "[
" "{
" ""requestCorrelationId":" ""117",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C",
" ""active":" true",
" ""courtesyTitle":" ""Frau",
" ""lastName":" ""BOUBOU",
" ""firstName":" ""Helen",
" ""birthDate":" ""1989-12-20T00:00:00.000Z",
" ""birthPlace":" ""Lorch",
" ""sex":" ""F",
" ""nationality":" ""DE",
" ""onlineRiskCategory":"Standard",
" ""offlineRiskCategory":"Standard",
" ""commercialStatus":"Normal",
" ""addresses":" "[
" "{
" ""issuerAddressExternalReference":" ""HOME_ADDR_REF_PERSON-202212130001C",
" ""addressLabel":" ""MAIN_POSTAL_ADDRESS",
" ""addressType":" ""POSTAL_MAIL",
" ""postalAddress":" "{
" ""country":" ""DE",
" ""line1"" ":" ""HUBERTUSANLAGE 25"" "
}" "
}"
"
]" "
}" "
],
" ""issuerProductExtensionExternalReference":" ""PDT_1234_EXT_VISA_DEBIT_CLASSIC",
" ""accountHierarchy":" "{
" ""accounts":" "[
" "{
" ""accountTemplateReference":" ""T_1234_ACC_CHILD_VISA_DEBIT_CLASSIC",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212130001C",
" ""iban":" ""DE02500105174128973163",
" ""accountOwnerRequestCorrelationId":" ""117"" "
}" "
]" "
},
" ""cardContracts":" "[
" "{
" ""card":" "{
" ""cardOrder":" "{
" ""sendingMode":" ""Normal"" "
}" "
},
" ""cardTemplateReference":" ""T_1234_CARD_VISA_DEBIT_CLASSIC",
" ""principalSupplementaryCardIndicator":" ""SUPPLEMENTARY",
" ""forcedEmbossingName":" ""BOUBOU"" "
}" "
]
}
Response data
{
" ""responseMetadata":" "{
" ""correlationId":" ""d4f2ceeb-7e1e-483d-af01-38e630a8e343",
" ""statusMessage":" ""Executed successfully",
" ""statusCode": 200,
" ""responseDateTime":" ""2022-12-13T17:54:15.838+0100",
" ""timeTakenMs": 1174
},
" ""data":" "{
" ""contract":" "{
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""status":" ""SIGNED",
" ""creationDate":" ""2022-12-13T14:40:21.036+00:00",
" ""signatureDate":" ""2022-12-13T14:40:21.000+00:00",
" ""issuerBranchCode":" ""NO_BRANCH",
" ""cardReleaseOrder":" ""AUTOMATIC",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""contractOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000351531",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001"" "
},
" ""accounts":" "[
" "{
" ""accountIdentifier":" "{
" ""accountReference":" ""12341542264159267791",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212130001C"" "
},
" ""root":" false",
" ""status":" ""ACTIVE",
" ""accountOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""accountGuarantorIdentifier":" "{
" ""customerReference":" ""CUS10000351531",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001"" "
}" "
}" "
],
" ""cardContracts":" "[
" "{
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""12342000000000380700"" "
},
" ""cardHolderIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""status":" ""ACTIVE",
" ""principalSupplementaryCardIndicator":" ""SUPPLEMENTARY",
" ""card":" "{
" ""cardIdentifier":" "{
" ""cardReference":" ""2000000000380701"" "
},
" ""pan":" ""4546176812235324",
" ""maskedPan":" ""454617******5324",
" ""expiryDate":" ""1227",
" ""panSequenceNumber":" ""1",
" ""status":" ""ACTIVE",
" ""orders":" "[
" "{
" ""orderIdentifier":" "{
" ""orderReference":" ""202212132000000000380702"" "
},
" ""orderType":" ""CardOrder",
" ""currentInternalStatus":" ""ORDERABLE"" "
}" "
],
" ""panReference":" ""15007c193f2d588f4b8b991ab24537ebe001"" "
},
" ""relatedAccounts":" "[
" "{
" ""relation":" ""DEFAULT",
" ""accountIdentifier":" "{
" ""accountReference":" ""12341542264159267791",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212130001C"" "
}" "
}" "
]" "
}" "
]" "
},
" ""customers":" "[
" "{
" ""customerIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""courtesyTitle":" ""Frau",
" ""lastName":" ""BOUBOU",
" ""firstName":" ""Helen",
" ""addresses":" "[
" "{
" ""addressIdentifier":" "{
" ""addressReference":" ""ADDREF_MAIN_POSTAL_ADDRESS_1000000000392075",
" ""issuerAddressExternalReference":" ""HOME_ADDR_REF_PERSON-202212130001C"" "
},
" ""addressLabel":" ""MAIN_POSTAL_ADDRESS",
" ""addressType":" ""POSTAL_MAIL"" "
}" "
]" "
}" "
]" "
}
}
The API allows to update certain data of an existing consumer contract, identified by the Issuer Contract external reference or the Contract reference.
As a result, the contract is immediately updated with provided data in our system.
Add Cards and Accounts Request
API links
Below an example of request where the advertisement flags, the delivery channels for correspondence and the branch code are updated for the:
PATCH /api/v2/issuers/1234/contracts/1e9802ae-68db-467b-8610-ae59f0d37291
Request data
{
" ""advertisementFlags":" "{
" ""general":" true",
" ""email":" false",
" ""letter":" false",
" ""phone":" false",
" ""statement":" true",
" ""sms":" false
"
},
" ""issuerBranchCode":" ""NO_BRANCH",
" ""dataAnalysisFlags":" "{
" ""person":" false",
" ""paymentTransaction":" false",
" ""exchangeThirdParties":" false
"
},
" ""deliveryChannel":" "{
" ""contractLetterType":" ""LETTER",
" ""disputeLetterType":" ""LETTER",
" ""statementType":" ""WEB"" "
}
}
Response data
{
" ""responseMetadata":" "{
" ""correlationId":" ""25eb44b4-7ff7-41fe-a253-0c2b7519f380",
" ""statusMessage":" ""Executed successfully",
" ""statusCode": 200,
" ""responseDateTime":" ""2022-12-14T18:11:53.053+0100",
" ""timeTakenMs": 229
},
" ""data":" "{
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
}" "
}
}
The API allows the list of accounts for a contract, identified by the Issuer Contract external reference or the Contract reference, to be retrieved.
API links
Below an example of request for:
The response includes 4 accounts: 1 root account and 3 card accounts.
GET /api/v2/issuers/1234/contracts/1e9802ae-68db-467b-8610-ae59f0d37291/accounts
Response data
{
" ""data":" "[
" "{
" ""issuerId":" ""1234",
" ""accountIdentifier":" "{
" ""accountReference":" ""12341542264159267791",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212130001C"" "
},
" ""root":" false",
" ""accountBalance":" "{
" ""value": 0,
" ""exponent": 2,
" ""isoCode":" ""EUR"" "
},
" ""status":" ""ACTIVE",
" ""statusDate":" ""2022-12-13T16:54:14.000+00:00",
" ""exclusiveCurrency":" false",
" ""activationDate":" ""2022-12-13T16:54:14.000+00:00",
" ""iban":" ""DE02500105174128973163",
" ""name":" ""T_1234_ACC_CHILD_VISA_DEBIT_CLASSIC",
" ""workingCurrencyCode":" ""EUR",
" ""originalWorkingMode":" ""PAY_NOW",
" ""workingMode":" ""PAY_NOW",
" ""subscriptionSwitch":" false",
" ""toBeSwitched":" false",
" ""accountHierarchyReference":" ""12343652199237560111",
" ""noGraceOnTheFirstCycle":" false",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""accountProfileReference":" ""P_1234_ACC_CHILD",
" ""closureCalendar":" ""C_1234_CLOSURE_DEFAULT",
" ""overlimitContribution":" ""0.0",
" ""spareChangeSaving":" false",
" ""rootAccountIdentifier":" "{
" ""accountReference":" ""12343652199237560111",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212130001"" "
},
" ""parentAccountIdentifier":" "{
" ""accountReference":" ""12343652199237560111",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212130001"" "
},
" ""payingAccountIdentifier":" "{
" ""accountReference":" ""12341542264159267791",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212130001C"" "
},
" ""accountOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""accountGuarantorIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""delinquent":" false",
" ""noOtbCheck":" false",
" ""noParentNotification":" false",
" ""contractType":" ""CONSUMER",
" ""hierarchyOutgoingCreditTransferFeature":" "{
" ""periodicOct":" false",
" ""octOnContractTerminationAllowed":" false",
" ""octOnAccountTerminationAllowed":" false",
" ""octOnDemandAllowed":" false
"
}" "
},
" "{
" ""issuerId":" ""1234",
" ""accountIdentifier":" "{
" ""accountReference":" ""12343652199237560111",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212130001"" "
},
" ""root":" true",
" ""accountBalance":" "{
" ""value": 0,
" ""exponent": 2,
" ""isoCode":" ""EUR"" "
},
" ""bic":" ""INGDEBB",
" ""status":" ""ACTIVE",
" ""statusDate":" ""2022-12-13T14:40:21.000+00:00",
" ""exclusiveCurrency":" false",
" ""activationDate":" ""2022-12-13T14:40:21.000+00:00",
" ""iban":" ""DE02500105174128973163",
" ""name":" ""T_1234_ACC_ROOT_VISA_DEBIT_CLASSIC",
" ""workingCurrencyCode":" ""EUR",
" ""originalWorkingMode":" ""PAY_NOW",
" ""workingMode":" ""PAY_NOW",
" ""subscriptionSwitch":" false",
" ""toBeSwitched":" false",
" ""accountHierarchyReference":" ""12343652199237560111",
" ""originalPaymentMode":" ""CARDHOLDER_DETERMINED",
" ""noGraceOnTheFirstCycle":" false",
" ""amountDueCalculationLevel":" ""COMPONENT_LEVEL",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""accountProfileReference":" ""P_1234_ACC_ROOT",
" ""accountTemplateReference":" ""T_1234_ACC_ROOT_VISA_DEBIT_CLASSIC",
" ""closureCalendar":" ""C_1234_CLOSURE_DEFAULT",
" ""overlimitContribution":" ""0.0",
" ""spareChangeSaving":" false",
" ""rootAccountIdentifier":" "{
" ""accountReference":" ""12343652199237560111",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212130001"" "
},
" ""payingAccountIdentifier":" "{
" ""accountReference":" ""12343652199237560111",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212130001"" "
},
" ""accountOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""accountGuarantorIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""delinquent":" false",
" ""noOtbCheck":" false",
" ""noParentNotification":" false",
" ""contractType":" ""CONSUMER",
" ""hierarchyOutgoingCreditTransferFeature":" "{
" ""periodicOct":" false",
" ""octOnContractTerminationAllowed":" false",
" ""octOnAccountTerminationAllowed":" false",
" ""octOnDemandAllowed":" false
"
}" "
},
" "{
" ""issuerId":" ""1234",
" ""accountIdentifier":" "{
" ""accountReference":" ""12344689712869894759",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212130001B"" "
},
" ""root":" false",
" ""accountBalance":" "{
" ""value": 0,
" ""exponent": 2,
" ""isoCode":" ""EUR"" "
},
" ""status":" ""ACTIVE",
" ""statusDate":" ""2022-12-13T15:25:57.000+00:00",
" ""exclusiveCurrency":" false",
" ""activationDate":" ""2022-12-13T15:25:57.000+00:00",
" ""iban":" ""DE02500105174128973163",
" ""name":" ""T_1234_ACC_CHILD_VISA_DEBIT_CLASSIC",
" ""workingCurrencyCode":" ""EUR",
" ""originalWorkingMode":" ""PAY_NOW",
" ""workingMode":" ""PAY_NOW",
" ""subscriptionSwitch":" false",
" ""toBeSwitched":" false",
" ""accountHierarchyReference":" ""12343652199237560111",
" ""noGraceOnTheFirstCycle":" false",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""accountProfileReference":" ""P_1234_ACC_CHILD",
" ""closureCalendar":" ""C_1234_CLOSURE_DEFAULT",
" ""overlimitContribution":" ""0.0",
" ""spareChangeSaving":" false",
" ""rootAccountIdentifier":" "{
" ""accountReference":" ""12343652199237560111",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212130001"" "
},
" ""parentAccountIdentifier":" "{
" ""accountReference":" ""12343652199237560111",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212130001"" "
},
" ""payingAccountIdentifier":" "{
" ""accountReference":" ""12344689712869894759",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212130001B"" "
},
" ""accountOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000351532",
" ""issuerCustomerExternalReference":" ""HOME_ADDR_REF_PERSON-202212130001B"" "
},
" ""accountGuarantorIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""delinquent":" false",
" ""noOtbCheck":" false",
" ""noParentNotification":" false",
" ""contractType":" ""CONSUMER",
" ""hierarchyOutgoingCreditTransferFeature":" "{
" ""periodicOct":" false",
" ""octOnContractTerminationAllowed":" false",
" ""octOnAccountTerminationAllowed":" false",
" ""octOnDemandAllowed":" false
"
}" "
},
" "{
" ""issuerId":" ""1234",
" ""accountIdentifier":" "{
" ""accountReference":" ""12343686269046574979",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212130001"" "
},
" ""root":" false",
" ""accountBalance":" "{
" ""value": 0,
" ""exponent": 2,
" ""isoCode":" ""EUR"" "
},
" ""bic":" ""INGDEBB",
" ""status":" ""ACTIVE",
" ""statusDate":" ""2022-12-13T14:40:21.000+00:00",
" ""exclusiveCurrency":" false",
" ""activationDate":" ""2022-12-13T14:40:21.000+00:00",
" ""iban":" ""DE02500105174128973163",
" ""name":" ""T_1234_ACC_CHILD_VISA_DEBIT_CLASSIC",
" ""workingCurrencyCode":" ""EUR",
" ""originalWorkingMode":" ""PAY_NOW",
" ""workingMode":" ""PAY_NOW",
" ""subscriptionSwitch":" false",
" ""toBeSwitched":" false",
" ""accountHierarchyReference":" ""12343652199237560111",
" ""originalPaymentMode":" ""CARDHOLDER_DETERMINED",
" ""noGraceOnTheFirstCycle":" false",
" ""amountDueCalculationLevel":" ""COMPONENT_LEVEL",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""accountProfileReference":" ""P_1234_ACC_CHILD",
" ""accountTemplateReference":" ""T_1234_ACC_CHILD_VISA_DEBIT_CLASSIC",
" ""closureCalendar":" ""C_1234_CLOSURE_DEFAULT",
" ""overlimitContribution":" ""0.0",
" ""spareChangeSaving":" false",
" ""rootAccountIdentifier":" "{
" ""accountReference":" ""12343652199237560111",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212130001"" "
},
" ""parentAccountIdentifier":" "{
" ""accountReference":" ""12343652199237560111",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212130001"" "
},
" ""payingAccountIdentifier":" "{
" ""accountReference":" ""12343686269046574979",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212130001"" "
},
" ""accountOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000351531",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001"" "
},
" ""accountGuarantorIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""delinquent":" false",
" ""noOtbCheck":" false",
" ""noParentNotification":" false",
" ""contractType":" ""CONSUMER",
" ""hierarchyOutgoingCreditTransferFeature":" "{
" ""periodicOct":" false",
" ""octOnContractTerminationAllowed":" false",
" ""octOnAccountTerminationAllowed":" false",
" ""octOnDemandAllowed":" false
"
}" "
}" "
]
}
The API allows the list of card contract linked to a contract, identified by the Issuer Contract external reference or the Contract reference, to be retrieved.
API links
Below an example of request for:
The response gives 3 card contracts.
GET /api/v2/issuers/1234/contracts/1e9802ae-68db-467b-8610-ae59f0d37291/card-contracts
Response data
{
"data":" "[
" "{
" ""issuerId":" ""1234",
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""12342000000000380697"" "
},
" ""cardTemplateReference":" ""T_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardTypeCode":" ""F",
" ""status":" ""ACTIVE",
" ""openingDate":" ""2022-12-13T15:25:57.710+00:00",
" ""activationDate":" ""2022-12-13T15:25:57.730+00:00",
" ""trustedAuthenticationReference":" ""123420221213162557294",
" ""newCardRenewalAllowed":" true",
" ""issuerBranchCode":" ""NO_BRANCH",
" ""artwork":" ""DebitClassic",
" ""forcedEmbossingName":" ""BOUBOU",
" ""schemeDeclarationOptOut":" false",
" ""principalSupplementaryCardIndicator":" ""SUPPLEMENTARY",
" ""productCategory":" ""DEBIT",
" ""productCategoryLabel":" ""IMMEDIATE_DEBIT_DEBIT",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""cardHolderIdentifier":" "{
" ""customerReference":" ""CUS10000351532",
" ""issuerCustomerExternalReference":" ""HOME_ADDR_REF_PERSON-202212130001B"" "
},
" ""vipFlag":" false",
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""cardProfileDescription":" ""P_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardProfileReference":" ""P_1234_CARD_VISA_DEBIT_CLASSIC"" "
},
" "{
" ""issuerId":" ""1234",
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""12342000000000380694",
" ""issuerCardContractExternalReference":" ""CARD_CONTRACT-202212130001"" "
},
" ""cardTemplateReference":" ""T_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardTypeCode":" ""F",
" ""status":" ""ACTIVE",
" ""openingDate":" ""2022-12-13T14:40:21.527+00:00",
" ""activationDate":" ""2022-12-13T14:40:21.527+00:00",
" ""trustedAuthenticationReference":" ""123420221213154021607",
" ""newCardRenewalAllowed":" true",
" ""issuerBranchCode":" ""NO_BRANCH",
" ""artwork":" ""DebitClassic",
" ""forcedEmbossingName":" ""BOUBOU*TEST BOUBOU EMBOSS2",
" ""schemeDeclarationOptOut":" false",
" ""principalSupplementaryCardIndicator":" ""SUPPLEMENTARY",
" ""productCategory":" ""DEBIT",
" ""productCategoryLabel":" ""IMMEDIATE_DEBIT_DEBIT",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""cardHolderIdentifier":" "{
" ""customerReference":" ""CUS10000351531",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001"" "
},
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""cardProfileDescription":" ""P_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardProfileReference":" ""P_1234_CARD_VISA_DEBIT_CLASSIC"" "
},
" "{
" ""issuerId":" ""1234",
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""12342000000000380700"" "
},
" ""cardTemplateReference":" ""T_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardTypeCode":" ""F",
" ""status":" ""ACTIVE",
" ""openingDate":" ""2022-12-13T16:54:15.002+00:00",
" ""activationDate":" ""2022-12-13T16:54:15.112+00:00",
" ""trustedAuthenticationReference":" ""123420221213175415246",
" ""newCardRenewalAllowed":" true",
" ""issuerBranchCode":" ""NO_BRANCH",
" ""artwork":" ""DebitClassic",
" ""forcedEmbossingName":" ""BOUBOU",
" ""schemeDeclarationOptOut":" false",
" ""principalSupplementaryCardIndicator":" ""PRINCIPAL",
" ""productCategory":" ""DEBIT",
" ""productCategoryLabel":" ""IMMEDIATE_DEBIT_DEBIT",
" ""productIdentifier":" "{
" ""issuerProductExternalReference":" ""PDT_1234_VISA_DEBIT_CLASSIC",
" ""productReference":" ""PDT_1234_VISA_DEBIT_CLASSIC"" "
},
" ""cardHolderIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""cardProfileDescription":" ""P_1234_CARD_VISA_DEBIT_CLASSIC",
" ""cardProfileReference":" ""P_1234_CARD_VISA_DEBIT_CLASSIC"" "
}" "
]
}
The API allows a contract, identified by the Issuer Contract external reference or the Contract reference, to be suspended.
It is possible to indicate whether membership/account setup fees must be partially reimbursed with the contract suspension.
The contract suspension has the following effects:
API links
As long as the closure date is not reached, contract suspension can be removed.
The contract suspension cancellation has the following effects:
The API allows a contract suspension process to be cancelled.
The contract is identified by the Issuer Contract external reference or the Contract reference.
API links
The API allows a contract, identified by the Issuer Contract external reference or the Contract reference, to be closed.
The contract can be closed immediately, scheduled to be closed at a date provided by the issuer or set to be closed at the card expiry date.
The contract must not be closed or awaiting signature.
As a result:
API links
POST /api/V2/issuers/{issuerId}/contracts/{contractReference}/close
POST /api/V2/issuers/{issuerId}/contracts/external-contracts/{issuerContractExternalReference}/close
Below an example of request with a scheduled closure date:
POST api/v2/issuers/1234/contracts/4459f986-5242-4202-9ed5-f652573e9f63/close
Request data
{
" ""closingComment":" ""closingContract",
" ""closingDate":" ""2023-04-30T02:31:44.650Z",
" ""closingReason":" ""EXPIRED",
" ""closureDelayType":" ""SCHEDULED"
}
Response data
{
" ""responseMetadata":" "{
" ""correlationId":" ""65aa7f43-b3d2-4160-927e-95801efad125",
" ""statusMessage":" ""Executed successfully",
" ""statusCode": 200,
" ""responseDateTime":" ""2023-02-02T15:52:38.281+0100",
" ""timeTakenMs": 450
},
" ""data":" "{
" ""contract":" "{
" ""contractIdentifier":" "{
" ""contractReference":" ""4459f986-5242-4202-9ed5-f652573e9f63",
" ""issuerContractExternalReference":" ""CONTRACT-202212050001"" "
},
" ""status":" ""SIGNED",
" ""closingDate":" ""2023-04-30T02:31:44.650+00:00",
" ""accounts":" "[
" "{
" ""accountIdentifier":" "{
" ""accountReference":" ""65008505533653587133",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212050001"" "
},
" ""root":" false",
" ""status":" ""ACTIVE"" "
},
" "{
" ""accountIdentifier":" "{
" ""accountReference":" ""65006621070985963583",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212050001"" "
},
" ""root":" true",
" ""status":" ""ACTIVE"" "
},
" "{
" ""accountIdentifier":" "{
" ""accountReference":" ""65009389899134164294",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212050001B"" "
},
" ""root":" false",
" ""status":" ""ACTIVE"" "
}" "
],
" ""cardContracts":" "[
" "{
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""65002000000000374459"" "
},
" ""status":" ""ACTIVE",
" ""cards":" "[
" "{
" ""cardIdentifier":" "{
" ""cardReference":" ""2000000000374460"" "
},
" ""maskedPan":" ""454617******2386",
" ""expiryDate":" ""1227",
" ""panSequenceNumber":" ""1",
" ""status":" ""BLOCKED"" "
}" "
]" "
},
" "{
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""65002000000000374437"" "
},
" ""status":" ""ACTIVE",
" ""cards":" "[
" "{
" ""cardIdentifier":" "{
" ""cardReference":" ""2000000000374438",
" ""issuerCardExternalReference":" ""CARD-202212050001"" "
},
" ""maskedPan":" ""454617******6413",
" ""expiryDate":" ""1227",
" ""panSequenceNumber":" ""1",
" ""status":" ""ACTIVE"" "
}" "
]" "
}" "
]" "
}" "
}
}
This API enables to cancel a contract closing with a scheduled date in the future.
The main input fields are:
As a result, no closing date is planned anymore for the contract.
API links
Below an example of request with a scheduled closure date:
POST /api/v2/issuers/1234/contracts/4459f986-5242-4202-9ed5-f652573e9f63/cancel-close
Response data
{
" ""responseMetadata":" "{
" ""correlationId":" ""3e657247-7ff1-4a1c-b590-6180fb10f353",
" ""statusMessage":" ""Executed successfully",
" ""statusCode": 200,
" ""responseDateTime":" ""2023-02-02T16:35:32.795+0100",
" ""timeTakenMs": 81
},
" ""data":" "{
" ""contractIdentifier":" "{
" ""contractReference":" ""4459f986-5242-4202-9ed5-f652573e9f63",
" ""issuerContractExternalReference":" ""CONTRACT-202212050001"" "
}" "
}
}
The API allows the list of contract fees linked to a contract, identified by the Issuer Contract external reference or the Contract reference, to be retrieved.
In response, the model references are provided for each account part of the contract.
API links
Here, an example of request for:
The response gives membership fee model applied to the card account “12349288360035054578”.
GET /api/v2/issuers/1234/contracts/1f798c05-f18b-4e6d-9ce3-017d6de43b92/contract-fees
Response data
{
" ""data":" "[
" "{
" ""accountIdentifier":" "{
" ""accountReference":" ""12344084403017969976",
" ""issuerAccountExternalReference":" ""ROOT_ACCOUNT-202212160001"" "
}" "
},
" "{
" ""accountIdentifier":" "{
" ""accountReference":" ""12349288360035054578",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212160001"" "
},
" ""selectedModels":" "[
" "{
" ""reference":" ""M_1234_ACCSETUPFEE_GOLD_41",
" ""type":" ""ACCOUNT_SETUP_FEE"" "
},
" "{
" ""reference":" ""M_1234_MEMBERSHIPFEE_GOLD_41",
" ""type":" ""MEMBERSHIP_FEE"" "
}" "
]" "
}" "
]
}
This API enables the contract fees (Membership fee and account set-up fee) to be updated for a given contract and given card account in the contract.
This is done by providing in input the new model reference and the type to be used.
This model has to be configured previously for the product.
API links
Here, an example of request for:
The response updates the membership fee model applied to the card account “12349288360035054578”.
PATCH /api/v2/issuers/1234/contracts/1f798c05-f18b-4e6d-9ce3-017d6de43b92/contract-fees/12349288360035054578
Request data
{
" ""selectedModels":" "[
" "{
" ""reference":" ""M_1234_MEMBERSHIPFEE_GOLD_21",
" ""type":" ""MEMBERSHIP_FEE"" "
}" "
]
}
Response data
{
" ""responseMetadata":" "{
" ""correlationId":" ""29a7a912-b795-4cc1-a831-7d872128015a",
" ""statusMessage":" ""Executed successfully",
" ""statusCode": 200,
" ""responseDateTime":" ""2022-12-16T17:28:18.502+0100",
" ""timeTakenMs": 317
},
" ""data":" "{
" ""accountIdentifier":" "{
" ""accountReference":" ""12349288360035054578",
" ""issuerAccountExternalReference":" ""CHILD_ACCOUNT-202212160001"" "
}" "
}
}
This API allows the contract owner for a contract identified by the Issuer Contract external reference or the Contract reference, to be retrieved.
API links
Here, an example of request for:
GET /api/v2/issuers/1234/contracts/1e9802ae-68db-467b-8610-ae59f0d37291/contract-owner
Response data
{
" ""data":" "{
" ""issuerId":" ""1234",
" ""customerIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""active":" true",
" ""birthDate":" ""1989-12-20T00:00:00.000+00:00",
" ""birthPlace":" ""Lorch",
" ""commercialStatus":" ""Normal",
" ""courtesyTitle":" ""Frau",
" ""firstName":" ""Helen",
" ""lastName":" ""BOUBOU",
" ""monthlySalary":" ""0",
" ""nationality":" ""DE",
" ""offlineRiskCategory":" ""Standard",
" ""onlineRiskCategory":" ""Standard",
" ""sex":" ""F"" "
}
}
The API is used to change the contract owner of the main card by a cardholder of an additional card belonging to the same contract.
The API requires in input:
In return, the list of all changes is provided at contract level and card contracts level (old main card and new main card).
API links
Below an example of the switch request for
POST /api/v2/issuers/1234/contracts/1e9802ae-68db-467b-8610-ae59f0d37291/switch-principal-card
Request data
{
"cardHolderIdentifier": {
"customerReference": "CUS10000351533"
}
}
Response data
{
" ""responseMetadata":" "{
" ""correlationId":" ""adae8262-0114-4221-8bd4-305be87e2f89",
" ""statusMessage":" ""Executed successfully",
" ""statusCode": 200,
" ""responseDateTime":" ""2022-12-14T12:49:33.884+0100",
" ""timeTakenMs": 1138
},
" ""data":" "{
" ""contract":" "{
" ""contractIdentifier":" "{
" ""contractReference":" ""1e9802ae-68db-467b-8610-ae59f0d37291",
" ""issuerContractExternalReference":" ""CONTRACT-202212130001"" "
},
" ""contractOwnerIdentifier":" "{
" ""customerReference":" ""CUS10000351533",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001C"" "
},
" ""cardContracts":" "[
" "{
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""12342000000000380700"" "
},
" ""principalSupplementaryCardIndicator":" ""PRINCIPAL"" "
},
" "{
" ""cardContractIdentifier":" "{
" ""cardContractReference":" ""12342000000000380694",
" ""issuerCardContractExternalReference":" ""CARD_CONTRACT-202212130001"" "
},
" ""principalSupplementaryCardIndicator":" ""SUPPLEMENTARY"" "
}" "
]" "
}" "
}
}
Legitimacy documents correspond to documents that prove the identity of a customer (pass ID, national card ID)
The document type, The document ID, the expiry date of the document, its issuing date can be stored in our system.
This API is used to get the customers legitimacy documents of a contract.
The input parameters are:
API links
Below an example of request for:
For this contract, there are 2 customers. The response gives the legitimacy documents for each of them.
GET /api/v2/issuers/1234/contracts/1e9802ae-68db-467b-8610-ae59f0d37291/legitimacy-documents
Response data
{
{
" ""data":" "[
" "{
" ""legitimacyDocumentType":" ""Passport",
" ""legitimacyDocumentId":" ""7845128",
" ""legitimacyDocumentDate":" ""2020-07-25T00:00:00.000+00:00",
" ""legitimacyDocumentExpiryDate":" ""2020-07-25T00:00:00.000+00:00",
" ""legitimated":" true",
" ""customerIdentifier":" "{
" ""customerReference":" ""CUS10000351532",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001B"" "
}" "
},
" "{
" ""legitimacyDocumentType":" ""Passport",
" ""legitimacyDocumentId":" ""9512345",
" ""legitimacyDocumentDate":" ""2016-10-13T00:00:00.000+00:00",
" ""legitimacyDocumentExpiryDate":" ""2026-10-13T00:00:00.000+00:00",
" ""legitimated":" true",
" ""customerIdentifier":" "{
" ""customerReference":" ""CUS10000351531",
" ""issuerCustomerExternalReference":" ""PERSON-202212130001"" "
}" "
}" "
]
}
This API is used to update the customers legitimacy documents of a contract.
The input parameters are:
They can be provided by using the internal references or the issuer external references:
API links
Below an example of request for:
POST /api/v2/issuers/1234/contracts/1e9802ae-68db-467b-8610-ae59f0d37291/legitimacy-documents/CUS10000351531
Request data
{
"legitimacyDocumentType": "Passport",
"legitimacyDocumentId": "9512345",
"legitimacyDocumentDate": "2016-10-13T00:00:00.000Z",
"legitimacyDocumentExpiryDate": "2026-10-13T00:00:00.000Z",
"legitimated": true
}
Response data
{
"responseMetadata":{
"correlationId":"351096b5-98ce-409b-b01d-daa77ff6f5be",
"statusMessage":"Executed successfully",
"statusCode":200,
"responseDateTime":"2022-12-13T16:35:02.551+0100",
"timeTakenMs":148
},
"data":{
"legitimacyDocumentType":"Passport",
"legitimacyDocumentId":"9512345",
"legitimacyDocumentDate":"2016-10-13T00:00:00.000+00:00",
"legitimacyDocumentExpiryDate":"2026-10-13T00:00:00.000+00:00",
"legitimated":true
}
}
The API allows to:
As a result:
API links
The API can be used to replace a customer belonging to a consumer contract, by an existing one in our system or by a new one.
The customer to be replaced can be the contract owner, the account owner, the cardholder, etc...of the contract.
The main input fields are:
In return, the API provides the identifiers of all customers (contract owner account owner, the cardholder, etc...) associated to the consumer contract.
API links
The API is used to trigger an on demand pro rata refund of Account Setup (AS) fee or Membership fee (MS) for the unutilized period.
Pre Conditions:
The issuer can request the refund by AS or MS fee by providing:
As a Result:
API links
The API provides possibility to retrieve a list of consumer contracts, based on certain criteria.
One of the following criteria for searching must be provided:
For searching with account's criteria, only one of the following data must be provided :
For searching with customer's criteria, only one of the following data must be provided :
For searching with card's criteria, only one of the following data must be provided :
If requested, the API input parameters allows also to:
The API response contains all matched contracts and for each returned contract some information is provided such as :
API links
The API allows a cardholder to subscribe to an additional service (e.g. new letter, travel insurance) for the contract during all contract life cycle
The list of allowed additional services are defined on the product (e.g. PORTAL_ACCESS, ALERT, NOTIFICATION).
The main input fields requested by the API are:
Depending on the service type, the issuer can add additional parameters to the add-on service.
As a result:
API links
The API allows a cardholder to unsubscribe from an additional service (e.g. new letter, travel insurance) for the contract during all contract life cycle.
The main input fields requested by the API are:
As a result, the existing add-on subscription for the contract is no longer available.
API links
The API allows the list of additional service subscriptions (e.g. new letter, travel insurance) for the contract to be retrieved.
The main input fields requested by the API are:
The API response contains add-on subscription information such as:
API links
Endpoint: Get /preferences/{Psuid}
This API can be used to retrieve the iDEAL preferences of a PSU. This will only work after an initial payment by this PSU was successfully completed. More details about the fields can be found in the API reference.
Legend
| |
Request | Response |
![]() | ![]() |
Request (Signature-related fields "Digest" and "Signature" are conditionally mandatory):
Address: https://localhost:8443/xs2a/routingservice/services/ob/pis/v3/preferences/896587495-51254-85475893254
HttpMethod: GET
Headers: {Accept=application/json, AspspId=10002, Digest=SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=, X-Request-ID=08cc7007-f3c4-6586-4449-8dbf7a92740b, Authorization=Bearer 788b75b7ea27116c74d4a271404c5f49074fbc786ae67cf771a3a44a02a387d8, MessageCreateDateTime=2023-03-15T13:16:40.448Z, Signature=keyId="8D0F688AD3E6C2D4D5FB99FE129F2A2E3B496AF7",algorithm="SHA256withRSA",headers="digest x-request-id messagecreatedatetime (request-target)",signature="hjSmi6wuf/FTDyJ5W7F7QnzDj2X1KVjYuy5hbig+gF6JBhxBfJtZT4utnBgw6OG9dPyqB0EYHPJby786k+q44kl+pWMPJWAJjNHeXyNufNDENF3GGsRsnqBjwrNp9575vsIeimG34A6x47Ap1/01Nmsqk4NzGr0F0HAVyIbeX0Q9oKd6MJHBaswkv9nqaQTajIpmdesAA5D6eNTSfz4oBOCgk2FlJpUAdaAg9Nd1uZuXV+Jeug2coU+jc5FZUQXyZRaV7hiE5UtBIQVxpml6aydFZwCD6OaRJrGvluebVprYc1bqSsiMmS4Pk+qDJshSk5cWWhnp/bVsUFIIK+NU3g=="}
Response (Signature-related fields "Digest" and "Signature" are conditionally present):
ResponseCode: 200
Headers: {X-Request-ID=2db64c57-fc84-4998-a83c-aa33ff7fbd9b, MessageCreateDateTime=2023-03-15T13:16:40.898Z, Digest=SHA-256=bd7zfJ14uHY5YwvcXpqr78Df5jUpb0Z64styUET3afI=, Signature=keyId="3EBEF6033C00730D9C6DA05165A3CAA1F31036FB",algorithm="rsa-sha256",headers="messagecreatedatetime x-request-id digest",signature="kBpt9O2Auydz0398VFDf0M9lVWcGVI8CsNJbpvAcXxtmTnlO9cH2MlqZQqlMHGjDqcOMmjGeELaQLAft/R1p8HQoyIMJRxh9PtauyKTnHqLavLj6bJr4BoEUeQpE+xfXaR3tebVWz6zr+c7guHEqDjfNKaoKs5HjQIMm/qjKaptU7zkTCIiFsTWh0tmy/h+biI3MJzxqwpZcGdlOCgJ0LI1squZaQXmgA+AsC+uOomBgyhBMPRxMiFIyYPKnA3Ev+UL7UEm3F49B4d/AWYyO2E6B+9p470eA4Ippc4PHeBGvdNgX6zKERsDhCM8ZTmWlOeBh3i5QWvpJF/5Kv6qYHA==", Date=Wed, 15 Mar 2023 13:16:40 GMT}
Payload: {
"AspspName": "IssuerName",
"AspspLogoUrl": "https://checkout.company.com/login",
"DebtorAccountIdentification": "NL44RABO******6789"
}