{
"method": "string",
"app_id": "string",
"version": "string",
"terminal_sn": "string",
"timestamp": 0,
"key_mode": "SK",
"ksn": "string",
"sign": "string",
"mac_key_cipher": "string",
"data_key_cipher": "string",
"username": "string",
"password": "string",
"query_pay_info": true
}
curl --location --request POST '/api/cashier/entry' \
--header 'app_version: 2122060266' \
--header 'Content-Type: application/json' \
--data-raw '{
"method": "string",
"app_id": "string",
"version": "string",
"terminal_sn": "string",
"timestamp": 0,
"key_mode": "SK",
"ksn": "string",
"sign": "string",
"mac_key_cipher": "string",
"data_key_cipher": "string",
"username": "string",
"password": "string",
"query_pay_info": true
}'
{
"msg": "string",
"code": "string",
"data": {
"basic_info": {
"country": "string",
"merchant_no": "string",
"receipt_print_logo": "string",
"institution_no": "string",
"city": "string",
"state_short_name": "string",
"store_no": "string",
"timezone": "string",
"merchant_name": "string",
"language": "string",
"store_photos": [
"string"
],
"institution_name": "string",
"address_detail": "string",
"country_no": 0,
"country_code": "string",
"app_name": "string",
"configuration_parameters": {
"only_3rd_app_use_payment": true,
"enable_log_upload": true,
"enable_bill_send": true,
"enable_esignature": true,
"enable_unreferenced_refund": true,
"sales_tax_config": {
"enable": true,
"name": "string",
"charge_mode": 0,
"fee_model": 0,
"fee_rate": 0,
"fee_amount": 0,
"description": "string",
"support_for_cash": true
},
"service_charge_config": {
"enable": true,
"name": "string",
"charge_mode": 0,
"fee_model": 0,
"fee_rate": 0,
"fee_amount": 0,
"description": "string"
},
"surcharge_config": {
"enable": true,
"name": "string",
"fee_model": 0,
"fee_rate": 0,
"fee_amount": 0,
"description": "string"
},
"cash_discount_config": {
"enable": true,
"sales_amount_based": 0,
"name": "string",
"fee_model": 0,
"fee_rate": 0,
"fee_amount": 0,
"description": "string",
"minimum_amount": 0
},
"tip_config": {
"enable": true,
"name": "string",
"charge_type": 0,
"fee_model": 0,
"rate_list": [
0
],
"fee_amount_list": [
0
],
"description": "string",
"enable_max_tip": true,
"max_tip_rate": 0,
"max_tip_amount": 0,
"record_cashier": true
},
"payment_config": {
"charge_method_list": [
1
],
"trans_type_list": [
1
]
},
"settle_config": {
"enable": true,
"time": "string",
"mode": 0
},
"pre_auth_complete_not_present_card": true,
"debicheck_switch": true,
"cashback_config": {
"cashback_ratio_rule": {
"min": "string",
"max": "string"
},
"limit_amount_rule": {
"currency": {
"cashback_amount_min": 0,
"cashback_amount_max": 0,
"purchase_amount_min": 0
}
}
},
"enable_income_display": true,
"enable_pinbypass": true,
"enable_cashier_authentication": true
},
"country_code2": "string",
"supported_settlement_currencies": "string",
"store_name": "string",
"supported_price_currencies": "string",
"app_id": "string",
"terminal_sn": "string",
"receipt_logo": "string"
},
"auth_token": "string",
"pay_info": [
{
"pay_scenario": "string",
"pay_method_list": [
{
"icon_url": "string",
"pay_channel_id": "string",
"pay_channel_name": "string",
"sandbox": 0,
"is_alipay_plus": "string",
"pay_method_id": "string",
"supported_price_currencies": "string",
"pay_method_configuration": "string",
"sort": 0,
"support_sub_pay_method_ids": [
"string"
],
"pay_method_name": "string",
"sub_pay_method_ids": [
{
"icon_url": "string",
"pay_method_id": "string",
"pay_method_configuration": "string",
"pay_method_name": "string"
}
],
"supported_trans_type": "string",
"payment_parameters": {
"pc_server_protocol": "http",
"pc_server_host": "string",
"pc_server_port": "string",
"posp_server_protocol": "string",
"posp_server_host": "string",
"posp_server_port": "string",
"posp_channel_index": "string",
"pc_merchant_no": "string",
"pc_terminal_no": "string",
"pc_dek": {
"index": "string",
"identifier": "string"
},
"pc_pek": {
"index": "string",
"identifier": "string"
},
"posp_dek": {
"index": "string",
"identifier": "string"
}
}
}
]
}
],
"user_info": {
"employee_id": "string",
"role_type": "SHOP_MANAGER",
"role_name": "string",
"last_login_time": "string",
"employee_name": "string",
"username": "string"
}
},
"psn": "string"
}