[{"data":1,"prerenderedAt":1449},["ShallowReactive",2],{"header:help":3,"footer:default":63,"story:navigation\u002Fsearch:help":243,"story:help\u002Fcategories":281,"story:help\u002Fcategories\u002Fcustom-tax-endpoint":307,"help:categories:d8395b12-d86d-4c10-b9a0-1f2d3b100f1a":335,"help:guides:d8395b12-d86d-4c10-b9a0-1f2d3b100f1a":336,"help:tree:d8395b12-d86d-4c10-b9a0-1f2d3b100f1a:default":337,"help:articles:d8395b12-d86d-4c10-b9a0-1f2d3b100f1a":364,"story:contact":1262,"_apollo:default":1448},{"name":4,"created_at":5,"published_at":6,"updated_at":7,"id":8,"uuid":9,"content":10,"slug":53,"full_slug":54,"sort_by_date":55,"position":56,"tag_list":57,"is_startpage":24,"parent_id":58,"meta_data":55,"group_id":59,"first_published_at":60,"release_id":55,"lang":61,"path":55,"alternates":62,"default_full_slug":55,"translated_slugs":55},"Help Center Header","2024-08-09T18:06:34.939Z","2026-07-30T21:52:27.962Z","2026-07-30T21:52:27.975Z",10082752,"3e9b88f7-c163-4657-a2f2-62532d600fad",{"_uid":11,"link":12,"badge":16,"items":17,"title":13,"buttons":45,"new_tab":24,"submenu":46,"subitems":47,"alignment":13,"component":48,"badge_link":49,"top_menu_items":52},"e5645a1a-f991-40e8-8d67-e40ebc082b5a",{"id":13,"url":13,"linktype":14,"fieldtype":15,"cached_url":13},"","story","multilink","Help Center",[18,27,34,39],{"_uid":19,"link":20,"title":23,"new_tab":24,"submenu":25,"component":26},"5cbe2861-1f49-4166-97da-a4dddd8105e3",{"id":21,"url":13,"linktype":14,"fieldtype":15,"cached_url":22},"4c0a2d99-ec30-4579-8ef1-6bf5564d4839","help\u002Fcategories\u002F","Articles",false,[],"header___item",{"_uid":28,"link":29,"title":32,"new_tab":33,"component":26},"8d7df70e-f087-4da0-b616-6f0e9a5af35c",{"id":13,"url":30,"linktype":31,"fieldtype":15,"cached_url":30},"https:\u002F\u002Fapi.foxycart.com\u002F","url","API Documentation",true,{"_uid":35,"link":36,"title":38,"new_tab":33,"component":26},"f76e7944-23d5-4652-87e4-cdae79272762",{"id":13,"url":37,"linktype":31,"fieldtype":15,"cached_url":37},"https:\u002F\u002Fstatus.foxy.io\u002F","System Status",{"_uid":40,"link":41,"title":44,"new_tab":24,"component":26},"0de16771-4c84-466c-a1da-d8568113c71f",{"id":42,"url":13,"linktype":14,"fieldtype":15,"cached_url":43},"01e4e370-f9b9-45af-8fa9-f15540699b0d","contact","Contact Us",[],[],[],"header",{"id":50,"url":13,"linktype":14,"fieldtype":15,"cached_url":51},"4a679eb7-662d-4ea4-a976-5a2acbf0b663","help\u002F",[],"help-header","navigation\u002Fhelp-header",null,20,[],10082747,"71b81c2e-5e09-48a1-a397-a3c72fcd344a","2022-09-21T14:50:25.655Z","default",[],{"name":64,"created_at":65,"published_at":66,"updated_at":67,"id":68,"uuid":69,"content":70,"slug":236,"full_slug":237,"sort_by_date":55,"position":238,"tag_list":239,"is_startpage":24,"parent_id":58,"meta_data":55,"group_id":240,"first_published_at":241,"release_id":55,"lang":61,"path":55,"alternates":242,"default_full_slug":55,"translated_slugs":55},"Default Footer","2024-08-09T18:06:59.024Z","2026-07-30T21:52:27.802Z","2026-07-30T21:52:27.816Z",10082753,"e59e67ac-248a-482f-84a1-53d4f318186a",{"_uid":71,"about":72,"logos":73,"socials":78,"sections":104,"component":218,"cta_title":219,"bottom_links":220,"cta_subtitle":234,"cta_button_link":235,"cta_button_text":179},"830983f5-c4c4-43c8-b150-86a5e3fa6dc8","Foxy’s hosted cart & payment page allow you to sell anything, using your existing website or platform.",[74],{"id":75,"alt":13,"name":13,"focus":13,"title":13,"filename":76,"copyright":13,"fieldtype":77},14760,"https:\u002F\u002Fa-us.storyblok.com\u002Ff\u002F1001040\u002Fx\u002F3b030847ec\u002Fb-corp.svg","asset",[79,86,92,98],{"_uid":80,"icon":81,"link":82,"name":84,"component":85},"faf0a618-ea94-42ea-9182-03be18c43216","fa-facebook",{"id":13,"url":83,"linktype":31,"fieldtype":15,"cached_url":83},"https:\u002F\u002Fwww.facebook.com\u002Ffoxycart","Facebook","footer___social",{"_uid":87,"icon":88,"link":89,"name":91,"component":85},"14309c18-7e79-423e-b375-34555bac0811","fa-instagram",{"id":13,"url":90,"linktype":31,"fieldtype":15,"cached_url":90},"https:\u002F\u002Fwww.instagram.com\u002Ffoxy_io","Instagram",{"_uid":93,"icon":94,"link":95,"name":97,"component":85},"8f7fe7cf-0dd3-4596-8334-226ea466716a","fa-linkedin",{"id":13,"url":96,"linktype":31,"fieldtype":15,"cached_url":96},"https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Ffoxycart.com","LinkedIn",{"_uid":99,"icon":100,"link":101,"name":103,"component":85},"90a675b4-dd97-40b5-be09-00a87223d4c5","fa-youtube",{"id":13,"url":102,"linktype":31,"fieldtype":15,"cached_url":102},"https:\u002F\u002Fwww.youtube.com\u002Fuser\u002Ffoxycart","Youtube",[105,135,180,202],{"_uid":106,"name":107,"items":108,"component":134},"82849945-282f-488c-b18d-a8d2252f514a","Company",[109,116,122,128],{"_uid":110,"link":111,"title":114,"new_tab":24,"component":115},"1f699ab1-938b-4d9d-9825-aabcbe6f57fe",{"id":112,"url":13,"linktype":14,"fieldtype":15,"cached_url":113},"63634293-a749-4226-9439-9f38ee6dcda0","about-us","About Us","footer___menu_items",{"_uid":117,"link":118,"title":121,"new_tab":24,"component":115},"b26b00f1-a0e7-4be2-8ab3-428b8cc841f8",{"id":119,"url":13,"linktype":14,"fieldtype":15,"cached_url":120},"26cb7c55-faed-4a77-a291-1552d4111b3e","how-foxy-works","How Foxy Works",{"_uid":123,"link":124,"title":127,"new_tab":24,"component":115},"b40c68a0-1ceb-4226-9515-6176534f61fe",{"id":125,"url":13,"linktype":14,"fieldtype":15,"cached_url":126},"dc6657d7-7f4f-4c0d-b781-e971b038ee26","for-good","Foxy For Good",{"_uid":129,"link":130,"title":133,"new_tab":24,"component":115},"3ad0c134-bef9-4fff-b891-e09f16109036",{"id":131,"url":13,"linktype":14,"fieldtype":15,"cached_url":132},"23cae210-baf4-4588-9862-d09f4f52ccd2","brand-assets","Brand Assets","footer___section",{"_uid":136,"name":137,"items":138,"component":134},"a6805fa8-ac60-47f1-b8f0-f27aded0afbe","Product",[139,145,151,157,163,169,175],{"_uid":140,"link":141,"title":144,"new_tab":24,"component":115},"b39c8a4e-2383-486f-b76a-11fbb15d8134",{"id":142,"url":13,"linktype":14,"fieldtype":15,"cached_url":143},"bb04690f-fe98-4ce6-80be-05b950f2364f","features\u002F","Features",{"_uid":146,"link":147,"title":150,"new_tab":24,"component":115},"64f8a41f-c181-433d-bc0a-fc94e71ecbf6",{"id":148,"url":13,"linktype":14,"fieldtype":15,"cached_url":149},"c450c58d-761d-48c0-a9af-0b064611689b","pricing","Pricing",{"_uid":152,"link":153,"title":156,"new_tab":24,"component":115},"6e0b287f-fd8c-4146-9e0e-0ab0b5c9ce3c",{"id":154,"url":13,"linktype":14,"fieldtype":15,"cached_url":155},"fab20ad9-e76a-4947-b709-3a6fdfa88028","blog\u002Fcategories\u002Fproduct-updates","Product Updates",{"_uid":158,"link":159,"title":162,"new_tab":24,"component":115},"47e5a074-a6b5-4f1c-8c2f-89a2ae9f83eb",{"id":160,"url":13,"linktype":14,"fieldtype":15,"cached_url":161},"d2c83612-d611-47f3-a3b4-ca7fe08540b8","changelogs\u002F","Changelogs",{"_uid":164,"link":165,"title":168,"new_tab":24,"component":115},"b5c08774-542f-4ffd-b357-c94d674488b9",{"id":166,"url":13,"linktype":14,"fieldtype":15,"cached_url":167},"08876121-0df3-4ed9-aa11-902b3e41cd02","whats-next","What's Next",{"_uid":170,"link":171,"title":174,"new_tab":24,"component":115},"9c2704ed-6d9f-43e1-9e67-c8d91c083288",{"id":172,"url":13,"linktype":14,"fieldtype":15,"cached_url":173},"056a7857-b18f-4025-8f97-91a38fc19bc8","compare\u002F","Compare",{"_uid":176,"link":177,"title":179,"new_tab":24,"component":115},"5f2db35b-674b-406a-8fa7-d246633af9fe",{"id":13,"url":178,"linktype":31,"fieldtype":15,"cached_url":178},"https:\u002F\u002Fadmin.foxy.io\u002Fsign-up","Try Foxy Free",{"_uid":181,"name":182,"items":183,"component":134},"63fa1f29-4252-4640-9922-fe310e69e54a","Security",[184,190,196],{"_uid":185,"link":186,"title":189,"new_tab":24,"component":115},"1158ddb6-9eb0-466f-8eb6-7ca2ae66c8b8",{"id":187,"url":13,"linktype":14,"fieldtype":15,"cached_url":188},"1f58fb2c-8681-4742-b6e8-09999beae9f6","security-contact","Security Contact",{"_uid":191,"link":192,"title":195,"new_tab":24,"component":115},"9a79c54a-6022-4dfd-854b-766f5e4703ba",{"id":193,"url":13,"linktype":14,"fieldtype":15,"cached_url":194},"55cbfcc3-425a-4261-8037-54e919851d2d","pci","PCI Compliance",{"_uid":197,"link":198,"title":201,"new_tab":24,"component":115},"0b85f5b6-9534-4071-b323-b39d053dd4d7",{"id":199,"url":13,"linktype":14,"fieldtype":15,"cached_url":200},"c3ac0fe3-83e2-4879-afbd-d4c83e1590df","help\u002Farticles\u002Four-official-domains-public-code","Domains & Codebases",{"_uid":203,"name":204,"items":205,"component":134},"998ded67-d107-49f4-8154-ca6be51671ec","Support",[206,209,212,215],{"_uid":207,"link":208,"title":16,"new_tab":24,"component":115},"594ffd35-3049-4004-bb08-0db568ebd819",{"id":50,"url":13,"linktype":14,"fieldtype":15,"cached_url":51},{"_uid":210,"link":211,"title":32,"new_tab":33,"component":115},"61e0b7c8-aadf-419b-a339-b3ccabc65bf4",{"id":13,"url":30,"linktype":31,"fieldtype":15,"cached_url":30},{"_uid":213,"link":214,"title":38,"new_tab":33,"component":115},"fd67a89e-1c54-4d31-94b5-64be999062d6",{"id":13,"url":37,"linktype":31,"fieldtype":15,"cached_url":37},{"_uid":216,"link":217,"title":44,"new_tab":24,"component":115},"231a6f71-e996-4ad4-b033-d4d5542f34f0",{"id":42,"url":13,"linktype":14,"fieldtype":15,"cached_url":43},"footer","Get started with our *unlimited free trial*.",[221,228],{"_uid":222,"link":223,"text":226,"component":227},"f0b77210-2632-45a2-8436-e57cad84d01a",{"id":224,"url":13,"linktype":14,"fieldtype":15,"cached_url":225},"60ba16a2-c1f4-485f-b978-8d2eeeafbf5a","terms-of-service","Terms of Service","footer___bottom_links",{"_uid":229,"link":230,"text":233,"component":227},"4bd497b0-993f-4b4d-a5b7-8a49c7c8fec9",{"id":231,"url":13,"linktype":14,"fieldtype":15,"cached_url":232},"332302b9-1d18-4016-b9c8-9b33c72d782b","privacy-policy","Privacy Policy","No credit card required.",{"id":13,"url":178,"linktype":31,"fieldtype":15,"cached_url":178},"default-footer","navigation\u002Fdefault-footer",50,[],"11006268-07f9-41e9-96f3-c51fb723399d","2022-09-21T20:39:02.357Z",[],{"name":244,"created_at":245,"published_at":246,"updated_at":247,"id":248,"uuid":249,"content":250,"slug":272,"full_slug":275,"sort_by_date":55,"position":276,"tag_list":277,"is_startpage":24,"parent_id":58,"meta_data":55,"group_id":278,"first_published_at":279,"release_id":55,"lang":61,"path":55,"alternates":280,"default_full_slug":55,"translated_slugs":55},"Search","2024-10-21T22:08:54.973Z","2025-05-26T09:17:25.790Z","2025-05-26T09:17:25.804Z",13592003,"14cbc359-9ac1-4a7a-a8de-ad4ac8ef26d4",{"_uid":251,"name":244,"indices":252,"summary":13,"component":272,"primary_image":273},"5e4a56e8-76f1-4790-b3a7-70f1be97d042",[253,258,262,267],{"key":254,"_uid":255,"icon":13,"name":256,"component":257},"all","c12a3210-7323-4273-8217-5215e52efe84","All","index",{"key":259,"_uid":260,"icon":261,"name":23,"component":257},"help_center_article","5acff080-95e4-44d3-8dcf-1b19720af382","fa-file-alt",{"key":263,"_uid":264,"icon":265,"name":266,"component":257},"help_center_guide","b8fbc206-c083-471e-a1f0-0ebeb90a669d","fa-book","Guides",{"key":268,"_uid":269,"icon":270,"name":271,"component":257},"blog_post","23419e83-2e56-4c4c-8a05-9fd1b3c9a9bd","fa-file-image","Blog Posts","search",{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":274},{},"navigation\u002Fsearch",60,[],"11e1fd31-95cd-4fc9-b736-8b8910663e6c","2024-10-21T23:17:05.904Z",[],{"name":23,"created_at":282,"published_at":283,"updated_at":284,"id":285,"uuid":21,"content":286,"slug":300,"full_slug":22,"sort_by_date":55,"position":301,"tag_list":302,"is_startpage":33,"parent_id":303,"meta_data":55,"group_id":304,"first_published_at":305,"release_id":55,"lang":61,"path":55,"alternates":306,"default_full_slug":55,"translated_slugs":55},"2022-09-19T14:42:29.685Z","2024-07-30T18:17:22.506Z","2024-07-30T18:17:22.525Z",2660,{"_uid":287,"icon":13,"name":23,"guides":288,"pinned":24,"summary":289,"category":13,"component":290,"blog_posts":291,"content_hub":24,"icon_custom":292,"case_studies":293,"faq_sections":294,"help_articles":295,"featured_guides":296,"mailbox_category":13,"featured_articles":297,"featured_blog_posts":298,"featured_case_studies":299},"d6dae89a-907a-4bf7-82de-fe2ba875ee6e",[],"Get your questions answered with our browsable knowledge base.","help_center_category",[],{"id":55,"alt":55,"name":13,"focus":55,"title":55,"filename":13,"copyright":55,"fieldtype":77},[],[],[],[],[],[],[],"categories",530,[],2658,"19ebcdd2-027f-47f5-9a5b-a8992c959578","2022-09-19T16:24:39.219Z",[],{"name":308,"created_at":309,"published_at":310,"updated_at":311,"id":312,"uuid":313,"content":314,"slug":328,"full_slug":329,"sort_by_date":55,"position":330,"tag_list":331,"is_startpage":24,"parent_id":303,"meta_data":55,"group_id":332,"first_published_at":333,"release_id":55,"lang":61,"path":55,"alternates":334,"default_full_slug":55,"translated_slugs":55},"Custom Tax Endpoint","2026-07-02T19:49:54.905Z","2026-07-06T21:04:27.011Z","2026-07-06T21:04:27.025Z",193872670377211,"d8395b12-d86d-4c10-b9a0-1f2d3b100f1a",{"_uid":315,"icon":13,"name":308,"type":316,"pinned":24,"summary":317,"category":318,"component":290,"blog_posts":319,"icon_custom":320,"case_studies":322,"faq_sections":323,"featured_guides":324,"mailbox_category":13,"featured_articles":325,"featured_blog_posts":326,"featured_case_studies":327},"d5af9d6e-524e-4dc0-b859-c86a775f95ce","simple","Calculate taxes with your own system when Foxy's built-in and third-party options aren't enough.","1cc94adb-9972-46de-8012-0b747fec3c12",[],{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":321},{},[],[],[],[],[],[],"custom-tax-endpoint","help\u002Fcategories\u002Fcustom-tax-endpoint",-560,[],"8f6745ab-2b60-4113-87aa-b5868c1dc472","2026-07-02T19:56:23.536Z",[],[],[],[281,338],{"name":339,"created_at":340,"published_at":341,"updated_at":342,"id":343,"uuid":318,"content":344,"slug":358,"full_slug":359,"sort_by_date":55,"position":360,"tag_list":361,"is_startpage":24,"parent_id":303,"meta_data":55,"group_id":362,"first_published_at":341,"release_id":55,"lang":61,"path":55,"alternates":363,"default_full_slug":55,"translated_slugs":55},"Taxes","2023-01-19T16:29:41.539Z","2023-01-19T17:25:33.664Z","2023-01-19T17:25:33.710Z",28247,{"_uid":345,"icon":346,"name":339,"guides":347,"summary":348,"category":13,"component":290,"blog_posts":349,"content_hub":24,"icon_custom":350,"case_studies":351,"faq_sections":352,"help_articles":353,"featured_guides":354,"mailbox_category":13,"featured_articles":355,"featured_blog_posts":356,"featured_case_studies":357},"b4d76fc5-7554-4419-af57-edc9b654cecb","fa-university",[],"How taxes work in Foxy.",[],{"id":55,"alt":55,"name":13,"focus":55,"title":55,"filename":13,"copyright":55,"fieldtype":77},[],[],[],[],[],[],[],"taxes","help\u002Fcategories\u002Ftaxes",80,[],"399e677b-f067-4896-bba6-444419d3ff29",[],[365,913,1074],{"name":366,"created_at":367,"published_at":368,"updated_at":369,"id":370,"uuid":371,"content":372,"slug":905,"full_slug":906,"sort_by_date":55,"position":907,"tag_list":908,"is_startpage":24,"parent_id":909,"meta_data":55,"group_id":910,"first_published_at":911,"release_id":55,"lang":61,"path":55,"alternates":912,"default_full_slug":55,"translated_slugs":55},"Custom Tax Endpoint Reference","2026-07-06T19:40:23.577Z","2026-07-06T20:33:27.683Z","2026-07-06T20:33:27.704Z",195285907839567,"78cc0360-18c2-439f-a15e-48b603c3e9bc",{"_uid":373,"body":374,"name":366,"image":901,"pinned":24,"summary":903,"category":313,"component":259,"related_articles":904},"c241b4db-e9c4-4863-b9df-02bae57fb0cf",{"type":375,"content":376},"doc",[377,385,402,407,419,544,549,594,599,834,839,844,850,855,860,865,870,881,886,896],{"type":378,"attrs":379,"content":381},"heading",{"level":380,"textAlign":55},2,[382],{"text":383,"type":384},"Overview","text",{"type":386,"attrs":387,"content":388},"paragraph",{"textAlign":55},[389,391,400],{"text":390,"type":384},"This is a lookup reference for the custom tax endpoint. For setup, see ",{"text":392,"type":384,"marks":393},"Set up a custom tax endpoint",[394],{"type":395,"attrs":396},"link",{"href":397,"uuid":398,"anchor":55,"target":399,"linktype":14},"\u002Fhelp\u002Farticles\u002Fset-up-a-custom-tax-endpoint","6552c60a-9de0-4e28-9e82-16a4732c3fbb","_self",{"text":401,"type":384},".",{"type":378,"attrs":403,"content":404},{"level":380,"textAlign":55},[405],{"text":406,"type":384},"Events",{"type":386,"attrs":408,"content":409},{"textAlign":55},[410,412,417],{"text":411,"type":384},"Each request includes a ",{"text":413,"type":384,"marks":414},"foxy-webhook-event",[415],{"type":416},"code",{"text":418,"type":384}," header identifying the event:",{"type":420,"content":421},"table",[422,443,464,484,504,524],{"type":423,"content":424},"tableRow",[425,435],{"type":426,"attrs":427,"content":429},"tableHeader",{"colspan":428,"rowspan":428,"colwidth":55},1,[430],{"type":386,"attrs":431,"content":432},{"textAlign":55},[433],{"text":434,"type":384},"Event",{"type":426,"attrs":436,"content":437},{"colspan":428,"rowspan":428,"colwidth":55},[438],{"type":386,"attrs":439,"content":440},{"textAlign":55},[441],{"text":442,"type":384},"When it is sent",{"type":423,"content":444},[445,456],{"type":446,"attrs":447,"content":448},"tableCell",{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[449],{"type":386,"attrs":450,"content":451},{"textAlign":55},[452],{"text":453,"type":384,"marks":454},"tax\u002Fcalculate",[455],{"type":416},{"type":446,"attrs":457,"content":458},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[459],{"type":386,"attrs":460,"content":461},{"textAlign":55},[462],{"text":463,"type":384},"For cart resources. Mirrors the custom shipping endpoint, which mirrors the API cart resource.",{"type":423,"content":465},[466,476],{"type":446,"attrs":467,"content":468},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[469],{"type":386,"attrs":470,"content":471},{"textAlign":55},[472],{"text":473,"type":384,"marks":474},"tax\u002Freport",[475],{"type":416},{"type":446,"attrs":477,"content":478},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[479],{"type":386,"attrs":480,"content":481},{"textAlign":55},[482],{"text":483,"type":384},"When the transaction completes. Body mirrors a zoomed transaction API resource.",{"type":423,"content":485},[486,496],{"type":446,"attrs":487,"content":488},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[489],{"type":386,"attrs":490,"content":491},{"textAlign":55},[492],{"text":493,"type":384,"marks":494},"tax\u002Frefund",[495],{"type":416},{"type":446,"attrs":497,"content":498},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[499],{"type":386,"attrs":500,"content":501},{"textAlign":55},[502],{"text":503,"type":384},"When a full refund is issued.",{"type":423,"content":505},[506,516],{"type":446,"attrs":507,"content":508},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[509],{"type":386,"attrs":510,"content":511},{"textAlign":55},[512],{"text":513,"type":384,"marks":514},"tax\u002Fvoid",[515],{"type":416},{"type":446,"attrs":517,"content":518},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[519],{"type":386,"attrs":520,"content":521},{"textAlign":55},[522],{"text":523,"type":384},"When a payment is voided. May need different handling for accounting or reporting.",{"type":423,"content":525},[526,536],{"type":446,"attrs":527,"content":528},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[529],{"type":386,"attrs":530,"content":531},{"textAlign":55},[532],{"text":533,"type":384,"marks":534},"tax\u002Fupdate",[535],{"type":416},{"type":446,"attrs":537,"content":538},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[539],{"type":386,"attrs":540,"content":541},{"textAlign":55},[542],{"text":543,"type":384},"When a partial refund is issued.",{"type":386,"attrs":545,"content":546},{"textAlign":55},[547],{"text":548,"type":384},"A separate header indicates the trigger:",{"type":420,"content":550},[551,569],{"type":423,"content":552},[553,561],{"type":426,"attrs":554,"content":555},{"colspan":428,"rowspan":428,"colwidth":55},[556],{"type":386,"attrs":557,"content":558},{"textAlign":55},[559],{"text":560,"type":384},"Trigger",{"type":426,"attrs":562,"content":563},{"colspan":428,"rowspan":428,"colwidth":55},[564],{"type":386,"attrs":565,"content":566},{"textAlign":55},[567],{"text":568,"type":384},"Meaning",{"type":423,"content":570},[571,581],{"type":446,"attrs":572,"content":573},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[574],{"type":386,"attrs":575,"content":576},{"textAlign":55},[577],{"text":578,"type":384,"marks":579},"checkout\u002Fsubmit",[580],{"type":416},{"type":446,"attrs":582,"content":583},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[584],{"type":386,"attrs":585,"content":586},{"textAlign":55},[587,589,592],{"text":588,"type":384},"Accompanies a ",{"text":453,"type":384,"marks":590},[591],{"type":416},{"text":593,"type":384}," event, present only when the customer has clicked submit. Not sent on cart changes or address updates; it fires right before the pre-payment webhook.",{"type":378,"attrs":595,"content":596},{"level":380,"textAlign":55},[597],{"text":598,"type":384},"Response format",{"type":420,"content":600},[601,619,649,678,698,718,738,758,784,809],{"type":423,"content":602},[603,611],{"type":426,"attrs":604,"content":605},{"colspan":428,"rowspan":428,"colwidth":55},[606],{"type":386,"attrs":607,"content":608},{"textAlign":55},[609],{"text":610,"type":384},"Attribute",{"type":426,"attrs":612,"content":613},{"colspan":428,"rowspan":428,"colwidth":55},[614],{"type":386,"attrs":615,"content":616},{"textAlign":55},[617],{"text":618,"type":384},"Description",{"type":423,"content":620},[621,631],{"type":446,"attrs":622,"content":623},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[624],{"type":386,"attrs":625,"content":626},{"textAlign":55},[627],{"text":628,"type":384,"marks":629},"ok",[630],{"type":416},{"type":446,"attrs":632,"content":633},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[634],{"type":386,"attrs":635,"content":636},{"textAlign":55},[637,641,643,647],{"text":638,"type":384,"marks":639},"true",[640],{"type":416},{"text":642,"type":384}," if the tax was calculated normally, ",{"text":644,"type":384,"marks":645},"false",[646],{"type":416},{"text":648,"type":384}," if there was an error.",{"type":423,"content":650},[651,661],{"type":446,"attrs":652,"content":653},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[654],{"type":386,"attrs":655,"content":656},{"textAlign":55},[657],{"text":658,"type":384,"marks":659},"details",[660],{"type":416},{"type":446,"attrs":662,"content":663},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[664],{"type":386,"attrs":665,"content":666},{"textAlign":55},[667,669,672,674,677],{"text":668,"type":384},"Error details, if any. Shown when ",{"text":628,"type":384,"marks":670},[671],{"type":416},{"text":673,"type":384}," is ",{"text":644,"type":384,"marks":675},[676],{"type":416},{"text":401,"type":384},{"type":423,"content":679},[680,690],{"type":446,"attrs":681,"content":682},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[683],{"type":386,"attrs":684,"content":685},{"textAlign":55},[686],{"text":687,"type":384,"marks":688},"name",[689],{"type":416},{"type":446,"attrs":691,"content":692},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[693],{"type":386,"attrs":694,"content":695},{"textAlign":55},[696],{"text":697,"type":384},"The tax name shown on the cart and checkout.",{"type":423,"content":699},[700,710],{"type":446,"attrs":701,"content":702},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[703],{"type":386,"attrs":704,"content":705},{"textAlign":55},[706],{"text":707,"type":384,"marks":708},"expand_taxes",[709],{"type":416},{"type":446,"attrs":711,"content":712},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[713],{"type":386,"attrs":714,"content":715},{"textAlign":55},[716],{"text":717,"type":384},"Array of the individual taxes that make up the total (at least one item). Shown individually on the receipt and in the admin.",{"type":423,"content":719},[720,730],{"type":446,"attrs":721,"content":722},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[723],{"type":386,"attrs":724,"content":725},{"textAlign":55},[726],{"text":727,"type":384,"marks":728},"expand_taxes[].name",[729],{"type":416},{"type":446,"attrs":731,"content":732},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[733],{"type":386,"attrs":734,"content":735},{"textAlign":55},[736],{"text":737,"type":384},"Name of the individual tax.",{"type":423,"content":739},[740,750],{"type":446,"attrs":741,"content":742},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[743],{"type":386,"attrs":744,"content":745},{"textAlign":55},[746],{"text":747,"type":384,"marks":748},"expand_taxes[].amount",[749],{"type":416},{"type":446,"attrs":751,"content":752},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[753],{"type":386,"attrs":754,"content":755},{"textAlign":55},[756],{"text":757,"type":384},"Amount for the individual tax.",{"type":423,"content":759},[760,770],{"type":446,"attrs":761,"content":762},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[763],{"type":386,"attrs":764,"content":765},{"textAlign":55},[766],{"text":767,"type":384,"marks":768},"expand_taxes[].rate",[769],{"type":416},{"type":446,"attrs":771,"content":772},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[773],{"type":386,"attrs":774,"content":775},{"textAlign":55},[776,778,782],{"text":777,"type":384},"Rate for the individual tax, as a decimal (5% is ",{"text":779,"type":384,"marks":780},"0.05",[781],{"type":416},{"text":783,"type":384},").",{"type":423,"content":785},[786,796],{"type":446,"attrs":787,"content":788},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[789],{"type":386,"attrs":790,"content":791},{"textAlign":55},[792],{"text":793,"type":384,"marks":794},"total_amount",[795],{"type":416},{"type":446,"attrs":797,"content":798},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[799],{"type":386,"attrs":800,"content":801},{"textAlign":55},[802,804,807],{"text":803,"type":384},"Total tax amount added to the order total. Should equal the sum of the ",{"text":707,"type":384,"marks":805},[806],{"type":416},{"text":808,"type":384}," amounts.",{"type":423,"content":810},[811,821],{"type":446,"attrs":812,"content":813},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[814],{"type":386,"attrs":815,"content":816},{"textAlign":55},[817],{"text":818,"type":384,"marks":819},"total_rate",[820],{"type":416},{"type":446,"attrs":822,"content":823},{"colspan":428,"rowspan":428,"colwidth":55,"backgroundColor":55},[824],{"type":386,"attrs":825,"content":826},{"textAlign":55},[827,829,832],{"text":828,"type":384},"Total combined rate, as a decimal, shown on the cart and checkout. Should equal the sum of the ",{"text":707,"type":384,"marks":830},[831],{"type":416},{"text":833,"type":384}," rates.",{"type":378,"attrs":835,"content":836},{"level":380,"textAlign":55},[837],{"text":838,"type":384},"Example responses",{"type":386,"attrs":840,"content":841},{"textAlign":55},[842],{"text":843,"type":384},"Successful response with taxes:",{"type":845,"attrs":846,"content":847},"code_block",{"class":55},[848],{"text":849,"type":384},"{\n  \"ok\": true,\n  \"details\": \"\",\n  \"name\": \"Custom Tax\",\n  \"expand_taxes\": [\n    { \"name\": \"Super Tax\", \"amount\": 5.00, \"rate\": 0.05 },\n    { \"name\": \"Mega Tax\", \"amount\": 2.00, \"rate\": 0.02 }\n  ],\n  \"total_amount\": 7.00,\n  \"total_rate\": 0.07\n}",{"type":386,"attrs":851,"content":852},{"textAlign":55},[853],{"text":854,"type":384},"Successful response with no taxes to display:",{"type":845,"attrs":856,"content":857},{"class":55},[858],{"text":859,"type":384},"{\n  \"ok\": true,\n  \"details\": \"\",\n  \"name\": \"\",\n  \"expand_taxes\": [],\n  \"total_amount\": 0,\n  \"total_rate\": 0\n}",{"type":386,"attrs":861,"content":862},{"textAlign":55},[863],{"text":864,"type":384},"Error response (prevents checkout). If Foxy does not receive a valid response, it shows a default error and also prevents checkout:",{"type":845,"attrs":866,"content":867},{"class":55},[868],{"text":869,"type":384},"{\n  \"ok\": false,\n  \"details\": \"Your error message\"\n}",{"type":386,"attrs":871,"content":872},{"textAlign":55},[873,875,879],{"text":874,"type":384},"Display a tax without a percentage rate by omitting ",{"text":876,"type":384,"marks":877},"rate",[878],{"type":416},{"text":880,"type":384},":",{"type":845,"attrs":882,"content":883},{"class":55},[884],{"text":885,"type":384},"{\n  \"ok\": true,\n  \"details\": \"\",\n  \"name\": \"Custom Tax\",\n  \"expand_taxes\": [\n    { \"name\": \"Tax\", \"amount\": 5.00 }\n  ],\n  \"total_amount\": 5.00\n}",{"type":386,"attrs":887,"content":888},{"textAlign":55},[889,891,895],{"text":890,"type":384},"Display a 0% tax by setting the rate to ",{"text":892,"type":384,"marks":893},"0",[894],{"type":416},{"text":880,"type":384},{"type":845,"attrs":897,"content":898},{"class":55},[899],{"text":900,"type":384},"{\n  \"ok\": true,\n  \"details\": \"\",\n  \"name\": \"Zero Amount\",\n  \"expand_taxes\": [\n    { \"name\": \"Tax\", \"rate\": 0, \"amount\": 0 }\n  ],\n  \"total_amount\": 0,\n  \"total_rate\": 0\n}",{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":902},{},"Reference for the Foxy custom tax endpoint, including webhook events, response format, and example payloads.",[],"custom-tax-endpoint-reference","help\u002Farticles\u002Fcustom-tax-endpoint-reference",-3020,[],2659,"c6ca661a-cd1f-4e0a-bb89-5ef5491a2186","2026-07-06T20:06:03.854Z",[],{"name":914,"created_at":915,"published_at":916,"updated_at":917,"id":918,"uuid":398,"content":919,"slug":1067,"full_slug":1068,"sort_by_date":55,"position":1069,"tag_list":1070,"is_startpage":24,"parent_id":909,"meta_data":55,"group_id":1071,"first_published_at":1072,"release_id":55,"lang":61,"path":55,"alternates":1073,"default_full_slug":55,"translated_slugs":55},"Set up a Custom Tax Endpoint","2026-07-06T19:35:21.326Z","2026-07-06T20:33:27.854Z","2026-07-06T20:33:27.873Z",195284669811277,{"_uid":920,"body":921,"name":914,"image":1063,"pinned":24,"summary":1065,"category":313,"component":259,"related_articles":1066},"502cca77-1878-4b6c-a248-938d33bd61e4",{"type":375,"content":922},[923,927,932,937,949,954,1047,1052],{"type":378,"attrs":924,"content":925},{"level":380,"textAlign":55},[926],{"text":383,"type":384},{"type":386,"attrs":928,"content":929},{"textAlign":55},[930],{"text":931,"type":384},"If you have specific tax requirements or use a system Foxy does not support natively, you can use a custom tax endpoint. It works like the custom shipping endpoint: Foxy sends a payload to your endpoint, and your endpoint returns the tax to apply. Common cases include pulling rates from an ERP or applying highly specific rates or thresholds.",{"type":378,"attrs":933,"content":934},{"level":380,"textAlign":55},[935],{"text":936,"type":384},"How it works",{"type":386,"attrs":938,"content":939},{"textAlign":55},[940,942,948],{"text":941,"type":384},"Foxy sends a payload (mirroring the API format) to your endpoint for each relevant event, and your endpoint responds with the tax to apply. The events and the response format are documented in ",{"text":943,"type":384,"marks":944},"Custom tax endpoint reference",[945],{"type":395,"attrs":946},{"href":947,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Ffoxy.io\u002Fhelp\u002Farticles\u002Fcustom-tax-endpoint-reference",{"text":401,"type":384},{"type":378,"attrs":950,"content":951},{"level":380,"textAlign":55},[952],{"text":953,"type":384},"Steps",{"type":955,"attrs":956,"content":957},"ordered_list",{"order":428},[958,966,1004,1040],{"type":959,"content":960},"list_item",[961],{"type":386,"attrs":962,"content":963},{"textAlign":55},[964],{"text":965,"type":384},"Deploy an endpoint that accepts Foxy's request and returns a valid response. Foxy provides a starter function (see below).",{"type":959,"content":967},[968],{"type":386,"attrs":969,"content":970},{"textAlign":55},[971,973,979,981,986,988,992,994,997,999,1003],{"text":972,"type":384},"Go to the ",{"text":974,"type":384,"marks":975},"Foxy admin",[976],{"type":395,"attrs":977},{"href":978,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Fadmin.foxy.io",{"text":980,"type":384},", go to ",{"text":982,"type":384,"marks":983},"Settings > Integrations",[984],{"type":985},"bold",{"text":987,"type":384},", and add a new integration with ",{"text":989,"type":384,"marks":990},"Provider",[991],{"type":985},{"text":993,"type":384}," set to ",{"text":308,"type":384,"marks":995},[996],{"type":985},{"text":998,"type":384},". Enter your endpoint URL, then click ",{"text":1000,"type":384,"marks":1001},"Create",[1002],{"type":985},{"text":401,"type":384},{"type":959,"content":1005},[1006],{"type":386,"attrs":1007,"content":1008},{"textAlign":55},[1009,1011,1015,1017,1021,1023,1027,1029,1033,1035,1038],{"text":1010,"type":384},"Go to ",{"text":1012,"type":384,"marks":1013},"Settings > Taxes",[1014],{"type":985},{"text":1016,"type":384}," and add a new tax. Enter a ",{"text":1018,"type":384,"marks":1019},"Name",[1020],{"type":985},{"text":1022,"type":384},", set the ",{"text":1024,"type":384,"marks":1025},"Type",[1026],{"type":985},{"text":1028,"type":384}," to ",{"text":1030,"type":384,"marks":1031},"Custom tax endpoint",[1032],{"type":985},{"text":1034,"type":384},", and click ",{"text":1000,"type":384,"marks":1036},[1037],{"type":985},{"text":1039,"type":384},". Only the name and type are needed; the other fields are set automatically.",{"type":959,"content":1041},[1042],{"type":386,"attrs":1043,"content":1044},{"textAlign":55},[1045],{"text":1046,"type":384},"Apply the tax to your categories.",{"type":378,"attrs":1048,"content":1049},{"level":380,"textAlign":55},[1050],{"text":1051,"type":384},"Starter code",{"type":386,"attrs":1053,"content":1054},{"textAlign":55},[1055,1057,1061],{"text":1056,"type":384},"Foxy provides a Netlify function code to help you get started. With a Netlify account, follow the readme in Foxy's Netlify functions repository (",{"text":1058,"type":384,"marks":1059},"https:\u002F\u002Fgithub.com\u002FFoxy\u002Ffoxy-node-netlify-functions",[1060],{"type":416},{"text":1062,"type":384},") to deploy the example custom tax function and tailor it to your needs.",{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":1064},{}," How to use a custom tax endpoint to calculate taxes with your own system, including the Netlify starter function code.",[],"set-up-a-custom-tax-endpoint","help\u002Farticles\u002Fset-up-a-custom-tax-endpoint",-3010,[],"328ff19e-0b8b-44b9-af27-7c3bdcaa6505","2026-07-06T20:06:04.258Z",[],{"name":1075,"created_at":1076,"published_at":1077,"updated_at":1078,"id":1079,"uuid":1080,"content":1081,"slug":1256,"full_slug":1257,"sort_by_date":55,"position":1258,"tag_list":1259,"is_startpage":24,"parent_id":909,"meta_data":55,"group_id":1260,"first_published_at":1077,"release_id":55,"lang":61,"path":55,"alternates":1261,"default_full_slug":55,"translated_slugs":55},"Validate VAT IDs at checkout","2026-07-22T17:07:47.052Z","2026-07-22T17:44:58.054Z","2026-07-22T17:44:58.069Z",200910713096309,"7c751493-a133-4b62-8ec2-4e4339dd9d64",{"_uid":1082,"body":1083,"name":1075,"image":1252,"pinned":24,"summary":1254,"category":313,"component":259,"related_articles":1255},"db943273-05dc-43f0-bf8f-6598bf35e095",{"type":375,"content":1084},[1085,1098,1103,1115,1120,1125,1130,1135,1146,1151,1155,1160,1165,1169,1174,1179,1184,1224,1236,1241],{"type":386,"attrs":1086,"content":1087},{"textAlign":55},[1088,1090,1096],{"text":1089,"type":384},"Currently the Tax ID field on the checkout doesn't provide any validation that the value is correct - just that a value is entered. Native validation is planned as a future enhancement, but in the meantime - you can use a service like ",{"text":1091,"type":384,"marks":1092},"Vatlayer",[1093],{"type":395,"attrs":1094},{"href":1095,"uuid":55,"anchor":55,"target":55,"linktype":31},"https:\u002F\u002Fvatlayer.com\u002F",{"text":1097,"type":384}," to validate the entered VAT ID using our pre-checkout webhook.",{"type":378,"attrs":1099,"content":1100},{"level":380,"textAlign":55},[1101],{"text":1102,"type":384},"Signup with Vatlayer",{"type":386,"attrs":1104,"content":1105},{"textAlign":55},[1106,1108,1113],{"text":1107,"type":384},"An account is required with Vatlayer for the validation to work, so you can ",{"text":1109,"type":384,"marks":1110},"signup from their website here",[1111],{"type":395,"attrs":1112},{"href":1095,"uuid":55,"anchor":55,"target":55,"linktype":31},{"text":1114,"type":384},". Vatlayer has a free plan that supports up to 100 requests per month, and then paid plans that support more.",{"type":378,"attrs":1116,"content":1117},{"level":380,"textAlign":55},[1118],{"text":1119,"type":384},"Set up your pre-checkout webhook",{"type":386,"attrs":1121,"content":1122},{"textAlign":55},[1123],{"text":1124,"type":384},"Next, you'll need to create an endpoint on your server that the checkout can send a validation request to when a customer attempts to complete the checkout. The following endpoint is written in PHP, but should be easily ported to other languages too:",{"type":386,"attrs":1126,"content":1127},{"textAlign":55},[1128],{"text":1129,"type":384},"php",{"type":845,"attrs":1131,"content":1132},{"class":55},[1133],{"text":1134,"type":384},"\u003C?php\n$rawPost = file_get_contents('php:\u002F\u002Finput');\n$cart_details = json_decode($rawPost, true);\n \n$response = array(\n    'ok' => true,\n    'details' => ''\n);\n\n\u002F\u002F Your Vatlayer Access Key\n$access_key = 'YOUR_ACCESS_KEY';\n\n$vat_number = $cart_details['_embedded']['fx:customer']['tax_id'];\n\nif ($vat_number != \"\") {\n    $ch = curl_init('http:\u002F\u002Fapilayer.net\u002Fapi\u002Fvalidate?access_key='.$access_key.'&vat_number='.$vat_number.'');  \n    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\n    $json = curl_exec($ch);\n    curl_close($ch);\n\n    $validationResult = json_decode($json, true);\n\n    if ($validationResult['valid'] == false) {\n        $response['ok'] = false;\n        $response['details'] = \"Your VAT ID does not appear to be valid. Please review your VAT ID and try again.\";\n    }\n}\n \nheader('Content-Type: application\u002Fjson');\nprint json_encode($response);",{"type":386,"attrs":1136,"content":1137},{"textAlign":55},[1138,1140,1144],{"text":1139,"type":384},"Copy the above code to a file on your computer, and update the string ",{"text":1141,"type":384,"marks":1142},"YOUR_ACCESS_KEY",[1143],{"type":416},{"text":1145,"type":384}," with the access key provided to you from Vatlayer. You may also want to edit the error that is returned to the customer if the validation does not pass, found towards the bottom of the script.",{"type":386,"attrs":1147,"content":1148},{"textAlign":55},[1149],{"text":1150,"type":384},"The validation fails if Vatlayer does not confirm that the VAT ID is valid. If you just want to check if the VAT ID is the right format, but not if it's valid, you can make the following change. Look for this line in the script:",{"type":386,"attrs":1152,"content":1153},{"textAlign":55},[1154],{"text":1129,"type":384},{"type":845,"attrs":1156,"content":1157},{"class":55},[1158],{"text":1159,"type":384},"if ($validationResult['valid'] == false) {",{"type":386,"attrs":1161,"content":1162},{"textAlign":55},[1163],{"text":1164,"type":384},"And update it to instead look like this:",{"type":386,"attrs":1166,"content":1167},{"textAlign":55},[1168],{"text":1129,"type":384},{"type":845,"attrs":1170,"content":1171},{"class":55},[1172],{"text":1173,"type":384},"if ($validationResult['format_valid'] == false) {",{"type":386,"attrs":1175,"content":1176},{"textAlign":55},[1177],{"text":1178,"type":384},"Once you've completed editing of the code, upload the file to your server in a publicly accessible location.",{"type":378,"attrs":1180,"content":1181},{"level":380,"textAlign":55},[1182],{"text":1183,"type":384},"Enable the pre-checkout webhook",{"type":386,"attrs":1185,"content":1186},{"textAlign":55},[1187,1189,1193,1195,1199,1201,1205,1207,1211,1213,1217,1219,1223],{"text":1188,"type":384},"Once your endpoint is uploaded, enable it in your store. In the Foxy admin (",{"text":978,"type":384,"marks":1190},[1191],{"type":395,"attrs":1192},{"href":978,"uuid":55,"anchor":55,"target":55,"linktype":31},{"text":1194,"type":384},"), go to ",{"text":1196,"type":384,"marks":1197},"Settings > Payments",[1198],{"type":985},{"text":1200,"type":384},", open your payment method set, and open ",{"text":1202,"type":384,"marks":1203},"Fraud protection",[1204],{"type":985},{"text":1206,"type":384},". Enable the ",{"text":1208,"type":384,"marks":1209},"Pre-checkout webhook",[1210],{"type":985},{"text":1212,"type":384}," and enter the URL to the script you uploaded earlier in the ",{"text":1214,"type":384,"marks":1215},"URL",[1216],{"type":985},{"text":1218,"type":384}," field. It should be a full secure URL beginning with ",{"text":1220,"type":384,"marks":1221},"https:\u002F\u002F",[1222],{"type":416},{"text":401,"type":384},{"type":386,"attrs":1225,"content":1226},{"textAlign":55},[1227,1229,1234],{"text":1228,"type":384},"You can also set how the checkout should behave if your endpoint fails to load correctly - whether to approve or deny the transaction. For this set up, unless you specifically need to ",{"text":1230,"type":384,"marks":1231},"always",[1232],{"type":1233},"italic",{"text":1235,"type":384}," know that the VAT is valid, you'll probably want to leave it as approve.",{"type":378,"attrs":1237,"content":1238},{"level":380,"textAlign":55},[1239],{"text":1240,"type":384},"Test the integration",{"type":386,"attrs":1242,"content":1243},{"textAlign":55},[1244,1246,1250],{"text":1245,"type":384},"At this point - you will have basic VAT validation enabled on your checkout. You can test that it's working by attempting to place an order on your store, and entering an invalid VAT ID on the checkout. If your store is live, you should be ok to enter a fake credit card number (like ",{"text":1247,"type":384,"marks":1248},"4242 4242 4242 4242",[1249],{"type":416},{"text":1251,"type":384},") as with an invalid VAT ID the gateway request won't ever happen because the pre-checkout webhook happens before that point.",{"id":55,"alt":55,"name":13,"focus":55,"title":55,"source":55,"filename":13,"copyright":55,"fieldtype":77,"meta_data":1253},{},"How to validate customer VAT IDs at checkout using the Pre-Payment Webhook and Vatlayer.",[],"validate-vat-ids-at-checkout","help\u002Farticles\u002Fvalidate-vat-ids-at-checkout",-4320,[],"a1b89e65-e506-448f-95d4-25a03b89728d",[],{"name":1263,"created_at":1264,"published_at":1265,"updated_at":1266,"id":1267,"uuid":42,"content":1268,"slug":43,"full_slug":43,"sort_by_date":55,"position":1443,"tag_list":1444,"is_startpage":24,"parent_id":55,"meta_data":55,"group_id":1445,"first_published_at":1446,"release_id":55,"lang":61,"path":55,"alternates":1447,"default_full_slug":55,"translated_slugs":55},"Contact","2022-09-23T19:56:58.957Z","2025-05-08T18:24:40.382Z","2025-05-08T18:24:40.392Z",3138,{"seo":1269,"_uid":1272,"title":1273,"action":1274,"fields":1275,"method":1419,"columns":1420,"subtitle":1434,"component":43,"button_text":1440,"submit_title":1441,"submit_subtitle":1442},{"_uid":1270,"title":1263,"plugin":1271,"description":13},"24ff7574-3bcc-48d2-85b5-e529dfea1cc4","meta-fields","8f54f1da-9d8f-49b2-89e7-840e886491cb","We're here to help.","https:\u002F\u002Fusebasin.com\u002Ff\u002F029f48d65402",[1276,1279,1283,1390,1393,1398,1413],{"_uid":1277,"name":687,"type":384,"label":1018,"options":13,"required":33,"component":1278,"placeholder":13},"9a70b226-2036-4f90-a052-b3efa61c5896","form___field",{"_uid":1280,"name":1281,"type":1281,"label":1282,"options":13,"required":33,"component":1278,"placeholder":13},"86ba35be-ff43-4a28-8633-14052a8f6622","email","Email Address",{"_uid":1284,"name":1285,"type":1286,"label":1287,"options":1288,"required":33,"component":1278,"conditions":1289,"placeholder":13},"3f827475-492c-4f97-aa1e-2386ac263b6c","topic","select","Topic","Presales, Support, Billing, Partnerships, Order Enquiry, Other",[1290,1344,1354,1361,1369,1377,1383],{"_uid":1291,"equals":1292,"fields":1293,"component":1343},"e21d97dd-e68e-4fa6-ba97-bc40f3041dde","Order Enquiry",[1294],{"_uid":1295,"body":1296,"type":1341,"title":13,"component":1342},"b64992bc-6d53-48b8-b7a0-d81e5a062e50",{"type":375,"content":1297},[1298],{"type":386,"content":1299},[1300,1302,1309,1311,1313,1314,1318,1320,1324,1332,1334,1339],{"text":1301,"type":384},"We are ",{"text":1303,"type":384,"marks":1304},"Foxy.io",[1305],{"type":395,"attrs":1306},{"href":1307,"uuid":55,"anchor":55,"custom":1308,"target":55,"linktype":31},"http:\u002F\u002FFoxy.io",{},{"text":1310,"type":384},", an ecommerce platform powering ecommerce for other merchants. We do not sell products, and are unable to assist with questions about order statuses or refunds for any merchants using our platform. Please contact the merchant you ordered from for assistance. If you’d like to report a store using Foxy for fraudulent practices, please select ‘other’ in the subject.",{"type":1312},"hard_break",{"type":1312},{"text":1315,"type":384,"marks":1316},"NOTE:",[1317],{"type":985},{"text":1319,"type":384}," We are ",{"text":1321,"type":384,"marks":1322},"not ",[1323],{"type":1233},{"text":1325,"type":384,"marks":1326},"Foxy.in",[1327,1331],{"type":395,"attrs":1328},{"href":1329,"uuid":55,"anchor":55,"custom":1330,"target":55,"linktype":31},"http:\u002F\u002FFoxy.in",{},{"type":1233},{"text":1333,"type":384},". We are not in any way affiliated with ",{"text":1325,"type":384,"marks":1335},[1336],{"type":395,"attrs":1337},{"href":1329,"uuid":55,"anchor":55,"custom":1338,"target":55,"linktype":31},{},{"text":1340,"type":384},", and cannot help in any way with your order from that website.","danger","global___alert","form___condition",{"_uid":1345,"equals":1346,"fields":1347,"component":1343},"8765c3e1-25cf-44aa-b8ea-fc6094acf9c3","Presales",[1348],{"_uid":1349,"name":1350,"type":1351,"label":13,"options":13,"required":24,"component":1278,"conditions":1352,"placeholder":13,"default_value":1353},"cf464f8e-d643-4f6e-af29-d3abffaf7380","department_email_address","hidden",[],"hello@foxy.io",{"_uid":1355,"equals":204,"fields":1356,"component":1343},"4007b6d8-77e5-421d-bd1e-6f336dd853fb",[1357],{"_uid":1358,"name":1350,"type":1351,"label":13,"options":13,"required":24,"component":1278,"conditions":1359,"placeholder":13,"default_value":1360},"7b4c6aa5-a68c-45e0-9ce1-0a36af10c0c2",[],"help@foxy.io",{"_uid":1362,"equals":1363,"fields":1364,"component":1343},"1dbb8f11-613d-43cd-9e09-1b94f6e19219","Billing",[1365],{"_uid":1366,"name":1350,"type":1351,"label":13,"options":13,"required":24,"component":1278,"conditions":1367,"placeholder":13,"default_value":1368},"a0ac0d1b-bc4f-4a6c-a682-581d450b0b73",[],"help+billing@foxy.io",{"_uid":1370,"equals":1371,"fields":1372,"component":1343},"a0a53a50-7172-4a29-ba58-181e38874e12","Partnerships",[1373],{"_uid":1374,"name":1350,"type":1351,"label":13,"options":13,"required":24,"component":1278,"conditions":1375,"placeholder":13,"default_value":1376},"7aa011d9-f374-4aed-b5a5-929b54aaf152",[],"partners@foxy.io",{"_uid":1378,"equals":1292,"fields":1379,"component":1343},"a4cd431f-25d5-41c7-bfdc-02c908c8fb47",[1380],{"_uid":1381,"name":1350,"type":1351,"label":13,"options":13,"required":24,"component":1278,"conditions":1382,"placeholder":13,"default_value":1353},"f5d52168-d6ae-451b-94ee-2ced1cbd28ad",[],{"_uid":1384,"equals":1385,"fields":1386,"component":1343},"25aba1ed-eb41-4bbc-aa89-f7a7167ea86e","Other",[1387],{"_uid":1388,"name":1350,"type":1351,"label":13,"options":13,"required":24,"component":1278,"conditions":1389,"placeholder":13,"default_value":1353},"f40dfaef-c203-4b71-bf4e-e1b43cef192b",[],{"_uid":1391,"component":1392},"e9c53a05-f40a-4510-aaf8-bc072a235a0c","form___subject",{"_uid":1394,"name":1395,"type":1396,"label":1397,"options":13,"required":33,"component":1278,"placeholder":13},"a4c4d385-fff4-4978-99fb-b68cfea623d6","message","textarea","Message",{"_uid":1399,"name":1400,"type":1286,"label":1401,"options":1402,"required":33,"component":1278,"conditions":1403,"placeholder":13},"8a3c9f85-f438-427d-9c7a-d7b295a14b5b","existing_user","Are you an existing user?","No, Yes",[1404],{"_uid":1405,"equals":1406,"fields":1407,"component":1343},"115933d6-262a-4b59-8fa8-579c5ad73de1","Yes",[1408],{"_uid":1409,"name":1410,"type":384,"label":1411,"options":13,"required":33,"component":1278,"conditions":1412,"placeholder":13},"44b6ff23-98f0-4e95-b7f5-c23e06415c2d","subdomain","Store Subdomain",[],{"_uid":1414,"name":1415,"type":1286,"label":1416,"options":1417,"required":33,"component":1278,"conditions":1418,"placeholder":13},"922a5cef-3af2-4113-8855-36c7910e3ee3","user_type","What type of user are you?","Developer, Designer, Merchant",[],"POST",[1421],{"_uid":1422,"text":1423,"title":1432,"component":1433},"7323b90d-a93a-4bf1-baa9-20d0b7ead61b",{"type":375,"content":1424},[1425],{"type":386,"content":1426},[1427,1429,1430],{"text":1428,"type":384},"855.369.9227",{"type":1312},{"text":1431,"type":384},"9:30am-6pm Central M-F","Pre-sales, Sales, & Partnerships","contact___footer_column",{"type":375,"content":1435},[1436],{"type":386,"content":1437},[1438],{"text":1439,"type":384},"Get in touch to get help from our friendly support team.","Submit","Success!","Your email has been received. We'll get back to you as soon as we can, but it might take a business day. If you don't hear back from us in a timely manner, please check your spam folder to ensure our reply didn't go there.",-80,[],"2fd9fb7d-a48a-4184-acfd-30022d8d6f08","2022-09-23T20:10:45.360Z",[],{},1785861255344]