Podsumowanie
Revolut | Citi Handlowy | Credit Agricole | |
Status | Przekazany do Finta. Oczekuje na decyzje dot. obsługi wielowalutowości po stronie Banku. | Onboarding zakończony. Testy z API sandbox i PROD zakończone. Zidentyfikowano mechanizm podwójnego SCA (opis poniżej) wymaganego dla listy trx>90 dni. Temat jest analizowany z ASPSP. Jeżeli ASPSP nie zmieni mechanizmu - wymagany dodatkowy development specyficznej obsługi MFA po stronie APIHub. | Onboarding sandbox zakończony. Błąd na stronie SCA Banku zgłoszony mailowo (18.06) Onboarding produkcja zakończony. Zidentyfikowaliśmy różnice w odpowiedziach API sandbox i PROD- w trakcie analizy. |
Endpoint'y API sandbox wystawiane przez ASPSP | https://xs2a.credit-agricole.pl:8443/CaPolishAPI/test/individual/v3_0.1/auth/v3_0.1/authorize | ||
Endpoint'y API produkcja wystawiane przez ASPSP | https://xs2a.credit-agricole.pl/CaPolishAPI/prod/individual/v3_0.1/auth/v3_0.1/authorize | ||
Specyficzne cechy konektora (względem już obsługiwanych produkcyjnie w Finat) | - wielowalutowość (szczegółowy opis w korespondencji mailowej) |
Sandbox: SCA (login + hasło) -> token -> konta, szczegóły kont, transakcje, szczegóły transakcji Produkcja: do flow dodane jest MFA: po pobraniu kont i szczegółów kont, należy wysłać request GET/transactions. W odpowiedzi w header mfaCode znajduje się kod, który należy wkleić do linku:https://emea.api.citi.com/gcb/internal/api/oauth2/mfa?client_id=<<as per TPP>>&mfaCode=<< mfaCode generated in the response of the transactionHistory API>> &state=<<need to echo back the same state param>>&redirect_uri=<<as per TPP>>prowadzi on do platformy, przez którą zostaje wysłana do użytkownika wiadomość push lub SMS. W przypadku wyboru wiadomości SMS, należy na stronie wprowadzić kod z SMSa. Po udanym uwierzytelnieniu można pobrać listę transakcji i szczegóły transakcji. Flow: | do uzupełnienia @Klaudia Lewinska (Unlicensed) |
Wywołanie autoryzacji - metodą POST/api/v2/bank/SWIFTCODE/{idValue}/authorize | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP, poza poniższymi punktami: Revolut nie wspiera przekazywania ibanów. trzeba strzelić za każdym razem o wszystkie konta (czyli bez podania key/value z ibanem); | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP, poza poniższymi punktami: Citi nie wspiera przekazywania ibanów. trzeba strzelić za każdym razem o wszystkie konta (czyli bez podania key/value z ibanem); Uwaga- Citi pozwala na pobranie listy transakcji za ostatnie 90 dni. Pobranie dłuższej historii wymaga ponownego SCA zgodnie z opisem powyżej. | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP |
Reautoryzacja zgody - metodą POST/api/v2/bank/SWIFTCODE/{idValue}/authorize | Revolut nie wspiera reautoryzacji zgody. | Citi nie wspiera reautoryzacji zgody. | Możliwość reautoryzacji zgody w trakcie ustalania z CA |
Pobieranie list transakcji - metodą GET/api/v2/bankaccount/IBAN/{idValue}/transaction | Odpowiedź APIHub na zapytanie o listę transakcji przedstawiona została poniżej w sekcji Dodatkowe informacje | Odpowiedź APIHub na zapytanie o listę transakcji przedstawiona została poniżej w sekcji Dodatkowe informacje *szczegóły transakcji są przekazywane przez ASPSP tylko dla transakcji z flagą transactionDetailViewFlag = true (flaga występuije w odpowiedzi requestu o transakcje). Do tej pory podczas testów nie otrzymaliśmy tej flagi ustawionej na true | |
Update relacji do konta - metodą UPDATE/api/v2/bankaccount | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP. Odpowiedź APIHub na zapytanie o listę rachunków przedstawiona została poniżej w sekcji Dodatkowe informacje | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP Odpowiedź APIHub na zapytanie o listę rachunków przedstawiona została poniżej w sekcji Dodatkowe informacje | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP |
Usunięcie zgody - metodą DELETE/api/v2/consent | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP |
Callbacki | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP | działanie tej metody jest niezależne od konektora. Działa identycznie dla wszystkich ASPSP |
Zmienne w env | opis pod sprintem 146 Plan wydań | PROD: CitiPl_AuthorizationUrl=https://emea.apib2b.citi.com/gcb/internal/api/authCode/oauth2/ Sandbox: CitiPl_AuthorizationUrl=https://sandbox.apihub.citi.com/gcb/api/authCode/oauth2/ CitiPl_REDIRECT_URI= | PROD: CREDIT_AUTHORIZATION_URL=https://xs2a.credit-agricole.pl/CaPolishAPI/prod/individual/v3_0.1/auth/v3_0.1/ Sandbox: CREDIT_AUTHORIZATION_URL=https://xs2a.credit-agricole.pl:8443/CaPolishAPI/test/individual/v3_0.1/auth/v3_0.1/ |
Zmienne w compose | opis pod sprintem 146 Plan wydań |
|
|
Dodatkowe informacje
CITI Handlowy- odpowiedź ASPSP na zapytanie o konta (sandbox)
Uwaga: ASPSP zwraca zamaskowany IBAN "displayAccountNumber":"XXXXXX7556"
1{ 2 "accountGroupSummary":[ 3 { 4 "accountGroup":"SAVINGS_AND_INVESTMENTS", 5 "accounts":[ 6 { 7 "savingsAccountSummary":{ 8 "productName":"KONTO OSZCZEDNOSCIOWE PLN", 9 "productCode":"0007_SSC20", 10 "displayAccountNumber":"XXXXXX7556", 11 "accountId":"63345745333946686651706662332f634a375573535370634d706a6574315a2b534565795270615a3533513d", 12 "currencyCode":"PLN", 13 "accountClassification":"ASSET", 14 "accountStatus":"ACTIVE", 15 "currentBalance":2582.18, 16 "availableBalance":2582.18 17 } 18 }, 19 { 20 "savingsAccountSummary":{ 21 "productName":"KONTO OSZCZEDNOSCIOWE PLN", 22 "productCode":"0007_SSC20", 23 "displayAccountNumber":"XXXXXX7557", 24 "accountId":"809433290433946686651706662332f634a375573535370634d706a6574315a2b534565795270615a3533664d", 25 "currencyCode":"PLN", 26 "accountClassification":"ASSET", 27 "accountStatus":"ACTIVE", 28 "currentBalance":4582.18, 29 "availableBalance":4582.18 30 } 31 } 32 ] 33 }, 34 { 35 "accountGroup":"CHECKING", 36 "accounts":[ 37 { 38 "checkingAccountSummary":{ 39 "productName":"SUB. WALUTOWE CITIGOLD USD", 40 "productCode":"0001_SAG00", 41 "displayAccountNumber":"XXXXXX3260", 42 "accountId":"4556622f58466e6e4d67717537337969422b746c66646a6865484d7470736d683436393178494c2b3563566d", 43 "currencyCode":"USD", 44 "accountClassification":"ASSET", 45 "accountStatus":"ACTIVE", 46 "currentBalance":91352.21, 47 "availableBalance":91352.21 48 } 49 } 50 ] 51 }, 52 { 53 "accountGroup":"CREDIT_CARD", 54 "accounts":[ 55 { 56 "creditCardAccountSummary":{ 57 "productName":"CITIBANK VISA PLATINUM", 58 "productCode":"0004_VC400", 59 "displayAccountNumber":"XXXXXXXXXXXX2875", 60 "accountId":"743552522b34655255764b546638573230424439313956744f4a69414b71584e6a764a654e5272762b44633d", 61 "currencyCode":"PLN", 62 "accountClassification":"LIABILITY", 63 "accountStatus":"ACTIVE", 64 "outstandingBalance":950, 65 "availableCredit":950, 66 "creditLimit":5400, 67 "minimumDueAmount":500, 68 "paymentDueDate":"2016-09-25", 69 "alternateCurrency":"GBP", 70 "alternateCurrencyCurrentBalance":0, 71 "cardHolderType":"PRIMARY" 72 } 73 }, 74 { 75 "creditCardAccountSummary":{ 76 "productName":"CITIBANK VISA PLATINUM", 77 "productCode":"0004_VC400", 78 "displayAccountNumber":"XXXXXX5753", 79 "accountId":"75334a554163504f696b485862753135706a3571764332357441476832723073705a647469497372776f544d", 80 "currencyCode":"PLN", 81 "accountClassification":"LIABILITY", 82 "accountStatus":"ACTIVE", 83 "outstandingBalance":3045.87, 84 "availableCredit":3045.87, 85 "creditLimit":10300, 86 "minimumDueAmount":150, 87 "paymentDueDate":"2017-07-07", 88 "alternateCurrency":"GBP", 89 "alternateCurrencyCurrentBalance":0, 90 "cardHolderType":"SUPPLEMENTARY" 91 } 92 } 93 ] 94 } 95 ] 96}
Citi Handlowy- zwrotki APIHub (dane produkcyjne)
Account
1{ 2 "data": [ 3 { 4 "accountName": "", 5 "balance": 0.00, 6 "balanceOverdraft": 0.00, 7 "balances": [ 8 { 9 "currency": "PLN", 10 "date": "2021-06-18T12:29:33.6489542Z", 11 "type": "closingAvailable", 12 "value": 11.00 13 } 14 ], 15 "bank": { 16 "availability": null, 17 "bankOrder": null, 18 "color": null, 19 "country": { 20 "alternativeISOCode": null, 21 "currencyCode": "PLN", 22 "dialCode": "+48", 23 "flagUrl": "/img/Country/Flag/flag-of-Netherlands.png", 24 "flagUrlHash": "48DD678DD7D0AEF1AF711DD3D7FE60C0E7A21B2F", 25 "fullName": "Poland", 26 "isoCode": "pl", 27 "languageCode": null 28 }, 29 "id": 271, 30 "isAisForceAccount": true, 31 "isPisForceAccount": true, 32 "isPisp": true, 33 "logo": null, 34 "logoSmall": null, 35 "logoUrlHash": null, 36 "migrateToBankId": null, 37 "name": "Citi Handlowy", 38 "officialName": "Citi Handlowy", 39 "provider": { 40 "config": "CitiPl", 41 "provider": "CitiConnector", 42 "providerId": 89, 43 "providerType": "api" 44 }, 45 "swiftBicCode": "CITIPLPX" 46 }, 47 "consent": { 48 "aspspAccountId": null, 49 "bank": { 50 "id": 271, 51 "name": "Citi Handlowy", 52 "officialName": "Citi Handlowy" 53 }, 54 "bankSwiftCode": "CITIPLPX", 55 "createDate": "2021-06-18T12:28:32.284Z", 56 "expirationDate": null, 57 "externalId": null, 58 "id": "5308bc5a-d7a4-490f-bfe9-bbd48b7da5f6", 59 "previousStatus": "authorized", 60 "privileges": null, 61 "status": "confirmed", 62 "userId": "0948dc41-43d4-42d1-a916-551d67d9a7f7", 63 "userScope": "aisp" 64 }, 65 "consentId": "5308bc5a-d7a4-490f-bfe9-bbd48b7da5f6", 66 "consentStatus": "active", 67 "currencyCode": "PLN", 68 "errorMessage": null, 69 "externalConsents": [ 70 { 71 "consentId": "5308bc5a-d7a4-490f-bfe9-bbd48b7da5f6", 72 "externalConsentId": null, 73 "purposes": [ 74 "citi-ais" 75 ] 76 } 77 ], 78 "generateNotifications": false, 79 "hasImage": false, 80 "holderInfo": "", 81 "holderType": null, 82 "iban": "PLXXXXXXXXXXXXXXXXXXXXXX0677", 83 "id": 8, 84 "importDate": "2021-06-18T12:29:32.5805972Z", 85 "isActive": true, 86 "isBusiness": false, 87 "lastSession": { 88 "consent": { 89 "externalId": null, 90 "id": "5308bc5a-d7a4-490f-bfe9-bbd48b7da5f6", 91 "status": "confirmed" 92 }, 93 "id": "c18951ae-d907-4d50-b8db-08d9322e967e", 94 "stage": "transactionDetails", 95 "status": "inProgress", 96 "syncDate": "2021-06-18T12:28:32.330001Z" 97 }, 98 "lastSessionStatus": "inProgress", 99 "lastSyncDate": "2021-06-18T12:28:32.330001Z", 100 "lastTransactionDate": "2021-05-19T00:00:00Z", 101 "manualHolderInfo": null, 102 "manualRelation": null, 103 "raw": {}, 104 "relations": [], 105 "retrievedName": null, 106 "secondaryIdentifiers": [ 107 { 108 "type": "resourceId", 109 "value": "72326d716879457a6c4c4b3766387a4b6b4e543937524c3868335859536570324d54416d7272592b5032413d" 110 } 111 ], 112 "syncError": null, 113 "syncExecutionId": "b516e242-ab1b-4016-935e-ac55503e449a", 114 "syncOffline": true, 115 "syncStatus": "inProgress", 116 "transactionSyncDate": null, 117 "transactionSyncStatus": "notStarted", 118 "type": "currentAccount", 119 "typeName": "KONTO OSOBISTE CITIKONTO", 120 "userName": "" 121 } 122 ], 123 "success": true 124}
AccountDetails
1{ 2 "data": { 3 "accountName": "", 4 "balance": 0.00, 5 "balanceOverdraft": 0.00, 6 "balances": [ 7 { 8 "currency": "PLN", 9 "date": "2021-06-18T12:29:33.6489542Z", 10 "type": "closingAvailable", 11 "value": 11.00 12 } 13 ], 14 "bank": { 15 "availability": null, 16 "bankOrder": null, 17 "color": null, 18 "country": { 19 "alternativeISOCode": null, 20 "currencyCode": "PLN", 21 "dialCode": "+48", 22 "flagUrl": "/img/Country/Flag/flag-of-Netherlands.png", 23 "flagUrlHash": "48DD678DD7D0AEF1AF711DD3D7FE60C0E7A21B2F", 24 "fullName": "Poland", 25 "isoCode": "pl", 26 "languageCode": null 27 }, 28 "id": 271, 29 "isAisForceAccount": true, 30 "isPisForceAccount": true, 31 "isPisp": true, 32 "logo": null, 33 "logoSmall": null, 34 "logoUrlHash": null, 35 "migrateToBankId": null, 36 "name": "Citi Handlowy", 37 "officialName": "Citi Handlowy", 38 "provider": { 39 "config": "CitiPl", 40 "provider": "CitiConnector", 41 "providerId": 89, 42 "providerType": "api" 43 }, 44 "swiftBicCode": "CITIPLPX" 45 }, 46 "consent": { 47 "aspspAccountId": null, 48 "bank": { 49 "id": 271, 50 "name": "Citi Handlowy", 51 "officialName": "Citi Handlowy" 52 }, 53 "bankSwiftCode": "CITIPLPX", 54 "createDate": "2021-06-18T12:28:32.284Z", 55 "expirationDate": null, 56 "externalId": null, 57 "id": "5308bc5a-d7a4-490f-bfe9-bbd48b7da5f6", 58 "previousStatus": "authorized", 59 "privileges": null, 60 "status": "confirmed", 61 "userId": "0948dc41-43d4-42d1-a916-551d67d9a7f7", 62 "userScope": "aisp" 63 }, 64 "consentId": "5308bc5a-d7a4-490f-bfe9-bbd48b7da5f6", 65 "consentStatus": "active", 66 "currencyCode": "PLN", 67 "errorMessage": null, 68 "externalConsents": [ 69 { 70 "consentId": "5308bc5a-d7a4-490f-bfe9-bbd48b7da5f6", 71 "externalConsentId": null, 72 "purposes": [ 73 "citi-ais" 74 ] 75 } 76 ], 77 "failureMessageId": "b60d4697-6668-42dc-ad94-7d11f361128d", 78 "generateNotifications": false, 79 "hasImage": false, 80 "holderInfo": "", 81 "holderType": null, 82 "iban": "PLXXXXXXXXXXXXXXXXXXXXXX0677", 83 "id": 8, 84 "importDate": "2021-06-18T12:29:32.5805972Z", 85 "isActive": true, 86 "isBusiness": false, 87 "lastSession": { 88 "consent": { 89 "externalId": null, 90 "id": "5308bc5a-d7a4-490f-bfe9-bbd48b7da5f6", 91 "status": "confirmed" 92 }, 93 "failureMessageId": "b60d4697-6668-42dc-ad94-7d11f361128d", 94 "failureReason": "; ", 95 "id": "c18951ae-d907-4d50-b8db-08d9322e967e", 96 "stage": "transactionDetails", 97 "status": "failed", 98 "syncDate": "2021-06-18T12:28:32.330001Z" 99 }, 100 "lastSessionStatus": "failed", 101 "lastSyncDate": "2021-06-18T12:28:32.330001Z", 102 "lastTransactionDate": "2021-05-19T00:00:00Z", 103 "manualHolderInfo": null, 104 "manualRelation": null, 105 "raw": {}, 106 "relations": [], 107 "retrievedName": null, 108 "secondaryIdentifiers": [ 109 { 110 "type": "resourceId", 111 "value": "72326d716879457a6c4c4b3766387a4b6b4e543937524c3868335859536570324d54416d7272592b5032413d" 112 } 113 ], 114 "syncError": null, 115 "syncExecutionId": "b516e242-ab1b-4016-935e-ac55503e449a", 116 "syncOffline": true, 117 "syncStatus": "inProgress", 118 "transactionSyncDate": null, 119 "transactionSyncStatus": "notStarted", 120 "type": null, 121 "typeName": "KONTO OSOBISTE CITIKONTO", 122 "userName": "" 123 }, 124 "success": true 125}
Transactions
1{ 2 "data": { 3 "items": [ 4 { 5 "accountCurrencyCode": "PLN", 6 "accountingDate": null, 7 "amountBaseCurrency": null, 8 "balanceAfterTransaction": null, 9 "bankBranch": null, 10 "bankName": "Citi Handlowy", 11 "creditOrDebit": "credit", 12 "detailsFetched": false, 13 "effectiveDate": "2021-05-19T00:00:00Z", 14 "externalConsents": [ 15 { 16 "consentId": "5308bc5a-d7a4-490f-bfe9-bbd48b7da5f6", 17 "externalConsentId": null, 18 "purposes": [ 19 "citi-ais" 20 ] 21 } 22 ], 23 "id": 119, 24 "lastSyncDate": "2021-06-18T12:29:38.330833Z", 25 "mcc": null, 26 "operationAmount": -1.00, 27 "operationCurrencyCode": "PLN", 28 "originalType": "DEBIT", 29 "recipient": null, 30 "recipientAccount": null, 31 "recipientAccountMassPayment": null, 32 "recipientAccountType": null, 33 "recipientAddress": null, 34 "recipientBankAddress": null, 35 "recipientBankBicOrSwift": null, 36 "recipientBankCode": null, 37 "recipientBankName": null, 38 "recipientCountryCode": null, 39 "recipientNameAddress": null, 40 "referenceNumber": "MBKFT210519D664235", 41 "sender": null, 42 "senderAccount": null, 43 "senderAccountMassPayment": null, 44 "senderAccountType": null, 45 "senderAddress": null, 46 "senderBankAddress": null, 47 "senderBankBicOrSwift": null, 48 "senderBankCode": null, 49 "senderBankCountryCode": null, 50 "senderBankName": null, 51 "senderNameAddress": null, 52 "status": "done", 53 "tags": null, 54 "title": "OUTGOING INTERNET TRANSFER KPU MBANK CITI DO MBANK", 55 "transactionRate": null, 56 "type": "" 57 }, 58 { 59 "accountCurrencyCode": "PLN", 60 "accountingDate": null, 61 "amountBaseCurrency": null, 62 "balanceAfterTransaction": null, 63 "bankBranch": null, 64 "bankName": "Citi Handlowy", 65 "creditOrDebit": "credit", 66 "detailsFetched": false, 67 "effectiveDate": "2021-05-19T00:00:00Z", 68 "externalConsents": [ 69 { 70 "consentId": "5308bc5a-d7a4-490f-bfe9-bbd48b7da5f6", 71 "externalConsentId": null, 72 "purposes": [ 73 "citi-ais" 74 ] 75 } 76 ], 77 "id": 118, 78 "lastSyncDate": "2021-06-18T12:29:38.3297626Z", 79 "mcc": null, 80 "operationAmount": 2.00, 81 "operationCurrencyCode": "PLN", 82 "originalType": "CREDIT", 83 "recipient": null, 84 "recipientAccount": null, 85 "recipientAccountMassPayment": null, 86 "recipientAccountType": null, 87 "recipientAddress": null, 88 "recipientBankAddress": null, 89 "recipientBankBicOrSwift": null, 90 "recipientBankCode": null, 91 "recipientBankName": null, 92 "recipientCountryCode": null, 93 "recipientNameAddress": null, 94 "referenceNumber": "BMRKA2105194453637", 95 "sender": null, 96 "senderAccount": null, 97 "senderAccountMassPayment": null, 98 "senderAccountType": null, 99 "senderAddress": null, 100 "senderBankAddress": null, 101 "senderBankBicOrSwift": null, 102 "senderBankCode": null, 103 "senderBankCountryCode": null, 104 "senderBankName": null, 105 "senderNameAddress": null, 106 "status": "done", 107 "tags": null, 108 "title": "EXTERNAL INCOMING TRANSFER BCC KRZYSZTOF PULKIEWICZ 56102010680000120203227030 PKO BP-)CITI", 109 "transactionRate": null, 110 "type": "" 111 }, 112 { 113 "accountCurrencyCode": "PLN", 114 "accountingDate": null, 115 "amountBaseCurrency": null, 116 "balanceAfterTransaction": null, 117 "bankBranch": null, 118 "bankName": "Citi Handlowy", 119 "creditOrDebit": "credit", 120 "detailsFetched": false, 121 "effectiveDate": "2021-05-19T00:00:00Z", 122 "externalConsents": [ 123 { 124 "consentId": "5308bc5a-d7a4-490f-bfe9-bbd48b7da5f6", 125 "externalConsentId": null, 126 "purposes": [ 127 "citi-ais" 128 ] 129 } 130 ], 131 "id": 117, 132 "lastSyncDate": "2021-06-18T12:29:38.326157Z", 133 "mcc": null, 134 "operationAmount": 10.00, 135 "operationCurrencyCode": "PLN", 136 "originalType": "CREDIT", 137 "recipient": null, 138 "recipientAccount": null, 139 "recipientAccountMassPayment": null, 140 "recipientAccountType": null, 141 "recipientAddress": null, 142 "recipientBankAddress": null, 143 "recipientBankBicOrSwift": null, 144 "recipientBankCode": null, 145 "recipientBankName": null, 146 "recipientCountryCode": null, 147 "recipientNameAddress": null, 148 "referenceNumber": "BMRKA2105192152059", 149 "sender": null, 150 "senderAccount": null, 151 "senderAccountMassPayment": null, 152 "senderAccountType": null, 153 "senderAddress": null, 154 "senderBankAddress": null, 155 "senderBankBicOrSwift": null, 156 "senderBankCode": null, 157 "senderBankCountryCode": null, 158 "senderBankName": null, 159 "senderNameAddress": null, 160 "status": "done", 161 "tags": null, 162 "title": "EXTERNAL INCOMING TRANSFER KRZYSZTOF PULKIEWICZ 77114020040000320237695439 PRZELEW", 163 "transactionRate": null, 164 "type": "" 165 } 166 ], 167 "pageNumber": 1, 168 "pageSize": 100, 169 "totalItemsCount": 3, 170 "totalPagesCount": 1 171 }, 172 "success": true 173}
Revolut- zwrotki APIHub (dane produkcyjne)
Account
1{ 2 "data": [ 3 { 4 "accountName": "Revolut", 5 "balance": 19.09, 6 "balanceOverdraft": 0.00, 7 "balances": [ 8 { 9 "currency": "PLN", 10 "date": "2021-06-18T11:06:01.4539613Z", 11 "type": "interimAvailable", 12 "value": 19.09 13 } 14 ], 15 "bank": { 16 "availability": null, 17 "bankOrder": null, 18 "color": null, 19 "country": { 20 "alternativeISOCode": "uk", 21 "currencyCode": "GBP", 22 "dialCode": "+44", 23 "flagUrl": "/img/Country/Flag/flag-of-Netherlands.png", 24 "flagUrlHash": "48DD678DD7D0AEF1AF711DD3D7FE60C0E7A21B2F", 25 "fullName": "United Kingdom", 26 "isoCode": "gb", 27 "languageCode": null 28 }, 29 "id": 137, 30 "isAisForceAccount": true, 31 "isPisForceAccount": true, 32 "isPisp": true, 33 "logo": null, 34 "logoSmall": null, 35 "logoUrlHash": null, 36 "migrateToBankId": null, 37 "name": "Revolut", 38 "officialName": "Revolut", 39 "provider": { 40 "config": "Revolut", 41 "provider": "OpenBankingConnector", 42 "providerId": 50, 43 "providerType": "api" 44 }, 45 "swiftBicCode": "REVOGB21" 46 }, 47 "consent": { 48 "aspspAccountId": null, 49 "bank": { 50 "id": 137, 51 "name": "Revolut", 52 "officialName": "Revolut" 53 }, 54 "bankSwiftCode": "REVOGB21", 55 "createDate": "2021-06-18T10:58:57.451Z", 56 "expirationDate": null, 57 "externalId": null, 58 "id": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 59 "previousStatus": "authorized", 60 "privileges": null, 61 "status": "confirmed", 62 "userId": "b5c29367-9978-4fe0-89ec-686608bfce3d", 63 "userScope": "aisp" 64 }, 65 "consentId": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 66 "consentStatus": "active", 67 "currencyCode": "PLN", 68 "errorMessage": null, 69 "externalConsents": [ 70 { 71 "consentId": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 72 "externalConsentId": null, 73 "purposes": [ 74 "openbanking-revolut" 75 ] 76 } 77 ], 78 "generateNotifications": false, 79 "hasImage": false, 80 "holderInfo": null, 81 "holderType": null, 82 "iban": " LT11 3250 0676 5509 7569", 83 "id": 5, 84 "importDate": "2021-06-18T11:05:58.4406498Z", 85 "isActive": true, 86 "isBusiness": false, 87 "lastSession": { 88 "consent": { 89 "externalId": null, 90 "id": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 91 "status": "confirmed" 92 }, 93 "id": "f8fba565-0d33-4dc6-b8d7-08d9322e967e", 94 "stage": "transactions", 95 "status": "finished", 96 "syncDate": "2021-06-18T10:58:57.509448Z" 97 }, 98 "lastSessionStatus": "finished", 99 "lastSyncDate": "2021-06-18T10:58:57.509448Z", 100 "lastTransactionDate": "2021-06-17T14:58:13.120755Z", 101 "manualHolderInfo": null, 102 "manualRelation": null, 103 "raw": {}, 104 "relations": [], 105 "retrievedName": null, 106 "secondaryIdentifiers": [ 107 { 108 "type": "resourceId", 109 "value": "dce1cfa6-096d-4f3f-b2db-a101572808b7" 110 } 111 ], 112 "syncError": null, 113 "syncExecutionId": "fd3b9f26-7ac0-4e53-9397-fd3c71409290", 114 "syncOffline": true, 115 "syncStatus": "active", 116 "transactionSyncDate": "2021-06-18T11:06:06.9423299Z", 117 "transactionSyncStatus": "completed", 118 "type": "currentAccount", 119 "typeName": "CurrentAccount", 120 "userName": null 121 }, 122 { 123 "accountName": "Revolut", 124 "balance": 0.00, 125 "balanceOverdraft": 0.00, 126 "balances": [ 127 { 128 "currency": "CHF", 129 "date": "2021-06-18T11:06:01.45396Z", 130 "type": "interimAvailable", 131 "value": 0.00 132 } 133 ], 134 "bank": { 135 "availability": null, 136 "bankOrder": null, 137 "color": null, 138 "country": { 139 "alternativeISOCode": "uk", 140 "currencyCode": "GBP", 141 "dialCode": "+44", 142 "flagUrl": "/img/Country/Flag/flag-of-Netherlands.png", 143 "flagUrlHash": "48DD678DD7D0AEF1AF711DD3D7FE60C0E7A21B2F", 144 "fullName": "United Kingdom", 145 "isoCode": "gb", 146 "languageCode": null 147 }, 148 "id": 137, 149 "isAisForceAccount": true, 150 "isPisForceAccount": true, 151 "isPisp": true, 152 "logo": null, 153 "logoSmall": null, 154 "logoUrlHash": null, 155 "migrateToBankId": null, 156 "name": "Revolut", 157 "officialName": "Revolut", 158 "provider": { 159 "config": "Revolut", 160 "provider": "OpenBankingConnector", 161 "providerId": 50, 162 "providerType": "api" 163 }, 164 "swiftBicCode": "REVOGB21" 165 }, 166 "consent": { 167 "aspspAccountId": null, 168 "bank": { 169 "id": 137, 170 "name": "Revolut", 171 "officialName": "Revolut" 172 }, 173 "bankSwiftCode": "REVOGB21", 174 "createDate": "2021-06-18T10:58:57.451Z", 175 "expirationDate": null, 176 "externalId": null, 177 "id": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 178 "previousStatus": "authorized", 179 "privileges": null, 180 "status": "confirmed", 181 "userId": "b5c29367-9978-4fe0-89ec-686608bfce3d", 182 "userScope": "aisp" 183 }, 184 "consentId": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 185 "consentStatus": "active", 186 "currencyCode": "CHF", 187 "errorMessage": null, 188 "externalConsents": [ 189 { 190 "consentId": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 191 "externalConsentId": null, 192 "purposes": [ 193 "openbanking-revolut" 194 ] 195 } 196 ], 197 "generateNotifications": false, 198 "hasImage": false, 199 "holderInfo": null, 200 "holderType": null, 201 "iban": " LT11 3250 0676 5509 7569", 202 "id": 6, 203 "importDate": "2021-06-18T11:05:58.4600167Z", 204 "isActive": true, 205 "isBusiness": false, 206 "lastSession": { 207 "consent": { 208 "externalId": null, 209 "id": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 210 "status": "confirmed" 211 }, 212 "id": "f8fba565-0d33-4dc6-b8d7-08d9322e967e", 213 "stage": "transactions", 214 "status": "finished", 215 "syncDate": "2021-06-18T10:58:57.509448Z" 216 }, 217 "lastSessionStatus": "finished", 218 "lastSyncDate": "2021-06-18T10:58:57.509448Z", 219 "lastTransactionDate": null, 220 "manualHolderInfo": null, 221 "manualRelation": null, 222 "raw": {}, 223 "relations": [], 224 "retrievedName": null, 225 "secondaryIdentifiers": [ 226 { 227 "type": "resourceId", 228 "value": "bdf5f435-48cb-49d9-8e4c-d8607fbeee5d" 229 } 230 ], 231 "syncError": null, 232 "syncExecutionId": "fd3b9f26-7ac0-4e53-9397-fd3c71409290", 233 "syncOffline": true, 234 "syncStatus": "active", 235 "transactionSyncDate": "2021-06-18T11:06:06.9423299Z", 236 "transactionSyncStatus": "completed", 237 "type": "currentAccount", 238 "typeName": "CurrentAccount", 239 "userName": null 240 }, 241 { 242 "accountName": "Revolut", 243 "balance": 0.00, 244 "balanceOverdraft": 0.00, 245 "balances": [ 246 { 247 "currency": "GBP", 248 "date": "2021-06-18T11:06:01.4567812Z", 249 "type": "interimAvailable", 250 "value": 0.00 251 } 252 ], 253 "bank": { 254 "availability": null, 255 "bankOrder": null, 256 "color": null, 257 "country": { 258 "alternativeISOCode": "uk", 259 "currencyCode": "GBP", 260 "dialCode": "+44", 261 "flagUrl": "/img/Country/Flag/flag-of-Netherlands.png", 262 "flagUrlHash": "48DD678DD7D0AEF1AF711DD3D7FE60C0E7A21B2F", 263 "fullName": "United Kingdom", 264 "isoCode": "gb", 265 "languageCode": null 266 }, 267 "id": 137, 268 "isAisForceAccount": true, 269 "isPisForceAccount": true, 270 "isPisp": true, 271 "logo": null, 272 "logoSmall": null, 273 "logoUrlHash": null, 274 "migrateToBankId": null, 275 "name": "Revolut", 276 "officialName": "Revolut", 277 "provider": { 278 "config": "Revolut", 279 "provider": "OpenBankingConnector", 280 "providerId": 50, 281 "providerType": "api" 282 }, 283 "swiftBicCode": "REVOGB21" 284 }, 285 "consent": { 286 "aspspAccountId": null, 287 "bank": { 288 "id": 137, 289 "name": "Revolut", 290 "officialName": "Revolut" 291 }, 292 "bankSwiftCode": "REVOGB21", 293 "createDate": "2021-06-18T10:58:57.451Z", 294 "expirationDate": null, 295 "externalId": null, 296 "id": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 297 "previousStatus": "authorized", 298 "privileges": null, 299 "status": "confirmed", 300 "userId": "b5c29367-9978-4fe0-89ec-686608bfce3d", 301 "userScope": "aisp" 302 }, 303 "consentId": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 304 "consentStatus": "active", 305 "currencyCode": "GBP", 306 "errorMessage": null, 307 "externalConsents": [ 308 { 309 "consentId": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 310 "externalConsentId": null, 311 "purposes": [ 312 "openbanking-revolut" 313 ] 314 } 315 ], 316 "generateNotifications": false, 317 "hasImage": false, 318 "holderInfo": null, 319 "holderType": null, 320 "iban": " LT11 3250 0676 5509 7569", 321 "id": 7, 322 "importDate": "2021-06-18T11:05:58.4603456Z", 323 "isActive": true, 324 "isBusiness": false, 325 "lastSession": { 326 "consent": { 327 "externalId": null, 328 "id": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 329 "status": "confirmed" 330 }, 331 "id": "f8fba565-0d33-4dc6-b8d7-08d9322e967e", 332 "stage": "transactions", 333 "status": "finished", 334 "syncDate": "2021-06-18T10:58:57.509448Z" 335 }, 336 "lastSessionStatus": "finished", 337 "lastSyncDate": "2021-06-18T10:58:57.509448Z", 338 "lastTransactionDate": null, 339 "manualHolderInfo": null, 340 "manualRelation": null, 341 "raw": {}, 342 "relations": [], 343 "retrievedName": null, 344 "secondaryIdentifiers": [ 345 { 346 "type": "resourceId", 347 "value": "d4586140-0202-49de-83ff-9081d4c71561" 348 } 349 ], 350 "syncError": null, 351 "syncExecutionId": "fd3b9f26-7ac0-4e53-9397-fd3c71409290", 352 "syncOffline": true, 353 "syncStatus": "active", 354 "transactionSyncDate": "2021-06-18T11:06:06.9423299Z", 355 "transactionSyncStatus": "completed", 356 "type": "currentAccount", 357 "typeName": "CurrentAccount", 358 "userName": null 359 } 360 ], 361 "success": true 362}
AccountDetails
1{ 2 "data": { 3 "accountName": "Revolut", 4 "balance": 19.09, 5 "balanceOverdraft": 0.00, 6 "balances": [ 7 { 8 "currency": "PLN", 9 "date": "2021-06-18T11:06:01.4539613Z", 10 "type": "interimAvailable", 11 "value": 19.09 12 } 13 ], 14 "bank": { 15 "availability": null, 16 "bankOrder": null, 17 "color": null, 18 "country": { 19 "alternativeISOCode": "uk", 20 "currencyCode": "GBP", 21 "dialCode": "+44", 22 "flagUrl": "/img/Country/Flag/flag-of-Netherlands.png", 23 "flagUrlHash": "48DD678DD7D0AEF1AF711DD3D7FE60C0E7A21B2F", 24 "fullName": "United Kingdom", 25 "isoCode": "gb", 26 "languageCode": null 27 }, 28 "id": 137, 29 "isAisForceAccount": true, 30 "isPisForceAccount": true, 31 "isPisp": true, 32 "logo": null, 33 "logoSmall": null, 34 "logoUrlHash": null, 35 "migrateToBankId": null, 36 "name": "Revolut", 37 "officialName": "Revolut", 38 "provider": { 39 "config": "Revolut", 40 "provider": "OpenBankingConnector", 41 "providerId": 50, 42 "providerType": "api" 43 }, 44 "swiftBicCode": "REVOGB21" 45 }, 46 "consent": { 47 "aspspAccountId": null, 48 "bank": { 49 "id": 137, 50 "name": "Revolut", 51 "officialName": "Revolut" 52 }, 53 "bankSwiftCode": "REVOGB21", 54 "createDate": "2021-06-18T10:58:57.451Z", 55 "expirationDate": null, 56 "externalId": null, 57 "id": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 58 "previousStatus": "authorized", 59 "privileges": null, 60 "status": "confirmed", 61 "userId": "b5c29367-9978-4fe0-89ec-686608bfce3d", 62 "userScope": "aisp" 63 }, 64 "consentId": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 65 "consentStatus": "active", 66 "currencyCode": "PLN", 67 "errorMessage": null, 68 "externalConsents": [ 69 { 70 "consentId": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 71 "externalConsentId": null, 72 "purposes": [ 73 "openbanking-revolut" 74 ] 75 } 76 ], 77 "generateNotifications": false, 78 "hasImage": false, 79 "holderInfo": null, 80 "holderType": null, 81 "iban": " LT11 3250 0676 5509 7569", 82 "id": 5, 83 "importDate": "2021-06-18T11:05:58.4406498Z", 84 "isActive": true, 85 "isBusiness": false, 86 "lastSession": { 87 "consent": { 88 "externalId": null, 89 "id": "5a9f216e-6d0d-4d22-8d70-fe5dc16ce07f", 90 "status": "confirmed" 91 }, 92 "id": "f8fba565-0d33-4dc6-b8d7-08d9322e967e", 93 "stage": "transactions", 94 "status": "finished", 95 "syncDate": "2021-06-18T10:58:57.509448Z" 96 }, 97 "lastSessionStatus": "finished", 98 "lastSyncDate": "2021-06-18T10:58:57.509448Z", 99 "lastTransactionDate": "2021-06-17T14:58:13.120755Z", 100 "manualHolderInfo": null, 101 "manualRelation": null, 102 "raw": {}, 103 "relations": [], 104 "retrievedName": null, 105 "secondaryIdentifiers": [ 106 { 107 "type": "resourceId", 108 "value": "dce1cfa6-096d-4f3f-b2db-a101572808b7" 109 } 110 ], 111 "syncError": null, 112 "syncExecutionId": "fd3b9f26-7ac0-4e53-9397-fd3c71409290", 113 "syncOffline": true, 114 "syncStatus": "active", 115 "transactionSyncDate": "2021-06-18T11:06:06.9423299Z", 116 "transactionSyncStatus": "completed", 117 "type": "currentAccount", 118 "typeName": "CurrentAccount", 119 "userName": null 120 }, 121 "success": true 122}
Transactions
transactions
19 cze 2021, 07:53 AM
Revolut sandbox
potrzebny certyfikat Revoluta
zwracane są 3 konta, z 3 różnymi IBAN, przez co nie da się przetestować wielowalutowości poprawnie
transakcje generują się w momencie założenia sandbox’s i nie zmieniają im się daty, przez co po 90 dniach nie dostajemy już transakcji.
Konta (Revolut sandbox)
Jedno konto nie jest identyfikowane przez IBAN:
SchemeName": "UK.OBIE.SortCodeAccountNumber",
"Identification": "87970368675600",
1{ 2 "Data": { 3 "Account": [ 4 { 5 "AccountId": "883c8e57-fef2-4ce2-8831-e45bec893215", 6 "Currency": "GBP", 7 "AccountType": "Personal", 8 "AccountSubType": "CurrentAccount", 9 "Account": [ 10 { 11 "SchemeName": "UK.OBIE.SortCodeAccountNumber", 12 "Identification": "87970368675600", 13 "Name": "Jan Smith" 14 } 15 ] 16 }, 17 { 18 "AccountId": "d22c952c-8b7c-4f6f-aebb-1055f76e9bad", 19 "Currency": "EUR", 20 "AccountType": "Personal", 21 "AccountSubType": "CurrentAccount", 22 "Account": [ 23 { 24 "SchemeName": "UK.OBIE.IBAN", 25 "Identification": "DK8957652274275833", 26 "Name": "Jan Smith" 27 } 28 ] 29 }, 30 { 31 "AccountId": "c1b898ba-41e7-488a-aa7f-443a422c9043", 32 "Currency": "USD", 33 "AccountType": "Personal", 34 "AccountSubType": "CurrentAccount", 35 "Account": [ 36 { 37 "SchemeName": "UK.OBIE.IBAN", 38 "Identification": "DK5741656973707795", 39 "Name": "Jan Smith" 40 } 41 ] 42 } 43 ] 44 }, 45 "Links": { 46 "Self": "" 47 }, 48 "Meta": { 49 "TotalPages": 1 50 } 51}
Transakcje (Revolut sandbox)
1{ 2 "Data": { 3 "Transaction": [ 4 { 5 "AccountId": "883c8e57-fef2-4ce2-8831-e45bec893215", 6 "Amount": { 7 "Amount": "100.00", 8 "Currency": "GBP" 9 }, 10 "BookingDateTime": "2020-06-23T13:56:18.464506Z", 11 "CreditDebitIndicator": "Debit", 12 "ProprietaryBankTransactionCode": { 13 "Code": "TRANSFER", 14 "Issuer": "Revolut" 15 }, 16 "Status": "Pending", 17 "TransactionId": "207b43d0-514d-4523-8e4a-2e9250cc6130", 18 "TransactionInformation": "To Test Beneficiary", 19 "SupplementaryData": { 20 "UserComments": "Payment" 21 } 22 } 23 ] 24 }, 25 "Links": { 26 "Self": "", 27 "Next": "" 28 }, 29 "Meta": {} 30}
Credit Agricole- odpowiedź ASPSP na zapytanie o konta (produkcja)
1{ 2 "responseHeader": { 3 "requestId": "be9d3636-d296-11eb-ae2d-69e37ef7dcc1", 4 "sendDate": "2021-06-21T15:44:05.622+02:00" 5 }, 6 "account": { 7 "accountNumber": "PL82194010765529413600000000", 8 "nameAddress": { 9 "value": [ 10 "Krzysztof Pulkiewicz" 11 ] 12 }, 13 "accountType": { 14 "code": "20010230001", 15 "description": "Konto dla Ciebie" 16 }, 17 "accountTypeName": "Rachunek bieżący", 18 "accountHolderType": "individual", 19 "currency": "PLN", 20 "availableBalance": "2.00", 21 "bookingBalance": "2.00", 22 "bank": { 23 "bicOrSwift": "AGRIPLPR" 24 }, 25 "psuRelations": [ 26 { 27 "typeOfRelation": "Owner" 28 } 29 ] 30 } 31}