获取已绑定终端信息 * 接口:/api/v3/tkbs/open_merchant_get_microTermList * 请求加密:SM4 返回解密:SM4 */ $config = require __DIR__ . '/bootstrap.php'; $api = new \Lakala\OpenAPISDK\V3\Api\LakalaApi($config, \Lakala\OpenAPISDK\V3\Api\EncryptMode::BOTH); $request = new \Lakala\OpenAPISDK\V3\Model\ModelRequest(); $request->setReqData([ 'merchant_no' => '8224910581208R7', 'org_code' => JINGJIAN_ORG_CODE, ]); try { $response = $api->tradeApi('/api/v3/tkbs/open_merchant_get_microTermList', $request); print_r($response->getRespData()); echo $response->getCode(); print_r($response->getHeaders()); echo $response->getOriginalText(); } catch (\Lakala\OpenAPISDK\V3\ApiException $e) { echo $e->getMessage(); }