Payment and check lookup¶
This operation retrieves payment and check data from Guidewire ClaimCenter through FinancialDataApiClient, using the shared cached-request pipeline for all three lookup shapes.
| Field | Value |
|---|---|
| Operation ID | OP-SDG-05 |
| Trigger | Caller invokes a payment or check lookup method on FinancialDataApiClient |
| Inputs | Invoice number, issue date, zero-pay inclusion flag, check number |
| Outputs | PaymentsResponse or CheckFinancialData |
| Primary components | FinancialDataApiClient |
| Entry point | Data/SAIF.Data.Guidewire/Clients/FinancialDataApiClient.cs |
Steps¶
- Resolve the client's base URL (
cc.financial.api.url.v1) and Basic-auth header (cc.gwcreds).
Origin: Step 1 is implemented in Resolve base URL and authenticate (
SAIF.Data.Guidewire) and executed on behalf of this operation. 2. Payments by invoice number: GETpayments?invoiceNumber={n}, executed through the cached-request helper. (SDG-BR-003) 3. Payments by issue date: GETpayments?issueDate={yyyy-MM-dd}. - If zero-pay payments are requested: append&includeZeroPays=true(lowercase) to the query string. (SDG-BR-013) - Otherwise: omit the parameter. 4. Check by number: GETchecks/{checkNumber}, executed through the cached-request helper. (SDG-BR-003)
Process flow¶
The following diagram visualizes this operation's control flow.
flowchart TD
Start([Caller invokes a lookup method]) --> S1["Resolve base URL and<br>Basic-auth header"]
S1 --> Which{"Which lookup?"}
Which -->|By invoice number| S2["GET payments?invoiceNumber={n}"]
Which -->|By issue date| S3{"includeZeroPays<br>requested?"}
S3 -->|Yes| S3a["GET payments?issueDate={date}<br>&includeZeroPays=true"]
S3 -->|No| S3b["GET payments?issueDate={date}"]
Which -->|By check number| S4["GET checks/{checkNumber}"]
S2 --> EndOk([Return cached/deserialized response])
S3a --> EndOk
S3b --> EndOk
S4 --> EndOk
Failure and edge-case behavior¶
- Zero-pay payments are excluded from a payments-by-issue-date response unless the caller explicitly requests them (SDG-BR-013).
Related documentation¶
Sources¶
Data/SAIF.Data.Guidewire/Clients/FinancialDataApiClient.csData/SAIF.Data.Guidewire/Models/FinancialDataApi/PaymentsResponse.csData/SAIF.Data.Guidewire/Models/FinancialDataApi/CheckFinancialData.cs