Testing

Find test data to execute test transactions

Access Token API (Test Credentials)

To send a payment you are requested to use OAuth2 authentication and get a token first, using the Oauth2 client credentials flow.

KeyValuePostman Key*
merchantNameepi_payment_sandbox_merchantClient ID
merchantIdcf573e99-6ecc-4ed1-9ce8-c3ed20bdef00-
merchantSecretP5WrSmMKxCOncS8Vkq30vcXvH6tg5zYEClient Secret
tokenUrlhttps://keycloak-apps-test.public.apps.stg.vrpintegration.dev/auth/realms/EPI/protocol/openid-connect/tokenAccess Token URL
Client CredentialsGrant type
Send as Basic Auth headerClient Authentication

*) Key mapping for Postman. When using a different API testing tool, the key mapping may vary.

Request API

Using our reference make sure, all nessasary fields are implemented. Please use the following specific parameters for testing.

fieldnameValue
merchantDetails.Idany
❗️

Please avoid including any personal or company information in your request, as it will be publicly visible.

Enterprise Accounts: Request a dedicated test account through your key account manager.

Authentication of a payment

Only for testing purposes, a web based authentication is provided instead of an authentication by an app. Please follow the steps to authenticate the payment request.

Getting the payment code

After redirecting the customer to the wero authentication page click on "wero code" on the buttom page to receive the authentication code. The QR-Code is not working in test environment.

Click wero code show the authentication code called short id.

Click on the code to copy it to clipboard

Click on the code to copy it to clipboard

The wero code is valid for 10 minutes and will then time out.

Authenticate using the test kit


It is now also possible to create your own wallet for testing purposes. For details see [Creating your own test wallet]


There has been a dedicated consumer (WERO HERO) created along with its wero wallet, you can use for testing.

  1. Open the test kit for the test consumer WERO HERO:

https://example-consumer-psps.werouat.eu/wallets/44084ef4-ecd1-453f-869a-0158807c6424/payment-means/e7e6cbe6-e0a0-4198-b670-f5992280aa9a/consents/create



  1. Paste the wero code in the field for "short id" like 39YAH3S5PS.
  • The page will automatically load the code and display all details from the initial request.
  1. Approve or Deny the initial request by clicking either on "Approve Consent" or "Deny Consent" to finalize the transaction from the shopper's side.

Creating your own test wallet

By giving merchants the option to use their own, more anonymous wallet during onboarding, it is possible to set up such a wallet by following the steps below:

  1. click on https://example-consumer-psps.werouat.eu/consumer-psps/00000000-0000-0000-0000-000000001080/consumers
  2. if you don't have consumer already, click on "Create consumer" and enter consumer details
  3. click on "Accounts" (sidebar)
  4. click on "Create Account"
    1. click on the dice icon to randomize the IBAN and enter a product name
    2. link the newly created consumer to the account by clicking on the "Select Consumer" button and search for your consumer.
  5. click on "Wallets" (sidebar)
    1. click on "Create Wallet"
    2. enter the name with which the wallet will be displayed
    3. link the consumer and consumer account you want to use with this wallet

After clicking on "Create Wallet" the setup is complete.

Annotation: As it is not possible to top up the wallet, please be advised to check the available balance of the test wallet frequently to avoid errors due to unsufficient funds. If you used up the given amount, you need to create a new wallet.


What’s Next

Did this page help you?