Mobile-ID · Tin cậy có bằng chứng
Thuật ngữ hồ sơLiên hệ
Trusted Records · Tích hợp & Nhà phát triển

Yêu cầu hóa đơn

Đề xuất gửi Trusted Billing; schema/provider mapping cần xác nhận.

Request schema từ OpenAPI

TrườngKiểuBắt buộcRàng buộcĐịnh nghĩa kỹ thuật
paymentRequestIdstringCó{"minLength": 1, "maxLength": 128}Proposed paymentRequestId field. Synthetic identifiers must not contain personal data.
acceptanceRefstringCó{"minLength": 1, "maxLength": 128}Proposed acceptanceRef field. Synthetic identifiers must not contain personal data.
recipientRefstringCó{"minLength": 1, "maxLength": 128}Proposed recipientRef field. Synthetic identifiers must not contain personal data.

Ranh giới contract

Đề xuất gửi Trusted Billing; schema/provider mapping cần xác nhận.

Ngoại lệ và đối soát

Timeout cần query trạng thái; không tạo giao dịch/lệnh mới khi kết quả cũ chưa rõ. Lưu correlation, phiên bản và bằng chứng; không gửi hồ sơ hoặc credential trong nhật ký.

Ví dụ HTTP — contract đề xuất

Request

POST https://records.example.invalid/v1/invoice-requests HTTP/1.1
Authorization: Bearer <example-token>
X-Tenant-Id: synthetic-tenant-001
X-Project-Id: synthetic-project-001
X-Correlation-Id: synthetic-correlation-001
Idempotency-Key: synthetic-key-001
Content-Type: application/json

{
  "paymentRequestId": "synthetic-payment-001",
  "acceptanceRef": "synthetic-acceptance-001",
  "recipientRef": "synthetic-recipient-001"
}

Response · 202

{
  "invoiceRequestId": "synthetic-invoice-001",
  "state": "REQUESTED"
}

Trường bắt buộc và kiểm soát chung

MụcQuy tắc đề xuất
scopebilling:write
requiredpaymentRequestId, acceptanceRef, recipientRef
tenant / projectToken và context phải khớp; không chỉ tin header.
idempotencyPOST/PATCH: cùng key + body trả kết quả cũ; body khác trả 409; window cần chốt.
errorcode, message, requestId, correlationId, retryable, details; không chứa dữ liệu nhạy cảm.

Bắt đầu bằng một phạm vi kiểm tra được.

Chốt loại hồ sơ, tiêu chí chất lượng, quyền và bộ bằng chứng trước khi mở rộng.

Đăng ký khảo sát

Tìm trong Trusted Records

Ảnh nguồn phóng to

Ảnh nguồn minh họa; các giá trị trong ảnh không phải cam kết dịch vụ.