# Create Swish deposit Starts a new Swish payment session for account_id (under client_id). Send details like type (e.g., same_device), amount, and optional qrFormat. The response includes a session id, token, optional qrImage, and a paymentId to track the flow through status checks. Endpoint: POST /v2/partner/client/{client_id}/account/{account_id}/deposit/swish Version: 2.0.0 Security: oAuth ## Path parameters: - `client_id` (string, required) The ID of requested client. Example: "49ad7378-121c-4a53-9894-dfd14a7b4877" - `account_id` (string, required) The ID of requested account. Example: "49ad7378-121c-4a53-9894-dfd14a7b4877" ## Response 200 fields (application/json): - `id` (string) id of swish payment. Use to get status of signature - `token` (string) swish token. Used to start bankid app on same devie - `qrImage` (string) swish qr image. Provided only if type set to qr - `paymentId` (string) id of corresponding payment object Example: "49ad7378-121c-4a53-9894-dfd14a7b4877" ## Response 400 fields (application/json): - `error` (string, required) Error code Enum: "invalid_request" - `error_description` (string) Description of error ## Response 401 fields (application/json): - `error` (string, required) Error code Enum: "unauthorized" - `error_description` (string) Description of error ## Response 403 fields (application/json): - `error` (string, required) Error code Enum: "forbidden" - `error_description` (string) Description of error ## Response 500 fields (application/json): - `error` (string, required) Error code Enum: "server_error" - `error_description` (string) Description of error ## Response 503 fields (application/json): - `error` (string, required) Error code Enum: "service_unavailable" - `error_description` (string) Description of error