Theme
03.00 Golden Deposit Journey
Status: draft for discussion
1. Goal
This document describes the main end-to-end deposit journey for the MVP.
It connects the separate requirements into one business flow.
The goal is to make sure the team understands how a casino player deposit should work from merchant request to final merchant notification.
2. Actors
The journey includes:
- merchant integration;
- customer/player;
- Hosted Payment Page;
- routing;
- provider execution;
- provider callback;
- merchant webhook;
- Back Office investigation.
3. Main Flow
- Merchant creates a deposit through the new API.
- Merchant sends brand, payment method, amount, currency, customer data, redirect URLs, and webhook URLs.
- The system validates whether the request has enough required data to create a transaction.
- If required base data is missing, transaction is not created.
- If base data is valid, transaction is created.
- Merchant receives Hosted Payment URL and transaction identifier.
- Customer opens Hosted Payment Page.
- Hosted Payment Page shows loading while transaction data and routing result are prepared.
- The system starts routing from the selected brand payment method.
- First-level routing selects MASTER MID GROUP.
- MASTER MID GROUP selects MASTER MID.
- MASTER MID second-level routing selects SUB MID GROUP.
- SUB MID GROUP selects SUB MID or SUB MID AGGREGATOR.
- If selected execution option requires additional customer fields, Hosted Payment Page collects them.
- The system sends the payment to the selected execution option.
- Customer is redirected or shown the required payment action.
- Provider sends callback.
- The system validates callback and updates transaction status when allowed.
- Merchant webhook is sent on PROCESSING or final status.
- Transaction can be investigated through Back Office timeline.
4. Important Customer Experience Rules
Customer must not see:
- provider names;
- routing decisions;
- technical statuses;
- raw provider errors;
- internal rejection reasons.
Customer should see:
- loading state when payment is being prepared;
- additional fields form when required;
- clear payment action;
- clear error message if payment cannot continue;
- support reference when needed.
5. Important Merchant Experience Rules
Merchant should receive:
- transaction identifier;
- Hosted Payment URL;
- stable webhook structure;
- status updates;
- business error code and description when transaction fails or is rejected.
Merchant should not receive:
- raw provider errors;
- hidden provider names;
- internal routing attempts;
- internal platform configuration.
6. Important Platform Experience Rules
Platform users should be able to understand:
- which routing rule matched;
- which fallback was used;
- which execution options were skipped and why;
- whether provider callback was accepted, ignored, duplicated, or suspicious;
- whether merchant webhook was sent or retried;
- which configuration version was active.
7. Failure Paths That Must Be Clear
The product must clearly handle:
- missing required base data before transaction creation;
- no matching routing rule and no fallback;
- all execution options rejected by velocity limits;
- provider timeout or provider error;
- provider callback mismatch;
- duplicate provider callback;
- webhook delivery failure;
- transaction expiration;
- manual correction after final status.
8. MVP Success for This Journey
This journey is successful when the first migrated merchant can process a deposit through the new flow and the team can investigate the transaction without reading application logs.
Комментарии
Комментариев пока нет.