{
    "clients" : [
       {
          "run_list" : [
             {
                "run_name" : "1",
                "selected" : 0,
                "run_id" : 104
             },
             {
                "run_name" : "test2",
                "selected" : 0,
                "run_id" : 105
             },
             {
                "run_name" : "test 4",
                "selected" : 0,
                "run_id" : 107
             },
             {
                "run_name" : "test-2",
                "selected" : 0,
                "run_id" : 109
             },
             {
                "run_name" : "test-3",
                "selected" : 0,
                "run_id" : 110
             },
             {
                "run_name" : "test 14 Nov",
                "selected" : 0,
                "run_id" : 111
             }
          ],
          "num_runs" : 6,
          "client_id" : 202,
          "num_payees" : 2,
          "display_name" : "Label name PP",
          "payee_list" : [
             {
                "client_account_id" : null,
                "payee_name" : "us pub 5 oct",
                "payee_id" : 85,
                "selected" : 0
             },
             {
                "client_account_id" : null,
                "payee_name" : "US",
                "payee_id" : 89,
                "selected" : 0
             }
          ],
          "payor_list" : [
             {
                "payor_id" : 10,
                "selected" : 0,
                "payor_name" : "US 5 oct"
             }
          ],
          "email" : "agalkina@theorchard.com",
          "historical_statement" : [
             {
                "run_name" : "test-3",
                "excel_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/486/download?format=xls",
                "date" : "2022-10-27 05:32:45",
                "min_payment" : 1,
                "previous_balance" : 5,
                "lines" : [],
                "num_lines" : 0,
                "payor_name" : "US 5 oct",
                "payor_id" : 10,
                "on_hold" : 0,
                "run_status" : 5,
                "currency_symbol" : "$",
                "txt_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/486/download?format=txt",
                "currency_code" : "USD",
                "run_type" : "publisher",
                "payee_id" : 85,
                "total" : 5,
                "run_id" : 110,
                "pdf_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/486/download?format=pdf",
                "balance" : 0,
                "payee_name" : "us pub 5 oct",
                "statement_id" : 486,
                "client_account_id" : null,
                "amount_payable" : 5
             },
             {
                "run_name" : "test-2",
                "excel_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/482/download?format=xls",
                "date" : "2022-10-27 05:31:20",
                "min_payment" : 1,
                "previous_balance" : 5,
                "lines" : [],
                "num_lines" : 0,
                "payor_name" : "US 5 oct",
                "payor_id" : 10,
                "on_hold" : 0,
                "run_status" : 5,
                "currency_symbol" : "$",
                "txt_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/482/download?format=txt",
                "currency_code" : "USD",
                "run_type" : "publisher",
                "payee_id" : 85,
                "total" : 5,
                "run_id" : 109,
                "pdf_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/482/download?format=pdf",
                "balance" : 0,
                "payee_name" : "us pub 5 oct",
                "statement_id" : 482,
                "client_account_id" : null,
                "amount_payable" : 5
             },
             {
                "run_name" : "test 4",
                "excel_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/476/download?format=xls",
                "date" : "2022-10-05 05:20:27",
                "min_payment" : 1,
                "previous_balance" : 5,
                "lines" : [],
                "num_lines" : 0,
                "payor_name" : "US 5 oct",
                "payor_id" : 10,
                "on_hold" : 0,
                "run_status" : 5,
                "currency_symbol" : "$",
                "txt_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/476/download?format=txt",
                "currency_code" : "USD",
                "run_type" : "publisher",
                "payee_id" : 85,
                "total" : 5,
                "run_id" : 107,
                "pdf_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/476/download?format=pdf",
                "balance" : 0,
                "payee_name" : "us pub 5 oct",
                "statement_id" : 476,
                "client_account_id" : null,
                "amount_payable" : 5
             },
             {
                "run_name" : "test2",
                "excel_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/470/download?format=xls",
                "date" : "2022-10-05 04:52:26",
                "min_payment" : 1,
                "previous_balance" : 5,
                "lines" : [],
                "num_lines" : 0,
                "payor_name" : "US 5 oct",
                "payor_id" : 10,
                "on_hold" : 0,
                "run_status" : 5,
                "currency_symbol" : "$",
                "txt_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/470/download?format=txt",
                "currency_code" : "USD",
                "run_type" : "publisher",
                "payee_id" : 85,
                "total" : 5,
                "run_id" : 105,
                "pdf_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/470/download?format=pdf",
                "balance" : 0,
                "payee_name" : "us pub 5 oct",
                "statement_id" : 470,
                "client_account_id" : null,
                "amount_payable" : 5
             },
             {
                "run_name" : "1",
                "excel_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/468/download?format=xls",
                "date" : "2022-10-05 04:12:50",
                "min_payment" : 1,
                "previous_balance" : 0,
                "lines" : [
                   {
                      "amount" : "5.00",
                      "date" : "",
                      "desc" : "Adjustment",
                      "checknumber" : "",
                      "memo" : ""
                   }
                ],
                "num_lines" : 1,
                "payor_name" : "US 5 oct",
                "payor_id" : 10,
                "on_hold" : 0,
                "run_status" : 5,
                "currency_symbol" : "$",
                "txt_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/468/download?format=txt",
                "currency_code" : "USD",
                "run_type" : "publisher",
                "payee_id" : 85,
                "total" : 5,
                "run_id" : 104,
                "pdf_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/468/download?format=pdf",
                "balance" : 0,
                "payee_name" : "us pub 5 oct",
                "statement_id" : 468,
                "client_account_id" : null,
                "amount_payable" : 5
             },
             {
                "run_name" : "test 14 Nov",
                "excel_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/491/download?format=xls",
                "date" : "2022-11-14 08:20:06",
                "min_payment" : 1,
                "previous_balance" : 22.8,
                "lines" : [],
                "num_lines" : 0,
                "payor_name" : "US 5 oct",
                "payor_id" : 10,
                "on_hold" : 0,
                "run_status" : 5,
                "currency_symbol" : "$",
                "txt_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/491/download?format=txt",
                "currency_code" : "USD",
                "run_type" : "publisher",
                "payee_id" : 89,
                "total" : 22.8,
                "run_id" : 111,
                "pdf_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/491/download?format=pdf",
                "balance" : 0,
                "payee_name" : "US",
                "statement_id" : 491,
                "client_account_id" : null,
                "amount_payable" : 22.8
             },
             {
                "run_name" : "test-3",
                "excel_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/487/download?format=xls",
                "date" : "2022-10-27 05:32:45",
                "min_payment" : 1,
                "previous_balance" : 22.8,
                "lines" : [],
                "num_lines" : 0,
                "payor_name" : "US 5 oct",
                "payor_id" : 10,
                "on_hold" : 0,
                "run_status" : 5,
                "currency_symbol" : "$",
                "txt_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/487/download?format=txt",
                "currency_code" : "USD",
                "run_type" : "publisher",
                "payee_id" : 89,
                "total" : 22.8,
                "run_id" : 110,
                "pdf_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/487/download?format=pdf",
                "balance" : 0,
                "payee_name" : "US",
                "statement_id" : 487,
                "client_account_id" : null,
                "amount_payable" : 22.8
             },
             {
                "run_name" : "test-2",
                "excel_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/483/download?format=xls",
                "date" : "2022-10-27 05:31:20",
                "min_payment" : 1,
                "previous_balance" : 0,
                "lines" : [
                   {
                      "amount" : "22.80",
                      "date" : "",
                      "desc" : "Adjustment",
                      "checknumber" : "",
                      "memo" : ""
                   }
                ],
                "num_lines" : 1,
                "payor_name" : "US 5 oct",
                "payor_id" : 10,
                "on_hold" : 0,
                "run_status" : 5,
                "currency_symbol" : "$",
                "txt_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/483/download?format=txt",
                "currency_code" : "USD",
                "run_type" : "publisher",
                "payee_id" : 89,
                "total" : 22.8,
                "run_id" : 109,
                "pdf_url" : "https://portal.royaltyshare.com/api/client/202/runtype/publisher/statement/483/download?format=pdf",
                "balance" : 0,
                "payee_name" : "US",
                "statement_id" : 483,
                "client_account_id" : null,
                "amount_payable" : 22.8
             }
          ],
          "num_statements" : 8,
          "client_name" : "RS Test",
          "num_payors" : 1
       },
       {
          "run_list" : [
             {
                "run_name" : "test1",
                "selected" : 0,
                "run_id" : 1
             },
             {
                "run_name" : "yoyousa statement 27 Oct-2",
                "selected" : 0,
                "run_id" : 3
             },
             {
                "run_name" : "yoyousa statement 27 Oct-3",
                "selected" : 0,
                "run_id" : 5
             },
             {
                "run_name" : "yoyousa statement 27 Oct-4",
                "selected" : 0,
                "run_id" : 6
             }
          ],
          "num_runs" : 4,
          "client_id" : 550,
          "num_payees" : 1,
          "display_name" : "YoYo USA",
          "payee_list" : [
             {
                "client_account_id" : null,
                "payee_name" : "US 1",
                "payee_id" : 3,
                "selected" : 0
             }
          ],
          "payor_list" : [
             {
                "payor_id" : 2,
                "selected" : 0,
                "payor_name" : "US test"
             }
          ],
          "email" : "agalkina+QA@THEORCHARD.COM",
          "historical_statement" : [
             {
                "run_name" : "yoyousa statement 27 Oct-4",
                "excel_url" : "https://portal.royaltyshare.com/api/client/550/runtype/publisher/statement/12/download?format=xls",
                "date" : "2022-10-27 06:12:32",
                "min_payment" : 1,
                "previous_balance" : 36.5,
                "lines" : [],
                "num_lines" : 0,
                "payor_name" : "US test",
                "payor_id" : 2,
                "on_hold" : 0,
                "run_status" : 5,
                "currency_symbol" : "$",
                "txt_url" : "https://portal.royaltyshare.com/api/client/550/runtype/publisher/statement/12/download?format=txt",
                "currency_code" : "USD",
                "run_type" : "publisher",
                "payee_id" : 3,
                "total" : 36.5,
                "run_id" : 6,
                "pdf_url" : "https://portal.royaltyshare.com/api/client/550/runtype/publisher/statement/12/download?format=pdf",
                "balance" : 0,
                "payee_name" : "US 1",
                "statement_id" : 12,
                "client_account_id" : null,
                "amount_payable" : 36.5
             },
             {
                "run_name" : "yoyousa statement 27 Oct-3",
                "excel_url" : "https://portal.royaltyshare.com/api/client/550/runtype/publisher/statement/10/download?format=xls",
                "date" : "2022-10-27 06:11:27",
                "min_payment" : 1,
                "previous_balance" : 36.5,
                "lines" : [],
                "num_lines" : 0,
                "payor_name" : "US test",
                "payor_id" : 2,
                "on_hold" : 0,
                "run_status" : 5,
                "currency_symbol" : "$",
                "txt_url" : "https://portal.royaltyshare.com/api/client/550/runtype/publisher/statement/10/download?format=txt",
                "currency_code" : "USD",
                "run_type" : "publisher",
                "payee_id" : 3,
                "total" : 36.5,
                "run_id" : 5,
                "pdf_url" : "https://portal.royaltyshare.com/api/client/550/runtype/publisher/statement/10/download?format=pdf",
                "balance" : 0,
                "payee_name" : "US 1",
                "statement_id" : 10,
                "client_account_id" : null,
                "amount_payable" : 36.5
             },
             {
                "run_name" : "yoyousa statement 27 Oct-2",
                "excel_url" : "https://portal.royaltyshare.com/api/client/550/runtype/publisher/statement/6/download?format=xls",
                "date" : "2022-10-27 05:57:56",
                "min_payment" : 1,
                "previous_balance" : 36.5,
                "lines" : [],
                "num_lines" : 0,
                "payor_name" : "US test",
                "payor_id" : 2,
                "on_hold" : 0,
                "run_status" : 5,
                "currency_symbol" : "$",
                "txt_url" : "https://portal.royaltyshare.com/api/client/550/runtype/publisher/statement/6/download?format=txt",
                "currency_code" : "USD",
                "run_type" : "publisher",
                "payee_id" : 3,
                "total" : 36.5,
                "run_id" : 3,
                "pdf_url" : "https://portal.royaltyshare.com/api/client/550/runtype/publisher/statement/6/download?format=pdf",
                "balance" : 0,
                "payee_name" : "US 1",
                "statement_id" : 6,
                "client_account_id" : null,
                "amount_payable" : 36.5
             }
          ],
          "num_statements" : 3,
          "client_name" : "YoYo USA",
          "num_payors" : 1
       }
    ]
 }
