[{"data":1,"prerenderedAt":200,"buildId":201},["ShallowReactive",2],{"docs-\u002Fpayments\u002Fconfirm-a-payment":3,"docs-nav":123},{"id":4,"title":5,"body":6,"description":115,"extension":116,"meta":117,"navigation":118,"path":119,"seo":120,"stem":121,"__hash__":122},"docs\u002F2.payments\u002F4.confirm-a-payment.md","Confirm a payment",{"type":7,"value":8,"toc":113},"minimark",[9,13,17,63,71,100,109],[10,11,5],"h1",{"id":12},"confirm-a-payment",[14,15,16],"p",{},"Before you ship an order or unlock an account, ask QwikiPay from your server:",[18,19,24],"pre",{"className":20,"code":21,"language":22,"meta":23,"style":23},"language-bash shiki shiki-themes github-light","GET \u002Fv1\u002Fpayments\u002Forder-1001          # hosted checkout and drop-in\nGET \u002Fv1\u002Fcharges?reference=order-1001 # direct charges\nGET \u002Fv1\u002Fcharges\u002Fqp_ch_8c1f...\n","bash","",[25,26,27,44,55],"code",{"__ignoreMap":23},[28,29,32,36,40],"span",{"class":30,"line":31},"line",1,[28,33,35],{"class":34},"s7eDp","GET",[28,37,39],{"class":38},"sYBdl"," \u002Fv1\u002Fpayments\u002Forder-1001",[28,41,43],{"class":42},"sAwPA","          # hosted checkout and drop-in\n",[28,45,47,49,52],{"class":30,"line":46},2,[28,48,35],{"class":34},[28,50,51],{"class":38}," \u002Fv1\u002Fcharges?reference=order-1001",[28,53,54],{"class":42}," # direct charges\n",[28,56,58,60],{"class":30,"line":57},3,[28,59,35],{"class":34},[28,61,62],{"class":38}," \u002Fv1\u002Fcharges\u002Fqp_ch_8c1f...\n",[14,64,65,66,70],{},"Deliver only when ",[67,68,69],"strong",{},"all"," of these hold:",[72,73,74,84,94],"ul",{},[75,76,77,80,81],"li",{},[25,78,79],{},"status"," is ",[25,82,83],{},"\"successful\"",[75,85,86,89,90,93],{},[25,87,88],{},"amount"," and ",[25,91,92],{},"currency"," are what you charged",[75,95,96,99],{},[25,97,98],{},"reference"," is your order",[14,101,102,103,108],{},"A pending payment is checked again with the bank when you ask, so polling is safe. A successful payment never changes back, except through a ",[104,105,107],"a",{"href":106},"\u002Fpayments\u002Fdisputes","dispute",".",[110,111,112],"style",{},"html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}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":23,"searchDepth":46,"depth":46,"links":114},[],"Check with QwikiPay before you deliver.","md",{},true,"\u002Fpayments\u002Fconfirm-a-payment",{"title":5,"description":115},"2.payments\u002F4.confirm-a-payment","zZaTDzhHmM0gtstMVwAQwZIx3LeESmk-9ApkJX5jUBY",[124,128,150,171,183],{"title":125,"path":126,"stem":127},"QwikiPay API","\u002F","0.index",{"title":129,"path":130,"stem":131,"children":132,"page":149},"Getting Started","\u002Fgetting-started","1.getting-started",[133,137,141,145],{"title":134,"path":135,"stem":136},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F1.quickstart",{"title":138,"path":139,"stem":140},"Test and live mode","\u002Fgetting-started\u002Ftest-and-live-mode","1.getting-started\u002F2.test-and-live-mode",{"title":142,"path":143,"stem":144},"Authentication","\u002Fgetting-started\u002Fauthentication","1.getting-started\u002F3.authentication",{"title":146,"path":147,"stem":148},"Businesses","\u002Fgetting-started\u002Fbusinesses","1.getting-started\u002F4.businesses",false,{"title":151,"path":152,"stem":153,"children":154,"page":149},"Payments","\u002Fpayments","2.payments",[155,159,163,167,168],{"title":156,"path":157,"stem":158},"Drop-in checkout","\u002Fpayments\u002Fdrop-in","2.payments\u002F1.drop-in",{"title":160,"path":161,"stem":162},"Hosted checkout","\u002Fpayments\u002Fhosted-checkout","2.payments\u002F2.hosted-checkout",{"title":164,"path":165,"stem":166},"Direct charges","\u002Fpayments\u002Fdirect-charges","2.payments\u002F3.direct-charges",{"title":5,"path":119,"stem":121},{"title":169,"path":106,"stem":170},"Disputes","2.payments\u002F5.disputes",{"title":172,"path":173,"stem":174,"children":175,"page":149},"Webhooks","\u002Fwebhooks","3.webhooks",[176,179],{"title":172,"path":177,"stem":178},"\u002Fwebhooks\u002Foverview","3.webhooks\u002F1.overview",{"title":180,"path":181,"stem":182},"Verify signatures","\u002Fwebhooks\u002Fverify-signatures","3.webhooks\u002F2.verify-signatures",{"title":184,"path":185,"stem":186,"children":187,"page":149},"Reference","\u002Freference","4.reference",[188,192,196],{"title":189,"path":190,"stem":191},"Idempotency","\u002Freference\u002Fidempotency","4.reference\u002F1.idempotency",{"title":193,"path":194,"stem":195},"Errors","\u002Freference\u002Ferrors","4.reference\u002F2.errors",{"title":197,"path":198,"stem":199},"Countries and payment methods","\u002Freference\u002Fcountries","4.reference\u002F3.countries",1796429326072,"f8f2bc0b-2f84-41e1-84f7-47b53c87c561"]