[{"data":1,"prerenderedAt":284,"buildId":285},["ShallowReactive",2],{"docs-\u002Fgetting-started\u002Ftest-and-live-mode":3,"docs-nav":206},{"id":4,"title":5,"body":6,"description":198,"extension":199,"meta":200,"navigation":201,"path":202,"seo":203,"stem":204,"__hash__":205},"docs\u002F1.getting-started\u002F2.test-and-live-mode.md","Test and live mode",{"type":7,"value":8,"toc":192},"minimark",[9,13,17,99,104,107,169,173,189],[10,11,5],"h1",{"id":12},"test-and-live-mode",[14,15,16],"p",{},"Your key decides the mode. Test and live data never mix: a test key never sees live payments, and the other way round.",[18,19,20,35],"table",{},[21,22,23],"thead",{},[24,25,26,29,32],"tr",{},[27,28],"th",{},[27,30,31],{},"Test",[27,33,34],{},"Live",[36,37,38,55,70,81],"tbody",{},[24,39,40,44,50],{},[41,42,43],"td",{},"Secret key",[41,45,46],{},[47,48,49],"code",{},"qp_sk_test_...",[41,51,52],{},[47,53,54],{},"qp_sk_live_...",[24,56,57,60,65],{},[41,58,59],{},"Public key",[41,61,62],{},[47,63,64],{},"qp_pk_test_...",[41,66,67],{},[47,68,69],{},"qp_pk_live_...",[24,71,72,75,78],{},[41,73,74],{},"A business ID works once",[41,76,77],{},"its domain is confirmed",[41,79,80],{},"your account and the business are approved",[24,82,83,86,96],{},[41,84,85],{},"Calls may come from",[41,87,88,89,92,93],{},"the business's domain, or ",[47,90,91],{},"localhost"," and ",[47,94,95],{},"*.test",[41,97,98],{},"the business's domain only",[100,101,103],"h2",{"id":102},"test-cards","Test cards",[14,105,106],{},"Any future expiry date and any 3-digit CVV.",[18,108,109,119],{},[21,110,111],{},[24,112,113,116],{},[27,114,115],{},"Card number",[27,117,118],{},"What happens",[36,120,121,131,149,159],{},[24,122,123,128],{},[41,124,125],{},[47,126,127],{},"4242 4242 4242 4242",[41,129,130],{},"Paid at once",[24,132,133,138],{},[41,134,135],{},[47,136,137],{},"4000 0000 0000 0002",[41,139,140,141,144,145,148],{},"Asks for PIN ",[47,142,143],{},"1234",", then code ",[47,146,147],{},"123456",", then paid. A wrong PIN fails the payment.",[24,150,151,156],{},[41,152,153],{},[47,154,155],{},"4000 0000 0000 3220",[41,157,158],{},"Sends the customer to a test bank page where you approve or decline",[24,160,161,166],{},[41,162,163],{},[47,164,165],{},"4000 0000 0000 0069",[41,167,168],{},"Declined by the bank",[100,170,172],{"id":171},"test-mobile-money","Test mobile money",[14,174,175,176,183,184,188],{},"Any network from ",[177,178,180],"a",{"href":179},"\u002Fpayments\u002Fdirect-charges#mobile-money",[47,181,182],{},"GET \u002Fv1\u002Fmobile-networks",". A phone number ending in ",[185,186,187],"strong",{},"9"," is declined; any other number approves itself a few seconds after the charge starts.",[14,190,191],{},"Test withdrawals are marked paid when we approve them. Live withdrawals go to your bank or mobile money account.",{"title":193,"searchDepth":194,"depth":194,"links":195},"",2,[196,197],{"id":102,"depth":194,"text":103},{"id":171,"depth":194,"text":172},"Build with test keys; no real money moves.","md",{},true,"\u002Fgetting-started\u002Ftest-and-live-mode",{"title":5,"description":198},"1.getting-started\u002F2.test-and-live-mode","uRHhkoy_1wapExD8XunF1eoBAksmR9IhnWfzdmX4_oI",[207,211,230,255,267],{"title":208,"path":209,"stem":210},"QwikiPay API","\u002F","0.index",{"title":212,"path":213,"stem":214,"children":215,"page":229},"Getting Started","\u002Fgetting-started","1.getting-started",[216,220,221,225],{"title":217,"path":218,"stem":219},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F1.quickstart",{"title":5,"path":202,"stem":204},{"title":222,"path":223,"stem":224},"Authentication","\u002Fgetting-started\u002Fauthentication","1.getting-started\u002F3.authentication",{"title":226,"path":227,"stem":228},"Businesses","\u002Fgetting-started\u002Fbusinesses","1.getting-started\u002F4.businesses",false,{"title":231,"path":232,"stem":233,"children":234,"page":229},"Payments","\u002Fpayments","2.payments",[235,239,243,247,251],{"title":236,"path":237,"stem":238},"Drop-in checkout","\u002Fpayments\u002Fdrop-in","2.payments\u002F1.drop-in",{"title":240,"path":241,"stem":242},"Hosted checkout","\u002Fpayments\u002Fhosted-checkout","2.payments\u002F2.hosted-checkout",{"title":244,"path":245,"stem":246},"Direct charges","\u002Fpayments\u002Fdirect-charges","2.payments\u002F3.direct-charges",{"title":248,"path":249,"stem":250},"Confirm a payment","\u002Fpayments\u002Fconfirm-a-payment","2.payments\u002F4.confirm-a-payment",{"title":252,"path":253,"stem":254},"Disputes","\u002Fpayments\u002Fdisputes","2.payments\u002F5.disputes",{"title":256,"path":257,"stem":258,"children":259,"page":229},"Webhooks","\u002Fwebhooks","3.webhooks",[260,263],{"title":256,"path":261,"stem":262},"\u002Fwebhooks\u002Foverview","3.webhooks\u002F1.overview",{"title":264,"path":265,"stem":266},"Verify signatures","\u002Fwebhooks\u002Fverify-signatures","3.webhooks\u002F2.verify-signatures",{"title":268,"path":269,"stem":270,"children":271,"page":229},"Reference","\u002Freference","4.reference",[272,276,280],{"title":273,"path":274,"stem":275},"Idempotency","\u002Freference\u002Fidempotency","4.reference\u002F1.idempotency",{"title":277,"path":278,"stem":279},"Errors","\u002Freference\u002Ferrors","4.reference\u002F2.errors",{"title":281,"path":282,"stem":283},"Countries and payment methods","\u002Freference\u002Fcountries","4.reference\u002F3.countries",1796429326073,"f8f2bc0b-2f84-41e1-84f7-47b53c87c561"]