jsonrpc required | string Версия jsonrpc |
method required | string Default: "RemarkedLoyaltyApi.getFileRaw" Название метода |
required | object Тело запроса |
id required | string <string> Default: null IDEMPOTENCY KEY |
{- "jsonrpc": "2.0",
- "method": "RemarkedLoyaltyApi.getFileRaw",
- "params": {
- "token": "b9e3bd1f4e3e70f3ff406a31352bf2fc",
- "file": true
}, - "id": null
}
{- "jsonrpc": "2.0",
- "result": {
- "status": "ok",
- "data": {
- "app_config": {
- "android_store": "string",
- "apple_store": "string",
- "show_loyalty_card": true,
- "is_mobile_id": true,
- "app_chat": true,
- "change_bonuses": true,
- "promocodes": true,
- "certificates": true,
- "multilang": true,
- "has_children": true,
- "quiz": null,
- "check_age": true,
- "history_orders": true,
- "email_is_req": true,
- "pay_types": [
- {
- "delivery": {
- "variants": [
- {
- "key": "string",
- "text": "string"
}
]
}, - "pickup": {
- "variants": [
- {
- "key": "string",
- "text": "string"
}
]
}
}
], - "main_point": 0,
- "countries": [
- {
- "code": "ru",
- "name": "Россия",
- "mask": "+7 (###)-###-##-##",
- "mask_hint": "+7 (xxx)-xxx-xx-xx"
}
], - "auth_types": [
- "sms"
]
}, - "profile": {
- "call_us": null,
- "support": null
}, - "checkout": {
- "need_call": false,
- "tableware": false,
- "tableware_limit": 0
}
}
}, - "id": null
}