`POST /v1/cards/{id}/encrypted-session`
POST/v1/cards/:id/encrypted-session
Create encrypted session.
Create a new encrypted card session.
Inserts a row in card_sessions (defined by migration
14-payments.sql) with status = 'active' and returns
the session id together with a short-lived session token (a UUID) and
the placeholder public key the client should use to encrypt the
sensitive payload. The session expires after 5 minutes by default.
Responses
- 200
- 401
- 403
OK
Not authenticated
Missing the payments scope gate