Build Digital Trust as a Service on SAVIS.
APIs and SDKs for partners who build Digital Trust as a Service on TrustCA QTSP and SAVIS Paperless. Open standards end to end: CSC for remote signing, FAPI 2.0 for partner connections, FIDO2 for passkeys.
- CSC API 2.0
- CSC API 2.2
- FAPI 2.0
- OAuth 2.0
- OpenID Connect
- FIDO2 / WebAuthn
- ETSI EN 319 142
- RFC 3161
POST /csc/v2/signatures/signHash
Authorization: DPoP eyJhbGciOi…
DPoP: eyJ0eXAiOiJkcG9wK2p3dCIs…
{
"credentialID": "GX0112348",
"SAD": "_TiHRG-bAH3XlFQZ3ndFhkXf9P24/CKN69L8gdSYp5_pw",
"hashes": ["sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI="],
"hashAlgorithmOID": "2.16.840.1.101.3.4.2.1",
"signAlgo": "1.2.840.113549.1.1.11"
}Illustrative request. Full reference in the developer documentation.
Certified · eIDAS 2.0 and NIS2TAYLLORCOX PCEB 26/08/10 · TrustCA Qualified Remote Signing, QTSA and eSeal · valid until 9 August 2028
See the certificate →Trust services, delivered through your product
Qualified remote signing
Offer QES and advanced signatures in your app, issued and held by TrustCA QTSP.
Paperless journeys
Contracts, onboarding packs and approvals signed and stored without paper.
Remote onboarding
Verify customers with biometric SDKs, liveness and ID chip reading.
Passwordless & device trust
Passkeys for sign-in and payments, bound to devices you trust.
One set of standard interfaces
Remote signing API · CSC 2.0 / 2.2+
Qualified remote signing from TrustCA QTSP through the Cloud Signature Consortium API, versions 2.0 and 2.2.
- Credentials list and info
- signHash and signDoc
- OAuth 2.0 authorization for signature activation
- Timestamping and validation
Partner connection · FAPI 2.0+
Partners connect to SAVIS APIs under the FAPI 2.0 Security Profile, the OpenID Foundation's high-security profile for financial-grade APIs.
- Pushed authorization requests (PAR)
- Sender-constrained tokens (mTLS or DPoP)
- private_key_jwt client authentication
- Partner registration and key rotation
Paperless & e-contract APIs+
Build signing workflows, e-contracts and document flows on SAVIS Paperless, signed through TrustCA.
- Document and envelope workflows
- Multi-party signing
- Signed-document validation
- Webhooks for status updates
Biometric SDK+
Mobile and web SDKs for face capture, liveness and ID document reading, for remote onboarding and step-up checks.
- Face capture and liveness (PAD)
- ID document and NFC chip reading
- Face match against the document
- iOS, Android and Web
FIDO2 passkeys & device trust+
Passwordless sign-in and transaction approval with FIDO2 passkeys, bound to trusted devices.
- Passkey registration and sign-in (WebAuthn)
- Transaction signing with passkeys
- Device binding and attestation
- App integrity checks
TrustCA QTSP, Paperless and eKYC
Endpoints and examples for the main calls. The full OpenAPI 3.1 specification and a Postman collection come with sandbox access.
/csc/v2 Cloud Signature Consortium API, versions 2.0 and 2.2. All calls are POST with JSON bodies, authorized with a FAPI 2.0 sender-constrained token.
| Method | Endpoint | What it does | Auth / scope |
|---|---|---|---|
| POST | /info | Service information: CSC version, authentication types, signature algorithms | none |
| POST | /oauth2/pushed_authorize | Pushed authorization request (PAR) with authorization_details | private_key_jwt |
| GET | /oauth2/authorize | Signer signs in and approves; strong authentication for credential scope | user |
| POST | /oauth2/token | Code + PKCE → access token (service) or credential token | private_key_jwt + DPoP |
| POST | /credentials/list | Signing credentials (credentialID) of the signer | service |
| POST | /credentials/info | Certificate chain, key algorithm, SCAL, authorization mode | service |
| POST | /credentials/authorize | Explicit authorization with OTP, PIN or biometric → SAD | service |
| POST | /credentials/authorizeCheck | Check a SAD and the signatures it still allows | service |
| POST | /credentials/getChallenge | Challenge for passkey (FIDO2) signature activation | service |
| POST | /signatures/signHash | Sign one or more hashes with the signer's key | credential / SAD |
| POST | /signatures/signDoc | Sign whole documents as PAdES, XAdES, CAdES or JAdES | credential / SAD |
| POST | /signatures/signPolling | Fetch results of asynchronous signing | service |
| POST | /signatures/timestamp | RFC 3161 timestamp token for a hash | service |
{
"credentialID": "GX0112348",
"SAD": "_TiHRG-bAH3XlFQZ3ndFhkXf9P24/CKN69L8gdSYp5_pw",
"hashes": ["sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI="],
"hashAlgorithmOID": "2.16.840.1.101.3.4.2.1",
"signAlgo": "1.2.840.113549.1.1.11"
}{
"signatures": ["KedJuTob5gtvYx9qM3k3gm7kbLBwVbEQ..."]
}/csc/v2 Send the document, receive it signed in the format and level you choose. Timestamps and revocation data are added for -T, -LT and -LTA levels.
| Format | Parameter | Use | Conformance levels |
|---|---|---|---|
| PAdES | signature_format: "P" | PDF contracts and forms; visible or invisible signature | B-B · B-T · B-LT · B-LTA |
| XAdES | signature_format: "X" | XML e-invoices, tax filings, bank messages; enveloped or detached | B-B · B-T · B-LT · B-LTA |
| CAdES | signature_format: "C" | Any binary file; detached or enveloping .p7s | B-B · B-T · B-LT · B-LTA |
| JAdES | signature_format: "J" | JSON and API payloads (JWS) | B-B · B-T · B-LT · B-LTA |
{
"credentialID": "GX0112348",
"SAD": "_TiHRG-bAH3XlFQZ3ndFhkXf9P24/CKN69L8gdSYp5_pw",
"documents": [{
"document": "JVBERi0xLjcKJcfsj6IKNSAwIG9iago8PC9MZW5n...",
"signature_format": "P",
"conformance_level": "Ades-B-LT",
"signAlgo": "1.2.840.10045.4.3.2",
"signed_envelope_property": "Certification"
}],
"returnValidationInfo": true
}{
"DocumentWithSignature": ["JVBERi0xLjcKJcfsj6IKNSAwIG9iago8PC9MZW5n..."],
"validationInfo": { "ocsp": ["MIIHdgoBAKCCB28w..."], "crl": [], "certificates": ["MIIF..."] }
}/tsa Qualified timestamps under RFC 3161, by plain HTTP or through the CSC API.
| Method | Endpoint | What it does | Auth / scope |
|---|---|---|---|
| POST | /tsa | RFC 3161 request (Content-Type: application/timestamp-query) → timestamp reply | mTLS or token |
| POST | /csc/v2/signatures/timestamp | Same service through the CSC API, JSON in and out | service |
{
"hash": "sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI=",
"hashAlgorithmOID": "2.16.840.1.101.3.4.2.1",
"nonce": "8e4f1b2c"
}{
"timestamp": "MIIUbAYJKoZIhvcNAQcCoIIUXTCCFFkCAQMx..."
}/validation/v1 Validate signed documents and certificates. Reports follow ETSI EN 319 102-1 and the ETSI TS 119 102-2 report format.
| Method | Endpoint | What it does | Auth / scope |
|---|---|---|---|
| POST | /reports | Validate a signed document or detached signature → TOTAL-PASSED, INDETERMINATE or TOTAL-FAILED per signature | service |
| POST | /certificates/status | Certificate revocation status by OCSP or CRL | service |
| GET | /reports/{id}/pdf | Human-readable validation report | service |
{
"document": "JVBERi0xLjcKJcfsj6IKNSAwIG9iago8PC9MZW5n...",
"policy": "QES",
"report": "simple"
}{
"signatures": [{
"signer": "NGUYEN VAN A",
"issuer": "TrustCA QTSP",
"signingTime": "2026-11-19T09:12:44+07:00",
"level": "PAdES-BASELINE-LT",
"indication": "TOTAL-PASSED"
}]
}/paperless/v1 Create envelopes, route them to signers in order, and receive the signed result. Each signature is made through TrustCA.
| Method | Endpoint | What it does | Auth / scope |
|---|---|---|---|
| POST | /envelopes | Create an envelope: documents, signers, order, signature fields | paperless |
| POST | /envelopes/{id}/send | Send to signers by app push, SMS or email | paperless |
| GET | /envelopes/{id} | Status of each signer and document | paperless |
| GET | /envelopes/{id}/documents/{docId} | Download the signed PDF with its audit trail | paperless |
| POST | /envelopes/{id}/cancel | Cancel an envelope that is not complete | paperless |
| WEBHOOK | envelope.sent · signer.signed · envelope.completed · envelope.declined | Events sent to your HTTPS endpoint, signed JWS | - |
{
"title": "Loan agreement 2026-11-0042",
"documents": [{ "name": "agreement.pdf", "content": "JVBERi0xLjcK..." }],
"signers": [
{ "order": 1, "name": "Nguyen Van A", "phone": "+84 9xx xxx xxx", "level": "QES" },
{ "order": 2, "name": "Lender officer", "email": "[email protected]", "level": "QES" }
],
"signature": { "format": "PAdES", "level": "B-LT" }
}{
"id": "env_7Qk2b9",
"status": "draft",
"signUrl": "https://…/s/env_7Qk2b9"
}/ekyc/v1 · /ra/v1 Identify the signer remotely from the chip ID card and VNeID, then issue a TrustCA certificate whose key is created inside the QSCD.
| Method | Endpoint | What it does | Auth / scope |
|---|---|---|---|
| POST | /ekyc/v1/sessions | Start a session; record the user's consent | ekyc |
| POST | /ekyc/v1/sessions/{id}/ocr | Front and back images of the ID card → extracted fields | ekyc |
| POST | /ekyc/v1/sessions/{id}/nfc | Chip data (DG1, DG2, DG13, SOD) → passive and chip authentication | ekyc |
| POST | /ekyc/v1/sessions/{id}/liveness | Selfie video frames → liveness score (ISO/IEC 30107-3) | ekyc |
| POST | /ekyc/v1/sessions/{id}/face-match | Selfie against the chip photo (DG2) | ekyc |
| POST | /ekyc/v1/sessions/{id}/vneid | Confirm the identity with VNeID | ekyc |
| GET | /ekyc/v1/sessions/{id}/result | Decision, level of assurance and evidence | ekyc |
| POST | /ra/v1/certificate-requests | Issue a certificate from a passed session; key generated in the QSCD → credentialID | ra |
{
"ekycSession": "eks_41Hc9P",
"profile": "TRUSTCA_QES_PERSONAL",
"subject": { "CN": "NGUYEN VAN A", "serialNumber": "CCCD:0010xxxxxxxx", "C": "VN" },
"activation": "passkey"
}{
"credentialID": "GX0112348",
"certificate": "MIIGKzCCBROgAwIBAgIQ...",
"validTo": "2028-11-19T09:20:00+07:00"
}SAD and SCAL2: how the signer keeps sole control
For qualified signatures, TrustCA runs at SCAL2 (CEN EN 419 241-1): the signer's key in the QSCD is used only with a Signature Activation Data (SAD) that the signer creates by authenticating, and that is bound to the exact hashes being signed.
- 1HashYour system computes the hash of each document (or uses signDoc).
- 2AuthorizeThe signer approves in TrustSign: passkey, face + liveness, or PIN/OTP.
- 3SADThe authorization server issues a SAD bound to credentialID, the hashes and a signature count. It expires in minutes.
- 4ActivateIn the QSCD, the Signature Activation Module checks the SAD before the key is used (EN 419 241-2, EN 419 221-5).
- 5SignsignHash or signDoc returns the signature. A SAD cannot sign any other hash.
authorization_details carrying the hashes; the credential token acts as the SAD.credentials/authorize with the signer's authentication data returns a SAD string for signHash.What the signer sees in TrustSign
Screens of the TrustSign Mobile app, with the API call behind each step.
Online eKYC with the chip ID card (NFC + OCR), a VNeID check and certificate issuance in the QSCD.
- 1Consent
POST /ekyc/v1/sessions - 2Scan ID card (OCR)
…/ocr - 3Read the chip (NFC)
…/nfc - 4Selfie and liveness
…/liveness · …/face-match - 5Confirm with VNeID
…/vneid - 6Review your details
GET …/result - 7Protect your key
credentials/getChallenge - 8Certificate issued
POST /ra/v1/certificate-requests
A signing request from a bank or partner, signed as PAdES-B-LT with SCAL2.
- 1Signing request
Paperless → push - 2Read the document
GET /envelopes/{id} - 3Check the details
credentials/info - 4Approve (SCAL2)
oauth2 credential → SAD - 5Signed
signatures/signDoc
Structured data shown field by field before signing, signed as XAdES-B-T.
- 1Requests
- 2Read the data
- 3Check the details
credentials/info - 4Approve
credentials/authorize → SAD - 5Signed
signatures/signDoc (X)
Payment or transfer approval with dynamic linking: the signature covers the amount and the payee.
- 1Approval request
- 2Check the transaction
- 3Approve
FIDO2 assertion → SAD - 4Approved
signatures/signHash
Anyone can check a signed file: certificate chain, revocation, timestamp and level.
- 1Choose a file
- 2Checking
POST /validation/v1/reports - 3Valid
indication: TOTAL-PASSED - 4Report
GET /reports/{id}/pdf
From application to production in five stages
Every partner follows the same path, gated by agreed checks. Typical duration: 5–10 weeks, depending on the APIs you use.
- 1
Apply & agree
1–2 weeksYou- Submit partner application and company documents (KYB)
- Choose APIs: CSC signing, Paperless, Biometric SDK, FIDO2
- Sign API terms, data processing agreement and TrustCA subscriber terms
- Verify the company and its use case
- Assign a partner manager and solution engineer
Partner agreementDPAGateAgreement signed - 2
Sandbox access
DaysYou- Generate signing keys and publish a JWKS URL
- Register the client: redirect URIs, JWKS, mTLS certificate or DPoP key
- Create the sandbox tenant
- Issue test signing credentials and test certificates
- Issue Biometric SDK test license bound to your app ID
FAPI 2.0 client registrationprivate_key_jwtmTLS / DPoPGateClient registered - 3
Build & integrate
2–6 weeksYou- Authorize with PAR, then exchange the code with PKCE for a sender-constrained token
- Call CSC credentials/list, credentials/info and signatures/signHash
- Register passkeys (WebAuthn) and add the Biometric SDK to onboarding
- Technical support and integration reviews
- Test data for each signing and onboarding scenario
FAPI 2.0 Security ProfileCSC API 2.0 / 2.2FIDO2 / WebAuthnGateSandbox test plan passed - 4
Verify & certify
1–2 weeksYou- Run the FAPI 2.0 tests against your client
- Run the CSC signing test plan and the SDK test plan
- Provide a security assessment of your app and back end
- Review test evidence and the security assessment
- Check data protection and user-consent flows
FAPI 2.0 conformanceCSC interoperabilitySecurity reviewGateProduction approval - 5
Go live & operate
OngoingYou- Register a production client with new keys and certificates
- Rotate keys through your JWKS before they expire
- Follow API version notices and deprecation dates
- Issue production credentials and SDK license
- Monitor traffic and certificates
- Service desk for incidents and changes
Key rotationMonitoringService desk
FAPI 2.0 authorization, then CSC signing
The user's signing key never leaves the QSCD. The partner never sees credentials: it holds only a short-lived token bound to its own key (DPoP or mTLS).
What you need before you connect
| Area | Requirement | Standard |
|---|---|---|
| Client authentication | Asymmetric keys published in a JWKS; no shared secrets | FAPI 2.0 · private_key_jwt |
| Authorization | Pushed authorization requests and PKCE | FAPI 2.0 · RFC 9126 · RFC 7636 |
| Token binding | Sender-constrained access tokens | mTLS (RFC 8705) or DPoP (RFC 9449) |
| Remote signing | CSC endpoints for credentials and signatures | CSC API 2.0 / 2.2 |
| User authentication | Passkeys or biometric step-up for signature approval | FIDO2 / WebAuthn · ISO/IEC 30107-3 PAD |
| Mobile apps | Biometric SDK license bound to your app ID; app integrity checks | Biometric SDK · device trust |
| Security & privacy | Security assessment, incident contact, data processing agreement | Partner agreement · DPA |
Let’s talk about your project
Tell us what you need - our experts reply with a demo slot, a datasheet pack or a quote.