{"id":1859,"date":"2026-11-06T00:53:57","date_gmt":"2026-11-06T00:53:57","guid":{"rendered":"https:\/\/charge-it.io\/?page_id=1859"},"modified":"2026-11-06T00:53:57","modified_gmt":"2026-11-06T00:53:57","slug":"developers-zh","status":"publish","type":"page","link":"https:\/\/charge-it.io\/?page_id=1859&lang=zh","title":{"rendered":"\u5f00\u53d1\u8005"},"content":{"rendered":"\n<section aria-labelledby=\"t\" class=\"phero dark glow\">\n<div class=\"wrap\">\n<ul class=\"crumbs\"><li><a href=\"https:\/\/charge-it.io\/?lang=en\">\u9996\u9875<\/a><\/li><li>\u5f00\u53d1\u8005<\/li><\/ul>\n<div class=\"phero-grid\">\n<div>\n<p class=\"eyebrow\"><span class=\"dot pulse\"><\/span>\u5f00\u53d1\u8005<\/p>\n<h1 class=\"h1\" id=\"t\">\u57fa\u4e8e<em>\u60a8\u7684\u63a7\u5236\u53f0\u6240\u8fd0\u884c\u7684\u5e73\u53f0<\/em>\u8fdb\u884c\u5f00\u53d1\u3002<\/h1>\n<p class=\"lead\">\u4e00\u5957 API \u540c\u65f6\u670d\u52a1\u60a8\u7684\u540e\u7aef\u548c\u60a8\u7684\u8f66\u4e3b App\uff0c\u6309\u7ec4\u7ec7\u8bbe\u7f6e\u8bbf\u95ee\u6743\u9650\uff0c\u672a\u7ecf\u60a8\u542f\u7528\u7684\u6743\u9650\u4e00\u5f8b\u4e0d\u6388\u4e88\u3002<\/p>\n<div class=\"actions\"><a class=\"btn btn-primary\" href=\"https:\/\/charge-it.io\/?page_id=23&#038;lang=en\">\u7533\u8bf7 API \u8bbf\u95ee <span aria-hidden=\"true\" class=\"arrow\">\u2192<\/span><\/a><\/div>\n<\/div>\n<div aria-label=\"API \u8bbf\u95ee\u5982\u4f55\u8bbe\u7f6e\" class=\"term\">\n<div class=\"term-head\"><span><span class=\"dot pulse\" style=\"margin-inline-end: 8px\"><\/span>\u5f00\u53d1\u8005\u9762\u677f<\/span><span>\u6309\u7ec4\u7ec7<\/span><\/div>\n<div style=\"padding: 18px 16px; display: grid; gap: 10px\">\n<div style=\"display: flex; justify-content: space-between; gap: 12px\"><span class=\"muted\">API \u8bbf\u95ee<\/span><span class=\"ok\" style=\"color: var(--d-brand-ink)\">\u7531 ChargeIT \u5f00\u901a<\/span><\/div>\n<div style=\"display: flex; justify-content: space-between; gap: 12px\"><span class=\"muted\">\u6743\u9650\u8303\u56f4<\/span><span>\u4f4d\u7f6e \u00b7 \u4f1a\u8bdd \u00b7 \u8d44\u8d39 \u00b7 \u53d1\u7968<\/span><\/div>\n<div style=\"display: flex; justify-content: space-between; gap: 12px\"><span class=\"muted\">\u5199\u5165\u6743\u9650<\/span><span>\u4ec5\u5728\u4e3a\u60a8\u5f00\u901a\u65f6\u53ef\u7528<\/span><\/div>\n<div style=\"display: flex; justify-content: space-between; gap: 12px\"><span class=\"muted\">\u901f\u7387\u7b49\u7ea7<\/span><span>\u6309\u5ba2\u6237\u8bbe\u7f6e<\/span><\/div>\n<div style=\"display: flex; justify-content: space-between; gap: 12px\"><span class=\"muted\">\u5bc6\u94a5<\/span><span>\u521b\u5efa \u00b7 \u540a\u9500<\/span><\/div>\n<div style=\"display: flex; justify-content: space-between; gap: 12px\"><span class=\"muted\">\u79fb\u52a8 App<\/span><span>bundle ID \u00b7 redirect URI \u00b7 client ID<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n\n\n<section aria-labelledby=\"cred-t\" class=\"sec light\">\n<div class=\"wrap\">\n<div class=\"sec-head\"><div><p class=\"eyebrow\"><span class=\"dot\"><\/span>\u4e24\u7c7b\u51ed\u636e<\/p><h2 class=\"h2\" id=\"cred-t\">\u5bc6\u94a5\u7ed9\u670d\u52a1\u5668\uff0c\u4ee4\u724c\u7ed9\u8f66\u4e3b\u3002<\/h2><\/div><p class=\"lead\">API \u5bc6\u94a5\u7edd\u4e0d\u653e\u8fdb\u79fb\u52a8 App\uff0c\u56e0\u4e3a\u4efb\u4f55\u4eba\u90fd\u53ef\u80fd\u4ece\u4e2d\u63d0\u53d6\u3002\u60a8\u7684\u540e\u7aef\u4f7f\u7528\u5bc6\u94a5\uff1b\u60a8 App \u4e2d\u7684\u6bcf\u4f4d\u8f66\u4e3b\u90fd\u4f1a\u83b7\u5f97\u5c5e\u4e8e\u81ea\u5df1\u7684\u77ed\u671f\u4ee4\u724c\u3002<\/p><\/div>\n<div class=\"creds\">\n<article class=\"card\" style=\"padding: 40px\"><span class=\"k\">API \u5bc6\u94a5 \u00b7 \u670d\u52a1\u5668\u5230\u670d\u52a1\u5668<\/span><h3 class=\"h3\" style=\"font-size: 26px\">\u7528\u4e8e\u60a8\u7684\u540e\u7aef\u548c\u5de5\u5177<\/h3><p>\u4f4d\u7f6e\u3001\u5145\u7535\u6869\u72b6\u6001\u3001\u4f1a\u8bdd\u3001\u8d44\u8d39\u548c\u53d1\u7968\u3002\u6bcf\u4e2a\u5bc6\u94a5\u90fd\u6709\u5404\u81ea\u7684\u6743\u9650\u8303\u56f4\u548c\u901f\u7387\u7b49\u7ea7\uff0c\u5e76\u53ef\u968f\u65f6\u540a\u9500\u3002<\/p><div class=\"flow\"><b>\u60a8\u7684\u540e\u7aef<\/b><span class=\"wire\"><\/span><b>ChargeIT API<\/b><\/div><\/article>\n<article class=\"card\" style=\"padding: 40px\"><span class=\"k\">\u8f66\u4e3b\u4ee4\u724c \u00b7 OAuth 2.0 + PKCE<\/span><h3 class=\"h3\" style=\"font-size: 26px\">\u7528\u4e8e\u60a8\u81ea\u5df1\u7684\u8f66\u4e3b App<\/h3><p>\u7531 ChargeIT \u6258\u7ba1\u3001\u91c7\u7528\u60a8\u54c1\u724c\u98ce\u683c\u7684\u767b\u5f55\u9875\u3002\u6bcf\u4e2a\u4ee4\u724c\u4ec5\u9650\u5bf9\u5e94\u7684\u4e00\u4f4d\u8f66\u4e3b\uff1a\u5176\u672c\u4eba\u7684\u4f1a\u8bdd\u3001\u5361\u7247\u548c\u4ed8\u6b3e\u3002<\/p><div class=\"flow\"><b>\u60a8\u7684 App<\/b><span class=\"wire\"><\/span><b>\u8f66\u4e3b\u4ee4\u724c<\/b><\/div><\/article>\n<\/div>\n<\/div>\n<\/section>\n\n\n<section aria-labelledby=\"cap-t\" class=\"sec band light\">\n<div class=\"wrap\">\n<div class=\"sec-head\"><div><p class=\"eyebrow\"><span class=\"dot\"><\/span>\u8f66\u4e3b API<\/p><h2 class=\"h2\" id=\"cap-t\">\u8f66\u4e3b App \u6240\u9700\u7684\u4e00\u5207\u3002<\/h2><\/div><p class=\"lead\">\u57fa\u4e8e ChargeIT App \u6240\u7528\u7684\u540c\u4e00\u5957\u8f66\u4e3b\u8d26\u6237\u6784\u5efa\uff0c\u60a8\u65e0\u9700\u518d\u642d\u5efa\u7b2c\u4e8c\u5957\u7528\u6237\u7cfb\u7edf\u3002\u8f66\u4e3b\u7684\u4e2a\u4eba\u6570\u636e\u548c\u652f\u4ed8\u6570\u636e\u4fdd\u7559\u5728 ChargeIT \u4e00\u4fa7\u3002<\/p><\/div>\n<div class=\"cap-grid\">\n<div class=\"cap\"><h3>\u67e5\u627e\u5145\u7535\u6869<\/h3><ul><li>\u5730\u56fe\u641c\u7d22<\/li><li>\u5b9e\u65f6\u53ef\u7528\u6027<\/li><li>\u4ef7\u683c<\/li><\/ul><\/div>\n<div class=\"cap\"><h3>\u5145\u7535<\/h3><ul><li>\u901a\u8fc7\u4e8c\u7ef4\u7801\u6216\u5145\u7535\u67aa\u542f\u52a8\u548c\u505c\u6b62<\/li><li>\u5b9e\u65f6\u7535\u91cf\uff08kWh\uff09\u3001\u529f\u7387\u548c\u8d39\u7528<\/li><\/ul><\/div>\n<div class=\"cap\"><h3>\u8d26\u6237<\/h3><ul><li>\u4e2a\u4eba\u8d44\u6599<\/li><li>RFID \u5361<\/li><li>\u652f\u4ed8\u65b9\u5f0f<\/li><li>\u5386\u53f2\u8bb0\u5f55\u4e0e\u6536\u636e<\/li><\/ul><\/div>\n<div class=\"cap\"><h3>\u4e8b\u4ef6<\/h3><ul><li>\u901a\u8fc7 Webhook \u63a8\u9001\u4f1a\u8bdd\u66f4\u65b0<\/li><li>\u6216\u7531\u6211\u4eec\u4ee3\u4e3a\u53d1\u9001\u63a8\u9001\u901a\u77e5<\/li><\/ul><\/div>\n<\/div>\n<\/div>\n<\/section>\n\n\n<section aria-labelledby=\"pk-t\" class=\"sec light\">\n<div class=\"wrap\">\n<div class=\"sec-head\"><div><p class=\"eyebrow\"><span class=\"dot\"><\/span>\u8f66\u4e3b\u767b\u5f55<\/p><h2 class=\"h2\" id=\"pk-t\">\u8f66\u4e3b\u767b\u5f55\u65e0\u9700\u540e\u7aef\u3002<\/h2><\/div><\/div>\n<figure aria-label=\"\u8f66\u4e3b\u767b\u5f55\u6d41\u7a0b\" class=\"pkce dark\" style=\"margin: 0; border-radius: var(--r-frame); padding: 32px; background: var(--ink)\">\n<div class=\"node\"><b>\u60a8\u7684 App<\/b><small>\u6253\u5f00\u6258\u7ba1\u767b\u5f55\u9875<\/small><\/div>\n<span aria-hidden=\"true\" class=\"wire\"><\/span><span aria-hidden=\"true\" class=\"vwire\"><\/span>\n<div class=\"node core\"><b>\u6258\u7ba1\u767b\u5f55<\/b><small>\u91c7\u7528\u60a8\u7684\u54c1\u724c\u98ce\u683c<\/small><\/div>\n<span aria-hidden=\"true\" class=\"wire\"><\/span><span aria-hidden=\"true\" class=\"vwire\"><\/span>\n<div class=\"node\"><b>\u8f66\u4e3b\u4ee4\u724c<\/b><small>\u77ed\u671f\u6709\u6548\uff0c\u4ec5\u9650\u4e00\u4f4d\u8f66\u4e3b<\/small><\/div>\n<span aria-hidden=\"true\" class=\"wire\"><\/span><span aria-hidden=\"true\" class=\"vwire\"><\/span>\n<div class=\"node\"><b>ChargeIT API<\/b><small>\u76f4\u63a5\u4ece App \u8c03\u7528<\/small><\/div>\n<\/figure>\n<\/div>\n<\/section>\n\n\n<section aria-labelledby=\"who-t\" class=\"sec band light\">\n<div class=\"wrap\">\n<div class=\"sec-head\"><div><p class=\"eyebrow\"><span class=\"dot\"><\/span>\u8c01\u80fd\u4f7f\u7528\u9762\u677f<\/p><h2 class=\"h2\" id=\"who-t\">\u6309\u7ec4\u7ec7\u5f00\u901a\u3002<\/h2><\/div><\/div>\n<div class=\"tbl-box\">\n<table class=\"tbl panel-tbl\">\n<thead><tr><th scope=\"col\">\u7ec4\u7ec7<\/th><th scope=\"col\">\u5b8c\u6574\u63a7\u5236\u53f0<\/th><th scope=\"col\">\u5f00\u53d1\u8005\u9762\u677f<\/th><th scope=\"col\">\u5178\u578b\u7528\u9014<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u6df7\u5408<\/td><td class=\"yes\">\u662f<\/td><td class=\"yes\">\u662f<\/td><td>\u62e5\u6709\u81ea\u6709\u8f66\u4e3b App \u7684\u767d\u6807\u8fd0\u8425\u5546<\/td><\/tr>\n<tr><td>\u4ec5 API<\/td><td class=\"no\">\u2014<\/td><td class=\"yes\">\u662f<\/td><td>\u4e00\u5207\u81ea\u884c\u6784\u5efa\u7684\u4ea7\u54c1\u56e2\u961f<\/td><\/tr>\n<tr><td>\u5176\u4ed6\u6240\u6709\u4eba<\/td><td class=\"yes\">\u662f<\/td><td class=\"no\">\u2014<\/td><td>\u4f7f\u7528\u63a7\u5236\u53f0\u548c ChargeIT App \u7684\u8fd0\u8425\u5546<\/td><\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/section>\n\n\n<section aria-labelledby=\"cta-t\" class=\"cta dark glow\">\n<div class=\"wrap\">\n<h2 class=\"display\" id=\"cta-t\">\u544a\u8bc9\u6211\u4eec\u60a8\u5728\u6784\u5efa\u4ec0\u4e48\u3002<\/h2>\n<div class=\"cta-side\"><p>\u6211\u4eec\u5c06\u4e3a\u60a8\u5f00\u901a\u6240\u9700\u7684\u6743\u9650\u8303\u56f4\uff0c\u5e76\u8bbe\u7f6e\u597d\u60a8\u7684\u7ec4\u7ec7\u3002<\/p><a class=\"btn btn-primary\" href=\"https:\/\/charge-it.io\/?page_id=23&#038;lang=en\">\u7533\u8bf7 API \u8bbf\u95ee <span aria-hidden=\"true\" class=\"arrow\">\u2192<\/span><\/a><\/div>\n<\/div>\n<\/section>\n\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u9875 \u5f00\u53d1\u8005 \u5f00\u53d1\u8005 \u57fa\u4e8e\u60a8\u7684\u63a7\u5236\u53f0\u6240\u8fd0\u884c\u7684\u5e73\u53f0\u8fdb\u884c\u5f00\u53d1\u3002 \u4e00\u5957 API \u540c\u65f6\u670d\u52a1\u60a8\u7684\u540e\u7aef\u548c\u60a8\u7684\u8f66\u4e3b App\uff0c\u6309\u7ec4\u7ec7\u8bbe\u7f6e\u8bbf\u95ee\u6743\u9650\uff0c\u672a\u7ecf\u60a8\u542f\u7528\u7684\u6743\u9650\u4e00\u5f8b\u4e0d\u6388\u4e88\u3002 \u7533\u8bf7 API \u8bbf\u95ee \u2192 \u5f00\u53d1\u8005\u9762\u677f\u6309\u7ec4\u7ec7 API \u8bbf\u95ee\u7531 ChargeIT \u5f00\u901a \u6743\u9650\u8303\u56f4\u4f4d\u7f6e \u00b7 \u4f1a\u8bdd \u00b7 \u8d44\u8d39 \u00b7 \u53d1\u7968 \u5199\u5165\u6743\u9650\u4ec5\u5728\u4e3a\u60a8\u5f00\u901a\u65f6\u53ef\u7528 \u901f\u7387\u7b49\u7ea7\u6309\u5ba2\u6237\u8bbe\u7f6e \u5bc6\u94a5\u521b\u5efa \u00b7 \u540a\u9500 \u79fb\u52a8 Appbundle ID \u00b7 redirect URI \u00b7 client ID \u4e24\u7c7b\u51ed\u636e \u5bc6\u94a5\u7ed9\u670d\u52a1\u5668\uff0c\u4ee4\u724c\u7ed9\u8f66\u4e3b\u3002 API \u5bc6\u94a5\u7edd\u4e0d\u653e\u8fdb\u79fb\u52a8 App\uff0c\u56e0\u4e3a\u4efb\u4f55\u4eba\u90fd\u53ef\u80fd\u4ece\u4e2d\u63d0\u53d6\u3002\u60a8\u7684\u540e\u7aef\u4f7f\u7528\u5bc6\u94a5\uff1b\u60a8 App \u4e2d\u7684\u6bcf\u4f4d\u8f66\u4e3b\u90fd\u4f1a\u83b7\u5f97\u5c5e\u4e8e\u81ea\u5df1\u7684\u77ed\u671f\u4ee4\u724c\u3002 API \u5bc6\u94a5 \u00b7 \u670d\u52a1\u5668\u5230\u670d\u52a1\u5668 \u7528\u4e8e\u60a8\u7684\u540e\u7aef\u548c\u5de5\u5177 \u4f4d\u7f6e\u3001\u5145\u7535\u6869\u72b6\u6001\u3001\u4f1a\u8bdd\u3001\u8d44\u8d39\u548c\u53d1\u7968\u3002\u6bcf\u4e2a\u5bc6\u94a5\u90fd\u6709\u5404\u81ea\u7684\u6743\u9650\u8303\u56f4\u548c\u901f\u7387\u7b49\u7ea7\uff0c\u5e76\u53ef\u968f\u65f6\u540a\u9500\u3002 \u60a8\u7684\u540e\u7aefChargeIT API \u8f66\u4e3b\u4ee4\u724c \u00b7 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":8,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_chargeit_seo_title":"","_chargeit_seo_desc":"","_chargeit_seo_image":0,"_chargeit_noindex":false,"footnotes":""},"class_list":["post-1859","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/charge-it.io\/index.php?rest_route=\/wp\/v2\/pages\/1859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/charge-it.io\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/charge-it.io\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/charge-it.io\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/charge-it.io\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1859"}],"version-history":[{"count":0,"href":"https:\/\/charge-it.io\/index.php?rest_route=\/wp\/v2\/pages\/1859\/revisions"}],"wp:attachment":[{"href":"https:\/\/charge-it.io\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}