For the complete documentation index, see llms.txt. This page is also available as Markdown.

TossAuth.sign

Functional API appsInTossSignTossCertYou can use the same function with this as well.

Feature description

Sign using a Toss certificate. txIdis the Transaction ID used for identity verification, simple authentication, and electronic signatures using a Toss certificate.

Toss app Android/iOS 5.233.0 It can be used on versions above. If called in an unsupported version, UNSUPPORTED_APP_VERSION an error occurs.

Type

TossAuth.sign(params: AppsInTossSignTossCertParams): Promise<void>;

Params

type AppsInTossSignTossCertParams = {
  txId: string;
};

Response

None

Error code

The error code is the error.code value.

Code
Description

UNSUPPORTED_APP_VERSION

If the running version of the Toss app doesn't support this feature, it occurs immediately upon call. TossAuth.sign.isSupported()Check in advance with error.messageand, if it occurs, show the user the (update guidance message).

Example code

Was this helpful?