{"id":8102,"date":"2025-11-17T20:39:33","date_gmt":"2025-11-17T11:39:33","guid":{"rendered":"https:\/\/www.flow-state.jp\/amelia\/?post_type=bwl_kb&#038;p=8102"},"modified":"2025-11-17T21:06:49","modified_gmt":"2025-11-17T12:06:49","slug":"amelia-api-payments","status":"publish","type":"bwl_kb","link":"https:\/\/www.flow-state.jp\/amelia\/mypage\/api-endpoints\/amelia-api-payments\/","title":{"rendered":"\u652f\u6255\u3044"},"content":{"rendered":"<div class=\"p-blogParts post_content\" data-partsID=\"3489\">\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer u-mb-ctrl u-mb-0\"><\/div>\n\n\n\n<p class=\"has-text-align-center has-huge-font-size\"><span style=\"--the-icon-svg: url(data:image\/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBhcmlhLWhpZGRlbj0idHJ1ZSIgdmlld0JveD0iMCAwIDQ4IDQ4Ij48cGF0aCBkPSJNMTEuNyAxLjQgNi44IDVjLS41LjQtLjggMS0uOCAxLjZ2MjguN2MwIC44LjUgMS41IDEuMiAxLjhsMjQgMTAuM2MxLjMuNiAyLjgtLjQgMi44LTEuOFYxOWMwLS44LS41LTEuNS0xLjItMS44TDEwLjIgNy41bDIuOS0yLjJjLjktLjYgMi0uOCAzLS40bDIwLjYgOC44Yy43LjMgMS4yIDEgMS4yIDEuOFY0Mi45YzAgLjkgMSAxLjMgMS43LjhsMS43LTEuNWMuNC0uNC43LS45LjctMS41VjEzYzAtLjgtLjUtMS41LTEuMi0xLjhMMTYuNy44Yy0xLjctLjctMy42LS41LTUgLjZ6Ij48L3BhdGg+PC9zdmc+)\" data-icon=\"LsBook\" data-id=\"0\" aria-hidden=\"true\" class=\"swl-inline-icon\">\u2003<\/span> <strong>\u64cd\u4f5c\u30ac\u30a4\u30c9<\/strong><\/p>\n\n\n<p><form id=\"form\" action=\"https:\/\/www.flow-state.jp\/amelia\" autocomplete=\"off\" class=\"bkb-live-search-form bkb-sbox-layout-1 rounded-box\">\n                                                <div id=\"suggest\" class=\"bkb_filter_container\">\n                                                    <input type=\"text\" size=\"25\" value=\"\" id=\"s\" name=\"s\" class=\"s\" placeholder=\"\u304a\u63a2\u3057\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u533a\u5207\u308a\u306f\u534a\u89d2\u30b9\u30da\u30fc\u30b9\uff09\" data-search-box-unique-id=\"1696211811\" data-search_limit=\"30\" data-search_only_title=\"0\" data-search_both_tc=\"0\"\/>\n                                                    <span class=\"bkbm-btn-clear bkbm-dn\"><\/span>\n                                                    <div class=\"suggestionsBox\" id=\"suggestions_1696211811\" style=\"display: none;\">\n                                                        <div class=\"suggestionList\" id=\"suggestionsList_1696211811\"> &nbsp; <\/div>\n                                                    <\/div>\n                                                <\/div>\n                                            <\/form><\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">Amelia API \u2013 \u652f\u6255\u3044<\/h2>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001\u652f\u6255\u3044\u306b\u95a2\u9023\u3059\u308bAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_info\">\u3059\u3079\u3066\u306eAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3068\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u304a\u3088\u3073\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4f8b\u306f\u3001<a href=\"https:\/\/www.flow-state.jp\/amelia\/wp-content\/uploads\/2025\/11\/amelia-api.json_.zip\" data-type=\"attachment\" data-id=\"8545\">\u3053\u3061\u3089<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u308b<strong>Amelia<\/strong> API Postman\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_info\"><strong>\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044:<\/strong> API\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u4f7f\u7528\u306b\u306f\u3001\u4e00\u5b9a\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30ad\u30eb\u304c\u5fc5\u8981\u3067\u3042\u308a\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u63d0\u4f9b\u3055\u308c\u308b\u30b5\u30dd\u30fc\u30c8\u306b\u306f\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u8a8d\u8a3c<\/strong><\/h3>\n\n\n\n<p>\u3059\u3079\u3066\u306e<strong>Amelia<\/strong>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f\u3001<code>Amelia<\/code>\u3068\u3044\u3046\u540d\u524d\u306e\u30d8\u30c3\u30c0\u30fc\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u305fAPI\u30ad\u30fc\u8a8d\u8a3c\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-text-align-left\">\u30d1\u30b9<\/h3>\n\n\n\n<p><strong>Amelia<\/strong> API\u306e\u30d1\u30b9\u306f\u4ee5\u4e0b\u3067\u59cb\u307e\u308a\u307e\u3059\uff1a<code>{{your_site_URL}}\/wp-admin\/admin-ajax.php?action=wpamelia_api&amp;call=\/api\/v1<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u652f\u6255\u3044\u306e\u8ffd\u52a0<\/h3>\n\n\n\n<p>\u4e88\u7d04\u306b\u652f\u6255\u3044\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/payments<\/code><\/p>\n\n\n\n<p><strong>\u5fc5\u9808\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5fc5\u9808\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>customerBookingId<\/code><\/td><td>integer<\/td><td>\u652f\u6255\u3044\u3092\u95a2\u9023\u4ed8\u3051\u308b\u4e88\u7d04ID\u3002<\/td><\/tr><tr><td><code>amount<\/code><\/td><td>number<\/td><td>\u652f\u6255\u3044\u91d1\u984d\u3002<\/td><\/tr><tr><td><code>gateway<\/code><\/td><td>string<\/td><td>\u652f\u6255\u3044\u306e\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>onSite<\/code>\uff08<strong>\u5f53\u65e5\u6255\u3044<\/strong>\uff09\u3001<code>payPal<\/code>\u3001<code>stripe<\/code>\u3001<code>wc<\/code>\u3001<code>mollie<\/code>\u3001<code>razorpay<\/code><\/td><\/tr><tr><td><code>status<\/code><\/td><td>string<\/td><td>\u652f\u6255\u3044\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>paid<\/code>\uff08\u652f\u6255\u3044\u6e08\u307f\uff09\u3001<code>pending<\/code>\uff08\u4fdd\u7559\u4e2d\uff09\u3001<code>partiallyPaid<\/code>\uff08\u4e00\u90e8\u652f\u6255\u3044\u6e08\u307f\uff09\u3001<code>refunded<\/code>\uff08\u6255\u3044\u623b\u3057\u6e08\u307f\uff09<\/td><\/tr><tr><td><code>packageCustomerId<\/code><\/td><td>integer<\/td><td><strong>\u30b3\u30fc\u30b9<\/strong>\u306e<strong>\u304a\u5ba2\u69d8<\/strong>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8ID\u3002\u652f\u6255\u3044\u304c<strong>\u30b3\u30fc\u30b9<\/strong>\u306b\u95a2\u9023\u3059\u308b\u5834\u5408\u306b\u5fc5\u9808\u3067\u3059\u3002<\/td><\/tr><tr><td><code>entity<\/code><\/td><td>string<\/td><td>\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u30bf\u30a4\u30d7\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>appointment<\/code>\uff08\u4e88\u7d04\uff09\u3001<code>event<\/code>\uff08\u30a4\u30d9\u30f3\u30c8\uff09\u3001<code>package<\/code>\uff08<strong>\u30b3\u30fc\u30b9<\/strong>\uff09<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u305d\u306e\u4ed6\u306e\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>dateTime<\/code><\/td><td>string<\/td><td>\u652f\u6255\u3044\u304c\u5b9f\u884c\u3055\u308c\u305f\u3001\u307e\u305f\u306f\u5b9f\u884c\u3055\u308c\u308b\u4e88\u5b9a\u306e\u65e5\u6642\uff08\u30aa\u30f3\u30e9\u30a4\u30f3\u652f\u6255\u3044\u65b9\u6cd5\u306e\u5834\u5408\u306f\u73fe\u5728\u3001<strong>\u5f53\u65e5\u6255\u3044<\/strong>\u306e\u5834\u5408\u306f\u4e88\u7d04\u65e5\u6642\uff09\u3002\u5f62\u5f0f\uff1a<code>YYYY-MM-DD HH:mm<\/code><\/td><\/tr><tr><td><code>gatewayTitle<\/code><\/td><td>string<\/td><td>WooCommerce\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306e\u7279\u5b9a\u306e\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u30bf\u30a4\u30c8\u30eb\u3002\u4f8b\uff1aStripe\u3001\u4ee3\u91d1\u5f15\u63db\u3001\u9280\u884c\u632f\u8fbc<\/td><\/tr><tr><td><code>actionsCompleted<\/code><\/td><td>boolean<\/td><td>\u4e88\u7d04\u5f8c\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u304c\u5b8c\u4e86\u3057\u305f\u304b\u3069\u3046\u304b\u3002<\/td><\/tr><tr><td><code>wcOrderId<\/code><\/td><td>integer<\/td><td>WooCommerce\u6ce8\u6587ID\u3002<\/td><\/tr><tr><td><code>transactionId<\/code><\/td><td>string<\/td><td>\u30aa\u30f3\u30e9\u30a4\u30f3\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u306e\u53d6\u5f15ID\u3002WooCommerce\u3092\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306e\u6255\u3044\u623b\u3057\u30a2\u30af\u30b7\u30e7\u30f3\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/payments&#39; \\\n--data &#39;{\n&quot;customerBookingId&quot;: 268,\n&quot;amount&quot;: 10,\n&quot;dateTime&quot;: &quot;2023-05-05 15:00:00&quot;,\n&quot;status&quot;: &quot;paid&quot;,\n&quot;gateway&quot;: &quot;stripe&quot;,\n&quot;data&quot;: {},\n&quot;packageCustomerId&quot;: null,\n&quot;entity&quot;: &quot;appointment&quot;\n}&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;New payment successfully created.&quot;,\n&quot;data&quot;: {\n&quot;payment&quot;: {\n&quot;id&quot;: null,\n&quot;customerBookingId&quot;: 268,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 10,\n&quot;gateway&quot;: &quot;stripe&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-05-05 15:00:00&quot;,\n&quot;status&quot;: &quot;paid&quot;,\n&quot;data&quot;: &quot;[]&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null\n}\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u652f\u6255\u3044\u306e\u66f4\u65b0<\/h3>\n\n\n\n<p>\u652f\u6255\u3044\u8a73\u7d30\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/payments\/{{payment_id}}<\/code><\/p>\n\n\n\n<p><strong>\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<p>\u66f4\u65b0\u3057\u305f\u3044\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u307f\u3092\u9001\u4fe1\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>customerBookingId<\/code><\/td><td>integer<\/td><td>\u652f\u6255\u3044\u3092\u95a2\u9023\u4ed8\u3051\u308b\u4e88\u7d04ID\u3002<\/td><\/tr><tr><td><code>amount<\/code><\/td><td>number<\/td><td>\u652f\u6255\u3044\u91d1\u984d\u3002<\/td><\/tr><tr><td><code>gateway<\/code><\/td><td>string<\/td><td>\u652f\u6255\u3044\u306e\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>onSite<\/code>\uff08<strong>\u5f53\u65e5\u6255\u3044<\/strong>\uff09\u3001<code>payPal<\/code>\u3001<code>stripe<\/code>\u3001<code>wc<\/code>\u3001<code>mollie<\/code>\u3001<code>razorpay<\/code><\/td><\/tr><tr><td><code>status<\/code><\/td><td>string<\/td><td>\u652f\u6255\u3044\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>paid<\/code>\uff08\u652f\u6255\u3044\u6e08\u307f\uff09\u3001<code>pending<\/code>\uff08\u4fdd\u7559\u4e2d\uff09\u3001<code>partiallyPaid<\/code>\uff08\u4e00\u90e8\u652f\u6255\u3044\u6e08\u307f\uff09\u3001<code>refunded<\/code>\uff08\u6255\u3044\u623b\u3057\u6e08\u307f\uff09<\/td><\/tr><tr><td><code>packageCustomerId<\/code><\/td><td>integer<\/td><td><strong>\u30b3\u30fc\u30b9<\/strong>\u306e<strong>\u304a\u5ba2\u69d8<\/strong>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8ID\u3002\u652f\u6255\u3044\u304c<strong>\u30b3\u30fc\u30b9<\/strong>\u306b\u95a2\u9023\u3059\u308b\u5834\u5408\u306b\u5fc5\u9808\u3067\u3059\u3002<\/td><\/tr><tr><td><code>entity<\/code><\/td><td>string<\/td><td>\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u30bf\u30a4\u30d7\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>appointment<\/code>\uff08\u4e88\u7d04\uff09\u3001<code>event<\/code>\uff08\u30a4\u30d9\u30f3\u30c8\uff09\u3001<code>package<\/code>\uff08<strong>\u30b3\u30fc\u30b9<\/strong>\uff09<\/td><\/tr><tr><td><code>dateTime<\/code><\/td><td>string<\/td><td>\u652f\u6255\u3044\u304c\u5b9f\u884c\u3055\u308c\u305f\u3001\u307e\u305f\u306f\u5b9f\u884c\u3055\u308c\u308b\u4e88\u5b9a\u306e\u65e5\u6642\uff08\u30aa\u30f3\u30e9\u30a4\u30f3\u652f\u6255\u3044\u65b9\u6cd5\u306e\u5834\u5408\u306f\u73fe\u5728\u3001<strong>\u5f53\u65e5\u6255\u3044<\/strong>\u306e\u5834\u5408\u306f\u4e88\u7d04\u65e5\u6642\uff09\u3002\u5f62\u5f0f\uff1a<code>YYYY-MM-DD HH:mm<\/code><\/td><\/tr><tr><td><code>gatewayTitle<\/code><\/td><td>string<\/td><td>WooCommerce\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306e\u7279\u5b9a\u306e\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u30bf\u30a4\u30c8\u30eb\u3002\u4f8b\uff1aStripe\u3001\u4ee3\u91d1\u5f15\u63db\u3001\u9280\u884c\u632f\u8fbc<\/td><\/tr><tr><td><code>actionsCompleted<\/code><\/td><td>boolean<\/td><td>\u4e88\u7d04\u5f8c\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u304c\u5b8c\u4e86\u3057\u305f\u304b\u3069\u3046\u304b\u3002<\/td><\/tr><tr><td><code>wcOrderId<\/code><\/td><td>integer<\/td><td>WooCommerce\u6ce8\u6587ID\u3002<\/td><\/tr><tr><td><code>transactionId<\/code><\/td><td>string<\/td><td>\u30aa\u30f3\u30e9\u30a4\u30f3\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u306e\u53d6\u5f15ID\u3002WooCommerce\u3092\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306e\u6255\u3044\u623b\u3057\u30a2\u30af\u30b7\u30e7\u30f3\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/payments\/280&#39; \\\n--data &#39;{\n&quot;customerBookingId&quot;: 268,\n&quot;amount&quot;: 15,\n&quot;dateTime&quot;: &quot;2023-05-05 15:00:00&quot;,\n&quot;status&quot;: &quot;paid&quot;,\n&quot;gateway&quot;: &quot;stripe&quot;,\n&quot;gatewayTitle&quot;: null,\n&quot;data&quot;: null,\n&quot;packageCustomerId&quot;: null,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;actionsCompleted&quot;: 1,\n&quot;wcOrderId&quot;: null,\n&quot;transactionId&quot;: null\n}&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Payment successfully updated.&quot;,\n&quot;data&quot;: {\n&quot;payment&quot;: {\n&quot;id&quot;: null,\n&quot;customerBookingId&quot;: 268,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 15,\n&quot;gateway&quot;: &quot;stripe&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-05-05 15:00:00&quot;,\n&quot;status&quot;: &quot;paid&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: null,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null\n}\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u652f\u6255\u3044\u306e\u53d6\u5f97<\/h3>\n\n\n\n<p>\u652f\u6255\u3044\u8a73\u7d30\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>GET<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/payments\/{{payment_id}}<\/code><\/p>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/payments\/312&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Successfully retrieved payment.&quot;,\n&quot;data&quot;: {\n&quot;payment&quot;: {\n&quot;id&quot;: 312,\n&quot;customerBookingId&quot;: 268,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 10,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-05-05 13:00:00&quot;,\n&quot;status&quot;: &quot;paid&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: &quot;2023-05-05 11:18:32&quot;,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null\n}\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u8907\u6570\u306e\u652f\u6255\u3044\u306e\u53d6\u5f97<\/h3>\n\n\n\n<p>\u8907\u6570\u306e\u652f\u6255\u3044\u8a73\u7d30\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>GET<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/payments<\/code><\/p>\n\n\n\n<p><strong>\u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf<\/strong><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>dates<\/code><\/td><td>string<\/td><td>\u652f\u6255\u3044\u7d50\u679c\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\u958b\u59cb\u65e5\u3068\u7d42\u4e86\u65e5\u3002<\/td><\/tr><tr><td><code>page<\/code><\/td><td>integer<\/td><td>\u7d50\u679c\u306e\u30da\u30fc\u30b8\u3002<strong>Amelia<\/strong>\u306e<strong>\u57fa\u672c\u8a2d\u5b9a<\/strong>\u3067\u4e0a\u9650\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/payments&page=1&dates=2023-05-05,2023-05-06&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Successfully retrieved payments.&quot;,\n&quot;data&quot;: {\n&quot;payments&quot;: [\n{\n&quot;id&quot;: 234,\n&quot;dateTime&quot;: &quot;2023-05-05 11:00:00&quot;,\n&quot;bookingStart&quot;: &quot;2023-05-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;wcOrderId&quot;: null,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;name&quot;: &quot;free service&quot;,\n&quot;customerBookingId&quot;: 196,\n&quot;packageCustomerId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;providers&quot;: [\n{\n&quot;id&quot;: 3,\n&quot;fullName&quot;: &quot;Milica2 \u30b9\u30bf\u30c3\u30d52&quot;,\n&quot;email&quot;: &quot;milicaemployee2@test.test&quot;\n}\n],\n&quot;customerId&quot;: 11,\n&quot;serviceId&quot;: 6,\n&quot;appointmentId&quot;: 128,\n&quot;packageId&quot;: null,\n&quot;bookedPrice&quot;: 10,\n&quot;bookableName&quot;: &quot;free service&quot;,\n&quot;customerFirstName&quot;: &quot;Amelia&quot;,\n&quot;customerLastName&quot;: &quot;Test&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Amelia\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Test\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;customerEmail&quot;: &quot;amelia@test.test&quot;,\n&quot;coupon&quot;: null,\n&quot;persons&quot;: 1,\n&quot;aggregatedPrice&quot;: 1,\n&quot;bookingExtrasSum&quot;: 0,\n&quot;secondaryPayments&quot;: []\n},\n{\n&quot;id&quot;: 260,\n&quot;dateTime&quot;: &quot;2023-05-05 11:00:00&quot;,\n&quot;bookingStart&quot;: &quot;2023-05-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;wcOrderId&quot;: null,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;name&quot;: &quot;milica service&quot;,\n&quot;customerBookingId&quot;: 219,\n&quot;packageCustomerId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;providers&quot;: [\n{\n&quot;id&quot;: 1,\n&quot;fullName&quot;: &quot;Milica \u30b9\u30bf\u30c3\u30d5&quot;,\n&quot;email&quot;: &quot;kpop.lover.10000@gmail.com&quot;\n}\n],\n&quot;customerId&quot;: 17,\n&quot;serviceId&quot;: 2,\n&quot;appointmentId&quot;: 144,\n&quot;packageId&quot;: null,\n&quot;bookedPrice&quot;: 100,\n&quot;bookableName&quot;: &quot;milica service&quot;,\n&quot;customerFirstName&quot;: &quot;Avatar&quot;,\n&quot;customerLastName&quot;: &quot;Last Airbender&quot;,\n&quot;info&quot;: null,\n&quot;customerEmail&quot;: &quot;suraj@atla.aang&quot;,\n&quot;coupon&quot;: null,\n&quot;persons&quot;: 1,\n&quot;aggregatedPrice&quot;: 1,\n&quot;bookingExtrasSum&quot;: 0,\n&quot;secondaryPayments&quot;: []\n},\n{\n&quot;id&quot;: 261,\n&quot;dateTime&quot;: &quot;2023-05-05 11:00:00&quot;,\n&quot;bookingStart&quot;: &quot;2023-05-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;wcOrderId&quot;: null,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;name&quot;: &quot;milica service&quot;,\n&quot;customerBookingId&quot;: 220,\n&quot;packageCustomerId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;providers&quot;: [\n{\n&quot;id&quot;: 1,\n&quot;fullName&quot;: &quot;Milica \u30b9\u30bf\u30c3\u30d5&quot;,\n&quot;email&quot;: &quot;kpop.lover.10000@gmail.com&quot;\n}\n],\n&quot;customerId&quot;: 8,\n&quot;serviceId&quot;: 2,\n&quot;appointmentId&quot;: 144,\n&quot;packageId&quot;: null,\n&quot;bookedPrice&quot;: 100,\n&quot;bookableName&quot;: &quot;milica service&quot;,\n&quot;customerFirstName&quot;: &quot;Kim&quot;,\n&quot;customerLastName&quot;: &quot;KibBum&quot;,\n&quot;info&quot;: null,\n&quot;customerEmail&quot;: &quot;key@test.test&quot;,\n&quot;coupon&quot;: null,\n&quot;persons&quot;: 1,\n&quot;aggregatedPrice&quot;: 1,\n&quot;bookingExtrasSum&quot;: 0,\n&quot;secondaryPayments&quot;: []\n},\n{\n&quot;id&quot;: 257,\n&quot;dateTime&quot;: &quot;2023-05-05 12:00:00&quot;,\n&quot;bookingStart&quot;: &quot;2023-05-05 12:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;wcOrderId&quot;: null,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;name&quot;: &quot;new service&quot;,\n&quot;customerBookingId&quot;: 216,\n&quot;packageCustomerId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;providers&quot;: [\n{\n&quot;id&quot;: 1,\n&quot;fullName&quot;: &quot;Milica \u30b9\u30bf\u30c3\u30d5&quot;,\n&quot;email&quot;: &quot;kpop.lover.10000@gmail.com&quot;\n}\n],\n&quot;customerId&quot;: 5,\n&quot;serviceId&quot;: 7,\n&quot;appointmentId&quot;: 142,\n&quot;packageId&quot;: null,\n&quot;bookedPrice&quot;: 33.44,\n&quot;bookableName&quot;: &quot;new service&quot;,\n&quot;customerFirstName&quot;: &quot;Milica&quot;,\n&quot;customerLastName&quot;: &quot;Test&quot;,\n&quot;info&quot;: null,\n&quot;customerEmail&quot;: &quot;new_customer@test.test&quot;,\n&quot;coupon&quot;: null,\n&quot;persons&quot;: 3,\n&quot;aggregatedPrice&quot;: 1,\n&quot;bookingExtrasSum&quot;: 0,\n&quot;secondaryPayments&quot;: []\n},\n{\n&quot;id&quot;: 258,\n&quot;dateTime&quot;: &quot;2023-05-05 12:00:00&quot;,\n&quot;bookingStart&quot;: &quot;2023-05-05 12:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;wcOrderId&quot;: null,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;name&quot;: &quot;new service&quot;,\n&quot;customerBookingId&quot;: 217,\n&quot;packageCustomerId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;providers&quot;: [\n{\n&quot;id&quot;: 1,\n&quot;fullName&quot;: &quot;Milica \u30b9\u30bf\u30c3\u30d5&quot;,\n&quot;email&quot;: &quot;kpop.lover.10000@gmail.com&quot;\n}\n],\n&quot;customerId&quot;: 8,\n&quot;serviceId&quot;: 7,\n&quot;appointmentId&quot;: 142,\n&quot;packageId&quot;: null,\n&quot;bookedPrice&quot;: 33.44,\n&quot;bookableName&quot;: &quot;new service&quot;,\n&quot;customerFirstName&quot;: &quot;Kim&quot;,\n&quot;customerLastName&quot;: &quot;KibBum&quot;,\n&quot;info&quot;: null,\n&quot;customerEmail&quot;: &quot;key@test.test&quot;,\n&quot;coupon&quot;: null,\n&quot;persons&quot;: 2,\n&quot;aggregatedPrice&quot;: 1,\n&quot;bookingExtrasSum&quot;: 0,\n&quot;secondaryPayments&quot;: []\n},\n{\n&quot;id&quot;: 312,\n&quot;dateTime&quot;: &quot;2023-05-05 15:00:00&quot;,\n&quot;bookingStart&quot;: &quot;2023-05-23 09:00:00&quot;,\n&quot;status&quot;: &quot;paid&quot;,\n&quot;wcOrderId&quot;: null,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;name&quot;: &quot;amelia service&quot;,\n&quot;customerBookingId&quot;: 268,\n&quot;packageCustomerId&quot;: null,\n&quot;amount&quot;: 10,\n&quot;providers&quot;: [\n{\n&quot;id&quot;: 1,\n&quot;fullName&quot;: &quot;Milica \u30b9\u30bf\u30c3\u30d5&quot;,\n&quot;email&quot;: &quot;kpop.lover.10000@gmail.com&quot;\n}\n],\n&quot;customerId&quot;: 2,\n&quot;serviceId&quot;: 1,\n&quot;appointmentId&quot;: 181,\n&quot;packageId&quot;: null,\n&quot;bookedPrice&quot;: 20,\n&quot;bookableName&quot;: &quot;amelia service&quot;,\n&quot;customerFirstName&quot;: &quot;Milica&quot;,\n&quot;customerLastName&quot;: &quot;Snake&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Milica\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Snake\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;customerEmail&quot;: &quot;snakemilica@yahoo.com&quot;,\n&quot;coupon&quot;: null,\n&quot;persons&quot;: 1,\n&quot;aggregatedPrice&quot;: 1,\n&quot;bookingExtrasSum&quot;: 0,\n&quot;secondaryPayments&quot;: [\n{\n&quot;id&quot;: 309,\n&quot;customerBookingId&quot;: 268,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 5,\n&quot;gateway&quot;: &quot;square&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-05-04 17:32:38&quot;,\n&quot;status&quot;: &quot;partiallyPaid&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: &quot;2023-05-04 15:32:38&quot;,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null\n}\n]\n}\n],\n&quot;filteredCount&quot;: 6,\n&quot;totalCount&quot;: 265\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u53d6\u5f15\u984d\u306e\u53d6\u5f97<\/h3>\n\n\n\n<p>\u30aa\u30f3\u30e9\u30a4\u30f3\u6c7a\u6e08\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u304b\u3089\u652f\u6255\u3044\u53d6\u5f15\u984d\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>GET<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/payments\/transaction\/{{payment_id}}<\/code><\/p>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/payments\/transaction\/312&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Successfully retrieved payment.&quot;,\n&quot;data&quot;: {\n&quot;payment&quot;: {\n&quot;id&quot;: 312,\n&quot;customerBookingId&quot;: 268,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 10,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-05-05 13:00:00&quot;,\n&quot;status&quot;: &quot;paid&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: &quot;2023-05-05 11:18:32&quot;,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null\n}\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u652f\u6255\u3044\u91d1\u984d\u306e\u8a08\u7b97<\/h3>\n\n\n\n<p>\u7279\u5b9a\u306e\u4e88\u7d04\u60c5\u5831\u306b\u57fa\u3065\u3044\u3066\u652f\u6255\u3044\u91d1\u984d\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/payments\/amount<\/code><\/p>\n\n\n\n<p><strong>\u5fc5\u9808\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5fc5\u9808\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>type<\/code><\/td><td>string<\/td><td>\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u30bf\u30a4\u30d7\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>appointment<\/code>\uff08\u4e88\u7d04\uff09\u3001<code>event<\/code>\uff08\u30a4\u30d9\u30f3\u30c8\uff09\u3001<code>package<\/code>\uff08<strong>\u30b3\u30fc\u30b9<\/strong>\uff09<\/td><\/tr><tr><td><code>bookings<\/code><\/td><td>array<\/td><td>\u4e88\u7d04\u306e\u914d\u5217\u3002<\/td><\/tr><tr><td><code>bookingStart<\/code><\/td><td>string<\/td><td>\u4e88\u7d04\u306e\u958b\u59cb\u65e5\u6642\u3002<\/td><\/tr><tr><td><code>locationId<\/code><\/td><td>integer<\/td><td><strong>\u5834\u6240<\/strong>ID<\/td><\/tr><tr><td><code>providerId<\/code><\/td><td>integer<\/td><td><strong>\u30b9\u30bf\u30c3\u30d5<\/strong>ID<\/td><\/tr><tr><td><code>serviceId<\/code><\/td><td>integer<\/td><td>\u30b5\u30fc\u30d3\u30b9ID<\/td><\/tr><tr><td><code>recurring<\/code><\/td><td>array<\/td><td>\u7e70\u308a\u8fd4\u3057\u4e88\u7d04\u306e\u914d\u5217\u3002\u4e88\u7d04\u3092\u7e70\u308a\u8fd4\u3059\u5834\u5408\u306b\u5fc5\u9808\u3067\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>couponCode<\/code><\/td><td>string<\/td><td>\u4f7f\u7528\u3059\u308b\u30af\u30fc\u30dd\u30f3\u306e\u30b3\u30fc\u30c9\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/payments\/amount&#39; \\\n--header &#39;Content-Type: application\/json&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39; \\\n--data &#39;{\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;bookings&quot;: [\n{\n&quot;extras&quot;: [\n{\n&quot;extraId&quot;: 4,\n&quot;quantity&quot;: 1\n}\n],\n&quot;deposit&quot;: true,\n&quot;persons&quot;: 2,\n&quot;duration&quot;: 1800\n}\n],\n&quot;bookingStart&quot;: &quot;2023-09-06 19:00&quot;,\n&quot;locationId&quot;: 2,\n&quot;providerId&quot;: 1,\n&quot;serviceId&quot;: 1,\n&quot;recurring&quot;: [],\n&quot;couponCode&quot;: null\n}&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: null,\n&quot;data&quot;: {\n&quot;amount&quot;: 28,\n&quot;currency&quot;: &quot;USD&quot;\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u652f\u6255\u3044\u30ea\u30f3\u30af\u306e\u4f5c\u6210<\/h3>\n\n\n\n<p>\u7279\u5b9a\u306e\u4e88\u7d04\u3068\u652f\u6255\u3044\u65b9\u6cd5\u306e\u652f\u6255\u3044\u30ea\u30f3\u30af\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/payments\/link<\/code><\/p>\n\n\n\n<p><strong>\u5fc5\u9808\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5fc5\u9808\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>data<\/code><\/td><td>object<\/td><td><code>type<\/code>\uff08\u4e88\u7d04\/\u30a4\u30d9\u30f3\u30c8\/<strong>\u30b3\u30fc\u30b9<\/strong>\uff09\u3068<code>bookingId<\/code>\uff08\u4e88\u7d04\u306eID\uff09\u306e2\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6301\u3064\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3002<\/td><\/tr><tr><td><code>paymentMethod<\/code><\/td><td>string<\/td><td>\u30ea\u30f3\u30af\u306b\u4f7f\u7528\u3059\u308b\u652f\u6255\u3044\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>payPal<\/code>\u3001<code>stripe<\/code>\u3001<code>mollie<\/code>\u3001<code>razorpay<\/code>\u3001<code>wc<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>redirectUrl<\/code><\/td><td>string<\/td><td>\u652f\u6255\u3044\u6210\u529f\u5f8c\u306b<strong>\u304a\u5ba2\u69d8<\/strong>\u3092\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3059\u308bURL\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f<strong>Amelia<\/strong>\u306e<strong>\u57fa\u672c\u8a2d\u5b9a<\/strong>\u3067\u8a2d\u5b9a\u3055\u308c\u305f<strong>\u304a\u5ba2\u69d8\u30de\u30a4\u30da\u30fc\u30b8<\/strong>\u306e\u30ea\u30f3\u30af\u3067\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/payments\/link&#39; \\\n--header &#39;Content-Type: application\/json&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39; \\\n--data &#39;{\n&quot;data&quot;: {\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;bookingId&quot;: 901\n},\n&quot;paymentMethod&quot;: &quot;payPal&quot;,\n&quot;redirectUrl&quot;: null\n}&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: null,\n&quot;data&quot;: {\n&quot;paymentLink&quot;: &quot;https:\/\/www.sandbox.paypal.com\/cgi-bin\/webscr?cmd=_express-checkout&token=EC-3D332917B6694771R&useraction=commit&quot;,\n&quot;error&quot;: null\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u652f\u6255\u3044\u306e\u6255\u3044\u623b\u3057<\/h3>\n\n\n\n<p>\u30aa\u30f3\u30e9\u30a4\u30f3\u652f\u6255\u3044\u3092\u6255\u3044\u623b\u3057\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/payments\/refund\/{{payment_id}}<\/code><\/p>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location --request POST &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/payments\/refund\/917&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Payment successfully refunded.&quot;,\n&quot;data&quot;: {\n&quot;payment&quot;: {\n&quot;id&quot;: 917,\n&quot;customerBookingId&quot;: 901,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 13,\n&quot;gateway&quot;: &quot;payPal&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-08-25 10:30:50&quot;,\n&quot;status&quot;: &quot;paid&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: &quot;2023-08-24 16:59:19&quot;,\n&quot;actionsCompleted&quot;: true,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: &quot;PAYID-MTUIFFI1Y628646J56263609&quot;\n},\n&quot;response&quot;: {\n&quot;error&quot;: false\n}\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u652f\u6255\u3044\u306e\u524a\u9664<\/h3>\n\n\n\n<p>\u652f\u6255\u3044\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/payments\/delete\/{{payment_id}}<\/code><\/p>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location --request POST &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/payments\/delete\/313&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Payment successfully deleted.&quot;,\n&quot;data&quot;: {\n&quot;payment&quot;: {\n&quot;id&quot;: 313,\n&quot;customerBookingId&quot;: 268,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 15,\n&quot;gateway&quot;: &quot;stripe&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-05-05 13:00:00&quot;,\n&quot;status&quot;: &quot;paid&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: &quot;2023-05-05 11:22:49&quot;,\n&quot;actionsCompleted&quot;: true,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null\n}\n}\n}<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n","protected":false},"author":1,"parent":0,"template":"","bkb_category":[78],"bkb_tags":[],"class_list":["post-8102","bwl_kb","type-bwl_kb","status-publish","hentry","bkb_category-api-endpoints"],"_links":{"self":[{"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bwl_kb\/8102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bwl_kb"}],"about":[{"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/types\/bwl_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bwl_kb\/8102\/revisions"}],"predecessor-version":[{"id":8103,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bwl_kb\/8102\/revisions\/8103"}],"wp:attachment":[{"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/media?parent=8102"}],"wp:term":[{"taxonomy":"bkb_category","embeddable":true,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bkb_category?post=8102"},{"taxonomy":"bkb_tags","embeddable":true,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bkb_tags?post=8102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}