SDK VÀ MÃ MẪU API

Ví dụ có thể sao chép cho hợp đồng đã công bố

Mã mẫu dùng credential và endpoint minh họa. Chúng thể hiện header, idempotency và xử lý lỗi, nhưng không chứa bí mật production hoặc SDK release đã ký.

01

Mã mẫu theo ngôn ngữ

CURL

cURL

Create a signing request and read the resource.

Open →
JAVA

Java 21

HttpClient sample with correlation and problem handling.

Open →
CS

.NET/C#

HttpClient sample with idempotency.

Open →
JS

JavaScript

fetch sample for a browser/server test harness.

Open →
PY

Python

requests sample and problem handling.

Open →

02

Điều kiện phân phối

  • Generated SDK tied to OpenAPI version.
  • Package checksum and signature.
  • Dependency/SBOM statement.
  • Compatibility and support lifecycle.
  • Upgrade and deprecation notes.