Testing & Mock Bank
Test Feezback payment, mandate, payout, AIS, and VIEW flows with Mock Bank on the integration environment..
Test Feezback payment, mandate, and consent flows with Mock Bank before sending real users or real money through production flows.
Feezback provides a Mock Bank that you can use for integration testing and controlled production testing. Use it to validate JWT signing, link generation, redirects, webhook handling, and status processing without using real bank accounts.
Never use Mock Bank with real users or real payments.
Mock Bank credentials
Use these credentials when a flow asks for bank login or account details.
| Field | Value |
|---|---|
| ID | 200200202 |
| Bank code | 120120 mockBank |
| Branch | 001 |
| Account number | 999999 |
Environments
Mock Bank can be used in the integration environment and, when enabled, in production testing.
| Environment | Base behavior |
|---|---|
| Integration | Use lgs-integ01.feezback.cloud and Mock Bank test details. |
Prerequisite to test
Before going live, test each end-to-end flow your integration uses.
| Area | What to verify |
|---|---|
| JWT signing | JWTs are signed with RS512 and accepted by Feezback. |
| Environment routing | Integration requests go to integration domains and production requests go to production domains. |
| Link generation | /link returns a usable link. |
| Token generation | /token returns a bearer token for API-based flows. |
| Redirects | Success, failure, not-complete, and TTL-expired redirects work. |
| Webhooks | Your endpoint receives events and returns HTTP 200 within 3 seconds. |
| Idempotency | Reprocessing the same webhook does not create duplicate business actions. |
| Status handling | Your system handles success, rejection, expiry, partial authorization, and bank-side errors. |
| Account whitelisting | Production creditor accounts are approved before real payments. |
Single/Periodic Payment test
Use Single Payment with the Mock Bank credentials.
Recommended checks:
- Create a FAST JWT with
srv: "fast/user". - Include
encrypt: trueat the JWT top level. - Send the signed JWT to
/link. - Open the returned link.
- Select or enter the Mock Bank details.
- Complete the payment flow.
- Confirm that your webhook receives
PaymentStatusChanged. - Confirm that your system correlates the webhook using
payload.context.
Simulate different results using mockbank account number and different userIdentifier
Mocbank:
| Field | Value |
|---|---|
| Bank code | 120120 |
| Branch | 001 |
| Account number | 999999 |
User identifier:
Mandate test outcomes
Simulate different results using mockbank account number and different userIdentifier
Mocbank:
| Field | Value |
|---|---|
| Bank code | 120120 |
| Branch | 001 |
| Account number | 999999 |
User identifier:
Recommended checks:
- Create a Mandate JWT with
srv: "mandate/user". - Send the signed JWT to
/link. - Complete the flow with the relevant test PSU ID.
- Confirm your webhook receives
MandateStatusChanged. - Confirm your billing system charges only when
currentStatusisvalid.
Bulk Payout test outcomes
Simulate different results using mockbank account number and different userIdentifier
Mocbank:
| Field | Value |
|---|---|
| Bank code | 120120 |
| Branch | 001 |
| Account number | 999999 |
User identifier:
Recommended checks:
- Generate a bearer token with
srv: "seamless/tpp". - Submit a bulk payment request to
/tpp/v1/users/{sub}@{tpp_id}/bulk-payments. - Complete the authorization flow with the relevant test PSU ID.
- Confirm your system handles accepted, rejected, and partially authorized outcomes.
- Confirm your system stores the batch context and payment identifiers.
AIS and VIEW testing
For data products, test the full consent lifecycle.
AIS test checklist
- Create a consent link with
srv: "ais/user". - Complete the consent flow.
- Request a bearer token with
srv: "ais/tpp". - Fetch accounts and related data from the TPP data API.
- Handle consent statuses such as
valid,rejected,expired, andrevokedByPsu.
VIEW test checklist
- Create a consent link with
srv: "view_ais/user". - Complete the consent flow.
- Wait for
UserInsightReady. - Fetch the Insights report.
- Confirm your system handles missing or empty
financialEventsarrays.
Simulate different results using mockbank account number and different userIdentifier
Mocbank:
| Field | Value |
|---|---|
| Bank code | 120120 |
| Branch | 001 |
| Account number | 999999 |
User identifier:
Webhook testing checklist
Test webhooks before going live.
- Whitelist all Feezback webhook IPs for the environment.
- Confirm your webhook endpoint accepts external
POSTrequests. - Confirm it parses JSON request bodies.
- Confirm it stores the full payload.
- Confirm it returns HTTP
200within 3 seconds. - Confirm duplicate events are handled idempotently.
- Confirm unknown fields do not break parsing.
See Webhooks for IP addresses and payload examples.
Go-live readiness checklist
Before production launch:
- Register the production public key with Feezback.
- Confirm production backend IPs are whitelisted.
- Confirm production webhook IPs are whitelisted on your side.
- Confirm production creditor accounts are approved for payments.
- Run one final end-to-end test with the Feezback team when required.
- Confirm your support process for payment, mandate, data, and webhook issues.
Treat testing as complete only after your system has processed both successful and unsuccessful outcomes for every product flow you plan to use.
Updated 7 days ago