Download OpenAPI specification:Download
API for manage CardManagement (v1.162.0)
Get a single accounr using its id
| id required | string <uuid> Identifier of account |
{- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "accountNumber": "string",
- "status": "string",
- "type": "string",
- "statusReasonCode": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "accountNumber": "string",
- "type": "string",
- "productCode": "string",
- "feeProfile": "string",
- "accountProfile": "string",
- "customerId": "string",
- "sourceId": "string",
- "status": "string",
- "statusReasonCode": "string",
- "currency": "string"
}, - "lockType": "string",
- "lockLevel": "string",
- "blockReasonCode": "string"
}Updates an existing account
| id required | string <uuid> Identifier of account |
Request for update account
| externalReference required | string [ 1 .. 255 ] characters Reference on external system (optional) |
{- "externalReference": "string"
}{- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "accountNumber": "string",
- "status": "string",
- "type": "string",
- "statusReasonCode": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "accountNumber": "string",
- "type": "string",
- "productCode": "string",
- "feeProfile": "string",
- "accountProfile": "string",
- "customerId": "string",
- "sourceId": "string",
- "status": "string",
- "statusReasonCode": "string",
- "currency": "string"
}, - "lockType": "string",
- "lockLevel": "string",
- "blockReasonCode": "string"
}Delete an existing account
| id required | string <uuid> Identifier of account |
{- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "accountNumber": "string",
- "status": "string",
- "type": "string",
- "statusReasonCode": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "accountNumber": "string",
- "type": "string",
- "productCode": "string",
- "feeProfile": "string",
- "accountProfile": "string",
- "customerId": "string",
- "sourceId": "string",
- "status": "string",
- "statusReasonCode": "string",
- "currency": "string"
}, - "lockType": "string",
- "lockLevel": "string",
- "blockReasonCode": "string"
}Get list of cards available on a single account
| id required | string <uuid> Id of account |
| pageSize | integer <int32> Default: 50 Size of page |
| pageNumber | integer <int32> Default: 0 Number of page |
{- "totalCount": 0,
- "limitCount": 0,
- "items": [
- {
- "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "barCode": "string",
- "financialReference": "string",
- "productCode": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "2019-08-24",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "nameOnCard": "string",
- "productCode": "string",
- "accountId": "string",
- "accountSourceId": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "string",
- "customerId": "string",
- "customerSourceId": "string",
- "relationType": "string",
- "lockLevel": "string",
- "membershipFeeEffectiveDate": "string",
- "embossingData": {
- "isPlasticOrdered": true,
- "persoBureauHandoverDate": "string"
}
}, - "nameOnCard": "string"
}
]
}Create a new card for a specified account
| id required | string <uuid> Id of customer |
Card details
| cardHolderCustomerId | string or null <uuid> Customer id of the cardholder. |
| nameOnCard required | string [ 1 .. 255 ] characters Name on card (ex. "JOHN DOE") |
| barCode required | string [ 1 .. 255 ] characters Barcode associated with card (optional) |
| financialReference required | string non-empty Financial reference connected with card (optional, can ben wallet identifier, or an account identifier) |
| externalReference required | string [ 1 .. 255 ] characters Reference on external system (optional) |
| relationType required | string non-empty Primary, Business, Supplementary |
object or null Creates a new card ad a replacement of (NOT SUPPORTED FOR NOW, must be empty of null!) an older one | |
object or null Defines the address for delivery of the card (NOT SUPPORTED FOR NOW, must be empty of null!) | |
Array of objects or null (CardLimitRequest) Limits on card (NOT SUPPORTED FOR NOW, must be empty of null!) |
{- "cardHolderCustomerId": "a2ec2e28-8114-4fae-b9cf-cf8be11fc292",
- "nameOnCard": "string",
- "barCode": "string",
- "financialReference": "string",
- "externalReference": "string",
- "relationType": "string",
- "replacement": {
- "cardToReplaceId": "7aed44db-0dee-46ff-a267-ec24ed68d1fb",
- "deactivateReplacedCard": true,
- "replaceWithNewPan": true,
- "cardReplacementReasonCode": "string"
}, - "delivery": {
- "urgency": "string",
- "deliveryAddressId": "c851487a-300f-4106-b061-8c2fae75039a",
- "deliveryFeeExemption": true
}, - "limits": [
- {
- "type": "string",
- "limit": 0.1,
- "currency": "string",
- "isDisabled": true
}
]
}{- "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "barCode": "string",
- "financialReference": "string",
- "productCode": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "2019-08-24",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "nameOnCard": "string",
- "productCode": "string",
- "accountId": "string",
- "accountSourceId": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "string",
- "customerId": "string",
- "customerSourceId": "string",
- "relationType": "string",
- "lockLevel": "string",
- "membershipFeeEffectiveDate": "string",
- "embossingData": {
- "isPlasticOrdered": true,
- "persoBureauHandoverDate": "string"
}
}, - "nameOnCard": "string"
}Lock a specified account
| id required | string <uuid> Id of account |
| lockType required | string Lock type |
| level required | string Lock level |
{- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "accountNumber": "string",
- "status": "string",
- "type": "string",
- "statusReasonCode": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "accountNumber": "string",
- "type": "string",
- "productCode": "string",
- "feeProfile": "string",
- "accountProfile": "string",
- "customerId": "string",
- "sourceId": "string",
- "status": "string",
- "statusReasonCode": "string",
- "currency": "string"
}, - "lockType": "string",
- "lockLevel": "string",
- "blockReasonCode": "string"
}Unlock a specified account
| id required | string <uuid> Id of account |
| level required | string Lock level |
{- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "accountNumber": "string",
- "status": "string",
- "type": "string",
- "statusReasonCode": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "accountNumber": "string",
- "type": "string",
- "productCode": "string",
- "feeProfile": "string",
- "accountProfile": "string",
- "customerId": "string",
- "sourceId": "string",
- "status": "string",
- "statusReasonCode": "string",
- "currency": "string"
}, - "lockType": "string",
- "lockLevel": "string",
- "blockReasonCode": "string"
}Block a specified account
| id required | string <uuid> Id of account |
| accountBlockRequestReasonCode required | string Reason code |
{- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "accountNumber": "string",
- "status": "string",
- "type": "string",
- "statusReasonCode": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "accountNumber": "string",
- "type": "string",
- "productCode": "string",
- "feeProfile": "string",
- "accountProfile": "string",
- "customerId": "string",
- "sourceId": "string",
- "status": "string",
- "statusReasonCode": "string",
- "currency": "string"
}, - "lockType": "string",
- "lockLevel": "string",
- "blockReasonCode": "string"
}Get a single Address using its id
| id required | string <uuid> Identifier of Address |
{- "addressId": "785d1fc4-8ab5-48f1-8685-117cac9865d6",
- "cardProcessorReference": "string",
- "type": "string",
- "countryCode": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "postOffice": "string",
- "zipCode": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "type": "string",
- "countryCode": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "postOffice": "string",
- "zipCode": "string"
}
}Updates an existing Address
| id required | string <uuid> Identifier of Address |
Request for update Address
| type required | string non-empty Type of Address (ex. PermanentResidence, Work, Other, TemporaryResidence) |
| countryCode required | string non-empty CountryCode ISO 3166-1 alpha-3 |
| line1 required | string [ 1 .. 128 ] characters Address line 1 |
| line2 | string or null <= 128 characters Address line 2 |
| line3 | string or null <= 128 characters Address line 3 |
| city required | string [ 1 .. 32 ] characters Address City |
| postOffice | string or null <= 32 characters Address post office |
| zipCode required | string [ 1 .. 8 ] characters Address zip code |
| externalReference required | string [ 1 .. 255 ] characters External Reference |
{- "type": "string",
- "countryCode": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "postOffice": "string",
- "zipCode": "string",
- "externalReference": "string"
}{- "addressId": "785d1fc4-8ab5-48f1-8685-117cac9865d6",
- "cardProcessorReference": "string",
- "type": "string",
- "countryCode": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "postOffice": "string",
- "zipCode": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "type": "string",
- "countryCode": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "postOffice": "string",
- "zipCode": "string"
}
}Push the result (success or failure) of an OOB (Out-of-Band) authentication that was previously raised on affiliate using device id and transaction data
Request with result of raised authentication
| transactionId required | string [ 1 .. 255 ] characters Transaction identifier for Access Control Server (ACS) |
| authenticated required | boolean Context transaction was autheticated/authorized by card holder |
| authMethod required | string [ 1 .. 255 ] characters Method used for authenticate transaction 07 = OOB Biometrics 08 = OOB Login |
{- "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
- "authenticated": true,
- "authMethod": "07"
}{- "errorCode": "string",
- "errorDescription": "string",
- "errorProperties": {
- "property1": "string",
- "property2": "string"
}
}Get a single card using its identifier
| cardId required | string <uuid> Identifier of card |
{- "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "barCode": "string",
- "financialReference": "string",
- "productCode": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "2019-08-24",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "nameOnCard": "string",
- "productCode": "string",
- "accountId": "string",
- "accountSourceId": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "string",
- "customerId": "string",
- "customerSourceId": "string",
- "relationType": "string",
- "lockLevel": "string",
- "membershipFeeEffectiveDate": "string",
- "embossingData": {
- "isPlasticOrdered": true,
- "persoBureauHandoverDate": "string"
}
}, - "nameOnCard": "string"
}Updates an existing card
| cardId required | string <uuid> Identifier of card |
Request for update card
| nameOnCard required | string [ 1 .. 255 ] characters Name on the card |
| barCode required | string [ 1 .. 255 ] characters Barcode associated with card |
| financialReference required | string non-empty Financial reference connected with card (can ben wallet identifier, or an account identifier) |
| externalReference required | string [ 1 .. 255 ] characters Reference on external system (optional) |
{- "nameOnCard": "string",
- "barCode": "string",
- "financialReference": "string",
- "externalReference": "string"
}{- "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "barCode": "string",
- "financialReference": "string",
- "productCode": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "2019-08-24",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "nameOnCard": "string",
- "productCode": "string",
- "accountId": "string",
- "accountSourceId": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "string",
- "customerId": "string",
- "customerSourceId": "string",
- "relationType": "string",
- "lockLevel": "string",
- "membershipFeeEffectiveDate": "string",
- "embossingData": {
- "isPlasticOrdered": true,
- "persoBureauHandoverDate": "string"
}
}, - "nameOnCard": "string"
}Delete an existing card
| cardId required | string <uuid> Identifier of card |
{- "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "barCode": "string",
- "financialReference": "string",
- "productCode": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "2019-08-24",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "nameOnCard": "string",
- "productCode": "string",
- "accountId": "string",
- "accountSourceId": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "string",
- "customerId": "string",
- "customerSourceId": "string",
- "relationType": "string",
- "lockLevel": "string",
- "membershipFeeEffectiveDate": "string",
- "embossingData": {
- "isPlasticOrdered": true,
- "persoBureauHandoverDate": "string"
}
}, - "nameOnCard": "string"
}Gets paginated transactions associated to a single card using its identifier and date range filters
| cardId required | string <uuid> Identifier of card |
| fromDate | string <date-time> From date range filter (last 90 days by default) |
| toDate | string <date-time> To date range filter (utc now by default) |
| pageSize | integer <int32> Default: 50 Number of Transactions per page |
| pageNumber | integer <int32> Default: 0 Zero-based page number |
{- "totalCount": 0,
- "limitCount": 0,
- "items": [
- {
- "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
- "affiliateKey": "string",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",
- "billingAmount": 0.1,
- "feeAmount": 0.1,
- "billingCurrency": "string",
- "transactionDate": "2019-08-24T14:15:22Z",
- "status": "string",
- "metadata": {
- "property1": null,
- "property2": null
}
}
]
}Gets count of transactions associated to a single card using its identifier and date range filters
| cardId required | string <uuid> Identifier of card |
| fromDate | string <date-time> From date range filter (last 90 days by default) |
| toDate | string <date-time> To date range filter (utc now by default) |
{- "value": 0
}Get list of clearing bookmarks available in scope
| fromDate | string <date> From date |
| toDate | string <date> To date filter |
| pageSize | integer <int32> Default: 50 Size of page |
| pageNumber | integer <int32> Default: 0 Number of page |
{- "totalCount": 0,
- "limitCount": 0,
- "items": [
- {
- "clearingBookmarkId": "d76c248b-c3f0-486e-aec0-0d32b1b4823c",
- "clearingDate": "2019-08-24",
- "receivedTransactions": 0,
- "receivedFees": 0,
- "totalBilledAmount": 0.1,
- "totalFeesAmount": 0.1,
- "status": "string",
- "feedback": "string",
- "attempts": 0,
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "issuerKey": "string"
}
]
}Get list of incoming clearings for a specific bookmark
| bookmarkId required | string <uuid> Bookmark identifier |
[- {
- "incomingClearingId": "c42252db-dabf-4e43-a4fd-8b6acf0a78aa",
- "clearingBookmarkId": "d76c248b-c3f0-486e-aec0-0d32b1b4823c",
- "clearingDate": "2019-08-24",
- "type": "string",
- "fileName": "string",
- "recordsInFile": 0,
- "availableRecordsInFile": 0,
- "readableRecordsInFile": 0,
- "fileSequenceNumber": 0,
- "fileVersion": "string",
- "fileType": "string",
- "isFinalFile": true,
- "isFileVerified": true,
- "feedback": "string",
- "totalBilledAmount": 0.1,
- "totalFeesAmount": 0.1,
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "issuerKey": "string"
}
]Delete an incoming clearing and its file
| bookmarkId required | string <uuid> Bookmark identifier |
| incomingClearingId required | string <uuid> Incoming clearing identifier |
{- "outgoingClearingId": "61e7073c-7009-4773-a5e3-fcc020f3b2b0",
- "clearingBookmarkId": "d76c248b-c3f0-486e-aec0-0d32b1b4823c",
- "issuerKey": "string",
- "affiliateKey": "string",
- "clearingDate": "2019-08-24",
- "type": "string",
- "fileName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "availableRecords": 0,
- "totalBilledAmount": 0.1,
- "totalFeesAmount": 0.1
}Get list of outgoing clearings for a specific bookmark
| bookmarkId required | string <uuid> Bookmark identifier |
[- {
- "outgoingClearingId": "61e7073c-7009-4773-a5e3-fcc020f3b2b0",
- "clearingBookmarkId": "d76c248b-c3f0-486e-aec0-0d32b1b4823c",
- "issuerKey": "string",
- "affiliateKey": "string",
- "clearingDate": "2019-08-24",
- "type": "string",
- "fileName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "availableRecords": 0,
- "totalBilledAmount": 0.1,
- "totalFeesAmount": 0.1
}
]Delete an outgoing clearing and its file
| bookmarkId required | string <uuid> Bookmark identifier |
| outgoingClearingId required | string <uuid> Outgoing clearing identifier |
{- "outgoingClearingId": "61e7073c-7009-4773-a5e3-fcc020f3b2b0",
- "clearingBookmarkId": "d76c248b-c3f0-486e-aec0-0d32b1b4823c",
- "issuerKey": "string",
- "affiliateKey": "string",
- "clearingDate": "2019-08-24",
- "type": "string",
- "fileName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "availableRecords": 0,
- "totalBilledAmount": 0.1,
- "totalFeesAmount": 0.1
}Uploads clearing files to be processed
| files required | Array of strings <binary> [ items <binary > ] File to upload and elaborate |
{- "success": true,
- "uploadedFileNames": [
- "string"
], - "isBookmarkCreated": true,
- "totalIncomingClearingCreated": 0,
- "error": "string"
}Get list of customers available in scope
| pageSize | integer <int32> Default: 50 Size of page |
| pageNumber | integer <int32> Default: 0 Number of page |
{- "totalCount": 0,
- "limitCount": 0,
- "items": [
- {
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "name": "string",
- "type": "string",
- "code": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "taxNumber": "string",
- "code": "string",
- "type": "string",
- "citizen": {
- "firstName": "string",
- "lastName": "string",
- "birthDate": "2019-08-24",
- "birthPlace": "string",
- "gender": "string",
- "title": "string",
- "language": "string"
}, - "legalEntity": {
- "longName": "string",
- "shortName": "string",
- "sector": "string",
- "type": "string",
- "vat": "string",
- "contactPerson": "string",
- "industrialClassificationProvider": "string",
- "industrialClassificationValue": "string",
- "hqCustomerId": 0,
- "agentCode": "string",
- "agentName": "string"
}
}
}
]
}Creates a new customer
Request for create customer
| type required | string non-empty Type of customer ("Citizen" or "LegalEntity") |
| code required | string [ 1 .. 15 ] characters Unique code of customer |
| taxNumber | string or null Tax number (optional) |
object or null Citizen data (required only when Type "Citizen") | |
object or null LegalEntity data (required only when Type "LegalEntity") | |
| externalReference | string or null <= 255 characters External reference |
{- "type": "string",
- "code": "string",
- "taxNumber": "string",
- "citizen": {
- "firstName": "string",
- "lastName": "string",
- "birthDate": "2019-08-24",
- "birthPlace": "string",
- "gender": "string",
- "title": "string",
- "language": "string"
}, - "legalEntity": {
- "longName": "string",
- "shortName": "string",
- "sector": "string",
- "type": "s",
- "vat": "string",
- "contactPerson": "string",
- "industrialClassificationProvider": "string",
- "industrialClassificationValue": "string",
- "hqCustomerId": 0,
- "agentCode": "string",
- "agentName": "string"
}, - "externalReference": "string"
}{- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "name": "string",
- "type": "string",
- "code": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "taxNumber": "string",
- "code": "string",
- "type": "string",
- "citizen": {
- "firstName": "string",
- "lastName": "string",
- "birthDate": "2019-08-24",
- "birthPlace": "string",
- "gender": "string",
- "title": "string",
- "language": "string"
}, - "legalEntity": {
- "longName": "string",
- "shortName": "string",
- "sector": "string",
- "type": "string",
- "vat": "string",
- "contactPerson": "string",
- "industrialClassificationProvider": "string",
- "industrialClassificationValue": "string",
- "hqCustomerId": 0,
- "agentCode": "string",
- "agentName": "string"
}
}
}Get a single customers using its id
| id required | string <uuid> Identifier of customer |
{- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "name": "string",
- "type": "string",
- "code": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "taxNumber": "string",
- "code": "string",
- "type": "string",
- "citizen": {
- "firstName": "string",
- "lastName": "string",
- "birthDate": "2019-08-24",
- "birthPlace": "string",
- "gender": "string",
- "title": "string",
- "language": "string"
}, - "legalEntity": {
- "longName": "string",
- "shortName": "string",
- "sector": "string",
- "type": "string",
- "vat": "string",
- "contactPerson": "string",
- "industrialClassificationProvider": "string",
- "industrialClassificationValue": "string",
- "hqCustomerId": 0,
- "agentCode": "string",
- "agentName": "string"
}
}
}Updates an existing customer
| id required | string <uuid> Identifier of customer |
Request for update customer
object or null Citizen data (required only when Type "Citizen") | |
object or null LegalEntity data (required only when Type "LegalEntity") | |
| type required | string non-empty Type of customer ("Citizen" or "LegalEntity") |
| code required | string [ 1 .. 15 ] characters Unique code of customer |
| taxNumber | string or null Tax number (optional) |
| externalReference | string or null <= 255 characters External reference |
{- "citizen": {
- "firstName": "string",
- "lastName": "string",
- "birthDate": "2019-08-24",
- "birthPlace": "string",
- "gender": "string",
- "title": "string",
- "language": "string"
}, - "legalEntity": {
- "longName": "string",
- "shortName": "string",
- "sector": "string",
- "type": "s",
- "vat": "string",
- "contactPerson": "string",
- "industrialClassificationProvider": "string",
- "industrialClassificationValue": "string",
- "hqCustomerId": 0,
- "agentCode": "string",
- "agentName": "string"
}, - "type": "string",
- "code": "string",
- "taxNumber": "string",
- "externalReference": "string"
}{- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "name": "string",
- "type": "string",
- "code": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "taxNumber": "string",
- "code": "string",
- "type": "string",
- "citizen": {
- "firstName": "string",
- "lastName": "string",
- "birthDate": "2019-08-24",
- "birthPlace": "string",
- "gender": "string",
- "title": "string",
- "language": "string"
}, - "legalEntity": {
- "longName": "string",
- "shortName": "string",
- "sector": "string",
- "type": "string",
- "vat": "string",
- "contactPerson": "string",
- "industrialClassificationProvider": "string",
- "industrialClassificationValue": "string",
- "hqCustomerId": 0,
- "agentCode": "string",
- "agentName": "string"
}
}
}Get list of accounts available on a single customer
| id required | string <uuid> Id of customer |
| pageSize | integer <int32> Default: 50 Size of page |
| pageNumber | integer <int32> Default: 0 Number of page |
{- "totalCount": 0,
- "limitCount": 0,
- "items": [
- {
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "accountNumber": "string",
- "status": "string",
- "type": "string",
- "statusReasonCode": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "accountNumber": "string",
- "type": "string",
- "productCode": "string",
- "feeProfile": "string",
- "accountProfile": "string",
- "customerId": "string",
- "sourceId": "string",
- "status": "string",
- "statusReasonCode": "string",
- "currency": "string"
}, - "lockType": "string",
- "lockLevel": "string",
- "blockReasonCode": "string"
}
]
}Create a new account for a specified customer
| id required | string <uuid> Id of customer |
Account details
| type required | string non-empty Type of account (ex. "Charge", "Loan", "Debit", "Prepaid") |
| externalReference required | string [ 1 .. 255 ] characters Reference on external system (optional) |
{- "type": "string",
- "externalReference": "string"
}{- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "accountNumber": "string",
- "status": "string",
- "type": "string",
- "statusReasonCode": "string",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "accountNumber": "string",
- "type": "string",
- "productCode": "string",
- "feeProfile": "string",
- "accountProfile": "string",
- "customerId": "string",
- "sourceId": "string",
- "status": "string",
- "statusReasonCode": "string",
- "currency": "string"
}, - "lockType": "string",
- "lockLevel": "string",
- "blockReasonCode": "string"
}Get list of cards available on a single customer
| id required | string <uuid> Id of customer |
| pageSize | integer <int32> Default: 50 Size of page |
| pageNumber | integer <int32> Default: 0 Number of page |
{- "totalCount": 0,
- "limitCount": 0,
- "items": [
- {
- "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "barCode": "string",
- "financialReference": "string",
- "productCode": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "2019-08-24",
- "cardProcessorReference": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "nameOnCard": "string",
- "productCode": "string",
- "accountId": "string",
- "accountSourceId": "string",
- "panToken": "string",
- "maskedPan": "string",
- "status": "string",
- "statusReasonCode": "string",
- "expiryDate": "string",
- "customerId": "string",
- "customerSourceId": "string",
- "relationType": "string",
- "lockLevel": "string",
- "membershipFeeEffectiveDate": "string",
- "embossingData": {
- "isPlasticOrdered": true,
- "persoBureauHandoverDate": "string"
}
}, - "nameOnCard": "string"
}
]
}Create a new account for a specified customer
| id required | string <uuid> Id of customer |
Account details
| type required | string non-empty Type of Address (ex. PermanentResidence, Work, Other, TemporaryResidence) |
| countryCode required | string non-empty CountryCode ISO 3166-1 alpha-3 |
| line1 required | string [ 1 .. 128 ] characters Address line 1 |
| line2 | string or null <= 128 characters Address line 2 |
| line3 | string or null <= 128 characters Address line 3 |
| city required | string [ 1 .. 32 ] characters Address City |
| postOffice | string or null <= 32 characters Address post office |
| zipCode required | string [ 1 .. 8 ] characters Address zip code |
| externalReference required | string [ 1 .. 255 ] characters External Reference |
{- "type": "string",
- "countryCode": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "postOffice": "string",
- "zipCode": "string",
- "externalReference": "string"
}{- "addressId": "785d1fc4-8ab5-48f1-8685-117cac9865d6",
- "cardProcessorReference": "string",
- "type": "string",
- "countryCode": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "postOffice": "string",
- "zipCode": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "type": "string",
- "countryCode": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "postOffice": "string",
- "zipCode": "string"
}
}Get all addresses for a specified customer
| id required | string <uuid> Id of customer |
[- {
- "addressId": "785d1fc4-8ab5-48f1-8685-117cac9865d6",
- "cardProcessorReference": "string",
- "type": "string",
- "countryCode": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "postOffice": "string",
- "zipCode": "string",
- "externalReference": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "cardProcessorData": {
- "id": "string",
- "sourceId": "string",
- "type": "string",
- "countryCode": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "postOffice": "string",
- "zipCode": "string"
}
}
]Push a "transaction authorization" to online to issuer (O2I) affiliate endpoint
Input request for "authorization"
| financialReference | string or null This field is usually used to create a relation between the card and the external reference for the money (ex. walletId on P1, accountId on external Core Banking System, etc). |
| transactionId required | string non-empty Unique transaction id provided by Card Processor |
| refTransactionId | string or null Reference to a transaction previously processed (provided only if available) |
| transactionDateTime | string or null <date-time> Date/time when transaction is performed |
| processDateTime | string or null <date-time> Date/time when transaction is processed by Card Processor |
| transactionAmount | number or null <double> Original transaction amount |
| transactionCurrency | integer or null <int32> Original transaction currency (ISO 4217) |
| billingAmount | number or null <double> Converted amount beeing charged |
| billingCurrency | integer or null <int32> Converted currency being charged (ISO 4217) |
| terminalId | string or null Terminal identifier (when available) |
| mcc | integer or null <int32> Merchant Category Code |
| merchantId | string or null Merchant identifier |
| merchantName | string or null Merchant name |
| merchantStreet | string or null Merchant street (when available) |
| merchantCity | string or null Merchant city (when available) |
| merchantZip | string or null Merchant ZIP (when available) |
| merchantCountry | integer or null <int32> Merchant county (ISO 3166-1, when available) |
| cardToken required | string non-empty Unique card identifier. Will be generated by CMS through card creation API. The structure is as follows: 6 numbers BIN + token number + last 4 PAN digits |
| authorizationCode | string or null 6-digit authorization code, set by Card Processor when transaction passed all required checks. Included only with successful transactions |
| cardScheme required | integer <int32> Scheme for Card: 1 - Diners 2 - Discover 3 - Mastercard 4 - Visa |
| type required | integer <int32> Type of transaction 0 - Purchase 1 - ATM Withdrawal 6 - Card verification - inquiry 17 - Cash advance 20 - Refund/Credit/Payment 30 - Balance Inquiry on ATM 91 - PIN Unblock - info 92 - PIN Change - info 101 - Preauthorization (Mastercard only) 102 - Preauthorization Incremental (Mastercard only) 103 - Preauthorization Completion (Mastercard only) 107 - Transfer to Account (MoneySend) (Mastercard only) 108 - Transfer from Account (MoneySend) (Mastercard only) |
| stan | string or null Transaction incremental number, provided by Mastercard, Diners International or Visa network. Provides an additional reference to original transaction |
| source | string or null Transaction source M - Manual P - POS A - ATM I - E-commerce (Internet) |
| entryMode | integer or null <int32> Entry mode, method used to enter card number 0 - Unknown or unspecified 1 - Manual 2 - Magstripe 3 - Barcode 5 - Chip 6 - Key entry 7 - Contactless Chip 9 - Chip fallback 10 - Credentials on file |
| authentication | integer or null <int32> Authentication 0 - Transaction has not been authenticated 1 - Transaction has been authenticated 2 - Transaction authentication has been attempted. Attempt can be made by the card network or merchant |
| authenticationProtocol | integer or null <int32> Authentication protocol 0 - Not applicable 1 - 3DS Version 1 2 - 3DS Version 2 or higher |
| scaExemption | integer or null <int32> SCA Exemption 0 - Not requestes 1 - Merchant Initiated Transaction 2 - Acquirer Low-Fraud and Transaction Risk Analysis 3 - Low-Value Payment 4 - Strong Customer Authentication (SCA) Delegation 5 - Secure Corporate Payment 6 - Trusted Merchant Exemption |
| virtualCardNumberId | string or null Virtual Card Number ID, provided by Card Processor "Card Virtualization System" (CVS). Provided only for card virtualized by CVS |
| wallet | integer or null <int32> Wallet Provider 0 - None 1 - Apple Pay 2 - Google Pay 3 - Samsung Pay 4 - Garmin Pay 5 - FitBit Pay 10 - M4M (Merchant for Merchant) |
| pin | integer or null <int32> PIN: Card present transaction authentication indicator 1 - Not performed 2 - Passed 3 - Failed |
| responseCode | string or null Response code set by Card Processor. If success Issuer can change the authorization using response status |
{- "financialReference": "778866554433",
- "transactionId": "309E7559681849A6B6D478F20A3E10BC",
- "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
- "transactionDateTime": "2027-02-20T00:00:00",
- "processDateTime": "2027-02-20T00:10:00",
- "transactionAmount": 23.5,
- "transactionCurrency": 978,
- "billingAmount": 23.5,
- "billingCurrency": 978,
- "terminalId": "XX012345",
- "mcc": 5499,
- "merchantId": "011223344",
- "merchantName": "Test merchant",
- "merchantStreet": "Test Street 1",
- "merchantCity": "Test",
- "merchantZip": "12345",
- "merchantCountry": 705,
- "cardToken": "9999990000000123456",
- "authorizationCode": "112233",
- "cardScheme": 1,
- "type": 0,
- "stan": "123456",
- "source": "P",
- "entryMode": 2,
- "authentication": 0,
- "authenticationProtocol": 1,
- "scaExemption": 0,
- "virtualCardNumberId": "9999990000000123456",
- "wallet": 3,
- "pin": 2,
- "responseCode": "OK"
}{- "transactionId": "309E7559681849A6B6D478F20A3E10BC",
- "responseCode": "OK",
- "availableBalance": 999.6,
- "accountCurrency": 978
}Calculate level of risk of a specific card transaction that is provided an input. Risk level in the response should be one of the following:
Input transaction for risk calculation
| transactionId required | string [ 1 .. 255 ] characters Transaction identifier for Access Control Server (ACS) |
| dsTransactionId | string or null <= 255 characters Transaction identifier for Directory Service (DS) |
| acsVersion required | string non-empty Access Control Server version |
| panToken required | string non-empty PAN Token of the card associated with the transaction (should be used to identify the card holder and the list of his devices) |
| merchantName required | string non-empty Name of the merchant assigned by acquirer |
| purchaseAmount required | string non-empty Purchase amount in minor units of currency with all punctuation removed (ex. 15.34€ => "1534"). This value should be used in conjunction with "PurchaseExponent" in order to calculate number of decimal for puntuation |
| purchaseExponent required | integer <int32> Required if purchase amount is present. Minor units of currency as specified in the ISO-4217 currency exponent. For Euro the value should be 100 |
| purchaseCurrency required | string non-empty The currency in which the purchase amount is expressed, in 3 letters (ex. "EUR", "GBP", "USD") |
| acquirerMerchantId required | string non-empty Acquirer-assigned merchant identifier |
| messageCategory | string or null Identifies the category of the message, using 2 digits, for a specific use case (defined with ACS setup) |
| merchantFraudRate required | integer <int32> Merchant fraud rate in bps taking into account all Merchant sites and card volumes, calculated as per PSD2 RTS Article 19. |
| threeRiIndicator | string or null Indicates the type of 3RI request. Possible values: 01 = Recurring transaction, 02 = Installment transaction, 03 = Add card, 04 = Maintain card information, 05 = Account verification, 06 = Split/delayed shipment, 07 = Top-up, 08 = Mail Order, 09 = Telephone Order, 10 = Whitelist status check, 11 = Other payment |
| whitelistStatus | string or null <= 255 characters Field indicating whether cardholder requested merchant's whitelisting. Values accepted: "Y", "N" |
{- "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
- "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
- "acsVersion": "2.1.0",
- "panToken": "5000000000000000000",
- "merchantName": "Acme Inc.",
- "purchaseAmount": "1534",
- "purchaseExponent": 100,
- "purchaseCurrency": "EUR",
- "acquirerMerchantId": "002455005",
- "messageCategory": "to be clarified during integration with ACS.",
- "merchantFraudRate": 13,
- "threeRiIndicator": "01",
- "whitelistStatus": "N"
}{- "riskLevel": "medium",
- "whitelistStatus": "N"
}Get list of all available devices that can be used for challenge authentication. Devices belongs to the card holder associated with provided card PAN Token, and are limited to the authentication method specified on the request
Input request for authentication devices availability
| transactionId required | string non-empty Transaction identifier for Access Control Server (ACS) |
| dsTransactionId | string or null Transaction identifier for Directory Service (DS) |
| acsVersion required | string non-empty Access Control Server version |
| panToken required | string non-empty PAN Token of the card associated with the transaction (should be used to identify the card holder and the list of his devices) |
| authenticationType required | string non-empty Type of authentication requested Valid values are "OobPush", "SmsMac", "SmsMacPin", "MobileTokenQr", "HardwareTokenQr", "MobileTokenMac" and "HardwareTokenMac" |
{- "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
- "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
- "acsVersion": "2.1.0",
- "panToken": "5000000000000000000",
- "authenticationType": "OobPush"
}[- {
- "deviceId": "9c3f663a-4366-48d1-b68c-a86b656f0530",
- "displayVal": "Google Pixel 8 Pro"
}, - {
- "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
- "displayVal": "Samsung S25 Pro"
}
]Raise a request for generate an OOB (Out-of-Band) authentication, for a single transaction, to a specific device (usually a push notification).
Input request for push authentication on device
| transactionId required | string non-empty Transaction identifier for Access Control Server (ACS) |
| dsTransactionId | string or null Transaction identifier for Directory Service (DS) |
| acsVersion required | string non-empty Access Control Server version |
| deviceId required | string non-empty Identifier of the device that should receive the request for authentication |
| merchantAppUrl | string or null The URL of the merchant application that should be called by the authentication application once the cardholder completes the OOB authentication. This parameter will be present if it is received by the ACS in the CReq (Challenge Request) message |
object or null Details of transaction |
{- "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
- "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
- "acsVersion": "2.1.0",
- "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
- "transactionData": {
- "merchantName": "Acme Inc.",
- "purchaseAmount": "1534",
- "purchaseExponent": 100,
- "purchaseCurrency": "EUR",
- "purchaseDate": "20251107134456",
- "maskedPan": "563712******4501",
- "acquirerMerchantId": "002455005",
- "messageCategory": "to be clarified during integration with ACS."
}
}{- "status": 1,
- "oobAppUrl": "myapp://authorize?tid=8a880dc"
}This endpoint is only used to expose the structure of records (rows) contained in a "Clearing Multischeme" outgoing file. This file will be received by the Affiliate from P2 Platform and should be used to execute settlement phase on the affiliate Core Banking System.
[- {
- "affiliateKey": "ACMEAFFILIATE",
- "transactionId": "CB61CC46BCA34F2EAB009249BA9ABEC4",
- "transactionSource": "CHG",
- "cardSettlementSchema": "4",
- "originalTransactionId": "5002391113524ABC8ED3C489FDBD0809",
- "originalTransactionDate": "2025-11-07",
- "originalTransactionAmount": 0,
- "settlementDate": "2025-11-10",
- "customerId": "DE484F23A29640BB80ADACE080AD5FF6",
- "accountId": "91D61E33805D4F28AAF408DAE80F1A9F",
- "cardId": "C1B2E3F4-5678-90AB-CDEF-1234567890AB",
- "panToken": "5000000000000000000",
- "billedAmount": 15.67,
- "billedCurrency": null,
- "feeAmount": 0.25,
- "merchantId": "002455005",
- "merchantName": "Acme Inc.",
- "merchantCity": "Milan",
- "merchantCountry": "ITA",
- "merchantClassificationCode": "5411",
- "transactionTypeCode": "0",
- "transactionChannel": "I",
- "matchingDesignator": "M",
- "financialFlowFlag": "D",
- "processingTimestamp": "2025-11-07T14:00:00",
- "authorizationTimestamp": "2025-11-07T13:44:56",
- "clearingId": null,
- "sendingInstitutionIdentification": null,
- "reversalIndicator": null,
- "originalTransactionCurrency": null
}, - {
- "affiliateKey": "ACMEAFFILIATE",
- "transactionId": "AB61CC46BCA34F2EAB009249BA9ABEC4",
- "transactionSource": "CHG",
- "cardSettlementSchema": "4",
- "originalTransactionId": "223D596D102145D7A5D14997F0FDED1C",
- "originalTransactionDate": "2025-11-09",
- "originalTransactionAmount": 0,
- "settlementDate": "2025-11-10",
- "customerId": "CC484F23A29640BB80ADACE080AD5FF6",
- "accountId": "89D61E33805D4F28AAF408DAE80F1A9F",
- "cardId": "0DB2E3F4-5678-90AB-CDEF-1234567890AB",
- "panToken": "9780000000000000000",
- "billedAmount": 7.44,
- "billedCurrency": null,
- "feeAmount": 0.12,
- "merchantId": "002455005",
- "merchantName": "Acme Inc.",
- "merchantCity": "Milan",
- "merchantCountry": "ITA",
- "merchantClassificationCode": "5411",
- "transactionTypeCode": "20",
- "transactionChannel": "I",
- "matchingDesignator": "M",
- "financialFlowFlag": "R",
- "processingTimestamp": "2025-11-07T14:00:00",
- "authorizationTimestamp": "2025-11-07T11:06:06",
- "clearingId": null,
- "sendingInstitutionIdentification": null,
- "reversalIndicator": null,
- "originalTransactionCurrency": null
}
]This endpoint is only used to expose the structure of the header contained in a "Clearing Multischeme" outgoing file. This header should be used to verify that the data defined in the rows are coherent and not data were lost during transfer
{- "issuerKey": "ACMEISSUER",
- "affiliateKey": "ACMEAFFILIATE",
- "clearingDate": "2025-11-10",
- "type": "CLEARINGMULTISCHEME",
- "version": "1.0",
- "fileName": "ACMEISSUER_20251110_CLEARINGMULTISCHEME_ACMEAFFILIATE.jsonl",
- "declaredRecordsInFile": 1000
}This endpoint is only used to expose the structure of records (rows) contained in a "Fee Multischeme" outgoing file. This file will be received by the Affiliate from P2 Platform and should be used to execute settlement phase on the affiliate Core Banking System.
[- {
- "affiliateKey": "ACMEAFFILIATE",
- "feeSource": "CHG",
- "cardSettlementSchema": "4",
- "financialFlowFlag": "D",
- "reversalIndicator": "N",
- "matchingDesignator": "M",
- "settlementDate": "2025-11-10",
- "customerId": "DE484F23A29640BB80ADACE080AD5FF6",
- "accountId": "91D61E33805D4F28AAF408DAE80F1A9F",
- "cardId": "C1B2E3F4-5678-90AB-CDEF-1234567890AB",
- "panToken": "5000000000000000000",
- "billedAmount": 15.67,
- "feeAmount": 0.25,
- "feeCurrency": "EUR",
- "processingTimestamp": "2025-11-07T14:00:00",
- "feeType": "T00",
- "feeCode": "C00",
- "feeProfile": "P00",
- "feeDescription": "something",
- "feeDate": "2025-11-07",
- "feeId": "7FAFE3E057A54F02A0A8FBB40B969DA5"
}
]This endpoint is only used to expose the structure of the header contained in a "Fee Multischeme" outgoing file. This header should be used to verify that the data defined in the rows are coherent and not data were lost during transfer
{- "issuerKey": "ACMEISSUER",
- "affiliateKey": "ACMEAFFILIATE",
- "clearingDate": "2025-11-10",
- "type": "FEEMULTISCHEME",
- "version": "1.0",
- "fileName": "ACMEISSUER_20251110_FEEMULTISCHEME_ACMEAFFILIATE.jsonl",
- "declaredRecordsInFile": 50
}Force queue of clearing flow
Request with parameter
| clearingDate required | string or null <date> Date of the clearing (optional, if missing current day is used) |
| issuerKey required | string or null Key of issuer for processing |
| mode required | string or null Mode of processing |
{- "clearingDate": "2019-08-24",
- "issuerKey": "string",
- "mode": "string"
}{- "errorCode": "string",
- "errorDescription": "string",
- "errorProperties": {
- "property1": "string",
- "property2": "string"
}
}Simulate an incoming request (received by Card Processor) during O2I process
Request with details
| transactionId required | string [ 1 .. 255 ] characters Unique transaction id provided by Card Processor |
| refTransactionId | string or null Reference to a transaction previously processed (provided only if available) |
| transactionDateTime | string or null <date-time> Date/time when transaction is performed |
| processDateTime | string or null <date-time> Date/time when transaction is processed by Card Processor |
| transactionAmount | number or null <double> Original transaction amount |
| transactionCurrency | integer or null <int32> Original transaction currency (ISO 4217) |
| billingAmount | number or null <double> Converted amount beeing charged |
| billingCurrency | integer or null <int32> Converted currency being charged (ISO 4217) |
| terminalId | string or null Terminal identifier (when available) |
| mcc | integer or null <int32> Merchant Category Code |
| merchantId | string or null Merchant identifier |
| merchantName | string or null Merchant name |
| merchantStreet | string or null Merchant street (when available) |
| merchantCity | string or null Merchant city (when available) |
| merchantZip | string or null Merchant ZIP (when available) |
| merchantCountry | integer or null <int32> Merchant county (ISO 3166-1, when available) |
| cardToken required | string [ 1 .. 255 ] characters Unique card identifier. Will be generated by CMS through card creation API. The structure is as follows: 6 numbers BIN + token number + last 4 PAN digits |
| authorizationCode | string or null 6-digit authorization code, set by Card Processor when transaction passed all required checks. Included only with successful transactions |
| cardScheme required | integer <int32> Scheme for Card: 1 - Diners 2 - Discover 3 - Mastercard 4 - Visa |
| type required | integer <int32> Type of transaction 0 - Purchase 1 - ATM Withdrawal 6 - Card verification - inquiry 17 - Cash advance 20 - Refund/Credit/Payment 30 - Balance Inquiry on ATM 91 - PIN Unblock - info 92 - PIN Change - info 101 - Preauthorization (Mastercard only) 102 - Preauthorization Incremental (Mastercard only) 103 - Preauthorization Completion (Mastercard only) 107 - Transfer to Account (MoneySend) (Mastercard only) 108 - Transfer from Account (MoneySend) (Mastercard only) |
| stan | string or null Transaction incremental number, provided by Mastercard, Diners International or Visa network. Provides an additional reference to original transaction |
| source | string or null Transaction source M - Manual P - POS A - ATM I - E-commerce (Internet) |
| entryMode | integer or null <int32> Entry mode, method used to enter card number 0 - Unknown or unspecified 1 - Manual 2 - Magstripe 3 - Barcode 5 - Chip 6 - Key entry 7 - Contactless Chip 9 - Chip fallback 10 - Credentials on file |
| authentication | integer or null <int32> Authentication 0 - Transaction has not been authenticated 1 - Transaction has been authenticated 2 - Transaction authentication has been attempted. Attempt can be made by the card network or merchant |
| authenticationProtocol | integer or null <int32> Authentication protocol 0 - Not applicable 1 - 3DS Version 1 2 - 3DS Version 2 or higher |
| scaExemption | integer or null <int32> SCA Exemption 0 - Not requestes 1 - Merchant Initiated Transaction 2 - Acquirer Low-Fraud and Transaction Risk Analysis 3 - Low-Value Payment 4 - Strong Customer Authentication (SCA) Delegation 5 - Secure Corporate Payment 6 - Trusted Merchant Exemption |
| virtualCardNumberId | string or null Virtual Card Number ID, provided by Card Processor "Card Virtualization System" (CVS). Provided only for card virtualized by CVS |
| wallet | integer or null <int32> Wallet Provider 0 - None 1 - Apple Pay 2 - Google Pay 3 - Samsung Pay 4 - Garmin Pay 5 - FitBit Pay 10 - M4M (Merchant for Merchant) |
| pin | integer or null <int32> PIN: Card present transaction authentication indicator 1 - Not performed 2 - Passed 3 - Failed |
| responseCode | string or null Response code set by Card Processor. If success Issuer can change the authorization using response status |
{- "transactionId": "309E7559681849A6B6D478F20A3E10BC",
- "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
- "transactionDateTime": "2027-02-20T00:00:00",
- "processDateTime": "2027-02-20T00:10:00",
- "transactionAmount": 23.5,
- "transactionCurrency": 978,
- "billingAmount": 23.5,
- "billingCurrency": 978,
- "terminalId": "XX012345",
- "mcc": 5499,
- "merchantId": "011223344",
- "merchantName": "Test merchant",
- "merchantStreet": "Test Street 1",
- "merchantCity": "Test",
- "merchantZip": "12345",
- "merchantCountry": 705,
- "cardToken": "9999990000000123456",
- "authorizationCode": "112233",
- "cardScheme": 1,
- "type": 0,
- "stan": "123456",
- "source": "P",
- "entryMode": 2,
- "authentication": 0,
- "authenticationProtocol": 1,
- "scaExemption": 0,
- "virtualCardNumberId": "9999990000000123456",
- "wallet": 3,
- "pin": 2,
- "responseCode": "OK"
}{- "transactionId": "309E7559681849A6B6D478F20A3E10BC",
- "responseCode": "OK",
- "availableBalance": 999.6,
- "accountCurrency": 978
}Simulates invoke of calculation of level of risk on a specific card transaction for a specific affiliate
Input transaction for risk calculation
| transactionId required | string [ 1 .. 255 ] characters Transaction identifier for Access Control Server (ACS) |
| dsTransactionId | string or null <= 255 characters Transaction identifier for Directory Service (DS) |
| acsVersion required | string non-empty Access Control Server version |
| panToken required | string non-empty PAN Token of the card associated with the transaction (should be used to identify the card holder and the list of his devices) |
| merchantName required | string non-empty Name of the merchant assigned by acquirer |
| purchaseAmount required | string non-empty Purchase amount in minor units of currency with all punctuation removed (ex. 15.34€ => "1534"). This value should be used in conjunction with "PurchaseExponent" in order to calculate number of decimal for puntuation |
| purchaseExponent required | integer <int32> Required if purchase amount is present. Minor units of currency as specified in the ISO-4217 currency exponent. For Euro the value should be 100 |
| purchaseCurrency required | string non-empty The currency in which the purchase amount is expressed, in 3 letters (ex. "EUR", "GBP", "USD") |
| acquirerMerchantId required | string non-empty Acquirer-assigned merchant identifier |
| messageCategory | string or null Identifies the category of the message, using 2 digits, for a specific use case (defined with ACS setup) |
| merchantFraudRate required | integer <int32> Merchant fraud rate in bps taking into account all Merchant sites and card volumes, calculated as per PSD2 RTS Article 19. |
| threeRiIndicator | string or null Indicates the type of 3RI request. Possible values: 01 = Recurring transaction, 02 = Installment transaction, 03 = Add card, 04 = Maintain card information, 05 = Account verification, 06 = Split/delayed shipment, 07 = Top-up, 08 = Mail Order, 09 = Telephone Order, 10 = Whitelist status check, 11 = Other payment |
| whitelistStatus | string or null <= 255 characters Field indicating whether cardholder requested merchant's whitelisting. Values accepted: "Y", "N" |
{- "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
- "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
- "acsVersion": "2.1.0",
- "panToken": "5000000000000000000",
- "merchantName": "Acme Inc.",
- "purchaseAmount": "1534",
- "purchaseExponent": 100,
- "purchaseCurrency": "EUR",
- "acquirerMerchantId": "002455005",
- "messageCategory": "to be clarified during integration with ACS.",
- "merchantFraudRate": 13,
- "threeRiIndicator": "01",
- "whitelistStatus": "N"
}{- "riskLevel": "medium",
- "whitelistStatus": "N"
}Create Token to retrive CardData
Request for create token
| cardId required | string <uuid> non-empty |
| publicKey required | string non-empty |
{- "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",
- "publicKey": "string"
}{- "links": [
- {
- "href": "string",
- "rel": "string",
- "method": "string"
}
], - "token": "string"
}Create Token to retrive Card Pin
Request for create token
| cardId required | string <uuid> non-empty |
| publicKey required | string non-empty |
{- "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",
- "publicKey": "string"
}{- "links": [
- {
- "href": "string",
- "rel": "string",
- "method": "string"
}
], - "token": "string"
}Create Token to change Card Pin
Request for create token
| cardId required | string <uuid> non-empty |
{- "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24"
}{- "links": [
- {
- "href": "string",
- "rel": "string",
- "method": "string"
}
], - "token": "string"
}