{"id":88658,"date":"2020-06-03T11:59:48","date_gmt":"2020-06-03T02:59:48","guid":{"rendered":"https:\/\/support.questetra.com\/?p=88658"},"modified":"2022-06-09T10:27:32","modified_gmt":"2022-06-09T01:27:32","slug":"stripe-charge-object-create","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/stripe-charge-object-create\/","title":{"rendered":"Stripe: Charge Object, Create"},"content":{"rendered":"<div class=\"su-note\"  style=\"border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">\n<h3><i class=\"fal fa-exclamation-circle\"><\/i> PAGE UPDATED<\/h3>\n<div style=\"text-align: center;\"><i class=\"fal fa-truck fa-lg\"><\/i> <a href=\"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-charge-2021\/\">https:\/\/support.questetra.com\/addons\/stripe-customer-charge-2021\/<\/a><\/div>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"68\" data-attachment-id=\"89186\" data-permalink=\"https:\/\/support.questetra.com\/en\/maintenance\/maintenance-20251117\/attachment\/professional-banner-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?fit=1200%2C68&amp;ssl=1\" data-orig-size=\"1200,68\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"professional-banner-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?fit=1024%2C58&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=1200%2C68&#038;ssl=1\" alt=\"\" class=\"wp-image-89186\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=600%2C34&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=1024%2C58&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=768%2C44&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"su-box su-box-style-soft\" id=\"\" style=\"border-color:#cc66cc;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#ff99ff;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\">Stripe: Charge Object, Create<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n\n\n\n<p class=\"wp-block-paragraph\">Creates the Charge object on the payment platform Stripe to charge the Customer ID (cus_12345678901234) for any amount in any currency. If the charging process fails, Charge object is not created and error log such as expired_card is output.<\/p>\n\n\n<\/div><\/div>\n\n\n\n<p class=\"has-text-align-right wp-block-paragraph\">2020-06-03 (C) Questetra, Inc. (MIT License)<br>\n<a href=\"https:\/\/support.questetra.com\/en\/addons\/stripe-charge-object-create\/\">https:\/\/support.questetra.com\/addons\/stripe-charge-object-create\/<\/a><\/p>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1\" data-anchor=\"configs\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Configs<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<ul class=\"fa-ul\">\n<li><span class=\"fa-li\"><i class=\"fal fa-pen-square fa-lg\"><\/i><\/span> A: Set SecretKey of Stripe (sk_xxx: 32 letters)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-pen-square fa-lg\"><\/i><\/span> B: Set Cusomer ID<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-pen-square fa-lg\"><\/i><\/span> C1: Set Charge Amount in positive integer.<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-pen-square fa-lg\"><\/i><\/span> C2: Set Currency Code (e.g. &#8220;USD&#8221; &#8220;JPY&#8221; &#8220;EUR&#8221; etc)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-pen-square fa-lg\"><\/i><\/span> C3: Set Charge Description (Registration Num, Corp Name, etc)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> D1: Select STRING DATA for Stripe Charge ID (update)<\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> D2: Select STRING DATA for Card Brand (update)<\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> D3: Select STRING DATA for Card Last4 (update)<\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> D4: Select STRING\/YMDATE for Card Exp (update)<\/li>\n<\/ul>\n\n\n<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1 su-spoiler-closed\" data-anchor=\"script\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Script<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Nashorn Script (engine type: 1)\n\/\/ \n\/\/ Notes:\n\/\/ A positive integer representing how much to charge in the smallest currency unit.\n\/\/ - e.g., \"100\" cents to charge $1.00\n\/\/ - e.g., \"100\" to charge \\100 (a zero-decimal currency)\n\/\/ \"#{#q_numUsdWithoutCent}00\" is also possible if numerical data without auxiliary info\n\/\/ If present, commas \",\" and periods \".\" are removed in advance.\n\/\/ - When using numeric data, be careful of the number of digits after the decimal point\n\/\/ Numeric parsing depends on JavaScript parseInt(x,10). (The prefix gives an error)\n\/\/ See below for more information on available currency codes (JPY, USD, EUR, ...)\n\/\/ - https:\/\/stripe.com\/docs\/currencies\n\/\/ In case of USD, the minimum amount is $0.50 or equivalent.\n\/\/ The amount value supports up to eight digits (e.g., for a USD charge of $999,999.99).\n\/\/ Refer to the following for the error codes (ResponseCode other than 200).\n\/\/ - https:\/\/stripe.com\/docs\/api\/errors\n\/\/ \n\/\/ Notes(ja):\n\/\/ \u8ab2\u91d1\u984d\u306e\u8a2d\u5b9a\u306f\u3001\u6700\u5c0f\u306e\u901a\u8ca8\u5358\u4f4d\u3067\u8868\u73fe\u3057\u307e\u3059\u3002\uff08\u6b63\u306e\u6574\u6570\uff09\n\/\/ - \"1.00\u30c9\u30eb\" \u306e\u5834\u5408\u306f \"100\" \u30bb\u30f3\u30c8 (JPY)\n\/\/ - \u5c0f\u6570\u306e\u306a\u3044\u5186\u901a\u8ca8\u306e\u5834\u5408\u306f \"100\u5186\" \u306f \"100\" \u5186 (JPY)\n\/\/ \u88dc\u52a9\u901a\u8ca8\u60c5\u5831\u306e\u306a\u3044\u6570\u5024\u30c7\u30fc\u30bf\u3092\u53c2\u7167\u3057\u305f\u3044\u5834\u5408 \"#{#q_numUsdWithoutCent}00\" \u3082\u53ef\u80fd\u3067\u3059\n\/\/ \u3082\u3057\u30ab\u30f3\u30de \",\" \u3084\u30d4\u30ea\u30aa\u30c9 \".\" \u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u306f\u8ab2\u91d1\u51e6\u7406\u524d\u306b\u9664\u53bb\u3055\u308c\u307e\u3059\u3002\n\/\/ - \u6570\u5024\u578b\u30c7\u30fc\u30bf\u306e\u5c0f\u6570\u3092\u4f7f\u3046\u5834\u5408\u3001\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306e\u6841\u6570\u8a2d\u5b9a\u306b\u6ce8\u610f\n\/\/ - \"100.00\u5186\" \u306f\u300c\uff11\u4e07\u5186\u300d\u306e\u8ab2\u91d1\u306b\u306a\u308a\u307e\u3059\n\/\/ \u6570\u5024\u5224\u5b9a\u306f JavaScript parseInt(x,10) \u306b\u4f9d\u5b58\u3057\u307e\u3059 \uff08\u63a5\u982d\u8f9e\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\uff09\n\/\/ \u5229\u7528\u3067\u304d\u308b\u901a\u8ca8\u30b3\u30fc\u30c9\u306e\u8a73\u7d30\u306f\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044 (JPY, USD, EUR, ...)\n\/\/ - https:\/\/stripe.com\/docs\/currencies\n\/\/ \u65e5\u672c\u5186\u306e\u5834\u5408\u3001\u6700\u5c0f\u91d1\u984d\u306f50\u5186\u3067\u3059\u3002\n\/\/ \u8ab2\u91d1\u984d\u306f\u6700\u5927\u6841\u6570\u306f8\u6841\u3067\u3059\u3002\uff08\u65e5\u672c\u5186\u306e\u5834\u5408\u300199,999,999\u5186\uff09\n\/\/ \u30a8\u30e9\u30fc\u30b3\u30fc\u30c9\uff08200\u4ee5\u5916\u306eResponseCode\uff09\u306e\u5185\u5bb9\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\/\/ - https:\/\/stripe.com\/docs\/api\/errors\n\n\/*\n Questetra BPMS V12.0 (released 2020-05-11)\n - configs.getObject()\n - engine.findData()\n - engine.setData()\n*\/\n\n\/\/\/\/\/\/\/\/ START \"main()\" \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nmain();\nfunction main(){ \n\n\/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\nconst strSecretKey     = configs.get( \"strSetConfA\"  ); \/\/ required\nconst strCustomerId    = configs.get( \"strSetConfB\"  ); \/\/ required\nlet   strChargeAmount  = configs.get( \"strSetConfC1\" ); \/\/ required\nconst strCurrencyCode  = configs.get( \"strSetConfC2\" ); \/\/ required\nconst strChargeDescr   = configs.get( \"strSetConfC3\" ); \/\/ required\nconst pocketChargeId   = configs.getObject( \"SelectConfD1\" ); \/\/ not\nconst pocketCardBrand  = configs.getObject( \"SelectConfD2\" ); \/\/ not\nconst pocketCardLast4  = configs.getObject( \"SelectConfD3\" ); \/\/ not\nconst pocketCardExp    = configs.getObject( \"SelectConfD4\" ); \/\/ not *STRING\/YMDATE\n\nif( strSecretKey === \"\" ){\n  throw new Error( \"\\n AutomatedTask ConfigError:\" +\n                   \" Config {SecretKey A} is empty \\n\" );\n}\nif( strCustomerId === \"\" ){\n  throw new Error( \"\\n AutomatedTask ConfigError:\" +\n                   \" Config {Customer ID B} is empty \\n\" );\n}\nif( strChargeAmount === \"\" ){\n  throw new Error( \"\\n AutomatedTask ConfigError:\" +\n                   \" Config {ChargeAmount C1} is empty \\n\" );\n}\nif( strCurrencyCode === \"\" ){\n  throw new Error( \"\\n AutomatedTask ConfigError:\" +\n                   \" Config {CurrencyCode C2} is empty \\n\" );\n}\nif( strChargeDescr === \"\" ){\n  throw new Error( \"\\n AutomatedTask ConfigError:\" +\n                   \" Config {ChargeDescription C3} is empty \\n\" );\n}\n\nstrChargeAmount = strChargeAmount.replace(\/,\/g, '').replace(\/\\.\/g, '');\nlet numChargeAmount = parseInt( strChargeAmount, 10 );\nif( numChargeAmount &lt;= 0 ){\n  throw new Error( \"\\n AutomatedTask ConfigError:\" +\n                   \" Config {ChargeAmount C1} must be positive \\n\" );\n}\nstrChargeAmount = numChargeAmount + \"\";\n\n\n\/\/\/\/ == Data Retrieving \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 ==\n\/\/ (nothing, except Expression Language config)\n\n\n\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\n\/\/\/ POST \/v1\/charges\n\/\/ https:\/\/stripe.com\/docs\/api\/charges\/create\n\n\/\/ preparing for API Request\nlet apiUri = \"https:\/\/api.stripe.com\/v1\/charges\";\nlet apiRequest = httpClient.begin(); \/\/ HttpRequestWrapper\n    apiRequest = apiRequest.basic( strSecretKey, \"\" );\n    apiRequest = apiRequest.formParam( \"customer\",    strCustomerId   );\n    apiRequest = apiRequest.formParam( \"amount\",      strChargeAmount );\n    apiRequest = apiRequest.formParam( \"currency\",    strCurrencyCode );\n    apiRequest = apiRequest.formParam( \"description\", strChargeDescr  );\n\n\/\/ throwing Request to the API (POST, GET, PUT, etc)\nengine.log( \" AutomatedTask Trying: POST \" + apiUri );\nconst response = apiRequest.post( apiUri );\nconst responseCode = response.getStatusCode() + \"\";\nengine.log( \" AutomatedTask ApiResponse: Status \" + responseCode );\nif( responseCode !== \"200\"){\n  throw new Error( \"\\n AutomatedTask UnexpectedResponseError: \" +\n                    responseCode + \"\\n\" + response.getResponseAsString() + \"\\n\" );\n} \/\/ C.F. https:\/\/stripe.com\/docs\/api\/errors\n\n\/\/ parsing Response Json\nconst responseStr = response.getResponseAsString() + \"\";\n\/\/engine.log( \" DEBUG for api upgrade: \\n\" + responseStr );\nconst responseObj = JSON.parse( responseStr );\nengine.log( \" AutomatedTask ApiResponse:\" +\n            \" New ChargeObject ID: \" + responseObj.id );\nengine.log( \" AutomatedTask ApiResponse:\" +\n            \" Card Brand: \" + responseObj.source.brand );\n\n\n\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\nif( pocketChargeId !== null ){ \/\/ STRING\n  engine.setData( pocketChargeId, responseObj.id );\n}\nif( pocketCardBrand !== null ){ \/\/ STRING\n  engine.setData( pocketCardBrand, responseObj.source.brand );\n}\nif( pocketCardLast4 !== null ){ \/\/ STRING\n  engine.setData( pocketCardLast4, responseObj.source.last4 );\n}\nif( pocketCardExp !== null ){ \/\/ STRING or YMDATE\n  if( pocketCardExp.matchDataType( \"STRING\" ) ){\n    engine.setData( pocketCardExp, \n         (\"0\" + responseObj.source.exp_month).slice(-2) + \"\/\" +\n         responseObj.source.exp_year );\n  }else{\n    engine.setData( pocketCardExp, \n         java.sql.Date.valueOf(\n           responseObj.source.exp_year + \"-\" +\n           (\"0\" + responseObj.source.exp_month).slice(-2) + \"-01\"\n         )\n    );\n  }\n}\n\n} \/\/\/\/\/\/\/\/ END \"main()\" \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/<\/code><\/pre>\n\n\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><img decoding=\"async\" src=\"data:image;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADaUlEQVRYR8WXSUwTYRTH\/x9bS8tS\nKCWIbLFElkgiICQdw2I0xujB6MGo0cRojOBJEy0HLyQmJlQDnoSLXDQYLibGNUoili0sAoKGICAE\nLLKWRVpKW+YzHWiBtpQpYGau897\/\/ea9973vDYHAD+EbP7O4TSKRLp0llBwBRToIEgCErfrPgGII\nBB2U0M9Gg+jl1+JDRj7aWwLka1qiWGotAkEBADEfUQAmUFT4EL+SWnX2mCcfjwA5JU0FhNBHAKQ8\nAzubGSgld+qKVBWb+W8KkKdpekJBC7cZeIMbASn\/olbddKflFiBH01hFgAu7EdyuQYEXdWrmorOm\nC8BufrlrMNdMbABYrXn5bn65sxalpHB9TzgAuG6HtX8HDceX2+ADv0T76XAA5JY0loHgFl+VHdlR\nPNYWMbdtGhyAbchIJeZpL875juLb5oTBGCC3DSsOIOdhwyVCyTNvVRXBAYgKEaFb99dbV1BCL9fd\nPfycA8jVND4FcNWTSt5+OaQiX7zrnnCY3T+dhMz4UJR++oWanilvISq1aubaCkBJYzsI0p0VVPvC\nIAnwhb8fwY3ceOhmTahq1sHf1weWZRaRISLEhYtR3zeDYLEfDGYrWBZoH55DgjwQSoUUA5MGDE0v\nusJRdGiLmAx7BvTrLhbO+N6pRBxLicCihcX0ghmx4YEwmZfRN2FAWkwILFYWUwtmyCT+6ByZh0oZ\nBpalsCxTvP8+gaMpEfAhgMnCQvNhAM2Ds84QM1o1E24HoM5vH5xJhkop48Tr+vS4nhOHnj8LGJtf\nwvFUBapbR5EaHYTkqCDOJitBhtahWWQlhGJYb0K8PBDD04uIlolR3TaKyvoRlyxo1QzZFCAjLhTn\ns6M5wYb+Ga7WvWMLGJ1bAahq0eFAdDBS9qwBdI7M4WBsKAanjFAqJOj6PQ+90QLtTz1qe22HbOOz\nHsClBKXnUrmgS1YWr7+NIz9JjoigAK6ee2ViFwBGubIazC9a8aZrHCfTIrnyGM3LKKsZxMcfkx5K\nsEkT8m1r9QmlIyvuUu1Wx6kJtzyGnmCuMDFgEsPxtmscrzrH+XKvHcPtDiK+kdzZbRhEgo\/i1WEk\n3GVkAxD8OuYupZUlVJiFxN4ogq5kdghBl9L\/kQmv13JHJoT8MbFDCPprtn6CCfZzupNxy8f3Hyxn\noTBfuPFrAAAAAElFTkSuQmCC\" alt=\"\"\/><\/figure><\/div>\n\n\n<div class=\"su-divider su-divider-style-dashed\" style=\"margin:30px 0;border-width:8px;border-color:#009900\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-cloud-download-alt\"><\/i> Download<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/drive.google.com\/file\/d\/1_vz5FYz2IMbvQoY1hKUUbEDLkcqulHO_\/view?usp=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">Stripe-Charge-Object-Create.xml<\/a><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-images\"><\/i> Capture<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"84005\" data-permalink=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/onedrive-file-upload\/attachment\/setting-service-task-pdf-generation-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/setting-service-task-pdf-generation-en.png?fit=959%2C833&amp;ssl=1\" data-orig-size=\"959,833\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"setting-service-task-pdf-generation-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/setting-service-task-pdf-generation-en.png?fit=725%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/stripe-create-charge-object.png?ssl=1\" alt=\"\" class=\"wp-image-84005\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\"><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-capture-en.png?ssl=1\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"88661\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/stripe-charge-object-create\/attachment\/stripe-charge-object-create-capture-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-capture-en.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Stripe-Charge-Object-Create-capture-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-capture-en.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-capture-en.png?resize=1200%2C675&#038;ssl=1\" alt=\"Creates the Charge object on the payment platform Stripe to charge the Customer ID (cus_12345678901234) for any amount in any currency. If the charging process fails, Charge object is not created and error log such as expired_card is output.\" class=\"wp-image-88661\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-capture-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-capture-en.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-capture-en.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-capture-en.png?resize=768%2C432&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-lightbulb-exclamation\"><\/i> Notes<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>A positive integer representing how much to charge in the smallest currency unit.<ol><li>e.g., &#8220;100&#8221; cents to charge $1.00<\/li><li>e.g., &#8220;100&#8221; to charge \\100 (a zero-decimal currency)<\/li><\/ol><\/li><li>&#8220;#{#q_numUsdWithoutCent}00&#8221; is also possible if numerical data without auxiliary info<\/li><li>If present, commas &#8220;,&#8221; and periods &#8220;.&#8221; are removed in advance.<ol><li>When using numeric data, be careful of the number of digits after the decimal point<\/li><\/ol><\/li><li>Numeric parsing depends on JavaScript parseInt(x,10). (The prefix gives an error)<\/li><li>See below for more information on available currency codes (JPY, USD, EUR, \u2026)<ol><li><a href=\"https:\/\/stripe.com\/docs\/currencies\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/stripe.com\/docs\/currencies<\/a><\/li><\/ol><\/li><li>In case of USD, the minimum amount is $0.50 or equivalent.<\/li><li>The amount value supports up to eight digits (e.g., for a USD charge of $999,999.99).<\/li><li>Refer to the following for the error codes (ResponseCode other than 200).<ol><li><a href=\"https:\/\/stripe.com\/docs\/api\/errors\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/stripe.com\/docs\/api\/errors<\/a><\/li><\/ol><\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-balance-scale\"><\/i> See also<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"cMwpcfyqtk\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-object-create\/\">Stripe: Customer Object, Create<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Stripe: Customer Object, Create&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/addons\/stripe-customer-object-create\/embed\/#?secret=tLUS9j7PBL#?secret=cMwpcfyqtk\" data-secret=\"cMwpcfyqtk\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Creates the Charge object on the payment platform Stripe to charge the Customer ID (cus_12345678901234) for any amount in any currency. If the charging process fails, Charge object is not created and error log such as expired_card is output.<\/p>\n","protected":false},"author":2,"featured_media":88659,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[168],"tags":[],"class_list":["post-88658","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/en\/author\/imamuragenichi\/"},"uagb_comment_info":3,"uagb_excerpt":"Creates the Charge object on the payment platform Stripe to charge the Customer ID (cus_12345678901234) for any amount in any currency. If the charging process fails, Charge object is not created and error log such as expired_card is output.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-n3Y","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":107298,"url":"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-charge-2021\/","url_meta":{"origin":88658,"position":0},"title":"Stripe: Customer, Charge","author":"IMAMURA, Genichi","date":"2021-06-09","format":false,"excerpt":"Creates the Charge object on the payment platform Stripe to charge the Customer ID (cus_12345678901234) for any amount in any currency. If the charging process fails, Charge object is not created and error log such as expired_card is output.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Stripe: Customer, Charge","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":109830,"url":"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-charge-202107\/","url_meta":{"origin":88658,"position":1},"title":"Stripe: Customers, Charge","author":"IMAMURA, Genichi","date":"2021-07-16","format":false,"excerpt":"Creates the Charge object on the payment platform Stripe. If the primary payment method (Customer object) fails, the backup payment method will be charged. If all method fails, no Charge object will be created and an Abended Error log will be output.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Stripe: Customer, Charge","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":109829,"url":"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-destination-charge-202107\/","url_meta":{"origin":88658,"position":2},"title":"Stripe: Customer, Destination Charge","author":"IMAMURA, Genichi","date":"2021-07-16","format":false,"excerpt":"Creates the Charge object with Transfer Amount to charge the Customer ID for any amount in any currency. Any Connected Account are available. If the primary payment method (Customer object) fails, the backup payment method will be charged. If all method fails, no Charge object will be created and an\u2026","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Stripe: Customer, Destination Charge","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-destination-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-destination-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-destination-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-destination-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-destination-charge-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":88665,"url":"https:\/\/support.questetra.com\/ja\/addons\/stripe-charge-object-create\/","url_meta":{"origin":88658,"position":3},"title":"Stripe: \u8ab2\u91d1\u30aa\u30d6\u30b8\u30a7\u30af\u30c8, \u751f\u6210","author":"IMAMURA, Genichi","date":"2020-06-03","format":false,"excerpt":"\u6c7a\u6e08\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0Stripe\u4e0a\u306b \"\u8ab2\u91d1\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\" \u3092\u751f\u6210\u3057\u307e\u3059\u3002Stripe\u4e0a\u306eCustomerID\uff08cus_12345678901234\uff09\u306b\u5bfe\u3057\u3066\u3001\u4efb\u610f\u306e\u8ab2\u91d1\u984d\u3092\u4efb\u610f\u306e\u8ab2\u91d1\u901a\u8ca8\u30b3\u30fc\u30c9\u3067\u8ab2\u91d1\u3057\u307e\u3059\u3002\u8ab2\u91d1\u51e6\u7406\u304c\u5931\u6557\u3057\u305f\u5834\u5408\u306f\u3001\u8ab2\u91d1\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u751f\u6210\u3055\u308c\u305a\u3001expired_card \u306a\u3069\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u51fa\u529b\u3055\u308c\u307e\u3059\u3002","rel":"","context":"In &quot;\u30a2\u30c9\u30aa\u30f3&quot;","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"Stripe: \u8ab2\u91d1\u30aa\u30d6\u30b8\u30a7\u30af\u30c8, \u751f\u6210","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":88772,"url":"https:\/\/support.questetra.com\/en\/addons\/stripe-charge-object-create-with-transfer-amount\/","url_meta":{"origin":88658,"position":4},"title":"Stripe: Charge Object, Create with Transfer Amount","author":"IMAMURA, Genichi","date":"2020-06-08","format":false,"excerpt":"Creates the Charge object with Transfer Amount to charge the Customer ID for any amount in any currency. Any Connected Account as the Transfer Destination, any Transfer Amount within the Charge amount are available. If fails, the object not created.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Stripe: Charge Object, Create with Transfer Amount","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-with-Transfer-Amount-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-with-Transfer-Amount-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-with-Transfer-Amount-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-with-Transfer-Amount-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-with-Transfer-Amount-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":107269,"url":"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-create-2021\/","url_meta":{"origin":88658,"position":5},"title":"Stripe: Customer, Create","author":"IMAMURA, Genichi","date":"2021-06-09","format":false,"excerpt":"Creates a Customer object on the payment platform Stripe. Customer objects allow you to perform recurring charges. Note that it is necessary to implement tokenization mechanism that directly interacts with the customer browser and Stripe in advance.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Stripe: Customer, Create","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/88658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=88658"}],"version-history":[{"count":4,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/88658\/revisions"}],"predecessor-version":[{"id":107355,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/88658\/revisions\/107355"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/88659"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=88658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=88658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=88658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}