pending_orders
Pending orders present. HTTP status 409.
The account has orders that are still pending. The account currency cannot change while they are open, since the switch could change what they bill.
What to do
Pay the invoice of each pending order, or cancel the order with POST /api/v2/orders/{id}/actions/cancel. Then retry. GET /api/v2/account/currency shows pendingOrderCount.
Example
{ "type": "https://developer.hostup.se/errors/pending_orders", "title": "Pending orders present", "status": 409, "detail": "Pending orders present", "code": "pending_orders", "requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"}Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.