Test environment to simulate the payment flow with test data
Authentication
Authentication token should be generated for the sandbox environment.
Sample request
POST oauth2/token HTTP/1.1
Host: auth-sandbox.prod.swifterhq.com
grant_type=client_credentials
&audience=sparc-pay
&client_id=xxxxxxxxxx
&client_secret=xxxxxxxxxx
Server URL
The base URL for the APIs on the sandbox environment is
https://api-sandbox.prod.swifterhq.com/
.
Initiating payment flow
To use the sandbox environment, initialize the JS library with the sandbox
env.
A demo session can also be created and authorized on the dashboard in the Sessions page, using the sessionId generated using the API, on the sandbox mode.
Bank credentials
Use the below credentials to simulate bank account linking and bank account balance refresh.
Provider Name | User Login Name | User Password | MFA Action |
---|---|---|---|
Dag Site | YodTest.site16441.2 | site16441.2 | None |
Dag Site Multilevel | YodTest.site16442.1 | site16442.1 | One Time Password: Choose Any Delivery Method (nothing is sent) When prompted enter: 123456 |
Dag Site SecurityQA | YodTest.site16486.1 | site16486.1 | Challenge Questions: |