Skip to main content

Payment service extensions

Maxime avatar
Written by Maxime
Updated over 4 months ago

Secondary account identifiers

response structure has been extended with

"secondaryIdentifiers": [
{
"type": "string",
"value": "string"
}

Secondary identifiers are mapped to:

"Account": [
{
"SchemeName": [
"UK.OBIE.BBAN",
"UK.OBIE.IBAN",
"UK.OBIE.PAN",
"UK.OBIE.Paym",
"UK.OBIE.SortCodeAccountNumber"
],
"Identification": "VALUE",

PSD2Hub API

  • account.secondaryIdentifiers.type = SchemaName

  • account.secondaryIdentifiers.value = Identification

SchemaName dictionary is mangaed via BankAccountIdentifierType (LDS dictionary table)

Initiate payment providing secondary recipient identifier

{
"userId": "string",
"value": 0,
"currencyCode": "string",
"senderName": "string",
"recipientName": "string",
"recipientAddress": "string",
"recipientIBAN": "string",
"recipientIdentifier": "string",
"recipientType": "string",
"purposeCode": "string",
"title": "string",
"externalId": "string",
"transactionId": "string",
"code": "string",
"executionDate": "2019-04-28T16:25:30.006Z"
}
  • recipientIdentifier is mapped into SchemaName (OB UK)

  • recipientType is mapped into Identification (OB UK)

"DebtorAccount": {
"SchemeName": [
"UK.OBIE.BBAN",
"UK.OBIE.IBAN",
"UK.OBIE.PAN",
"UK.OBIE.Paym",
"UK.OBIE.SortCodeAccountNumber"
],
"Identification": "103000029321814060584399",
"Name": "***name***",
"SecondaryIdentification": "0002"

List of transactions

"items": [
    {
      "id": 0,
      "title": "string",
      "sender": "string",
      "senderAddress": "string",
      "senderAccount": "string",
      "recipient": "string",
      "recipientAddress": "string",
      "recipientAccount": "string",
      "operationAmount": 0,
      "operationCurrencyCode": "string",
      "bankName": "string",
      "bankBranch": "string",
      "accountingDate": "2019-04-28T16:26:54.090Z",
      "referenceNumber": "string",
      "tags": [
        "string"
      ]
    }
  ],
  "totalItemsCount": 0,
  "pageNumber": 0,
  "pageSize": 0,
  "totalPagesCount": 0

recepientAccount stores Identification value.

List of payments

{
  "items": [
    {
      "currencyCode": "string",
      "date": "2019-04-28T16:43:21.644Z",
      "id": 0,
      "purposeCode": "string",
      "recipientAddress": "string",
      "recipientName": "string",
      "recipientIBAN": "string",
      "senderName": "string",
      "senderIBAN": "string",
      "status": "created",
      "title": "string",
      "transactionId": "string",
      "userId": "string",
      "value": 0,
      "externalId": "string",
      "bank": {
        "id": 0,
        "name": "string",
        "officialName": "string",
        "logo": "string",
        "color": "string",
        "migrateToBankId": 0,
        "isPisp": true,
        "isPisForceAccount": true,
        "provider": {
          "providerId": 0,
          "provider": "string",
          "providerType": "scraping",
          "dynamicDataPath": "string",
          "dynamicDataRegex": "string"
        },
        "isAisForceAccount": true
      }
    }
  ],
  "totalItemsCount": 0,
  "pageNumber": 0,
  "pageSize": 0,
  "totalPagesCount": 0
}
}
Did this answer your question?