ВопросMiddlewaysbits21 просмотр

POST /api/v1/transfers/internal ● Idempotency-Key: UUID (обязательный) ● Authorization: Bearer <token> { "source_account_id": "83740e53-689c-[phone]f9e61f22401", "destination_account_id": "[phone]f5c-[phone]a", "amount": 1500.50, "currency": "USD", "description": "Payment for rent", "save_as_template": true } { "status": "success", "transaction_id": "77e1c83b-7bb0-437b-9250-8c9339e0538b", "data": { "amount": 1500.00, "currency": "USD", "executed_at": "[phone]T23:15:00Z", "template_saved": true } } [The sequence diagram and database schema are provided for context on the transfer service, business logic, event publishing, and database structure.]