Account list request - GET /accounts/?withBalance=true
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/?withBalance=true
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2
RESPONSE:
HTTP/1.1 200 OK
{
"accounts": [
{
"resourceId": "AT099900000000001511",
"iban": "AT099900000000001511",
"currency": "EUR",
"name": "Marianne Mustermann",
"product": "Giro",
"cashAccountType": null,
"status": null,
"bic": "TESTAT99",
"linkedAccounts": null,
"usage": null,
"details": null,
"balances": [
{
"balanceAmount": {
"currency": "EUR",
"amount": "1340.55"
},
"balanceType": "forwardAvailable",
"lastChangeDateTime": null,
"referenceDate": "2019-03-07",
"lastCommittedTransaction": null
},
{
"balanceAmount": {
"currency": "EUR",
"amount": "2850.49"
},
"balanceType": "interimAvailable",
"lastChangeDateTime": null,
"referenceDate": "2019-03-06",
"lastCommittedTransaction": null
}
],
"_links": {
"balances": {
"href": "/v1/accounts/AT099900000000001511/balances"
},
"transactions": {
"href": "/v1/accounts/AT099900000000001511/transactions"
}
}
},
{
"resourceId": "AT439900000000010017",
"iban": "AT439900000000010017",
"currency": "EUR",
"name": "Georg Mustermann",
"product": "Giro",
"cashAccountType": null,
"status": null,
"bic": "TESTAT99",
"linkedAccounts": null,
"usage": null,
"details": null,
"balances": [
{
"balanceAmount": {
"currency": "EUR",
"amount": "4533.55"
},
"balanceType": "forwardAvailable",
"lastChangeDateTime": null,
"referenceDate": "2019-03-07",
"lastCommittedTransaction": null
},
{
"balanceAmount": {
"currency": "EUR",
"amount": "5119.49"
},
"balanceType": "interimAvailable",
"lastChangeDateTime": null,
"referenceDate": "2019-03-06",
"lastCommittedTransaction": null
}
],
"_links": {
"balances": {
"href": "/v1/accounts/AT439900000000010017/balances"
},
"transactions": {
"href": "/v1/accounts/AT439900000000010017/transactions"
}
}
}
]
}
Requesting account details from a specific account - GET /accounts/AT439900000000010017/?withBalance=true
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/AT439900000000010017/?withBalance=true
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2
RESPONSE:
HTTP/1.1 200 OK
{
"resourceId": "AT439900000000010017",
"iban": "AT439900000000010017",
"currency": "EUR",
"name": "Georg Mustermann",
"product": "Giro",
"cashAccountType": null,
"status": null,
"bic": "TESTAT99",
"linkedAccounts": null,
"usage": null,
"details": null,
"balances": [
{
"balanceAmount": {
"currency": "EUR",
"amount": "4533.55"
},
"balanceType": "forwardAvailable",
"lastChangeDateTime": null,
"referenceDate": "2019-03-07",
"lastCommittedTransaction": null
},
{
"balanceAmount": {
"currency": "EUR",
"amount": "5119.49"
},
"balanceType": "interimAvailable",
"lastChangeDateTime": null,
"referenceDate": "2019-03-06",
"lastCommittedTransaction": null
}
],
"_links": {
"balances": {
"href": "/v1/accounts/AT439900000000010017/balances"
},
"transactions": {
"href": "/v1/accounts/AT439900000000010017/transactions"
}
}
}
Account balance request - GET /accounts/AT439900000000010017/balances
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/AT439900000000010017/balances
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2
RESPONSE:
HTTP/1.1 200 OK
{
"account": null,
"balances": [
{
"balanceAmount": {
"currency": "EUR",
"amount": "4533.55"
},
"balanceType": "forwardAvailable",
"lastChangeDateTime": null,
"referenceDate": "2019-03-07",
"lastCommittedTransaction": null
},
{
"balanceAmount": {
"currency": "EUR",
"amount": "5119.49"
},
"balanceType": "interimAvailable",
"lastChangeDateTime": null,
"referenceDate": "2019-03-06",
"lastCommittedTransaction": null
}
]
}
Account transactions request - GET /accounts/AT439900000000010017/transactions?bookingStatus=both
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/AT439900000000010017/transactions?bookingStatus=both
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2
RESPONSE:
HTTP/1.1 200 OK
{
"account": {
"iban": "AT439900000000010017"
},
"transactions": {
"booked": [
{
"transactionId": "34123456",
"entryReference": null,
"endToEndId": null,
"mandateId": null,
"checkId": null,
"creditorId": "CreditorID1",
"bookingDate": "2019-03-06",
"valueDate": "2019-03-07",
"transactionAmount": {
"currency": "EUR",
"amount": "9820.99"
},
"currencyExchange": null,
"creditorName": "Marianne Mustermann",
"creditorAccount": {
"iban": "AT099900000000001511"
},
"ultimateCreditor": null,
"debtorName": "DebtorName1",
"debtorAccount": {
"iban": "AT439900000000010017"
},
"ultimateDebtor": null,
"remittanceInformationUnstructured": "incoming payment",
"remittanceInformationStructured": null,
"additionalInformation": null,
"purposeCode": null,
"bankTransactionCode": null,
"proprietaryBankTransactionCode": null,
"_links": null
}
],
"pending": null,
"_links": null
},
"balances": null,
"_links": null
}
Read the list of accessible payment accounts including the booking balance (rejected due to expired Consent-ID) - GET /accounts/?withBalance=true
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/?withBalance=true
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: baf31bce-34b2-437a-b9c3-4e044c0bfb04
RESPONSE:
HTTP/1.1 401 Unauthorized
{
"tppMessages": [
{
"category": "ERROR",
"code": "CONSENT_EXPIRED",
"path": null,
"text": "{sensitive} XS2A005E: consent baf31bce-34b2-437a-b9c3-4e044c0bfb04 expired"
}
],
"_links": null
}
Account transactions request (rejected due to expired Consent-ID) - GET /accounts/AT439900000000010017/transactions?bookingStatus=both
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/AT439900000000010017/transactions?bookingStatus=both
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: baf31bce-34b2-437a-b9c3-4e044c0bfb04
RESPONSE:
HTTP/1.1 401 Unauthorized
{
"tppMessages": [
{
"category": "ERROR",
"code": "CONSENT_EXPIRED",
"path": null,
"text": "{sensitive} XS2A004E: consent baf31bce-34b2-437a-b9c3-4e044c0bfb04 expired"
}
],
"_links": null
}
Read the details about an account including balances (rejected due to invalid Resource ID) - GET /accounts/AT209999999999999999/?withBalance=true
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/AT209999999999999999/?withBalance=true
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2
RESPONSE:
HTTP/1.1 404 Not Found
{
"tppMessages": [
{
"category": "ERROR",
"code": "RESOURCE_UNKNOWN",
"path": null,
"text": "{sensitive} XS2A016E: resource AT209999999999999999 unknown / not found / not part of the current consent"
}
],
"_links": null
}
Account balance request (rejected due to invalid Resource ID) - GET /accounts/AT209999999999999999/balances
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/AT209999999999999999/balances
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2
RESPONSE:
HTTP/1.1 404 Not Found
{
"tppMessages": [
{
"category": "ERROR",
"code": "RESOURCE_UNKNOWN",
"path": null,
"text": "{sensitive} XS2A016E: resource AT209999999999999999 unknown / not found / not part of the current consent"
}
],
"_links": null
}
Account transactions request (rejected due to invalid Resource ID) - GET /accounts/AT209999999999999999/transactions?bookingStatus=both
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/AT209999999999999999/transactions?bookingStatus=both
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2
RESPONSE:
HTTP/1.1 404 Not Found
{
"tppMessages": [
{
"category": "ERROR",
"code": "RESOURCE_UNKNOWN",
"path": null,
"text": "{sensitive} XS2A016E: resource AT209999999999999999 unknown / not found / not part of the current consent"
}
],
"_links": null
}
Account list request (rejected due to unknown Consent ID) - GET /accounts/?withBalance=true
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/?withBalance=true
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: ca2636e6-02f6-4c9d-ae29-051b23a61c11
RESPONSE:
HTTP/1.1 403 Forbidden
{
"tppMessages": [
{
"category": "ERROR",
"code": "CONSENT_UNKNOWN",
"path": null,
"text": "{sensitive} XS2A017E: consent ca2636e6-02f6-4c9d-ae29-051b23a61c11 unknown"
}
],
"_links": null
}
Account transactions request (rejected due to unknown Consent ID) - GET /accounts/AT439900000000010017/transactions?bookingStatus=both
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/AT439900000000010017/transactions?bookingStatus=both
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: ca2636e6-02f6-4c9d-ae29-051b23a61c11
RESPONSE:
HTTP/1.1 403 Forbidden
{
"tppMessages": [
{
"category": "ERROR",
"code": "CONSENT_UNKNOWN",
"path": null,
"text": "{sensitive} XS2A017E: consent ca2636e6-02f6-4c9d-ae29-051b23a61c11 unknown"
}
],
"_links": null
}
Booked Orders Request - GET /accounts/AT099900000000001511/transactions?bookingStatus=booked
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/AT099900000000001511/transactions?bookingStatus=booked
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2
RESPONSE:
HTTP/1.1 200 OK
{
"account": {
"iban": "AT099900000000001511",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"transactions": {
"booked": [
{
"transactionId": "22123460",
"entryReference": null,
"endToEndId": null,
"mandateId": null,
"checkId": null,
"creditorId": "CreditorID1",
"bookingDate": "2021-01-20",
"valueDate": "2021-01-21",
"transactionAmount": {
"currency": "EUR",
"amount": "9820.99"
},
"currencyExchange": null,
"creditorName": "Georg Mustermann",
"creditorAccount": {
"iban": "AT439900000000010017",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"creditorAgent": null,
"ultimateCreditor": null,
"debtorName": "DebtorName1",
"debtorAccount": {
"iban": "AT099900000000001511",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"debtorAgent": null,
"ultimateDebtor": null,
"remittanceInformationUnstructured": "incoming payment",
"remittanceInformationUnstructuredArray": null,
"remittanceInformationStructured": null,
"remittanceInformationStructuredArray": null,
"additionalInformation": null,
"additionalInformationStructured": null,
"purposeCode": null,
"bankTransactionCode": null,
"proprietaryBankTransactionCode": null,
"balanceAfterTransaction": null,
"_links": null
},
{
"transactionId": "22123461",
"entryReference": null,
"endToEndId": null,
"mandateId": null,
"checkId": null,
"creditorId": "CreditorID2",
"bookingDate": "2021-01-20",
"valueDate": "2021-01-21",
"transactionAmount": {
"currency": "EUR",
"amount": "-1533.11"
},
"currencyExchange": null,
"creditorName": "Georg Mustermann",
"creditorAccount": {
"iban": "AT439900000000010017",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"creditorAgent": null,
"ultimateCreditor": null,
"debtorName": "Marianne Mustermann",
"debtorAccount": {
"iban": "AT099900000000001511",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"debtorAgent": null,
"ultimateDebtor": null,
"remittanceInformationUnstructured": "Salary",
"remittanceInformationUnstructuredArray": null,
"remittanceInformationStructured": null,
"remittanceInformationStructuredArray": null,
"additionalInformation": null,
"additionalInformationStructured": null,
"purposeCode": null,
"bankTransactionCode": null,
"proprietaryBankTransactionCode": null,
"balanceAfterTransaction": null,
"_links": null
}
],
"pending": null,
"information": null,
"_links": {
"account": {
"href": "/v1/accounts/AT099900000000001511"
}
}
},
"balances": null,
"_links": null
}
Pending Orders Request - GET /accounts/AT099900000000001511/transactions?bookingStatus=pending
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/AT099900000000001511/transactions?bookingStatus=pending
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2
RESPONSE:
HTTP/1.1 200 OK
{
"account": {
"iban": "AT099900000000001511",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"transactions": {
"booked": null,
"pending": [
{
"transactionId": "22123456",
"entryReference": null,
"endToEndId": null,
"mandateId": null,
"checkId": null,
"creditorId": "",
"bookingDate": "2021-01-20",
"valueDate": null,
"transactionAmount": {
"currency": "EUR",
"amount": "789.89"
},
"currencyExchange": null,
"creditorName": "Pending Order",
"creditorAccount": {
"iban": "AT439900000000010017",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"creditorAgent": null,
"ultimateCreditor": null,
"debtorName": "DebtorName1",
"debtorAccount": {
"iban": "AT099900000000001511",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"debtorAgent": null,
"ultimateDebtor": null,
"remittanceInformationUnstructured": "Pending Order Sent",
"remittanceInformationUnstructuredArray": null,
"remittanceInformationStructured": null,
"remittanceInformationStructuredArray": null,
"additionalInformation": null,
"additionalInformationStructured": null,
"purposeCode": null,
"bankTransactionCode": null,
"proprietaryBankTransactionCode": null,
"balanceAfterTransaction": null,
"_links": null
},
{
"transactionId": "22123457",
"entryReference": null,
"endToEndId": null,
"mandateId": null,
"checkId": null,
"creditorId": "",
"bookingDate": "2021-01-20",
"valueDate": null,
"transactionAmount": {
"currency": "EUR",
"amount": "789.89"
},
"currencyExchange": null,
"creditorName": "DD Pending Order",
"creditorAccount": {
"iban": "AT099900000000001511",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"creditorAgent": null,
"ultimateCreditor": null,
"debtorName": "DebtorName1",
"debtorAccount": {
"iban": "AT439900000000010017",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"debtorAgent": null,
"ultimateDebtor": null,
"remittanceInformationUnstructured": "DD Pending Order Sent",
"remittanceInformationUnstructuredArray": null,
"remittanceInformationStructured": null,
"remittanceInformationStructuredArray": null,
"additionalInformation": null,
"additionalInformationStructured": null,
"purposeCode": null,
"bankTransactionCode": null,
"proprietaryBankTransactionCode": null,
"balanceAfterTransaction": null,
"_links": null
}
],
"information": null,
"_links": {
"account": {
"href": "/v1/accounts/AT099900000000001511"
}
}
},
"balances": null,
"_links": null
}
Standing Orders Request - GET /accounts/AT099900000000001511/transactions?bookingStatus=information
REQUEST:
GET https://sandbox.rbgzveza.at/api/psd2-xs2a/rest/v1/accounts/AT099900000000001511/transactions?bookingStatus=information
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2
RESPONSE:
HTTP/1.1 200 OK
{
"account": {
"iban": "AT099900000000001511",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"transactions": {
"booked": null,
"pending": null,
"information": [
{
"transactionId": "22123458",
"entryReference": null,
"endToEndId": null,
"mandateId": null,
"checkId": null,
"creditorId": "",
"bookingDate": null,
"valueDate": null,
"transactionAmount": {
"currency": "EUR",
"amount": "349.01"
},
"currencyExchange": null,
"creditorName": "",
"creditorAccount": {
"iban": "AT439900000000010017",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"creditorAgent": null,
"ultimateCreditor": null,
"debtorName": "DebtorName1",
"debtorAccount": {
"iban": "AT099900000000001511",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"debtorAgent": null,
"ultimateDebtor": null,
"remittanceInformationUnstructured": "Standing Order: Feb, May, Aug, Nov",
"remittanceInformationUnstructuredArray": null,
"remittanceInformationStructured": null,
"remittanceInformationStructuredArray": null,
"additionalInformation": null,
"additionalInformationStructured": {
"standingOrderDetails": {
"startDate": "2017-02-09",
"frequency": "Monthly",
"endDate": "9999-01-01",
"executionRule": "preceding",
"withinAMonthFlag": null,
"monthsOfExecution": [
"2",
"5",
"8",
"11"
],
"multiplicator": null,
"dayOfExecution": "9",
"limitAmount": null
}
},
"purposeCode": null,
"bankTransactionCode": null,
"proprietaryBankTransactionCode": null,
"balanceAfterTransaction": null,
"_links": null
},
{
"transactionId": "22123459",
"entryReference": null,
"endToEndId": null,
"mandateId": null,
"checkId": null,
"creditorId": "",
"bookingDate": null,
"valueDate": null,
"transactionAmount": {
"currency": "EUR",
"amount": "23.47"
},
"currencyExchange": null,
"creditorName": "",
"creditorAccount": {
"iban": "AT099900000000001511",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"creditorAgent": null,
"ultimateCreditor": null,
"debtorName": "DebtorName1",
"debtorAccount": {
"iban": "AT439900000000010017",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"debtorAgent": null,
"ultimateDebtor": null,
"remittanceInformationUnstructured": "SDD Standing Order: Feb, May, Aug, Dec",
"remittanceInformationUnstructuredArray": null,
"remittanceInformationStructured": null,
"remittanceInformationStructuredArray": null,
"additionalInformation": null,
"additionalInformationStructured": {
"standingOrderDetails": {
"startDate": "2018-02-10",
"frequency": "Monthly",
"endDate": "9999-01-01",
"executionRule": "preceding",
"withinAMonthFlag": null,
"monthsOfExecution": [
"2",
"5",
"8",
"12"
],
"multiplicator": null,
"dayOfExecution": "10",
"limitAmount": null
}
},
"purposeCode": null,
"bankTransactionCode": null,
"proprietaryBankTransactionCode": null,
"balanceAfterTransaction": null,
"_links": null
},
{
"transactionId": "22123460",
"entryReference": null,
"endToEndId": null,
"mandateId": null,
"checkId": null,
"creditorId": "",
"bookingDate": null,
"valueDate": null,
"transactionAmount": {
"currency": "EUR",
"amount": "117.67"
},
"currencyExchange": null,
"creditorName": "",
"creditorAccount": {
"iban": "AT439900000000010017",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"creditorAgent": null,
"ultimateCreditor": null,
"debtorName": "DebtorName1",
"debtorAccount": {
"iban": "AT099900000000001511",
"bban": null,
"pan": null,
"maskedPan": null,
"msisdn": null,
"currency": null
},
"debtorAgent": null,
"ultimateDebtor": null,
"remittanceInformationUnstructured": "Abschöpfer zu jedem Monatsende.",
"remittanceInformationUnstructuredArray": null,
"remittanceInformationStructured": null,
"remittanceInformationStructuredArray": null,
"additionalInformation": null,
"additionalInformationStructured": {
"standingOrderDetails": {
"startDate": "2018-02-10",
"frequency": "Monthly",
"endDate": "9999-01-01",
"executionRule": "preceding",
"withinAMonthFlag": null,
"monthsOfExecution": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12"
],
"multiplicator": null,
"dayOfExecution": "31",
"limitAmount": null
}
},
"purposeCode": null,
"bankTransactionCode": "PMNT-MCOP-OTHR",
"proprietaryBankTransactionCode": null,
"balanceAfterTransaction": null,
"_links": null
}
],
"_links": {
"account": {
"href": "/v1/accounts/AT099900000000001511"
}
}
},
"balances": null,
"_links": null
}