Order Termination Before Expired Time

  1. In the main screen of user-cli select [1]Market Service, and then select[2]Make An Order.
  2. Enter f to select [G]Refund Service.
  3. Enter the index number of the user services you want to refund. Enter empty to stop.
  4. Enter y to confirm the refund order.

For example:

                                              Running User Service Information Table
╭───────┬──────────────────────────┬───────────────────┬─────────────────────┬─────────────────┬─────────────────────┬────────────┬───────────┬─────────────┬───────╮
│ Index │     User Service ID      │   Service Type    │     Start Time      │ Duration (HOUR) │   Expiration Time   │ Refundable │  Status   │ Description │ Label │
├───────┼──────────────────────────┼───────────────────┼─────────────────────┼─────────────────┼─────────────────────┼────────────┼───────────┼─────────────┼───────┤
│   0   │ 62d76c52b3fwadadwa6e61fc │ Container Service │ 2022-11-24 10:10:00 │        52022-11-24 15:10:00 │    True    │ Activated │      -      │ prod  │
│   1   │ 62df65eggawo21jgddbf90e9 │ Container Service │ 2022-11-24 10:13:00 │        12022-11-24 11:13:00 │    True    │ Activated │  seed desc  │   -   │
│   2   │ 63r2213dd18f2b3a37fwa384 │ Container Service │ 2022-11-24 10:15:06 │        62022-11-24 16:15:06 │    True    │  Paused   │      -      │ test  │
╰───────┴──────────────────────────┴───────────────────┴─────────────────────┴─────────────────┴─────────────────────┴────────────┴───────────┴─────────────┴───────╯
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                           [P]rev                                                                           [E]xit                                                 │
│                           [D]User Service Detail                                                           [A]User Service API Access                             │
│                           [T]Tail Service Log                                                              [B]Domain Name                                         │
│                           [S]Service Status                                                                [R]Restart Service                                     │
│                           [F]Refund Service                                                                [G]Renew Service                                       │
│                           [P]Pause Service                                                                 [Q]Resume Service                                      │
│                           [H]Update Image                                                                  [C]Container Config                                    │
│                           [U]Update Config                                                                 [V]Update Deployment                                   │
│                           [L]Set Label                                                                     [M]Set Description                                     │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
navigate to: f
Please input the service index or press enter to stop:2
Please input the service index or press enter to stop:1
Please input the service index or press enter to stop:
Are you sure you want to stop and refund the user services? (default n) [y/N]: y
Success. Service is refunding. Please wait.
Press ENTER to continue...
Last Updated: 12/26/2023, 10:12:52 AM