react-native-tink-sdk
Version:
NPM package for wrapping Tink SDKs
26 lines (25 loc) • 952 B
TypeScript
/**
*
* Error model for Tink Link SDK response
*
* @param errorStatus - A string value that describes the error status.
* @param errorType - A string value that describes the error type.
* @param errorReason - A string value that describes the error reason.
* @param trackingId - Tink's internal identifier for this specific error instance.
* @param errorDescription - A localized end-user facing error message that can be
* presented directly to the end user.
* @param credentials - The identifier of the created credentials object.
* @param providerName - The name of the selected bank connection.
* @param paymentRequestId - The identifier of the payment request.
*
*/
export interface TinkLinkError {
errorStatus: string;
errorReason: string;
trackingId: string;
errorDescription: string;
errorType: string;
credentials: string;
providerName: string;
paymentRequestId: string;
}