Process Dy Scan Result
Process the result of a completed Dyneti debit-card scan.
Available to: All authenticated users
Environments: Live
Rate Limit: No endpoint-specific limit
Call this endpoint only after addStripeDebitCard returns last4, nameOnCard, and stripeFundingMethodId. Run the Dyneti card-scan SDK in the partner’s own client, then submit the resulting scanId with NinjaTrader’s numeric stripeFundingMethodId.
The browser-side DyScan SDK key is used only to initialize and complete the scan. Do not send that key to this endpoint or reuse NinjaTrader dashboard credentials; contact your NinjaTrader partner representative for an approved Dyneti integration. NinjaTrader’s funding service holds a separate server-side Dyneti API credential and makes an authenticated external request to Dyneti for scan/{scanId}.
This endpoint does not capture or upload a card image. It verifies that:
- the caller can access the specified funding method;
- the funding method is
PendingorDcvRequested; - Dyneti reports the scan as
scanCompletewith decline-reason data; and - the returned cardholder name and last four digits exactly match the values stored on the pending Stripe funding method.
These comparisons prevent a scan ID created for another card or user from approving the pending method. Call this endpoint only after the client SDK reports completion. An incomplete, invalid, mismatched, or unprocessable scan cancels the pending funding method, so the user must register the card again before retrying.
For a valid response, the service stores Dyneti’s formatMismatch, numberMismatch, generatedImage, rateLimited, and optional nameMismatch results. Format mismatch, generated-image, or rate-limit findings are treated as fraud and decline the funding method. Number or name mismatch without a fraud finding cancels it. A clean result approves it.
Response Interpretation
Common Failure Scenarios
- Unknown or expired Dyneti scan ID
- Scan belongs to a different cardholder or card number
- Funding method is no longer pending
- Dyneti reports a format, number, generated-image, rate-limit, or name mismatch
Related Endpoints
- Use
addStripeDebitCardto create the pending method. - After
isVerified: true, usestartStripeFunding.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Response
Non-empty if the request failed