Skip to main content
The PrimeVault API uses standard HTTP status codes to describe the transport-level outcome of each request. A successful write means the request was accepted or the resource was created; it does not mean an asynchronous vault or transaction lifecycle has completed.

Success responses

For transactions and approval-backed resources, inspect the returned status field after a 200 or 201 response.

Client and authorization errors

Server and gateway errors

A network failure without an HTTP response is surfaced as NetworkError.

Typed SDK error shape

Retry guidance

Do not blindly retry transaction or resource creation. Use a stable externalId where supported and retrieve the resulting resource before deciding whether to resubmit.

HTTP status versus custom error code

The HTTP status tells you the broad failure class. The JSON code identifies a specific PrimeVault business or validation failure when one is available. Handle both; see Custom Error Codes.