How to test the APIs

  • Select an API from the products menu and read the docs.
  • Simply scroll down to uncover the full scope of what’s on offer…
  • You don’t need to be a customer of the Bank to start testing. Simply select “Register” from the top menu.
  • Fill & submit the simple Registration form.
  • You’ll then receive a confirmation email with instructions on the next steps.
  • Once the bank review your profile, you will receive an activation email.
  • Start testing your ideas – we’re here to empower your endeavors!
  • Since you’ve already a registered user you now have access to the necessary credentials to login.
  • So, go ahead & login.
  • Once you do you’ll see an introduction for the Sandbox and view the available accounts, used to connect with the OAuth2 Server.
  • Now you are ready to create your first application.
  • Select the “Create” option from Applications Menu.
  • Now complete the form to create an application and start your tests instantly.
  • Please be careful to use the Product which corresponds to your needs.
  • You will see this screen when you connect to the OAuth2 Server from the application you created.
  • You provide the Client Id and Client Secret in your application’s configuration and in OAuth2 login you choose an account from the available sandbox accounts.
  • In PSD2 cases and transaction initiation, you will not be asked for an OTP since you will provide one during transaction. You can only use payment status and cancel payment scopes in combination with transaction initiation scopes.
  • In PSD2 account requests, you will be asked to give view authority to accounts.
  • In PSD2 transaction initiation, you will be asked to select the debit account.
  • This screen will not be available in B2B cases.
  • After a successful OAuth2 login, you need to grant access to APIs.
  • Then, OAuth2 redirects you to the client’s redirect url with a client token.
  • In the backend, client sends the code to OAuth2 and receives an access token which is used in every API call.
  • Now, we are ready to call the APIs, following the instructions in API docs.
  • In case of PSD2, please sign the payload of HTTP POST & PUT requests with the private key of the certificate(x-signature header). In sandbox a dummy value is enough.
  • After payment submission, if you do not have validation errors, you will receive an HTTP 302 redirect with Location header containing the url for OTP page. B2B will receive an HTTP 200 response.
  • You have to enter the otp based on the selected method. For sandbox OTP is 123456.
  • After a successful submission, you will get a success page.
  • Once you have used the redirectUrl or errorRedirectUrl parameter, you will be redirected there.
  • In PSD2, each access token can be used for one payment submission. Then, you can only get status or cancel the created payment.
  • Here you view all your accounts available in Sandbox.
  • You can transfer money between these accounts and get balances.
  • Whenever you want, you can Reset your Sandbox & Account simply by clicking on the “Clear Transactions”.
  • When choosing an account, you can view all the transactions you’ve made with that account.
  • In ‘Logs’ sections you can view all the calls you’ve made to the APIs and the returned status.