Skip to main content
Back to all insights
Payment Gateway เว็บพนัน2026-12-05·12 min read

Player Transferred Funds Read as Not Credited: Step-by-Step Troubleshooting from Bank Slip to Game Wallet

An operational SOP for support leads, shift supervisors, and backend teams to diagnose missing deposits in under 2 minutes across 4 boundaries, with a fixed 5-step API triage sequence, an illustrative Sandbox simulation, and night-shift RBAC guardrails.

Reviewed by the SF PayGate Payment Engineering & Reconciliation Desk · Updated December 2026

Player Transferred Funds Read as Not Credited: Step-by-Step Troubleshooting from Bank Slip to Game Wallet

Summary

When a player on an automated gambling payment gateway claims they completed a bank transfer without receiving game credit, support staff must never trust a chat screenshot at face value or credit balances by hand. The 2-minute SOP is to look up merchant_ref_id, query authoritative state via GET /api/v1/payins/{id}, verify registered sender-account binding, run cryptographic slip QR verification as a Layer 3 fallback if still pending, and inspect internal wallet logs before escalating with a request_id.

01Why Missing-Credit Tickets Must Be Diagnosed in Under 2 Minutes

During Friday-night football kickoffs, live casino rushes, or lottery cutoffs on high-volume iGaming payment gateway infrastructure, chat queues surge whenever bank clearing slows or a deployment briefly interrupts callbacks. Every player sends the same message—'I transferred, where is my credit?'—attached to a mobile banking screenshot.

Without a fixed Standard Operating Procedure, pressured agents make one of two costly errors. Either they eyeball an edited screenshot during a rush and credit funds that never settled, or they manually top up a genuine player seconds before an automatic webhook retry lands—creating an instant double credit.

Preventing both losses means replacing visual guesswork with boundary-based diagnostics. When Tier-1 support, shift supervisors, and backend on-call engineers execute the exact same deterministic checks, every incoming missing-credit ticket is isolated to its true technical boundary in under two minutes with a complete, tamper-evident audit trail.

02The 4 Architectural Boundaries Where Deposits Appear Stuck

A single 'paid but not credited' chat message maps to four distinct system boundaries. Boundary A means money never cleared against the active order: the player abandoned checkout, entered a mismatched amount (THB deposits across 18 Thai banks start at a 50 THB minimum and otherwise require multiples of 100 THB up to 45,000 THB), or paid after QR expiry (expired orders close automatically with zero gateway fee).

Boundary B means real funds arrived, but from an unregistered third-party bank account—such as a friend, relative, or mule—rather than the player's verified account bound beforehand. Boundary C occurs when SF PayGate has confirmed bank clearing as COMPLETED, yet your webhook endpoint timed out or returned HTTP 502 during a container restart.

Boundary D happens after SF PayGate delivered the signed webhook and your server answered HTTP 200, but your internal message queue, database lock, or downstream game-provider wallet transfer stalled mid-flight. Knowing upfront whether an incident sits at Boundary A, B, C, or D routes the ticket to the right team immediately without noisy cross-channel escalation.

03Boundary A and B Deep Dive: Amount Rules, Expiry, and Sender Mismatches

Within Boundary A, multi-tab confusion is a classic trigger: a player clicks deposit three times and scans an older expired QR code. Integrating the Pay-in v2 order creation specification via POST /api/v2/payins activates Active Payin Protection, returning PAYIN_ACTIVE_EXISTS with the active paypage_url whenever an unexpired pending order already exists.

Manual amount mistyping is the second Boundary A issue. Across Thai PromptPay, bank transfers, and 12 Hong Kong FPS banks, push payments settle exact customer-initiated figures. If a user transfers 550 THB against a 500 THB order, automated clearing intentionally holds the mismatch rather than rounding, stopping attackers from probing reconciliation rules.

Boundary B stops triangular fraud and third-party mule transfers. Registering player bank details via the sender bank account binding endpoint (POST /api/v1/customers/{id}/accounts) yields a UUIDv7 customer_account_id passed into each deposit. When the originating bank account disagrees with that binding, automatic crediting halts for compliance review.

04Boundary C and D Deep Dive: Webhook 502 Windows vs Internal Wallet Queues

Boundary C is pure deployment timing. If your ingress returns HTTP 502 for five seconds during a rolling release right as a deposit settles, SF PayGate sends its Layer 1 callback under the HMAC-SHA256 webhook verification standard, records the non-200 response, and schedules automatic retries until HTTP 200 is acknowledged.

Anxious players often open chat 30 seconds after paying—right between the failed initial webhook and the next retry. When your admin panel checks GET /api/v1/payins/{id} and runs the same idempotent ledger credit keyed on merchant_ref_id as your webhook consumer, the player is credited safely and the later retry exits cleanly.

Boundary D lives entirely inside merchant infrastructure. If your webhook handler verifies raw bytes, replies HTTP 200, and then fails while calling an external slot wallet without a durable outbox, the gateway shows delivery complete while the player's game balance stays zero. Internal worker logs are essential to spot and replay stalled wallet jobs.

05The 5-Step Triage SOP in Exact Execution Order

To hold resolution times under two minutes at peak load, support and ops staff run five checks in strict order. Slip inspection deliberately sits at Step 4—never Step 1—because internal order lookup plus an authoritative gateway query resolves every Boundary C and D case in seconds without handling images.

When an order remains PENDING at Step 4 and the player insists money left their bank, staff invoke Layer 3 via the cryptographic slip QR verification endpoint (POST /api/v1/payins/{id}/slip) or the hosted PayPage. Rather than trusting editable pixel text via OCR, the platform decodes the slip's bank-signed QR payload against clearing records and stores a permanent slip_hash to block replays across all orders and accounts.

If all four checks still reveal an exception—such as payment after order expiry or an amount discrepancy—Step 5 creates a structured ticket via POST /api/me/issues, binding the case to the order ID and returning a canonical request_id.

  1. 1Order Lookup: Search merchant_ref_id in your backoffice to verify the UUIDv7 payin id, request_amount, expiry timestamp, and any PAYIN_ACTIVE_EXISTS history.
  2. 2Authoritative Query: Call GET /api/v1/payins/{id}; if status is COMPLETED, trigger your idempotent internal wallet sync rather than a manual balance credit.
  3. 3Sender Account Match Check: Confirm the payer's bank account matches the UUIDv7 customer_account_id bound via POST /api/v1/customers/{id}/accounts.
  4. 4Cryptographic Slip QR Verification: If still PENDING, request the uncropped original banking slip and submit its QR payload via POST /api/v1/payins/{id}/slip (storing its replay hash).
  5. 5Internal Wallet Log & Escalation: Check internal game-wallet queue logs for Boundary D stalls; for bank-side exceptions, call POST /api/me/issues and share request_id in your 24/7 private Telegram room.

06Wiring Backoffice Tools to Query and Issue-Tracking Endpoints

Frontline agents should never handle raw API secrets. Instead, engineers expose two audited backoffice actions powered by GET /api/v1/payins/{id} and the operational balance and issue-tracking API, recording which operator clicked sync or escalated an issue.

Keep one signing rule front and center: SF PayGate's authentication middleware strips the leading /api prefix before verifying HMAC-SHA256. Calls sent to /api/v1/payins/{id} must sign /v1/payins/{id}, and calls to /api/me/issues must sign /me/issues with X-Timestamp and the exact request body.

The TypeScript helper below shows this authoritative check and issue-creation flow using api.example.com as an illustrative placeholder; live Sandbox and Production hosts are provisioned during merchant onboarding.

import crypto from "node:crypto";

// Illustrative backoffice helper (Sandbox/Production host issued at onboarding)
const API_BASE = process.env.SFP_API_BASE_URL ?? "https://api.example.com";
const API_KEY = process.env.SFP_API_KEY!;
const SECRET = process.env.SFP_SIGNING_SECRET!;

function signPath(method: string, strippedPath: string, ts: string, body = "") {
  // Middleware strips leading /api before checking HMAC-SHA256
  return crypto
    .createHmac("sha256", SECRET)
    .update(`${method}:${strippedPath}:${ts}:${body}`)
    .digest("hex");
}

export async function triagePayin(payinId: string, merchantRefId: string) {
  const ts = Math.floor(Date.now() / 1000).toString();
  const path = `/v1/payins/${payinId}`;

  // Step 2: Authoritative state check via GET /api/v1/payins/{id}
  const res = await fetch(`${API_BASE}/api${path}`, {
    headers: {
      "X-API-Key": API_KEY,
      "X-Timestamp": ts,
      "X-Signature": signPath("GET", path, ts),
    },
  });
  const payin = await res.json();

  if (payin.status === "COMPLETED" || payin.status === "succeeded") {
    // Trigger idempotent wallet sync keyed on merchant_ref_id (never manual credit)
    return { action: "IDEMPOTENT_SYNC", payinId, merchantRefId };
  }

  // Step 5: Open traceable ticket via POST /api/me/issues
  const issueTs = Math.floor(Date.now() / 1000).toString();
  const body = JSON.stringify({ order_id: payinId, merchant_ref_id: merchantRefId });
  const issueRes = await fetch(`${API_BASE}/api/me/issues`, {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
      "X-API-Key": API_KEY,
      "X-Timestamp": issueTs,
      "X-Signature": signPath("POST", "/me/issues", issueTs, body),
    },
    body,
  });
  const issue = await issueRes.json();
  return { action: "ESCALATE", requestId: issue.request_id, status: payin.status };
}

07Illustrative Sandbox Simulation: Second-by-Second Webhook 502 Recovery

Train shift leads with this Illustrative Sandbox Simulation of a Saturday-night rolling restart. At 21:14:03 (UTC+7), a test player starts a 1,000 THB deposit via POST /api/v2/payins (merchant_ref_id ORD-SBX-202612-8841) with a registered customer_account_id and receives a PromptPay QR.

At 21:14:41, the player pays in their banking app. At 21:14:43, clearing settles; SF PayGate marks the order COMPLETED and fires the first signed webhook, which hits HTTP 502 while a merchant container restarts. At 21:15:30, the player sends their slip to chat asking why their game wallet shows 0.

At 21:15:38, support runs the backoffice check calling GET /api/v1/payins/{id}, sees COMPLETED, and clicks idempotent sync instead of manual adjustment—crediting 1,000 THB immediately. When the scheduled webhook retry arrives at 21:15:48 and receives HTTP 200, the unique merchant_ref_id constraint prevents any duplicate credit.

Time (UTC+7)System EventGateway StateCorrect Merchant & Support Action
21:14:031,000 THB order ORD-SBX-202612-8841 created via POST /api/v2/payinsPENDINGRecord pending intent keyed on merchant_ref_id
21:14:41Player scans PromptPay QR and completes bank transferPENDINGWait for signed webhook or status query
21:14:43Clearing settles; first webhook hits merchant 502 during restartCOMPLETEDGateway schedules automatic webhook retry
21:15:30Player sends slip in chat reporting missing game balanceCOMPLETEDLook up order; never credit from screenshot pixels
21:15:38Support triggers GET /api/v1/payins/{id} and sees COMPLETEDCOMPLETEDRun idempotent sync; 1,000 THB credited once
21:15:48Automatic webhook retry delivered and answered HTTP 200COMPLETEDUnique merchant_ref_id lock absorbs retry safely
Illustrative Sandbox Simulation: Second-by-Second Timeline During a Container Restart

086 Failure Scenarios: Diagnosis Matrix, Action Owners, and Chat Templates

Midnight escalations stall when chat staff cannot tell whether an issue belongs to Risk Compliance, Merchant Backend Ops, or SF PayGate's 24/7 support room. Pairing dashboard state with GET /api/v1/payins/{id} output assigns ownership unambiguously.

Pre-approved customer replies are just as vital. Agents should never promise manual top-ups or speculate about bank outages; calm, specific templates set accurate expectations while verification runs.

Use the six-scenario matrix below to align Tier-1 Support, Backend Ops, and escalations with request_id into your 24/7 private Telegram room.

ScenarioMerchant DashboardGET /api/v1/payins/{id}Action OwnerPolite Customer Message Template
1. Unpaid, wrong amount, or paid after expiryPending or ExpiredEXPIRED or amount mismatchTier-1 collects full slip; Finance Ops reviewsWe noticed this transfer occurred outside the active order window or did not match the requested amount. Please share the full, uncropped slip from your banking app showing the QR code so we can log a verification ticket right away.
2. Unregistered third-party sender accountHeld for sender checkSender mismatch vs customer_account_idShift Supervisor & Risk ComplianceFor account security, deposits must come from the bank account registered on your profile. Our verification team is reviewing this transfer under our security policy and will update you shortly.
3. Gateway COMPLETED, webhook hit 502Awaiting PaymentCOMPLETED with timestampAutomated Idempotent Sync / Backend OpsGood news—we confirmed your deposit cleared safely. We have refreshed your order sync now; please reload your game wallet balance.
4. Webhook HTTP 200 ok, game queue stalledPaid; Credit PendingCOMPLETEDMerchant Backend Ops (Wallet Queue)Your payment is confirmed and safe in our system. Our game wallet synchronization queue is completing your balance update now—please refresh again in a moment.
5. Slow bank clearing with genuine slipPendingPENDINGTier-1 runs POST /api/v1/payins/{id}/slipBank confirmation is taking slightly longer than usual. Please send the original, uncropped transfer slip from your banking app with the QR code visible for instant automated verification.
6. Cropped QR, edited image, or replay slipSlip RejectedInvalid QR or duplicate slip_hashShift Supervisor; POST /api/me/issues if disputedOur automated check could not validate this image because the QR code was cropped or this transfer was already processed. Please export the original unedited slip directly from your banking app.
6-Scenario Triage Matrix with Ownership and Ready-to-Use Customer Replies

09Hard RBAC Guardrails Against Night-Shift Support Fraud

External slip editors are only half the risk; insider collusion during quiet 02:00–05:00 shifts can inflict steeper losses if permissions are overly broad. If one support login can both view unpaid orders and type manual balance additions, a compromised or dishonest agent can fabricate credits behind fake chat claims.

Enforce strict Role-Based Access Control (RBAC). Frontline support may view orders, run GET /api/v1/payins/{id}, submit QR payloads to POST /api/v1/payins/{id}/slip, and trigger idempotent syncs strictly when gateway state equals COMPLETED—with zero access to free-form balance inputs.

True exceptions—such as resolving a verified wrong-amount payment on an expired order under written merchant policy—must require dual-person Finance approval recorded in an immutable append-only ledger alongside a mandatory request_id returned by POST /api/me/issues, ensuring no single night-shift operator can create unbacked player balances.

  • Ban manual credits based on visual screenshot review or OCR text reading.
  • Separate RBAC permissions between 'view order / trigger API & slip check' and 'manual wallet adjustment'.
  • Allow 'Re-sync Order' execution only when GET /api/v1/payins/{id} returns COMPLETED with merchant_ref_id locking.
  • Require dual-person Finance approval plus a POST /api/me/issues request_id for any manual exception entry.
  • Alert security leads automatically on repeated duplicate slip_hash submissions or abnormal night-shift escalations.

10Sandbox Tabletop Drills and 24/7 Escalation Discipline

Before major tournaments or weekend traffic spikes, run a 30-minute drill in your dedicated Sandbox environment across all four boundaries: simulate a 502 webhook, verify a genuine test slip, reject a cropped slip, trigger a duplicate slip_hash, and test a third-party sender mismatch.

Confirm that staff always query GET /api/v1/payins/{id} first and that delayed webhook retries never double-credit balances. When live exceptions still need bank-side tracing after all five steps, quote your request_id in your 24/7 private SF PayGate Telegram room, or contact our direct onboarding and Sandbox support desk via Telegram at @SFPayGateAgent.

Merchants remain responsible for licensing and regulatory compliance in their operating markets, while SF PayGate reviews every merchant before activation and enforces a strict zero-scam policy to keep push-payment clearing reliable.

Frequently asked questions

Should night-shift support ever credit a player manually from a clear bank screenshot?
Never. Screenshots are trivial to edit, and even a genuine slip causes a double credit if an automatic webhook retry lands right after a manual top-up. Always query GET /api/v1/payins/{id} first and use POST /api/v1/payins/{id}/slip QR verification when pending.
Are player funds lost if our webhook endpoint returns HTTP 502 during a deployment?
No. SF PayGate retries HMAC-SHA256 signed webhooks automatically until your server returns HTTP 200. Meanwhile, calling GET /api/v1/payins/{id} reveals COMPLETED so your idempotent handler keyed on merchant_ref_id can credit immediately.
Why is a real transfer held when a player pays from a friend's or spouse's bank account?
Deposits are matched against the verified account registered via POST /api/v1/customers/{id}/accounts (UUIDv7 customer_account_id). Holding unregistered third-party transfers blocks triangular fraud and unauthorized mule funds.
How do we stop players from opening multiple deposit tabs and paying an expired QR code?
Use POST /api/v2/payins with Active Payin Protection. If an unexpired pending order already exists, the API returns PAYIN_ACTIVE_EXISTS with the original paypage_url instead of creating duplicate QR codes.
When should our team call POST /api/me/issues?
Call POST /api/me/issues after Steps 1–4 (lookup, GET /api/v1/payins/{id}, sender check, and uncropped QR slip verification) still leave an exception such as a post-expiry transfer or amount mismatch, then share the returned request_id in your 24/7 private Telegram room.
Does SF PayGate accept urgent deposit escalations by email?
No. To prevent spoofing and slow ticket threads, SF PayGate operates zero email channels. Live merchants escalate with a request_id in their 24/7 private Telegram room, and onboarding or Sandbox inquiries go exclusively to Telegram @SFPayGateAgent.

ENGINEERING & MARKET INSIGHTS

Related guides

All guides