Errors
SDKではHTTP/Transportエラーを型付き例外として扱えます。
from dwallet import (
DWalletAPIError,
DWalletUnauthorizedError,
DWalletForbiddenError,
DWalletNotFoundError,
DWalletConflictError,
DWalletRateLimitError,
DWalletServerError,
DWalletTransportError,
)Common status
401 API Key invalid/revoked403 Scope/identity denied404 Resource not found409 Conflict/idempotency conflict429 Rate limit5xx Server error
request_id
APIエラーの調査時はSecretではなくrequest_idを記録してください。
Developer Dashboard
Application、API Key、Scope、Webhook、Usage、Audit、Payment履歴はDeveloper Dashboardから管理できます。
