details is optional; it’s included for validation errors to specify which fields failed. Every response
also carries an X-Response-ID header; include it when contacting
support@prava.space.
Authentication & validation
These can occur on any endpoint:Create Session — POST /v1/sessions
Payment Result — GET /v1/sessions/{sessionId}/payment-result
Report Status — POST /v1/sessions/{sessionId}/report-status
Cards — GET /v1/listCards · POST /v1/deleteCard
Revoke Session — POST /v1/sessions/{id}/revoke
The SDK has its own client-side error codes (
SDK_ALREADY_ACTIVE, INVALID_CONFIG,
IFRAME_LOAD_ERROR, SDK_INIT_ERROR); see
Collect Card Details. CLI errors are mapped on the
Prava Pay troubleshooting page.