PSD2 API SANDBOX TEST CASES

Consent-IDs

The following Consent-IDs are supported:

Consent-IDsIBANAccount NameResponses
e6151d43-dca8-4fe1-b139-3a89bfeb57a2AT439900000000010017Georg MustermannValid
AT099900000000001511Marianne MustermannValid
58bf4a5e-11e8-46d4-a3e2-8372cdfcd023AT959900000000012476Susanne MustermannValid
AT079900000000070029Franz MustermannValid
baf31bce-34b2-437a-b9c3-4e044c0bfb04AT419900000000916809Erwin MustermannExpired
ca2636e6-02f6-4c9d-ae29-051b23a61c11--Unknown

All of the Test Case requests with valid Consent-IDs listed below use the Consent-ID e6151d43-dca8-4fe1-b139-3a89bfeb57a2.

Consent test cases

This request creates a consent resource for the account AT099900000000001511 - POST /consents

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/consents
Authorization: Bearer <Access-Token>
Content-Type: application/json
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
TPP-Redirect-URI: http://example-redirect-uri.com
PSU-IP-Address: 127.0.0.1

{
  "access": {
    "balances": [
      {
        "iban": "AT099900000000001511"
      }
    ],
    "transactions": []
  },
  "recurringIndicator": true,
  "validUntil": "9999-12-31",
  "frequencyPerDay": 4
}

RESPONSE:

HTTP/1.1 200 OK

{
  "consentStatus": "received",
  "consentId": "e6151d43-dca8-4fe1-b139-3a89bfeb57a2",
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "_links": {
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?consent_id=e6151d43-dca8-4fe1-b139-3a89bfeb57a2&redirectBackUrl=http%3A%2F%2Fexample-redirect-uri.com"
    },
    "self": {
      "href": "/v1/consents/e6151d43-dca8-4fe1-b139-3a89bfeb57a2"
    },
    "status": {
      "href": "/v1/consents/e6151d43-dca8-4fe1-b139-3a89bfeb57a2/status"
    }
  }
}

This request returns the content of the account information consent object for the Consent-ID e6151d43-dca8-4fe1-b139-3a89bfeb57a2 – GET /consents/e6151d43-dca8-4fe1-b139-3a89bfeb57a2/status

REQUEST:

GET https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/consents/e6151d43-dca8-4fe1-b139-3a89bfeb57a2/status
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721

RESPONSE:

HTTP/1.1 200 OK

{
  "consentStatus": "valid"
}

Delete consent request for Consent-ID e6151d43-dca8-4fe1-b139-3a89bfeb57a2 – DELETE /consents/e6151d43-dca8-4fe1-b139-3a89bfeb57a2

REQUEST:

DELETE https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/consents/e6151d43-dca8-4fe1-b139-3a89bfeb57a2
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721

RESPONSE:

HTTP/1.1 204 No Content

Expired Consent Status Request for Consent-ID baf31bce-34b2-437a-b9c3-4e044c0bfb04 (expired) – GET /consents/baf31bce-34b2-437a-b9c3-4e044c0bfb04/status

REQUEST:

GET https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/consents/baf31bce-34b2-437a-b9c3-4e044c0bfb04/status
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721

RESPONSE:

HTTP/1.1 200 OK

{
  "consentStatus": "expired"
}

Invalid Consent Status Request for Consent-ID ca2636e6-02f6-4c9d-ae29-051b23a61c11 (invalid) – GET /consents/ca2636e6-02f6-4c9d-ae29-051b23a61c11/status

REQUEST:

GET https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/consents/ca2636e6-02f6-4c9d-ae29-051b23a61c11/status
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721

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
}

This request creates a consent resource for all for PSD2 available accounts of the debitor - POST /consents

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/consents
Authorization: Bearer <Access-Token>
Content-Type: application/json
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
TPP-Redirect-URI: http://example-redirect-uri.com
PSU-IP-Address: 127.0.0.1

{
  "access": {
    "availableAccounts": "allAccounts"
  },
  "recurringIndicator": false,
  "validUntil": "2021-04-26",
  "frequencyPerDay": 1
}

RESPONSE:

HTTP/1.1 200 OK

{
  "consentStatus": "valid",
  "consentId": "8edfea3a-a660-11eb-bcbc-0242ac130002",
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "_links": {
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?consent_id=8edfea3a-a660-11eb-bcbc-0242ac130002&redirectBackUrl=https%3A%2F%2Fpsd2.dev.pi.wien01.rbgi.at%2Fpsd2-rsg-tpp%2F%3Fpt_blz%3D34000%23%2Fsandbox%2Fconfig"
    },
    "self": {
      "href": "/v1/consents/8edfea3a-a660-11eb-bcbc-0242ac130002"
    },
    "status": {
      "href": "/v1/consents/8edfea3a-a660-11eb-bcbc-0242ac130002/status"
    }
  }
}

This request returns the content of the account information consent object for the Consent-ID 8edfea3a-a660-11eb-bcbc-0242ac130002 - GET /consents/8edfea3a-a660-11eb-bcbc-0242ac130002

REQUEST:

GET https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/consents/8edfea3a-a660-11eb-bcbc-0242ac130002
Authorization: Bearer <Access-Token>
Content-Type: application/json
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721

RESPONSE:

HTTP/1.1 200 OK

{
  "access": {
    "accounts": [
      {
        "iban": "AT959900000000012476",
        "bban": null,
        "pan": null,
        "maskedPan": null,
        "msisdn": null,
        "currency": null
      },
      {
        "iban": "AT079900000000070029",
        "bban": null,
        "pan": null,
        "maskedPan": null,
        "msisdn": null,
        "currency": null
      }
    ],
    "balances": [],
    "transactions": [],
    "additionalInformation": null,
    "availableAccounts": null,
    "availableAccountsWithBalance": null,
    "allPsd2": null,
    "restrictedTo": null
  },
  "recurringIndicator": false,
  "validUntil": "2021-04-30",
  "frequencyPerDay": 1,
  "lastActionDate": "2021-04-30",
  "consentStatus": "valid",
  "_links": null
}

 

Account information service (AIS) test cases

Account list request - GET /accounts/?withBalance=true

REQUEST:

GET https://sandbox.raiffeisen.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.raiffeisen.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.raiffeisen.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.raiffeisen.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.raiffeisen.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.raiffeisen.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.raiffeisen.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.raiffeisen.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.raiffeisen.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.raiffeisen.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.raiffeisen.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.raiffeisen.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.raiffeisen.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.raiffeisen.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
}

Payment Initiation Service (PIS) test cases

Sepa credit transfer initiation request - POST / payments / sepa-credit-transfers

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/sepa-credit-transfers
Authorization: Bearer <access token>
Content-Type: application / json
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
TPP-Redirect-URI: http://example-redirect-uri.com
PSU-IP-Address: 127.0.0.1

{
  "creditorName": "Good Trader",
  "creditorAgent": "ABCDATWW",
  "creditorAccount": {
    "iban": "AT345678901234567890"
  },
  "debtorAccount": {
    "iban": "AT439900000000010017",
    "currency": "EUR"
  },
  "instructedAmount": {
    "amount": "263.76",
    "currency": "EUR"
  },
  "endToEndIdentification": "Present for Lisa",
  "remittanceInformationStructured": {
    "reference": "FG23491472ST"
  }
}

RESPONSE:

HTTP / 1.1 200 OK

{
  "transactionStatus": "RCVD",
  "paymentId": "3ab02e64-4701-4208-93ad-122895ea8eb9",
  "transactionFees": null,
  "currencyConversionFee": null,
  "estimatedTotalAmount": null,
  "estimatedInterbankSettlementAmount": null,
  "transactionFeeIndicator": null,
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "tppMessages": null,
  "_Left": {
    "scaStatus": {
      "href": "/ v1 / payments / sepa-credit-transfers / 3ab02e64-4701-4208-93ad-122895ea8eb9 / authorizations / authorization_not_yet_available"
    },
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?payment_id=3ab02e64-4701-4208-93ad-122895ea8eb9&service=payments&product=sepa-credit-transfers&redirectBackUrl=http%3Fexample-%2F%2 redirect-uri.com "
    },
    "self": {
      "href": "/ v1 / payments / sepa-credit-transfers / 3ab02e64-4701-4208-93ad-122895ea8eb9"
    },
    "status": {
      "href": "/ v1 / payments / sepa-credit-transfers / 3ab02e64-4701-4208-93ad-122895ea8eb9 / status"
    }
  }
}

Sepa credit transfer overall status request - GET / payments / sepa-credit-transfers / [id]

REQUEST:

GET https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/sepa-credit-transfers/ Genealogie {created_payment_id}}
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721

RESPONSE:

HTTP / 1.1 200 OK
{
  "endToEndIdentification": "Present for Lisa",
  "debtorAccount": {
    "iban": "AT439900000000010017",
    "bban": null,
    "pan": zero,
    "maskedPan": null,
    "msisdn": null,
    "currency": "EUR"
  },
  "instructedAmount": {
    "currency": "EUR",
    "amount": "263.76"
  },
  "creditorAccount": {
    "iban": "AT345678901234567890",
    "bban": null,
    "pan": zero,
    "maskedPan": null,
    "msisdn": null,
    "currency": null
  },
  "creditorAgent": null,
  "creditorName": "Good Trader",
  "creditorAddress": null,
  "remittanceInformationUnstructured": null,
  "remittanceInformationStructured": {
    "reference": "FG23491472ST",
    "referenceType": null,
    "referenceIssuer": null
  },
  "transactionStatus": "RCVD",
  "creditorAgentIdType": null,
  "creditorAgentOtherId": null
}

Sepa credit transfer status request - GET / payments / sepa-credit-transfers / [id] / status

REQUEST:

GET https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/sepa-credit-transfers/ef69f1c6-a9cf-4e49-8224-f929fdd908cb/status
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "ACSP",
  "fundsAvailable": null,
  "psuMessage": null
}

Sepa credit transfer initiation request (insufficient funds) - POST / payments / sepa-credit-transfers

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/sepa-credit-transfers
Content-Type: application / json
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
TPP-Redirect-URI: http://example-redirect-uri.com
PSU-IP-Address: 127.0.0.1
{
  "creditorName": "Better trader",
  "creditorAgent": "ABCDATWW",
  "creditorAccount": {
    "iban": "AT345678901234567890"
  },
  "debtorAccount": {
    "iban": "AT099900000000001511",
    "currency": "EUR"
  },
  "instructedAmount": {
    "amount": "2899.76",
    "currency": "EUR"
  },
  "endToEndIdentification": "Too expensive purchase",
  "remittanceInformationStructured": {
    "reference": "FG77777777ST"
  }
}

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "RCVD",
  "paymentId": "4dba9547-1c1c-4446-b5dc-ab1af5284629",
  "transactionFees": null,
  "currencyConversionFee": null,
  "estimatedTotalAmount": null,
  "estimatedInterbankSettlementAmount": null,
  "transactionFeeIndicator": null,
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "tppMessages": null,
  "_Left": {
    "scaStatus": {
      "href": "/ v1 / payments / sepa-credit-transfers / 4dba9547-1c1c-4446-b5dc-ab1af5284629 / authorizations / authorization_not_yet_available"
    },
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?payment_id=4dba9547-1c1c-4446-b5dc-ab1af5284629&service=payments&product=sepa-credit-transfers&redirect%2Fex2> redirect-uri.com "
    },
    "self": {
      "href": "/ v1 / payments / sepa-credit-transfers / 4dba9547-1c1c-4446-b5dc-ab1af5284629"
    },
    "status": {
      "href": "/ v1 / payments / sepa-credit-transfers / 4dba9547-1c1c-4446-b5dc-ab1af5284629 / status"
    }
  }
}

Sepa credit transfer overall status request (insufficient funds) - GET / payments / sepa-credit-transfers / 5048f4b3-6c48-4b82-8283-769f731af563

REQUEST:

GET https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/sepa-credit-transfers/5048f4b3-6c48-4b82-8283-769f731af563
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721

RESPONSE:

HTTP / 1.1 200 OK
{
  "endToEndIdentification": "Thanks for your purchase",
  "debtorAccount": {
    "iban": "AT099900000000001511",
    "bban": null,
    "pan": zero,
    "maskedPan": null,
    "msisdn": null,
    "currency": null
  },
  "instructedAmount": {
    "currency": "EUR",
    "amount": "2899.76"
  },
  "creditorAccount": {
    "iban": "AT809900000123456789",
    "bban": null,
    "pan": zero,
    "maskedPan": null,
    "msisdn": null,
    "currency": null
  },
  "creditorAgent": null,
  "creditorName": "Marketplace",
  "creditorAddress": {
    "streetName": null,
    "buildingNumber": null,
    "townName": null,
    "postCode": null,
    "country": "AT"
  },
  "remittanceInformationUnstructured": null,
  "remittanceInformationStructured": {
    "reference": "FG77777777ST",
    "referenceType": null,
    "referenceIssuer": null
  },
  "transactionStatus": "RJCT",
  "creditorAgentIdType": null,
  "creditorAgentOtherId": null
}

Sepa credit transfer status request (insufficient funds) - GET / payments / sepa-credit-transfers / 5048f4b3-6c48-4b82-8283-769f731af563 / status

REQUEST:

GET https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/sepa-credit-transfers/5048f4b3-6c48-4b82-8283-769f731af563/status
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "RJCT",
  "fundsAvailable": null,
  "psuMessage": null
}

Sepa credit transfer initiation request with future execution date - POST / payments / sepa-credit-transfers

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/sepa-credit-transfers
Content-Type: application / json
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
TPP-Redirect-URI: http://example-redirect-uri.com
PSU-IP-Address: 127.0.0.1
{
  "creditorName": "Better trader",
  "creditorAgent": "ABCDATWW",
  "creditorAccount": {
    "iban": "AT345678901234567890"
  },
  "debtorAccount": {
    "iban": "AT099900000000001511",
    "currency": "EUR"
  },
  "instructedAmount": {
    "amount": "2899.76",
    "currency": "EUR"
  },
  "endToEndIdentification": "Too expensive purchase",
  "remittanceInformationStructured": {
    "reference": "FG77777777ST"
  },
  "requestedExecutionDate": "2021-01-21"
}

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "RCVD",
  "paymentId": "05edfa49-afeb-42ff-bcab-9c1726302656",
  "transactionFees": null,
  "currencyConversionFee": null,
  "estimatedTotalAmount": null,
  "estimatedInterbankSettlementAmount": null,
  "transactionFeeIndicator": null,
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "tppMessages": null,
  "_Left": {
    "scaStatus": {
      "href": "/ v1 / payments / sepa-credit-transfers / 05edfa49-afeb-42ff-bcab-9c1726302656 / authorizations / authorization_not_yet_available"
    },
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?payment_id=05edfa49-afeb-42ff-bcab-9c1726302656&service=payments&product=sepa-credit-transfers&redirectBackUrl=http%2Fex%2F redirect-uri.com "
    },
    "self": {
      "href": "/ v1 / payments / sepa-credit-transfers / 05edfa49-afeb-42ff-bcab-9c1726302656"
    },
    "status": {
      "href": "/ v1 / payments / sepa-credit-transfers / 05edfa49-afeb-42ff-bcab-9c1726302656 / status"
    }
  }
}

Instant Sepa Credit Transfer initiation request - POST / payments / instant-sepa-credit-transfers

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/instant-sepa-credit-transfers
Content-Type: application / json
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
TPP-Redirect-URI: http://example-redirect-uri.com
PSU-IP-Address: 127.0.0.1
{
  "creditorName": "Instant Tester",
  "creditorAgent": "ABCDATWW",
  "creditorAccount": {
    "iban": "AT959900000000012476"
  },
  "debtorAccount": {
    "iban": "AT099900000000001511",
    "currency": "EUR"
  },
  "instructedAmount": {
    "amount": "99.99",
    "currency": "EUR"
  },
  "endToEndIdentification": "",
  "remittanceInformationStructured": {
    "reference": "Instant Payment"
  },
  "requestedExecutionDate": ""
}

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "RCVD",
  "paymentId": "a9586357-784f-4dad-8f9a-8de01de0e8ff",
  "transactionFees": null,
  "currencyConversionFee": null,
  "estimatedTotalAmount": null,
  "estimatedInterbankSettlementAmount": null,
  "transactionFeeIndicator": null,
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "tppMessages": null,
  "_Left": {
    "scaStatus": {
      "href": "/ v1 / payments / instant-sepa-credit-transfers / a9586357-784f-4dad-8f9a-8de01de0e8ff / authorizations / authorization_not_yet_available"
    },
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?payment_id=a9586357-784f-4dad-8f9a-8de01de0e8ff&service=payments&product=instant-sepa-credit-transfers&redirectBackUrl=http%3&redirectBackUrl=http%3&redirectBackUrl=http%3 2Fexample-redirect-uri.com "
    },
    "self": {
      "href": "/ v1 / payments / instant-sepa-credit-transfers / a9586357-784f-4dad-8f9a-8de01de0e8ff"
    },
    "status": {
      "href": "/ v1 / payments / instant-sepa-credit-transfers / a9586357-784f-4dad-8f9a-8de01de0e8ff / status"
    }
  }
}

Cross Border Credit Transfer initiation request - POST / payments / cross-border-credit-transfers

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/cross-border-credit-transfers
Content-Type: application / json
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
TPP-Redirect-URI: http://example-redirect-uri.com
PSU-IP-Address: 127.0.0.1
{
  "debtorAccount": {
    "iban": "AT099900000000001511",
    "currency": "EUR"
  },
  "creditorAccount": {
    "iban": "BA391290079401028494"
  },
  "creditorAgent": "ZABAHR2XXXX",
  "creditorAccountBban": "",
  "creditorAgentOtherId": "",
  "creditorAgentIdType": "HR",
  "creditorAgentName": "Bank of Zagrebacka banka",
  "creditorName": "Port Authority Zadar",
  "creditorAddressStreet": "Liburnska obala",
  "creditorAddressBuildingNumber": "8",
  "creditorAddressCity": "Zadar",
  "creditorAddressPostalCode": "23000",
  "creditorAddressCountryCode": "BA",
  "instructedAmount": {
    "amount": "98.63",
    "currency": "HRK"
  },
  "endToEndIdentification": "142343218765",
  "remittanceInformationUnstructured": "Remittance Unstructured",
  "requestedExecutionDate": "2021-01-21",
  "chargeBearer": "DEBT"
}

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "RCVD",
  "paymentId": "bedd16a2-0086-4d23-b7f0-78fd37f0c8a6",
  "transactionFees": null,
  "currencyConversionFee": null,
  "estimatedTotalAmount": null,
  "estimatedInterbankSettlementAmount": null,
  "transactionFeeIndicator": null,
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "tppMessages": null,
  "_Left": {
    "scaStatus": {
      "href": "/ v1 / payments / cross-border-credit-transfers / bedd16a2-0086-4d23-b7f0-78fd37f0c8a6 / authorizations / authorization_not_yet_available"
    },
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?payment_id=bedd16a2-0086-4d23-b7f0-78fd37f0c8a6&service=payments&product=cross-border-credit-transfers&redirectBackUrl3=http%F 2Fexample-redirect-uri.com "
    },
    "self": {
      "href": "/ v1 / payments / cross-border-credit-transfers / bedd16a2-0086-4d23-b7f0-78fd37f0c8a6"
    },
    "status": {
      "href": "/ v1 / payments / cross-border-credit-transfers / bedd16a2-0086-4d23-b7f0-78fd37f0c8a6 / status"
    }
  }
}

Bulk Payment initiation request - POST / bulk-payments / sepa-credit-transfers

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/bulk-payments/sepa-credit-transfers
Content-Type: application / json
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
TPP-Redirect-URI: http://example-redirect-uri.com
PSU-IP-Address: 127.0.0.1
{
  "debtorAccount": {
    "iban": "AT439900000000010017",
    "currency": "EUR"
  },
  "requestedExecutionDate": null,
  "creditorIban": [
    "BE95001000000101",
    "IT0912345223452234523523452"
  ],
  "creditorName": [
    "Max Verstappen",
    "Antonio Giovinazzi"
  ],
  "amount": [
    "301.10",
    "199.99"
  ],
  "amountCurrency": [
    "EUR",
    "EUR"
  ],
  "e2eIdentification": [
    "1234567890",
    "1234567890"
  ],
  "remittanceInformationUnstructured": [
    "Belgian Waffles",
    "Romeo And Juliet Sweet Plate Desert Dish"
  ],
  "remittanceInformationStructured": [
    zero,
    zero
  ]
}

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "RCVD",
  "paymentId": "7d020a22-9423-469c-a72a-51849a471c7c",
  "transactionFees": null,
  "currencyConversionFee": null,
  "estimatedTotalAmount": null,
  "estimatedInterbankSettlementAmount": null,
  "transactionFeeIndicator": null,
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "tppMessages": null,
  "_Left": {
    "scaStatus": {
      "href": "/ v1 / bulk-payments / sepa-credit-transfers / 7d020a22-9423-469c-a72a-51849a471c7c / authorizations / authorization_not_yet_available"
    },
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?payment_id=7d020a22-9423-469c-a72a-51849a471c7c&service=bulk-payments&product=sepa-credit-transfers&redirectBackUrl=http%F% 2Fexample-redirect-uri.com "
    },
    "self": {
      "href": "/ v1 / bulk-payments / sepa-credit-transfers / 7d020a22-9423-469c-a72a-51849a471c7c"
    },
    "status": {
      "href": "/ v1 / bulk-payments / sepa-credit-transfers / 7d020a22-9423-469c-a72a-51849a471c7c / status"
    }
  }
}

Periodic Payment initiation request - POST / periodic-payments / sepa-credit-transfers

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/periodic-payments/sepa-credit-transfers
Content-Type: application / json
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
TPP-Redirect-URI: http://example-redirect-uri.com
PSU-IP-Address: 127.0.0.1
{
  "debtorAccount": {
    "iban": "AT439900000000010017",
    "currency": "EUR"
  },
  "requestedExecutionDate": null,
  "creditorAccount": {
    "iban": "AT099900000000001511"
  },
  "creditorName": "Erwin",
  "creditorAdress": "AT; Vienna; 1010; Carincia Street; 88",
  "instructedAmount": {
    "amount": "263.76",
    "currency": "EUR"
  },
  "e2eIdentification": "e2e",
  "remittanceInformationUnstructured": "",
  "remittanceInformationStructured": {
    "reference": "Working Periodic Payment"
  },
  "endDate": "2099-01-01",
  "startDate": "2021-01-21",
  "frequency": "Monthly",
  "dayOfExecution": null
}

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "RCVD",
  "paymentId": "e504b5e6-0bb6-4d9c-bb85-5ce4275a60e1",
  "transactionFees": null,
  "currencyConversionFee": null,
  "estimatedTotalAmount": null,
  "estimatedInterbankSettlementAmount": null,
  "transactionFeeIndicator": null,
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "tppMessages": null,
  "_Left": {
    "scaStatus": {
      "href": "/ v1 / periodic-payments / sepa-credit-transfers / e504b5e6-0bb6-4d9c-bb85-5ce4275a60e1 / authorizations / authorization_not_yet_available"
    },
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?payment_id=e504b5e6-0bb6-4d9c-bb85-5ce4275a60e1&service=periodic-payments&product=sepa-credit-transfers&redirectBackUrl3=%htt2 2Fexample-redirect-uri.com "
    },
    "self": {
      "href": "/ v1 / periodic-payments / sepa-credit-transfers / e504b5e6-0bb6-4d9c-bb85-5ce4275a60e1"
    },
    "status": {
      "href": "/ v1 / periodic-payments / sepa-credit-transfers / e504b5e6-0bb6-4d9c-bb85-5ce4275a60e1 / status"
    }
  }
}

Sepa credit transfer initiation request - POST / payments / sepa-credit-transfers

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/sepa-credit-transfers
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
PSU-IP-Address: 127.0.0.1
{
  "creditorName": "Good Trader",
  "creditorAgent": "ABCDATWW",
  "creditorAccount": {
    "iban": "AT345678901234567890"
  },
  "debtorAccount": {
    "iban": "AT439900000000010017",
    "currency": "EUR"
  },
  "instructedAmount": {
    "amount": "263.76",
    "currency": "EUR"
  },
  "endToEndIdentification": "Present for Lisa",
  "remittanceInformationStructured": {
    "reference": "FG23491472ST"
  }
}

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "RCVD",
  "paymentId": "26aac4ad-442b-4bb7-8644-d75da8b518d8",
  "transactionFees": null,
  "currencyConversionFee": null,
  "estimatedTotalAmount": null,
  "estimatedInterbankSettlementAmount": null,
  "transactionFeeIndicator": null,
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "tppMessages": null,
  "_Left": {
    "scaStatus": {
      "href": "/ v1 / payments / sepa-credit-transfers / 26aac4ad-442b-4bb7-8644-d75da8b518d8 / authorizations / authorization_not_yet_available"
    },
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?payment_id=26aac4ad-442b-4bb7-8644-d75da8b518d8&service=payments&product=sepa-credit-transfers"
    },
    "self": {
      "href": "/ v1 / payments / sepa-credit-transfers / 26aac4ad-442b-4bb7-8644-d75da8b518d8"
    },
    "status": {
      "href": "/ v1 / payments / sepa-credit-transfers / 26aac4ad-442b-4bb7-8644-d75da8b518d8 / status"
    }
  }
}

Sepa credit transfer cancellation request - DELETE / payments / sepa-credit-transfers / [id]

REQUEST:

DELETE https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/sepa-credit-transfers/ Genealogie {created_payment_id}}
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
PSU-IP-Address: 127.0.0.1

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "CANC",
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "_links": null
}

Cross Border Credit Transfer initiation request - POST / payments / cross-border-credit-transfers

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/cross-border-credit-transfers
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
PSU-IP-Address: 127.0.0.1
{
  "debtorAccount": {
    "iban": "AT099900000000001511",
    "currency": "EUR"
  },
  "creditorAccount": {
    "iban": "BA391290079401028494"
  },
  "creditorAgent": "ZABAHR2XXXX",
  "creditorAccountBban": "",
  "creditorAgentOtherId": "",
  "creditorAgentIdType": "HR",
  "creditorAgentName": "Bank of Zagrebacka banka",
  "creditorName": "Port Authority Zadar",
  "creditorAddressStreet": "Liburnska obala",
  "creditorAddressBuildingNumber": "8",
  "creditorAddressCity": "Zadar",
  "creditorAddressPostalCode": "23000",
  "creditorAddressCountryCode": "BA",
  "instructedAmount": {
    "amount": "98.63",
    "currency": "HRK"
  },
  "endToEndIdentification": "142343218765",
  "remittanceInformationUnstructured": "Remittance Unstructured",
  "requestedExecutionDate": "2021-04-15",
  "chargeBearer": "DEBT"
}

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "RCVD",
  "paymentId": "8ed9844f-e360-45c3-8fcd-6a33c88076f3",
  "transactionFees": null,
  "currencyConversionFee": null,
  "estimatedTotalAmount": null,
  "estimatedInterbankSettlementAmount": null,
  "transactionFeeIndicator": null,
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "tppMessages": null,
  "_Left": {
    "scaStatus": {
      "href": "/ v1 / payments / cross-border-credit-transfers / 8ed9844f-e360-45c3-8fcd-6a33c88076f3 / authorizations / authorization_not_yet_available"
    },
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?payment_id=8ed9844f-e360-45c3-8fcd-6a33c88076f3&service=payments&product=cross-border-credit-transfers"
    },
    "self": {
      "href": "/ v1 / payments / cross-border-credit-transfers / 8ed9844f-e360-45c3-8fcd-6a33c88076f3"
    },
    "status": {
      "href": "/ v1 / payments / cross-border-credit-transfers / 8ed9844f-e360-45c3-8fcd-6a33c88076f3 / status"
    }
  }
}

Cross Border Credit Transfer cancellation request - DELETE / payments / cross-border-credit-transfers / [id]

REQUEST:

DELETE https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/payments/cross-border-credit-transfers/ Genealogie {created_payment_id}}
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
PSU-IP-Address: 127.0.0.1

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "CANC",
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "_links": null
}

Periodic Payment initiation request - POST / periodic-payments / sepa-credit-transfers

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/periodic-payments/sepa-credit-transfers
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
PSU-IP-Address: 127.0.0.1
{
  "debtorAccount": {
    "iban": "AT439900000000010017",
    "currency": "EUR"
  },
  "requestedExecutionDate": null,
  "creditorAccount": {
    "iban": "AT099900000000001511"
  },
  "creditorName": "Erwin",
  "creditorAdress": "AT; Vienna; 1010; Carincia Street; 88",
  "instructedAmount": {
    "amount": "263.76",
    "currency": "EUR"
  },
  "e2eIdentification": "e2e",
  "remittanceInformationUnstructured": "",
  "remittanceInformationStructured": {
    "reference": "Working Periodic Payment"
  },
  "endDate": "2099-01-01",
  "startDate": "2021-05-08",
  "frequency": "Monthly",
  "dayOfExecution": null
}

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "RCVD",
  "paymentId": "78393271-5e28-45f5-ad67-6a26ed7fa8a6",
  "transactionFees": null,
  "currencyConversionFee": null,
  "estimatedTotalAmount": null,
  "estimatedInterbankSettlementAmount": null,
  "transactionFeeIndicator": null,
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "tppMessages": null,
  "_Left": {
    "scaStatus": {
      "href": "/ v1 / periodic-payments / sepa-credit-transfers / 78393271-5e28-45f5-ad67-6a26ed7fa8a6 / authorizations / authorization_not_yet_available"
    },
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?payment_id=78393271-5e28-45f5-ad67-6a26ed7fa8a6&service=periodic-payments&product=sepa-credit-transfers"
    },
    "self": {
      "href": "/ v1 / periodic-payments / sepa-credit-transfers / 78393271-5e28-45f5-ad67-6a26ed7fa8a6"
    },
    "status": {
      "href": "/ v1 / periodic-payments / sepa-credit-transfers / 78393271-5e28-45f5-ad67-6a26ed7fa8a6 / status"
    }
  }
}

Periodic Payment cancellation request - DELETE / periodic payments / sepa credit transfers / [id]

REQUEST:

DELETE https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/periodic-payments/sepa-credit-transfers/ Genealogie {created_payment_id}}
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
PSU-IP-Address: 127.0.0.1

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "CANC",
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "_links": null
}

Bulk Payment initiation request - POST / bulk-payments / sepa-credit-transfers

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/bulk-payments/sepa-credit-transfers
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
PSU-IP-Address: 127.0.0.1
{
  "debtorAccount": {
    "iban": "AT439900000000010017",
    "currency": "EUR"
  },
  "requestedExecutionDate": null,
  "creditorIban": [
    "BE95001000000101",
    "IT0912345223452234523523452"
  ],
  "creditorName": [
    "Max Verstappen",
    "Antonio Giovinazzi"
  ],
  "amount": [
    "301.10",
    "199.99"
  ],
  "amountCurrency": [
    "EUR",
    "EUR"
  ],
  "e2eIdentification": [
    "1234567890",
    "1234567890"
  ],
  "remittanceInformationUnstructured": [
    "Belgian Waffles",
    "Romeo And Juliet Sweet Plate Desert Dish"
  ],
  "remittanceInformationStructured": [
    zero,
    zero
  ]
}

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "RCVD",
  "paymentId": "5c98c19f-6c76-41fb-a798-bf8c32450b09",
  "transactionFees": null,
  "currencyConversionFee": null,
  "estimatedTotalAmount": null,
  "estimatedInterbankSettlementAmount": null,
  "transactionFeeIndicator": null,
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "psuMessage": null,
  "tppMessages": null,
  "_Left": {
    "scaStatus": {
      "href": "/ v1 / bulk-payments / sepa-credit-transfers / 5c98c19f-6c76-41fb-a798-bf8c32450b09 / authorizations / authorization_not_yet_available"
    },
    "scaRedirect": {
      "href": "https://sandbox.raiffeisen.at/psd2-xs2a-sandbox/?payment_id=5c98c19f-6c76-41fb-a798-bf8c32450b09&service=bulk-payments&product=sepa-credit-transfers"
    },
    "self": {
      "href": "/ v1 / bulk-payments / sepa-credit-transfers / 5c98c19f-6c76-41fb-a798-bf8c32450b09"
    },
    "status": {
      "href": "/ v1 / bulk-payments / sepa-credit-transfers / 5c98c19f-6c76-41fb-a798-bf8c32450b09 / status"
    }
  }
}

Bulk payment cancellation request - DELETE / bulk payments / sepa credit transfers / [id]

REQUEST:

DELETE https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/bulk-payments/sepa-credit-transfers/ Genealogie {created_payment_id}}
Authorization: Bearer <access token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
PSU-IP-Address: 127.0.0.1

RESPONSE:

HTTP / 1.1 200 OK
{
  "transactionStatus": "CANC",
  "scaMethods": null,
  "chosenScaMethod": null,
  "challengeData": null,
  "_links": null
}

Confirmation of funds service (PIIS) test cases

Funds confirmations request - POST /funds-confirmations – funds available

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/funds-confirmations
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2

{
  "account": {
    "iban": "AT439900000000010017",
    "currency": "EUR"
  },
  "instructedAmount": {
    "amount": "128",
    "currency": "EUR"
  }
}

RESPONSE:

HTTP/1.1 200 OK

{
  "fundsAvailable": true
}

 

 

Funds confirmations request – POST /funds-confirmations – funds not available

REQUEST:

POST https://sandbox.raiffeisen.at/api/psd2-xs2a/rest/v1/funds-confirmations
Authorization: Bearer <Access-Token>
X-Request-ID: 99391c7e-ad88-49ec-a2ad-99ddcb1f7721
Consent-ID: e6151d43-dca8-4fe1-b139-3a89bfeb57a2

{
  "account": {
    "iban": "AT439900000000010017",
    "currency": "EUR"
  },
  "instructedAmount": {
    "amount": "49999",
    "currency": "EUR"
  }
}

RESPONSE:

HTTP/1.1 200 OK

{
  "fundsAvailable": false
}