[{"data":1,"prerenderedAt":277},["ShallowReactive",2],{"doc-\u002Fdocs\u002Fvoid":3,"docs-nav":241,"docs-order":267},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"body":10,"_type":235,"_id":236,"_source":237,"_file":238,"_stem":239,"_extension":240},"\u002Fdocs\u002Fvoid","docs",false,"","Void","Cancels a payment that has not yet settled.",{"type":11,"children":12,"toc":231},"root",[13,22,27,33,37,44,49,55,216,225],{"type":14,"tag":15,"props":16,"children":18},"element","h1",{"id":17},"void-a-payment",[19],{"type":20,"value":21},"text","Void a payment",{"type":14,"tag":23,"props":24,"children":25},"p",{},[26],{"type":20,"value":9},{"type":14,"tag":28,"props":29,"children":32},"endpoint-meta",{"method":30,"path":31},"POST","\u002Fv1\u002Fvoid",[],{"type":14,"tag":34,"props":35,"children":36},"env-toggle",{},[],{"type":14,"tag":38,"props":39,"children":41},"h2",{"id":40},"request-body",[42],{"type":20,"value":43},"Request body",{"type":14,"tag":45,"props":46,"children":48},"param-table",{":rows":47},"[{\"name\":\"merchant_code\",\"type\":\"string\",\"required\":true,\"desc\":\"Your merchant code\"},{\"name\":\"reference_no\",\"type\":\"string\",\"required\":true,\"desc\":\"Unique void reference\"},{\"name\":\"original_reference_no\",\"type\":\"string\",\"required\":true,\"desc\":\"Reference of the original payment\"}]",[],{"type":14,"tag":38,"props":50,"children":52},{"id":51},"example-response",[53],{"type":20,"value":54},"Example response",{"type":14,"tag":56,"props":57,"children":61},"pre",{"className":58,"code":59,"language":60,"meta":7,"style":7},"language-json shiki shiki-themes github-dark","{\n  \"success\": true,\n  \"data\": {\n    \"reference_no\": \"VOID-20260428-001\",\n    \"txn_id\": \"txn_abc123\",\n    \"txn_status\": \"VOIDED\"\n  },\n  \"trace_id\": \"xid_abc123\"\n}\n","json",[62],{"type":14,"tag":63,"props":64,"children":65},"code",{"__ignoreMap":7},[66,78,103,117,140,162,180,189,207],{"type":14,"tag":67,"props":68,"children":71},"span",{"class":69,"line":70},"line",1,[72],{"type":14,"tag":67,"props":73,"children":75},{"style":74},"--shiki-default:#E1E4E8",[76],{"type":20,"value":77},"{\n",{"type":14,"tag":67,"props":79,"children":81},{"class":69,"line":80},2,[82,88,93,98],{"type":14,"tag":67,"props":83,"children":85},{"style":84},"--shiki-default:#79B8FF",[86],{"type":20,"value":87},"  \"success\"",{"type":14,"tag":67,"props":89,"children":90},{"style":74},[91],{"type":20,"value":92},": ",{"type":14,"tag":67,"props":94,"children":95},{"style":84},[96],{"type":20,"value":97},"true",{"type":14,"tag":67,"props":99,"children":100},{"style":74},[101],{"type":20,"value":102},",\n",{"type":14,"tag":67,"props":104,"children":106},{"class":69,"line":105},3,[107,112],{"type":14,"tag":67,"props":108,"children":109},{"style":84},[110],{"type":20,"value":111},"  \"data\"",{"type":14,"tag":67,"props":113,"children":114},{"style":74},[115],{"type":20,"value":116},": {\n",{"type":14,"tag":67,"props":118,"children":120},{"class":69,"line":119},4,[121,126,130,136],{"type":14,"tag":67,"props":122,"children":123},{"style":84},[124],{"type":20,"value":125},"    \"reference_no\"",{"type":14,"tag":67,"props":127,"children":128},{"style":74},[129],{"type":20,"value":92},{"type":14,"tag":67,"props":131,"children":133},{"style":132},"--shiki-default:#9ECBFF",[134],{"type":20,"value":135},"\"VOID-20260428-001\"",{"type":14,"tag":67,"props":137,"children":138},{"style":74},[139],{"type":20,"value":102},{"type":14,"tag":67,"props":141,"children":143},{"class":69,"line":142},5,[144,149,153,158],{"type":14,"tag":67,"props":145,"children":146},{"style":84},[147],{"type":20,"value":148},"    \"txn_id\"",{"type":14,"tag":67,"props":150,"children":151},{"style":74},[152],{"type":20,"value":92},{"type":14,"tag":67,"props":154,"children":155},{"style":132},[156],{"type":20,"value":157},"\"txn_abc123\"",{"type":14,"tag":67,"props":159,"children":160},{"style":74},[161],{"type":20,"value":102},{"type":14,"tag":67,"props":163,"children":165},{"class":69,"line":164},6,[166,171,175],{"type":14,"tag":67,"props":167,"children":168},{"style":84},[169],{"type":20,"value":170},"    \"txn_status\"",{"type":14,"tag":67,"props":172,"children":173},{"style":74},[174],{"type":20,"value":92},{"type":14,"tag":67,"props":176,"children":177},{"style":132},[178],{"type":20,"value":179},"\"VOIDED\"\n",{"type":14,"tag":67,"props":181,"children":183},{"class":69,"line":182},7,[184],{"type":14,"tag":67,"props":185,"children":186},{"style":74},[187],{"type":20,"value":188},"  },\n",{"type":14,"tag":67,"props":190,"children":192},{"class":69,"line":191},8,[193,198,202],{"type":14,"tag":67,"props":194,"children":195},{"style":84},[196],{"type":20,"value":197},"  \"trace_id\"",{"type":14,"tag":67,"props":199,"children":200},{"style":74},[201],{"type":20,"value":92},{"type":14,"tag":67,"props":203,"children":204},{"style":132},[205],{"type":20,"value":206},"\"xid_abc123\"\n",{"type":14,"tag":67,"props":208,"children":210},{"class":69,"line":209},9,[211],{"type":14,"tag":67,"props":212,"children":213},{"style":74},[214],{"type":20,"value":215},"}\n",{"type":14,"tag":23,"props":217,"children":218},{},[219],{"type":14,"tag":63,"props":220,"children":222},{"className":221},[],[223],{"type":20,"value":224},"\u002F\u002F representative — data fields are the processor passthrough",{"type":14,"tag":226,"props":227,"children":228},"style",{},[229],{"type":20,"value":230},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":80,"depth":80,"links":232},[233,234],{"id":40,"depth":80,"text":43},{"id":51,"depth":80,"text":54},"markdown","content:docs:8.void.md","content","docs\u002F8.void.md","docs\u002F8.void","md",[242,245,248,251,254,257,260,263,264],{"_path":243,"title":244},"\u002Fdocs\u002Fauthentication","Authentication",{"_path":246,"title":247},"\u002Fdocs\u002Fcallbacks","Callbacks",{"_path":249,"title":250},"\u002Fdocs\u002Fgetting-started","Getting started",{"_path":252,"title":253},"\u002Fdocs\u002Finitiate","Initiate",{"_path":255,"title":256},"\u002Fdocs\u002Finquiry","Inquiry",{"_path":258,"title":259},"\u002Fdocs\u002Frefund","Refund",{"_path":261,"title":262},"\u002Fdocs\u002Fstatus-codes","Status codes",{"_path":4,"title":8},{"_path":265,"title":266},"\u002Fdocs\u002Fwoocommerce","WooCommerce",[268,269,270,271,272,273,274,275,276],{"_path":249,"title":250},{"_path":243,"title":244},{"_path":252,"title":253},{"_path":255,"title":256},{"_path":258,"title":259},{"_path":4,"title":8},{"_path":261,"title":262},{"_path":246,"title":247},{"_path":265,"title":266},1780230577966]