[{"data":1,"prerenderedAt":2604},["ShallowReactive",2],{"docs-navigation":3,"page-\u002Fke\u002Fpayments\u002Fsplit-payments\u002Fmulti-split":787},[4,20,48,169,226,273,326,330,370,442,641,738],{"title":5,"path":6,"stem":7,"children":8,"page":19},"Shared","\u002F_shared","_shared",[9],{"title":10,"path":11,"stem":12,"children":13,"page":19},"Payments","\u002F_shared\u002Fpayments","_shared\u002Fpayments",[14],{"title":15,"path":16,"stem":17,"markets":18},"Webhook confirmation","\u002F_shared\u002Fpayments\u002F_webhook-note","_shared\u002Fpayments\u002F_webhook-note",null,false,{"title":21,"path":22,"stem":23,"children":24},"Api","\u002Fapi","api",[25,28,32,36,40,44],{"title":26,"path":22,"stem":27,"markets":18},"API Reference","api\u002Findex",{"title":29,"path":30,"stem":31,"markets":18},"Authentication","\u002Fapi\u002Fauthentication","api\u002Fauthentication",{"title":33,"path":34,"stem":35,"markets":18},"Errors","\u002Fapi\u002Ferrors","api\u002Ferrors",{"title":37,"path":38,"stem":39,"markets":18},"Pagination","\u002Fapi\u002Fpagination","api\u002Fpagination",{"title":41,"path":42,"stem":43,"markets":18},"Rate Limits","\u002Fapi\u002Frate-limits","api\u002Frate-limits",{"title":45,"path":46,"stem":47,"markets":18},"Supported Currencies","\u002Fapi\u002Fsupported-currencies","api\u002Fsupported-currencies",{"title":49,"path":50,"stem":51,"children":52},"Commerce","\u002Fcommerce","commerce",[53,56,64,85,108,122,132,151],{"title":49,"path":50,"stem":54,"markets":18,"order":55},"commerce\u002Findex",0,{"title":57,"path":58,"stem":59,"children":60,"markets":18,"order":63},"Get started","\u002Fcommerce\u002Fget-started","commerce\u002F1.get-started\u002Findex",[61],{"title":62,"path":58,"stem":59,"markets":18,"order":55},"Build Your First Store",1,{"title":65,"markets":18,"order":66,"path":67,"stem":68,"children":69},"Payment Pages",2,"\u002Fcommerce\u002Fpayment-pages","commerce\u002F2.payment-pages\u002Findex",[70,71,76,80],{"title":65,"path":67,"stem":68,"markets":18,"order":55},{"title":72,"path":73,"stem":74,"markets":18,"order":75},"Add Products to a Page","\u002Fcommerce\u002Fpayment-pages\u002Fadd-products","commerce\u002F2.payment-pages\u002Fadd-products",4,{"title":77,"path":78,"stem":79,"markets":18,"order":66},"Create a Payment Page","\u002Fcommerce\u002Fpayment-pages\u002Fcreate","commerce\u002F2.payment-pages\u002Fcreate",{"title":81,"path":82,"stem":83,"markets":18,"order":84},"Manage Payment Pages","\u002Fcommerce\u002Fpayment-pages\u002Fmanage","commerce\u002F2.payment-pages\u002Fmanage",3,{"title":86,"markets":18,"order":84,"path":87,"stem":88,"children":89},"Payment Requests","\u002Fcommerce\u002Fpayment-requests","commerce\u002F3.payment-requests\u002Findex",[90,91,95,99,103],{"title":86,"path":87,"stem":88,"markets":18,"order":55},{"title":92,"path":93,"stem":94,"markets":18,"order":66},"Create a Payment Request","\u002Fcommerce\u002Fpayment-requests\u002Fcreate","commerce\u002F3.payment-requests\u002Fcreate",{"title":96,"path":97,"stem":98,"markets":18,"order":75},"Manage Payment Requests","\u002Fcommerce\u002Fpayment-requests\u002Fmanage","commerce\u002F3.payment-requests\u002Fmanage",{"title":100,"path":101,"stem":102,"markets":18,"order":84},"Notify and Finalize Requests","\u002Fcommerce\u002Fpayment-requests\u002Fnotify-and-finalize","commerce\u002F3.payment-requests\u002Fnotify-and-finalize",{"title":104,"path":105,"stem":106,"markets":18,"order":107},"Verify a Payment Request","\u002Fcommerce\u002Fpayment-requests\u002Fverify","commerce\u002F3.payment-requests\u002Fverify",5,{"title":109,"markets":18,"order":75,"path":110,"stem":111,"children":112},"Products","\u002Fcommerce\u002Fproducts","commerce\u002F4.products\u002Findex",[113,114,118],{"title":109,"path":110,"stem":111,"markets":18,"order":55},{"title":115,"path":116,"stem":117,"markets":18,"order":66},"Create a Product","\u002Fcommerce\u002Fproducts\u002Fcreate","commerce\u002F4.products\u002Fcreate",{"title":119,"path":120,"stem":121,"markets":18,"order":84},"Manage Products","\u002Fcommerce\u002Fproducts\u002Fmanage","commerce\u002F4.products\u002Fmanage",{"title":123,"path":124,"stem":125,"children":126,"markets":18,"order":107},"Orders","\u002Fcommerce\u002Forders","commerce\u002F5.orders\u002Findex",[127,128],{"title":123,"path":124,"stem":125,"markets":18,"order":55},{"title":129,"path":130,"stem":131,"markets":18,"order":66},"Manage Orders","\u002Fcommerce\u002Forders\u002Fmanage","commerce\u002F5.orders\u002Fmanage",{"title":133,"markets":18,"order":134,"path":135,"stem":136,"children":137},"Storefronts",6,"\u002Fcommerce\u002Fstorefronts","commerce\u002F6.storefronts\u002Findex",[138,139,143,147],{"title":133,"path":135,"stem":136,"markets":18,"order":55},{"title":140,"path":141,"stem":142,"markets":18,"order":66},"Create a Storefront","\u002Fcommerce\u002Fstorefronts\u002Fcreate","commerce\u002F6.storefronts\u002Fcreate",{"title":144,"path":145,"stem":146,"markets":18,"order":84},"Publish and Manage Storefronts","\u002Fcommerce\u002Fstorefronts\u002Fmanage","commerce\u002F6.storefronts\u002Fmanage",{"title":148,"path":149,"stem":150,"markets":18,"order":75},"Products and Orders","\u002Fcommerce\u002Fstorefronts\u002Fproducts-and-orders","commerce\u002F6.storefronts\u002Fproducts-and-orders",{"title":152,"markets":18,"order":153,"path":154,"stem":155,"children":156,"page":19},"Concepts",7,"\u002Fcommerce\u002Fconcepts","commerce\u002F7.concepts",[157,161,165],{"title":158,"path":159,"stem":160,"markets":18,"order":84},"No-code Builder vs API Approach","\u002Fcommerce\u002Fconcepts\u002Fnocode-vs-api","commerce\u002F7.concepts\u002Fnocode-vs-api",{"title":162,"path":163,"stem":164,"markets":18,"order":66},"Commerce Order Lifecycle","\u002Fcommerce\u002Fconcepts\u002Forder-lifecycle","commerce\u002F7.concepts\u002Forder-lifecycle",{"title":166,"path":167,"stem":168,"markets":18,"order":63},"Payment Pages vs Payment Requests","\u002Fcommerce\u002Fconcepts\u002Fpayment-pages-vs-requests","commerce\u002F7.concepts\u002Fpayment-pages-vs-requests",{"title":170,"path":171,"stem":172,"children":173},"Developer Tools","\u002Fdeveloper-tools","developer-tools",[174,176,193,197,214,218,222],{"title":170,"path":171,"stem":175,"markets":18,"order":55},"developer-tools\u002Findex",{"title":177,"markets":18,"order":63,"path":178,"stem":179,"children":180,"page":19},"Integration toolkit","\u002Fdeveloper-tools\u002Fintegration","developer-tools\u002F1.integration",[181,185,189],{"title":182,"path":183,"stem":184,"markets":18,"order":63},"API keys","\u002Fdeveloper-tools\u002Fintegration\u002Fapi-keys","developer-tools\u002F1.integration\u002Fapi-keys",{"title":186,"path":187,"stem":188,"markets":18,"order":84},"Test payments","\u002Fdeveloper-tools\u002Fintegration\u002Ftest-payments","developer-tools\u002F1.integration\u002Ftest-payments",{"title":190,"path":191,"stem":192,"markets":18,"order":66},"Webhooks","\u002Fdeveloper-tools\u002Fintegration\u002Fwebhooks","developer-tools\u002F1.integration\u002Fwebhooks",{"title":194,"path":195,"stem":196,"markets":18,"order":66},"InlineJS","\u002Fdeveloper-tools\u002Finline-js","developer-tools\u002F2.inline-js",{"title":198,"markets":18,"order":84,"path":199,"stem":200,"children":201,"page":19},"Mobile SDKs","\u002Fdeveloper-tools\u002Fmobile-sdks","developer-tools\u002F3.mobile-sdks",[202,206,210],{"title":203,"path":204,"stem":205,"markets":18,"order":63},"Android SDK","\u002Fdeveloper-tools\u002Fmobile-sdks\u002Fandroid","developer-tools\u002F3.mobile-sdks\u002Fandroid",{"title":207,"path":208,"stem":209,"markets":18,"order":84},"Flutter SDK","\u002Fdeveloper-tools\u002Fmobile-sdks\u002Fflutter","developer-tools\u002F3.mobile-sdks\u002Fflutter",{"title":211,"path":212,"stem":213,"markets":18,"order":66},"iOS SDK","\u002Fdeveloper-tools\u002Fmobile-sdks\u002Fios","developer-tools\u002F3.mobile-sdks\u002Fios",{"title":215,"path":216,"stem":217,"markets":18,"order":75},"Server SDKs","\u002Fdeveloper-tools\u002Fserver-sdks","developer-tools\u002F4.server-sdks",{"title":219,"path":220,"stem":221,"markets":18,"order":107},"Plugins","\u002Fdeveloper-tools\u002Fplugins","developer-tools\u002F5.plugins",{"title":223,"path":224,"stem":225,"markets":18,"order":134},"MCP Server","\u002Fdeveloper-tools\u002Fmcp-server","developer-tools\u002F6.mcp-server",{"title":227,"path":228,"stem":229,"children":230},"Disbursements","\u002Fdisbursements","disbursements",[231,233,236],{"title":227,"path":228,"stem":232,"markets":18,"order":55},"disbursements\u002Findex",{"title":57,"path":234,"stem":235,"markets":18,"order":63},"\u002Fdisbursements\u002Fget-started","disbursements\u002F1.get-started",{"title":237,"markets":18,"order":66,"path":238,"stem":239,"children":240,"page":19},"Transfers","\u002Fdisbursements\u002Ftransfers","disbursements\u002Ftransfers",[241,245,253,257,261,265,269],{"title":242,"path":243,"stem":244,"markets":18},"Transfer recipients","\u002Fdisbursements\u002Ftransfers\u002Frecipients","disbursements\u002Ftransfers\u002F01.recipients",{"title":246,"path":247,"stem":248,"markets":249},"Verify an account number","\u002Fdisbursements\u002Ftransfers\u002Fverify-account","disbursements\u002Ftransfers\u002F02.verify-account",[250,251,252],"ng","gh","za",{"title":254,"path":255,"stem":256,"markets":18},"Send money to a single recipient","\u002Fdisbursements\u002Ftransfers\u002Fsingle-transfers","disbursements\u002Ftransfers\u002F03.single-transfers",{"title":258,"path":259,"stem":260,"markets":18},"Send money to multiple recipients","\u002Fdisbursements\u002Ftransfers\u002Fbulk-transfers","disbursements\u002Ftransfers\u002F04.bulk-transfers",{"title":262,"path":263,"stem":264,"markets":18},"Check your balance","\u002Fdisbursements\u002Ftransfers\u002Fbalance-management","disbursements\u002Ftransfers\u002F05.balance-management",{"title":266,"path":267,"stem":268,"markets":18},"Transfer approval","\u002Fdisbursements\u002Ftransfers\u002Ftransfer-approval","disbursements\u002Ftransfers\u002F06.transfer-approval",{"title":270,"path":271,"stem":272,"markets":18},"How transfers work","\u002Fdisbursements\u002Ftransfers\u002Fhow-transfers-work","disbursements\u002Ftransfers\u002F07.how-transfers-work",{"title":274,"path":275,"stem":251,"children":276,"page":19},"Gh","\u002Fgh",[277],{"title":10,"path":278,"stem":279,"children":280,"markets":18,"order":55},"\u002Fgh\u002Fpayments","gh\u002Fpayments\u002Findex",[281,282,316],{"title":10,"path":278,"stem":279,"markets":18,"order":55},{"title":283,"markets":18,"order":66,"path":284,"stem":285,"children":286},"Payment channels","\u002Fgh\u002Fpayments\u002Fchannels","gh\u002Fpayments\u002Fchannels\u002Findex",[287,289,294,298,308,312],{"title":288,"path":284,"stem":285,"markets":18,"order":55},"Overview",{"title":290,"path":291,"stem":292,"markets":18,"order":293},"Apple Pay","\u002Fgh\u002Fpayments\u002Fchannels\u002Fapple-pay","gh\u002Fpayments\u002Fchannels\u002Fapple-pay",98,{"title":295,"path":296,"stem":297,"markets":18,"order":66},"Cards","\u002Fgh\u002Fpayments\u002Fchannels\u002Fcards","gh\u002Fpayments\u002Fchannels\u002Fcards",{"title":299,"markets":18,"order":75,"path":300,"stem":301,"children":302},"Dedicated Virtual Accounts","\u002Fgh\u002Fpayments\u002Fchannels\u002Fdedicated-virtual-accounts","gh\u002Fpayments\u002Fchannels\u002Fdedicated-virtual-accounts\u002Findex",[303,304],{"title":299,"path":300,"stem":301,"markets":18},{"title":305,"path":306,"stem":307,"markets":18},"Create and Assign Dedicated Virtual Accounts","\u002Fgh\u002Fpayments\u002Fchannels\u002Fdedicated-virtual-accounts\u002Fcreate-and-assign-dedicated-virtual-accounts","gh\u002Fpayments\u002Fchannels\u002Fdedicated-virtual-accounts\u002Fcreate-and-assign-dedicated-virtual-accounts",{"title":309,"path":310,"stem":311,"markets":18,"order":63},"Mobile Money","\u002Fgh\u002Fpayments\u002Fchannels\u002Fmobile-money","gh\u002Fpayments\u002Fchannels\u002Fmobile-money",{"title":313,"path":314,"stem":315,"markets":18,"order":84},"Pay with Transfer","\u002Fgh\u002Fpayments\u002Fchannels\u002Fpwt","gh\u002Fpayments\u002Fchannels\u002Fpwt",{"title":317,"path":318,"stem":319,"children":320,"markets":18,"order":107},"In-person","\u002Fgh\u002Fpayments\u002Fin-person","gh\u002Fpayments\u002Fin-person\u002Findex",[321,322],{"title":288,"path":318,"stem":319,"markets":18,"order":55},{"title":323,"path":324,"stem":325,"markets":18,"order":63},"Virtual Terminal","\u002Fgh\u002Fpayments\u002Fin-person\u002Fvirtual-terminal","gh\u002Fpayments\u002Fin-person\u002Fvirtual-terminal",{"title":327,"path":328,"stem":329,"markets":18},"Home","\u002F","index",{"title":331,"path":332,"stem":333,"children":334,"page":19},"Ke","\u002Fke","ke",[335],{"title":10,"path":336,"stem":337,"children":338,"markets":18,"order":55},"\u002Fke\u002Fpayments","ke\u002Fpayments\u002Findex",[339,340,362],{"title":10,"path":336,"stem":337,"markets":18,"order":55},{"title":283,"markets":18,"order":66,"path":341,"stem":342,"children":343},"\u002Fke\u002Fpayments\u002Fchannels","ke\u002Fpayments\u002Fchannels\u002Findex",[344,345,348,351,354,358],{"title":288,"path":341,"stem":342,"markets":18,"order":55},{"title":290,"path":346,"stem":347,"markets":18,"order":293},"\u002Fke\u002Fpayments\u002Fchannels\u002Fapple-pay","ke\u002Fpayments\u002Fchannels\u002Fapple-pay",{"title":295,"path":349,"stem":350,"markets":18,"order":84},"\u002Fke\u002Fpayments\u002Fchannels\u002Fcards","ke\u002Fpayments\u002Fchannels\u002Fcards",{"title":309,"path":352,"stem":353,"markets":18,"order":66},"\u002Fke\u002Fpayments\u002Fchannels\u002Fmobile-money","ke\u002Fpayments\u002Fchannels\u002Fmobile-money",{"title":355,"path":356,"stem":357,"markets":18,"order":63},"M-PESA","\u002Fke\u002Fpayments\u002Fchannels\u002Fmpesa","ke\u002Fpayments\u002Fchannels\u002Fmpesa",{"title":359,"path":360,"stem":361,"markets":18,"order":75},"PesaLink","\u002Fke\u002Fpayments\u002Fchannels\u002Fpesalink","ke\u002Fpayments\u002Fchannels\u002Fpesalink",{"title":317,"path":363,"stem":364,"children":365,"markets":18,"order":107},"\u002Fke\u002Fpayments\u002Fin-person","ke\u002Fpayments\u002Fin-person\u002Findex",[366,367],{"title":288,"path":363,"stem":364,"markets":18,"order":55},{"title":323,"path":368,"stem":369,"markets":18,"order":63},"\u002Fke\u002Fpayments\u002Fin-person\u002Fvirtual-terminal","ke\u002Fpayments\u002Fin-person\u002Fvirtual-terminal",{"title":371,"path":372,"stem":373,"children":374},"Operations","\u002Foperations","operations",[375,377,386,395,404,421],{"title":371,"path":372,"stem":376,"markets":18,"order":55},"operations\u002Findex",{"title":378,"markets":18,"order":84,"path":379,"stem":380,"children":381,"page":19},"Refunds","\u002Foperations\u002Frefunds","operations\u002F3.refunds",[382],{"title":383,"path":384,"stem":385,"markets":18},"How to issue a refund","\u002Foperations\u002Frefunds\u002Fprocess-a-refund","operations\u002F3.refunds\u002Fprocess-a-refund",{"title":387,"markets":18,"order":75,"path":388,"stem":389,"children":390,"page":19},"Disputes","\u002Foperations\u002Fdisputes","operations\u002F4.disputes",[391],{"title":392,"path":393,"stem":394,"markets":18},"How to manage disputes","\u002Foperations\u002Fdisputes\u002Fmanage-disputes","operations\u002F4.disputes\u002Fmanage-disputes",{"title":396,"markets":18,"order":107,"path":397,"stem":398,"children":399,"page":19},"Settlements","\u002Foperations\u002Fsettlements","operations\u002F5.settlements",[400],{"title":401,"path":402,"stem":403,"markets":18},"Settlements reference","\u002Foperations\u002Fsettlements\u002Fview-settlements","operations\u002F5.settlements\u002Fview-settlements",{"title":405,"markets":18,"order":134,"path":406,"stem":407,"children":408,"page":19},"Verification","\u002Foperations\u002Fverification","operations\u002F6.verification",[409,413,417],{"title":410,"path":411,"stem":412,"markets":18,"order":84},"Resolve BVN","\u002Foperations\u002Fverification\u002Fresolve-bvn","operations\u002F6.verification\u002Fresolve-bvn",{"title":414,"path":415,"stem":416,"markets":18,"order":66},"Resolve Card BIN","\u002Foperations\u002Fverification\u002Fresolve-card-bin","operations\u002F6.verification\u002Fresolve-card-bin",{"title":418,"path":419,"stem":420,"markets":18,"order":75},"Verify BVN Match","\u002Foperations\u002Fverification\u002Fverify-bvn-match","operations\u002F6.verification\u002Fverify-bvn-match",{"title":152,"markets":18,"order":422,"path":423,"stem":424,"children":425,"page":19},8,"\u002Foperations\u002Fconcepts","operations\u002F8.concepts",[426,430,434,438],{"title":427,"path":428,"stem":429,"markets":18,"order":75},"Customer Lifecycle in Paystack","\u002Foperations\u002Fconcepts\u002Fcustomer-lifecycle","operations\u002F8.concepts\u002Fcustomer-lifecycle",{"title":431,"path":432,"stem":433,"markets":18,"order":66},"The Dispute Resolution Process","\u002Foperations\u002Fconcepts\u002Fdispute-resolution","operations\u002F8.concepts\u002Fdispute-resolution",{"title":435,"path":436,"stem":437,"markets":18,"order":63},"How Settlements Work","\u002Foperations\u002Fconcepts\u002Fhow-settlements-work","operations\u002F8.concepts\u002Fhow-settlements-work",{"title":439,"path":440,"stem":441,"markets":18,"order":84},"Refund Timelines by Channel","\u002Foperations\u002Fconcepts\u002Frefund-timelines","operations\u002F8.concepts\u002Frefund-timelines",{"title":10,"path":443,"stem":444,"children":445},"\u002Fpayments","payments",[446,448,486,538,576,607,625],{"title":10,"path":443,"stem":447,"markets":18,"order":55},"payments\u002Findex",{"title":283,"markets":18,"order":66,"path":449,"stem":450,"children":451},"\u002Fpayments\u002Fchannels","payments\u002F2.channels\u002Findex",[452,454,457,461,464,479,482],{"title":453,"path":449,"stem":450,"markets":18,"order":55},"Payment Channels",{"title":290,"path":455,"stem":456,"markets":18,"order":293},"\u002Fpayments\u002Fchannels\u002Fapple-pay","payments\u002F2.channels\u002Fapple-pay",{"title":458,"path":459,"stem":460,"markets":18,"order":75},"Bank Accounts","\u002Fpayments\u002Fchannels\u002Fbank","payments\u002F2.channels\u002Fbank",{"title":295,"path":462,"stem":463,"markets":18,"order":63},"\u002Fpayments\u002Fchannels\u002Fcards","payments\u002F2.channels\u002Fcards",{"title":299,"markets":18,"order":84,"path":465,"stem":466,"children":467},"\u002Fpayments\u002Fchannels\u002Fdedicated-virtual-accounts","payments\u002F2.channels\u002Fdedicated-virtual-accounts\u002Findex",[468,470,474],{"title":299,"path":465,"stem":466,"markets":469},[250,251],{"title":305,"path":471,"stem":472,"markets":473},"\u002Fpayments\u002Fchannels\u002Fdedicated-virtual-accounts\u002Fcreate-and-assign-dedicated-virtual-accounts","payments\u002F2.channels\u002Fdedicated-virtual-accounts\u002Fcreate-and-assign-dedicated-virtual-accounts",[250,251],{"title":475,"path":476,"stem":477,"markets":478},"Validate Customer","\u002Fpayments\u002Fchannels\u002Fdedicated-virtual-accounts\u002Fvalidate-customer","payments\u002F2.channels\u002Fdedicated-virtual-accounts\u002Fvalidate-customer",[250],{"title":313,"path":480,"stem":481,"markets":18,"order":66},"\u002Fpayments\u002Fchannels\u002Fpwt","payments\u002F2.channels\u002Fpwt",{"title":483,"path":484,"stem":485,"markets":18,"order":107},"USSD","\u002Fpayments\u002Fchannels\u002Fussd","payments\u002F2.channels\u002Fussd",{"title":487,"markets":18,"order":84,"path":488,"stem":489,"children":490},"Online","\u002Fpayments\u002Fonline","payments\u002F3.online\u002Findex",[491,493,507,526,530,534],{"title":492,"path":488,"stem":489,"markets":18,"order":55},"Online payments",{"title":494,"path":495,"stem":496,"children":497,"markets":18,"order":66},"Checkout","\u002Fpayments\u002Fonline\u002Fcheckout","payments\u002F3.online\u002F1.checkout\u002Findex",[498,499,503],{"title":494,"path":495,"stem":496,"markets":18,"order":55},{"title":500,"path":501,"stem":502,"markets":18},"How to integrate Popup Checkout","\u002Fpayments\u002Fonline\u002Fcheckout\u002Fpopup","payments\u002F3.online\u002F1.checkout\u002Fpopup",{"title":504,"path":505,"stem":506,"markets":18},"How to integrate Redirect Checkout","\u002Fpayments\u002Fonline\u002Fcheckout\u002Fredirect","payments\u002F3.online\u002F1.checkout\u002Fredirect",{"title":508,"markets":18,"order":84,"path":509,"stem":510,"children":511},"Charge API","\u002Fpayments\u002Fonline\u002Fcharge-api","payments\u002F3.online\u002F2.charge-api\u002Findex",[512,513,518,522],{"title":508,"path":509,"stem":510,"markets":18,"order":55},{"title":514,"path":515,"stem":516,"markets":517},"How to charge via bank transfer","\u002Fpayments\u002Fonline\u002Fcharge-api\u002Fbank-transfers","payments\u002F3.online\u002F2.charge-api\u002Fbank-transfers",[250,251],{"title":519,"path":520,"stem":521,"markets":18},"How to charge a card","\u002Fpayments\u002Fonline\u002Fcharge-api\u002Fcards","payments\u002F3.online\u002F2.charge-api\u002Fcards",{"title":523,"path":524,"stem":525,"markets":18},"Charge your first card in 10 minutes","\u002Fpayments\u002Fonline\u002Fcharge-api\u002Fquickstart","payments\u002F3.online\u002F2.charge-api\u002Fquickstart",{"title":527,"path":528,"stem":529,"markets":18},"Metadata reference","\u002Fpayments\u002Fonline\u002Fmetadata","payments\u002F3.online\u002Fmetadata",{"title":531,"path":532,"stem":533,"markets":18,"order":63},"Build your first checkout","\u002Fpayments\u002Fonline\u002Fquickstart","payments\u002F3.online\u002Fquickstart",{"title":535,"path":536,"stem":537,"markets":18},"Verify a payment","\u002Fpayments\u002Fonline\u002Fverify-payments","payments\u002F3.online\u002Fverify-payments",{"title":539,"markets":18,"order":75,"path":540,"stem":541,"children":542},"Recurring","\u002Fpayments\u002Frecurring","payments\u002F4.recurring\u002Findex",[543,545,561,565],{"title":544,"path":540,"stem":541,"markets":18,"order":55},"Recurring payments",{"title":546,"markets":18,"order":63,"path":547,"stem":548,"children":549},"Charge authorization","\u002Fpayments\u002Frecurring\u002Fcharge-authorization","payments\u002F4.recurring\u002F1.charge-authorization\u002Findex",[550,552,557],{"title":551,"path":547,"stem":548,"markets":18,"order":55},"How to set up recurring charges",{"title":553,"path":554,"stem":555,"markets":556,"order":66},"Direct Debit","\u002Fpayments\u002Frecurring\u002Fcharge-authorization\u002Fdirect-debit","payments\u002F4.recurring\u002F1.charge-authorization\u002Fdirect-debit",[250],{"title":558,"path":559,"stem":560,"markets":18,"order":63},"How to use partial debits","\u002Fpayments\u002Frecurring\u002Fcharge-authorization\u002Fpartial-debits","payments\u002F4.recurring\u002F1.charge-authorization\u002Fpartial-debits",{"title":562,"path":563,"stem":564,"markets":18,"order":66},"How to run bulk charges","\u002Fpayments\u002Frecurring\u002Fbulk-charge","payments\u002F4.recurring\u002F2.bulk-charge",{"title":566,"path":567,"stem":568,"children":569,"markets":18,"order":84},"Subscriptions","\u002Fpayments\u002Frecurring\u002Fsubscriptions","payments\u002F4.recurring\u002F3.subscriptions\u002Findex",[570,572],{"title":571,"path":567,"stem":568,"markets":18},"How subscriptions work",{"title":573,"path":574,"stem":575,"markets":18},"Set up your first subscription in 15 minutes","\u002Fpayments\u002Frecurring\u002Fsubscriptions\u002Fquickstart","payments\u002F4.recurring\u002F3.subscriptions\u002Fquickstart",{"title":317,"markets":18,"order":107,"path":577,"stem":578,"children":579},"\u002Fpayments\u002Fin-person","payments\u002F5.in-person\u002Findex",[580,582,604],{"title":581,"path":577,"stem":578,"markets":18,"order":55},"In-person payments",{"title":583,"markets":18,"order":63,"path":584,"stem":585,"children":586},"Physical Terminal","\u002Fpayments\u002Fin-person\u002Fphysical-terminal","payments\u002F5.in-person\u002F1.physical-terminal\u002Findex",[587,588,592,596,600],{"title":583,"path":584,"stem":585,"markets":18,"order":55},{"title":589,"path":590,"stem":591,"markets":18},"Custom Terminal apps","\u002Fpayments\u002Fin-person\u002Fphysical-terminal\u002Fcustom-apps","payments\u002F5.in-person\u002F1.physical-terminal\u002Fcustom-apps",{"title":593,"path":594,"stem":595,"markets":18,"order":63},"Your First Terminal Integration","\u002Fpayments\u002Fin-person\u002Fphysical-terminal\u002Fget-started","payments\u002F5.in-person\u002F1.physical-terminal\u002Fget-started",{"title":597,"path":598,"stem":599,"markets":18},"Invoice payments on Terminal","\u002Fpayments\u002Fin-person\u002Fphysical-terminal\u002Finvoice-payments","payments\u002F5.in-person\u002F1.physical-terminal\u002Finvoice-payments",{"title":601,"path":602,"stem":603,"markets":18},"Push payment requests","\u002Fpayments\u002Fin-person\u002Fphysical-terminal\u002Fpush-payment-requests","payments\u002F5.in-person\u002F1.physical-terminal\u002Fpush-payment-requests",{"title":323,"path":605,"stem":606,"markets":18,"order":66},"\u002Fpayments\u002Fin-person\u002Fvirtual-terminal","payments\u002F5.in-person\u002Fvirtual-terminal",{"title":608,"markets":18,"order":134,"path":609,"stem":610,"children":611},"Split payments","\u002Fpayments\u002Fsplit-payments","payments\u002F6.split-payments\u002Findex",[612,613,617,621],{"title":608,"path":609,"stem":610,"markets":18,"order":55},{"title":614,"path":615,"stem":616,"markets":18,"order":63},"Create a subaccount","\u002Fpayments\u002Fsplit-payments\u002Fsubaccounts","payments\u002F6.split-payments\u002F1.subaccounts",{"title":618,"path":619,"stem":620,"markets":18,"order":66},"Split a payment with a subaccount","\u002Fpayments\u002Fsplit-payments\u002Fsingle-split","payments\u002F6.split-payments\u002F2.single-split",{"title":622,"path":623,"stem":624,"markets":18,"order":84},"Split a payment across multiple subaccounts","\u002Fpayments\u002Fsplit-payments\u002Fmulti-split","payments\u002F6.split-payments\u002F3.multi-split",{"title":152,"markets":18,"order":153,"path":626,"stem":627,"children":628,"page":19},"\u002Fpayments\u002Fconcepts","payments\u002F7.concepts",[629,633,637],{"title":630,"path":631,"stem":632,"markets":18,"order":63},"Payment flow","\u002Fpayments\u002Fconcepts\u002Fpayment-flow","payments\u002F7.concepts\u002Fpayment-flow",{"title":634,"path":635,"stem":636,"markets":18,"order":84},"Transaction statuses","\u002Fpayments\u002Fconcepts\u002Ftransaction-statuses","payments\u002F7.concepts\u002Ftransaction-statuses",{"title":638,"path":639,"stem":640,"markets":18,"order":66},"Webhooks vs polling","\u002Fpayments\u002Fconcepts\u002Fwebhooks-vs-polling","payments\u002F7.concepts\u002Fwebhooks-vs-polling",{"title":642,"path":643,"stem":644,"children":645},"Use Cases","\u002Fuse-cases","use-cases",[646,649,670,687,704,721],{"title":647,"path":643,"stem":648,"markets":18,"order":55},"Use-cases","use-cases\u002Findex",{"title":650,"markets":18,"order":63,"path":651,"stem":652,"children":653,"page":19},"Fintech","\u002Fuse-cases\u002Ffintech","use-cases\u002F1.fintech",[654,658,662,666],{"title":655,"path":656,"stem":657,"markets":18},"Fund a Wallet with Paystack","\u002Fuse-cases\u002Ffintech\u002Fwallet-funding","use-cases\u002F1.fintech\u002F1.wallet-funding",{"title":659,"path":660,"stem":661,"markets":18},"Send Money Between Users","\u002Fuse-cases\u002Ffintech\u002Fpeer-to-peer-transfers","use-cases\u002F1.fintech\u002F2.peer-to-peer-transfers",{"title":663,"path":664,"stem":665,"markets":18},"Set Up Recurring Savings Contributions","\u002Fuse-cases\u002Ffintech\u002Fsavings-investment-apps","use-cases\u002F1.fintech\u002F3.savings-investment-apps",{"title":667,"path":668,"stem":669,"markets":18},"Automate Loan Repayment Collection","\u002Fuse-cases\u002Ffintech\u002Flending-loan-repayments","use-cases\u002F1.fintech\u002F4.lending-loan-repayments",{"title":671,"markets":18,"order":66,"path":672,"stem":673,"children":674,"page":19},"E-commerce","\u002Fuse-cases\u002Fecommerce","use-cases\u002F2.ecommerce",[675,679,683],{"title":676,"path":677,"stem":678,"markets":18},"Split Payments Between a Platform and Vendors","\u002Fuse-cases\u002Fecommerce\u002Fmarketplace-split-payments","use-cases\u002F2.ecommerce\u002F1.marketplace-split-payments",{"title":680,"path":681,"stem":682,"markets":18},"Charge Customers on a Monthly Subscription","\u002Fuse-cases\u002Fecommerce\u002Fsubscription-box-store","use-cases\u002F2.ecommerce\u002F2.subscription-box-store",{"title":684,"path":685,"stem":686,"markets":18},"Sell and Deliver Digital Products","\u002Fuse-cases\u002Fecommerce\u002Fdigital-downloads","use-cases\u002F2.ecommerce\u002F3.digital-downloads",{"title":688,"markets":18,"order":84,"path":689,"stem":690,"children":691,"page":19},"Gaming & entertainment","\u002Fuse-cases\u002Fgaming","use-cases\u002F3.gaming",[692,696,700],{"title":693,"path":694,"stem":695,"markets":18},"Accept In-app Purchases on Mobile","\u002Fuse-cases\u002Fgaming\u002Fin-app-purchases","use-cases\u002F3.gaming\u002F1.in-app-purchases",{"title":697,"path":698,"stem":699,"markets":18},"Offer Premium Membership Tiers","\u002Fuse-cases\u002Fgaming\u002Fsubscription-memberships","use-cases\u002F3.gaming\u002F2.subscription-memberships",{"title":701,"path":702,"stem":703,"markets":18},"Sell Virtual Currency (Coins\u002FGems)","\u002Fuse-cases\u002Fgaming\u002Fvirtual-currency-top-ups","use-cases\u002F3.gaming\u002F3.virtual-currency-top-ups",{"title":705,"markets":18,"order":75,"path":706,"stem":707,"children":708,"page":19},"Transportation","\u002Fuse-cases\u002Ftransportation","use-cases\u002F4.transportation",[709,713,717],{"title":710,"path":711,"stem":712,"markets":18},"Capture and Charge Rides with Preauthorization","\u002Fuse-cases\u002Ftransportation\u002Fride-hailing-payment-flow","use-cases\u002F4.transportation\u002F1.ride-hailing-payment-flow",{"title":714,"path":715,"stem":716,"markets":18},"Pay Drivers in Bulk After Each Shift","\u002Fuse-cases\u002Ftransportation\u002Ffleet-driver-payouts","use-cases\u002F4.transportation\u002F2.fleet-driver-payouts",{"title":718,"path":719,"stem":720,"markets":18},"Accept Toll and Ticket Payments Online","\u002Fuse-cases\u002Ftransportation\u002Ftoll-ticketing","use-cases\u002F4.transportation\u002F3.toll-ticketing",{"title":722,"markets":18,"order":107,"path":723,"stem":724,"children":725,"page":19},"Travel & hospitality","\u002Fuse-cases\u002Ftravel","use-cases\u002F5.travel",[726,730,734],{"title":727,"path":728,"stem":729,"markets":18},"Hold a Deposit on Hotel Booking","\u002Fuse-cases\u002Ftravel\u002Fhotel-booking-preauthorization","use-cases\u002F5.travel\u002F1.hotel-booking-preauthorization",{"title":731,"path":732,"stem":733,"markets":18},"Sell Flight Tickets and Process Refunds","\u002Fuse-cases\u002Ftravel\u002Fflight-ticketing-refunds","use-cases\u002F5.travel\u002F2.flight-ticketing-refunds",{"title":735,"path":736,"stem":737,"markets":18},"Sell Tour Experiences with Split Revenue","\u002Fuse-cases\u002Ftravel\u002Ftour-experience-bookings","use-cases\u002F5.travel\u002F3.tour-experience-bookings",{"title":739,"path":740,"stem":252,"children":741,"page":19},"Za","\u002Fza",[742],{"title":10,"path":743,"stem":744,"children":745,"markets":18,"order":55},"\u002Fza\u002Fpayments","za\u002Fpayments\u002Findex",[746,747,779],{"title":10,"path":743,"stem":744,"markets":18,"order":55},{"title":283,"markets":18,"order":66,"path":748,"stem":749,"children":750},"\u002Fza\u002Fpayments\u002Fchannels","za\u002Fpayments\u002Fchannels\u002Findex",[751,752,755,759,763,766,771,775],{"title":288,"path":748,"stem":749,"markets":18,"order":55},{"title":290,"path":753,"stem":754,"markets":18,"order":293},"\u002Fza\u002Fpayments\u002Fchannels\u002Fapple-pay","za\u002Fpayments\u002Fchannels\u002Fapple-pay",{"title":756,"path":757,"stem":758,"markets":18,"order":84},"Capitec Pay","\u002Fza\u002Fpayments\u002Fchannels\u002Fcapitec-pay","za\u002Fpayments\u002Fchannels\u002Fcapitec-pay",{"title":760,"path":761,"stem":762,"markets":18,"order":107},"Card Preauthorization","\u002Fza\u002Fpayments\u002Fchannels\u002Fcard-preauthorization","za\u002Fpayments\u002Fchannels\u002Fcard-preauthorization",{"title":295,"path":764,"stem":765,"markets":18,"order":63},"\u002Fza\u002Fpayments\u002Fchannels\u002Fcards","za\u002Fpayments\u002Fchannels\u002Fcards",{"title":767,"path":768,"stem":769,"markets":18,"order":770},"Google Pay","\u002Fza\u002Fpayments\u002Fchannels\u002Fgoogle-pay","za\u002Fpayments\u002Fchannels\u002Fgoogle-pay",99,{"title":772,"path":773,"stem":774,"markets":18,"order":66},"Instant EFT","\u002Fza\u002Fpayments\u002Fchannels\u002Finstant-eft","za\u002Fpayments\u002Fchannels\u002Finstant-eft",{"title":776,"path":777,"stem":778,"markets":18,"order":75},"QR code payments","\u002Fza\u002Fpayments\u002Fchannels\u002Fqr-codes","za\u002Fpayments\u002Fchannels\u002Fqr-codes",{"title":317,"path":780,"stem":781,"children":782,"markets":18,"order":107},"\u002Fza\u002Fpayments\u002Fin-person","za\u002Fpayments\u002Fin-person\u002Findex",[783,784],{"title":288,"path":780,"stem":781,"markets":18,"order":55},{"title":323,"path":785,"stem":786,"markets":18,"order":63},"\u002Fza\u002Fpayments\u002Fin-person\u002Fvirtual-terminal","za\u002Fpayments\u002Fin-person\u002Fvirtual-terminal",{"id":788,"title":622,"body":789,"description":2597,"extension":2598,"markets":18,"meta":2599,"navigation":2600,"path":623,"seo":2601,"stem":624,"type":2602,"whats_next":18,"__hash__":2603},"content\u002Fpayments\u002F6.split-payments\u002F3.multi-split.md",{"type":790,"value":791,"toc":2589},"minimark",[792,796,818,834,839,847,851,870,925,948,959,963,973,1035,1046,1050,1060,2250,2259,2262,2266,2269,2272,2294,2399,2407,2425,2428,2435,2439,2445,2496,2502,2506,2516,2536,2544,2548,2559,2566,2572,2585],[793,794,795],"p",{},"There are two ways to divide a payment between your main account and several subaccounts:",[797,798,799,812],"ul",{},[800,801,802,806,807,811],"li",{},[803,804,805],"strong",{},"Saved split",": create the split once, then pass its ",[808,809,810],"code",{},"split_code"," on every payment you want to divide the same way.",[800,813,814,817],{},[803,815,816],{},"Dynamic split",": send the split with each payment, for when the division changes from one payment to the next.",[793,819,820,821,825,826,829,830,833],{},"Before you start, ",[822,823,824],"a",{"href":615},"create a subaccount"," for each partner. The examples use Oasis Foods (",[808,827,828],{},"ACCT_6uujpqtzmnufzkw",") and Lekki Bakes (",[808,831,832],{},"ACCT_hdl8abxl8drhrl3","). Paystack generates different codes for your subaccounts.",[835,836,838],"h2",{"id":837},"create-a-split","Create a split",[793,840,841,842,846],{},"Send the split's name, type, currency, and subaccount shares to ",[822,843,845],{"href":844},"\u002Fapi\u002Fsplit#create","Create Split",". In this example, Oasis Foods gets 50% of each payment, Lekki Bakes gets 30%, and your main account keeps the remaining 20%:",[848,849],"localized-request-response",{"src":850},"payments\u002Fsplit-payments\u002Fcreate-split",[793,852,853,854,857,858,861,862,865,866,869],{},"Set ",[808,855,856],{},"type"," to ",[808,859,860],{},"percentage"," or ",[808,863,864],{},"flat",". Every share in the split uses that type. The ",[808,867,868],{},"share"," values must follow these limits, or Paystack rejects the request:",[871,872,873,893],"table",{},[874,875,876],"thead",{},[877,878,879,884,890],"tr",{},[880,881,882],"th",{},[808,883,856],{},[880,885,886,887,889],{},"Each ",[808,888,868],{}," is",[880,891,892],{},"Shares must total",[894,895,896,909],"tbody",{},[877,897,898,903,906],{},[899,900,901],"td",{},[808,902,860],{},[899,904,905],{},"A whole-number percentage",[899,907,908],{},"100 or less. Your main account gets the rest.",[877,910,911,915,922],{},[899,912,913],{},[808,914,864],{},[899,916,917,918,921],{},"An amount in the currency's subunit. See ",[822,919,920],{"href":46},"supported currencies",".",[899,923,924],{},"No more than the amount of the payment you use the split on.",[793,926,927,928,930,931,934,935,930,938,941,942,944,945,947],{},"Save the ",[808,929,810],{}," (",[808,932,933],{},"SPL_RcScyW5jp2",") and ",[808,936,937],{},"id",[808,939,940],{},"2703655","). Pass the ",[808,943,810],{}," on each payment and the ",[808,946,937],{}," when you change the split.",[793,949,950,951,958],{},"You can also create and manage splits on the ",[822,952,957],{"href":953,"rel":954,"target":956},"https:\u002F\u002Fdashboard.paystack.com\u002Fv2\u002Ftransaction-splits",[955],"nofollow","_blank","Transaction splits"," page of your Dashboard.",[835,960,962],{"id":961},"choose-who-pays-the-paystack-fee","Choose who pays the Paystack fee",[793,964,853,965,968,969,972],{},[808,966,967],{},"bearer_type"," when you create a split or pass a ",[808,970,971],{},"split"," object.",[871,974,975,986],{},[874,976,977],{},[877,978,979,983],{},[880,980,981],{},[808,982,967],{},[880,984,985],{},"Who pays the fee",[894,987,988,998,1008,1018],{},[877,989,990,995],{},[899,991,992],{},[808,993,994],{},"all",[899,996,997],{},"Your main account and every subaccount pay an equal part of the fee.",[877,999,1000,1005],{},[899,1001,1002],{},[808,1003,1004],{},"all-proportional",[899,1006,1007],{},"Each party pays a part of the fee in proportion to its share of the payment.",[877,1009,1010,1015],{},[899,1011,1012],{},[808,1013,1014],{},"account",[899,1016,1017],{},"Your main account pays the whole fee.",[877,1019,1020,1025],{},[899,1021,1022],{},[808,1023,1024],{},"subaccount",[899,1026,1027,1028,1031,1032,1034],{},"The subaccount in ",[808,1029,1030],{},"bearer_subaccount"," pays the whole fee. Pass ",[808,1033,1030],{}," with this value, and use a subaccount that's in the split.",[1036,1037,1040],"callout",{"title":1038,"type":1039},"Default fee bearer","warning",[793,1041,1042,1043,1045],{},"If you leave out ",[808,1044,967],{},", your main account and every subaccount pay an equal part of the fee.",[835,1047,1049],{"id":1048},"collect-a-payment-with-the-split","Collect a payment with the split",[793,1051,1052,1053,857,1055,1059],{},"Pass the ",[808,1054,810],{},[822,1056,1058],{"href":1057},"\u002Fapi\u002Ftransaction#initialize","Initialize Transaction",":",[1061,1062,1063,1171,1761,2119],"request-response",{},[1064,1065,1067],"template",{"v-slot:curl":1066},"",[1068,1069,1073],"pre",{"className":1070,"code":1071,"language":1072,"meta":1066,"style":1066},"language-bash shiki shiki-themes material-theme-lighter github-light github-dark-dimmed","curl https:\u002F\u002Fapi.paystack.co\u002Ftransaction\u002Finitialize \\\n  -H \"Authorization: Bearer $PAYSTACK_SECRET_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"email\": \"ada.obi@example.com\",\n    \"amount\": 2000000,\n    \"split_code\": \"SPL_RcScyW5jp2\"\n  }' \\\n  -X POST\n","bash",[808,1074,1075,1091,1113,1126,1137,1142,1147,1152,1162],{"__ignoreMap":1066},[1076,1077,1079,1083,1087],"span",{"class":1078,"line":63},"line",[1076,1080,1082],{"class":1081},"s0zq4","curl",[1076,1084,1086],{"class":1085},"sOv1k"," https:\u002F\u002Fapi.paystack.co\u002Ftransaction\u002Finitialize",[1076,1088,1090],{"class":1089},"s8jVp"," \\\n",[1076,1092,1093,1097,1101,1104,1108,1111],{"class":1078,"line":66},[1076,1094,1096],{"class":1095},"scI3H","  -H",[1076,1098,1100],{"class":1099},"sO3A-"," \"",[1076,1102,1103],{"class":1085},"Authorization: Bearer ",[1076,1105,1107],{"class":1106},"swCDk","$PAYSTACK_SECRET_KEY",[1076,1109,1110],{"class":1099},"\"",[1076,1112,1090],{"class":1089},[1076,1114,1115,1117,1119,1122,1124],{"class":1078,"line":84},[1076,1116,1096],{"class":1095},[1076,1118,1100],{"class":1099},[1076,1120,1121],{"class":1085},"Content-Type: application\u002Fjson",[1076,1123,1110],{"class":1099},[1076,1125,1090],{"class":1089},[1076,1127,1128,1131,1134],{"class":1078,"line":75},[1076,1129,1130],{"class":1095},"  -d",[1076,1132,1133],{"class":1099}," '",[1076,1135,1136],{"class":1085},"{\n",[1076,1138,1139],{"class":1078,"line":107},[1076,1140,1141],{"class":1085},"    \"email\": \"ada.obi@example.com\",\n",[1076,1143,1144],{"class":1078,"line":134},[1076,1145,1146],{"class":1085},"    \"amount\": 2000000,\n",[1076,1148,1149],{"class":1078,"line":153},[1076,1150,1151],{"class":1085},"    \"split_code\": \"SPL_RcScyW5jp2\"\n",[1076,1153,1154,1157,1160],{"class":1078,"line":422},[1076,1155,1156],{"class":1085},"  }",[1076,1158,1159],{"class":1099},"'",[1076,1161,1090],{"class":1089},[1076,1163,1165,1168],{"class":1078,"line":1164},9,[1076,1166,1167],{"class":1095},"  -X",[1076,1169,1170],{"class":1085}," POST\n",[1064,1172,1173],{"v-slot:js":1066},[1068,1174,1178],{"className":1175,"code":1176,"language":1177,"meta":1066,"style":1066},"language-javascript shiki shiki-themes material-theme-lighter github-light github-dark-dimmed","const https = require(\"https\");\n\nconst params = JSON.stringify({\n  \"email\": \"ada.obi@example.com\",\n  \"amount\": 2000000,\n  \"split_code\": \"SPL_RcScyW5jp2\"\n});\n\nconst options = {\n  hostname: \"api.paystack.co\",\n  port: 443,\n  path: \"\u002Ftransaction\u002Finitialize\",\n  method: \"POST\",\n  headers: {\n    Authorization: `Bearer ${process.env.PAYSTACK_SECRET_KEY}`,\n    \"Content-Type\": \"application\u002Fjson\",\n  },\n};\n\nconst req = https.request(options, (res) => {\n  let data = \"\";\n  res.on(\"data\", (chunk) => {\n    data += chunk;\n  });\n  res.on(\"end\", () => {\n    console.log(res.statusCode, JSON.parse(data));\n  });\n});\n\nreq.on(\"error\", (error) => {\n  console.error(error);\n});\n\nreq.write(params);\nreq.end();\n","javascript",[808,1179,1180,1215,1221,1242,1265,1282,1299,1308,1312,1324,1342,1355,1372,1389,1399,1434,1456,1462,1468,1473,1509,1525,1558,1572,1581,1608,1646,1655,1664,1669,1700,1718,1727,1732,1747],{"__ignoreMap":1066},[1076,1181,1182,1186,1190,1194,1198,1201,1203,1206,1208,1211],{"class":1078,"line":63},[1076,1183,1185],{"class":1184},"sAeZB","const",[1076,1187,1189],{"class":1188},"s1fxI"," https",[1076,1191,1193],{"class":1192},"s6LNo"," =",[1076,1195,1197],{"class":1196},"sENpr"," require",[1076,1199,1200],{"class":1106},"(",[1076,1202,1110],{"class":1099},[1076,1204,1205],{"class":1085},"https",[1076,1207,1110],{"class":1099},[1076,1209,1210],{"class":1106},")",[1076,1212,1214],{"class":1213},"s7Vxm",";\n",[1076,1216,1217],{"class":1078,"line":66},[1076,1218,1220],{"emptyLinePlaceholder":1219},true,"\n",[1076,1222,1223,1225,1228,1230,1233,1235,1238,1240],{"class":1078,"line":84},[1076,1224,1185],{"class":1184},[1076,1226,1227],{"class":1188}," params",[1076,1229,1193],{"class":1192},[1076,1231,1232],{"class":1188}," JSON",[1076,1234,921],{"class":1213},[1076,1236,1237],{"class":1196},"stringify",[1076,1239,1200],{"class":1106},[1076,1241,1136],{"class":1213},[1076,1243,1244,1247,1251,1253,1255,1257,1260,1262],{"class":1078,"line":75},[1076,1245,1246],{"class":1099},"  \"",[1076,1248,1250],{"class":1249},"sTNDG","email",[1076,1252,1110],{"class":1099},[1076,1254,1059],{"class":1213},[1076,1256,1100],{"class":1099},[1076,1258,1259],{"class":1085},"ada.obi@example.com",[1076,1261,1110],{"class":1099},[1076,1263,1264],{"class":1213},",\n",[1076,1266,1267,1269,1272,1274,1276,1280],{"class":1078,"line":107},[1076,1268,1246],{"class":1099},[1076,1270,1271],{"class":1249},"amount",[1076,1273,1110],{"class":1099},[1076,1275,1059],{"class":1213},[1076,1277,1279],{"class":1278},"sCI7e"," 2000000",[1076,1281,1264],{"class":1213},[1076,1283,1284,1286,1288,1290,1292,1294,1296],{"class":1078,"line":134},[1076,1285,1246],{"class":1099},[1076,1287,810],{"class":1249},[1076,1289,1110],{"class":1099},[1076,1291,1059],{"class":1213},[1076,1293,1100],{"class":1099},[1076,1295,933],{"class":1085},[1076,1297,1298],{"class":1099},"\"\n",[1076,1300,1301,1304,1306],{"class":1078,"line":153},[1076,1302,1303],{"class":1213},"}",[1076,1305,1210],{"class":1106},[1076,1307,1214],{"class":1213},[1076,1309,1310],{"class":1078,"line":422},[1076,1311,1220],{"emptyLinePlaceholder":1219},[1076,1313,1314,1316,1319,1321],{"class":1078,"line":1164},[1076,1315,1185],{"class":1184},[1076,1317,1318],{"class":1188}," options",[1076,1320,1193],{"class":1192},[1076,1322,1323],{"class":1213}," {\n",[1076,1325,1327,1331,1333,1335,1338,1340],{"class":1078,"line":1326},10,[1076,1328,1330],{"class":1329},"sOnBC","  hostname",[1076,1332,1059],{"class":1213},[1076,1334,1100],{"class":1099},[1076,1336,1337],{"class":1085},"api.paystack.co",[1076,1339,1110],{"class":1099},[1076,1341,1264],{"class":1213},[1076,1343,1345,1348,1350,1353],{"class":1078,"line":1344},11,[1076,1346,1347],{"class":1329},"  port",[1076,1349,1059],{"class":1213},[1076,1351,1352],{"class":1278}," 443",[1076,1354,1264],{"class":1213},[1076,1356,1358,1361,1363,1365,1368,1370],{"class":1078,"line":1357},12,[1076,1359,1360],{"class":1329},"  path",[1076,1362,1059],{"class":1213},[1076,1364,1100],{"class":1099},[1076,1366,1367],{"class":1085},"\u002Ftransaction\u002Finitialize",[1076,1369,1110],{"class":1099},[1076,1371,1264],{"class":1213},[1076,1373,1375,1378,1380,1382,1385,1387],{"class":1078,"line":1374},13,[1076,1376,1377],{"class":1329},"  method",[1076,1379,1059],{"class":1213},[1076,1381,1100],{"class":1099},[1076,1383,1384],{"class":1085},"POST",[1076,1386,1110],{"class":1099},[1076,1388,1264],{"class":1213},[1076,1390,1392,1395,1397],{"class":1078,"line":1391},14,[1076,1393,1394],{"class":1329},"  headers",[1076,1396,1059],{"class":1213},[1076,1398,1323],{"class":1213},[1076,1400,1402,1405,1407,1410,1413,1416,1419,1421,1424,1426,1429,1432],{"class":1078,"line":1401},15,[1076,1403,1404],{"class":1329},"    Authorization",[1076,1406,1059],{"class":1213},[1076,1408,1409],{"class":1099}," `",[1076,1411,1412],{"class":1085},"Bearer ",[1076,1414,1415],{"class":1099},"${",[1076,1417,1418],{"class":1106},"process",[1076,1420,921],{"class":1099},[1076,1422,1423],{"class":1106},"env",[1076,1425,921],{"class":1099},[1076,1427,1428],{"class":1188},"PAYSTACK_SECRET_KEY",[1076,1430,1431],{"class":1099},"}`",[1076,1433,1264],{"class":1213},[1076,1435,1437,1440,1443,1445,1447,1449,1452,1454],{"class":1078,"line":1436},16,[1076,1438,1439],{"class":1099},"    \"",[1076,1441,1442],{"class":1249},"Content-Type",[1076,1444,1110],{"class":1099},[1076,1446,1059],{"class":1213},[1076,1448,1100],{"class":1099},[1076,1450,1451],{"class":1085},"application\u002Fjson",[1076,1453,1110],{"class":1099},[1076,1455,1264],{"class":1213},[1076,1457,1459],{"class":1078,"line":1458},17,[1076,1460,1461],{"class":1213},"  },\n",[1076,1463,1465],{"class":1078,"line":1464},18,[1076,1466,1467],{"class":1213},"};\n",[1076,1469,1471],{"class":1078,"line":1470},19,[1076,1472,1220],{"emptyLinePlaceholder":1219},[1076,1474,1476,1478,1481,1483,1485,1487,1490,1493,1496,1498,1502,1504,1507],{"class":1078,"line":1475},20,[1076,1477,1185],{"class":1184},[1076,1479,1480],{"class":1188}," req",[1076,1482,1193],{"class":1192},[1076,1484,1189],{"class":1106},[1076,1486,921],{"class":1213},[1076,1488,1489],{"class":1196},"request",[1076,1491,1492],{"class":1106},"(options",[1076,1494,1495],{"class":1213},",",[1076,1497,930],{"class":1213},[1076,1499,1501],{"class":1500},"semhU","res",[1076,1503,1210],{"class":1213},[1076,1505,1506],{"class":1184}," =>",[1076,1508,1323],{"class":1213},[1076,1510,1512,1515,1518,1520,1523],{"class":1078,"line":1511},21,[1076,1513,1514],{"class":1184},"  let",[1076,1516,1517],{"class":1106}," data",[1076,1519,1193],{"class":1192},[1076,1521,1522],{"class":1099}," \"\"",[1076,1524,1214],{"class":1213},[1076,1526,1528,1531,1533,1536,1538,1540,1543,1545,1547,1549,1552,1554,1556],{"class":1078,"line":1527},22,[1076,1529,1530],{"class":1106},"  res",[1076,1532,921],{"class":1213},[1076,1534,1535],{"class":1196},"on",[1076,1537,1200],{"class":1329},[1076,1539,1110],{"class":1099},[1076,1541,1542],{"class":1085},"data",[1076,1544,1110],{"class":1099},[1076,1546,1495],{"class":1213},[1076,1548,930],{"class":1213},[1076,1550,1551],{"class":1500},"chunk",[1076,1553,1210],{"class":1213},[1076,1555,1506],{"class":1184},[1076,1557,1323],{"class":1213},[1076,1559,1561,1564,1567,1570],{"class":1078,"line":1560},23,[1076,1562,1563],{"class":1106},"    data",[1076,1565,1566],{"class":1192}," +=",[1076,1568,1569],{"class":1106}," chunk",[1076,1571,1214],{"class":1213},[1076,1573,1575,1577,1579],{"class":1078,"line":1574},24,[1076,1576,1156],{"class":1213},[1076,1578,1210],{"class":1329},[1076,1580,1214],{"class":1213},[1076,1582,1584,1586,1588,1590,1592,1594,1597,1599,1601,1604,1606],{"class":1078,"line":1583},25,[1076,1585,1530],{"class":1106},[1076,1587,921],{"class":1213},[1076,1589,1535],{"class":1196},[1076,1591,1200],{"class":1329},[1076,1593,1110],{"class":1099},[1076,1595,1596],{"class":1085},"end",[1076,1598,1110],{"class":1099},[1076,1600,1495],{"class":1213},[1076,1602,1603],{"class":1213}," ()",[1076,1605,1506],{"class":1184},[1076,1607,1323],{"class":1213},[1076,1609,1611,1614,1616,1619,1621,1623,1625,1628,1630,1632,1634,1637,1639,1641,1644],{"class":1078,"line":1610},26,[1076,1612,1613],{"class":1106},"    console",[1076,1615,921],{"class":1213},[1076,1617,1618],{"class":1196},"log",[1076,1620,1200],{"class":1329},[1076,1622,1501],{"class":1106},[1076,1624,921],{"class":1213},[1076,1626,1627],{"class":1106},"statusCode",[1076,1629,1495],{"class":1213},[1076,1631,1232],{"class":1188},[1076,1633,921],{"class":1213},[1076,1635,1636],{"class":1196},"parse",[1076,1638,1200],{"class":1329},[1076,1640,1542],{"class":1106},[1076,1642,1643],{"class":1329},"))",[1076,1645,1214],{"class":1213},[1076,1647,1649,1651,1653],{"class":1078,"line":1648},27,[1076,1650,1156],{"class":1213},[1076,1652,1210],{"class":1329},[1076,1654,1214],{"class":1213},[1076,1656,1658,1660,1662],{"class":1078,"line":1657},28,[1076,1659,1303],{"class":1213},[1076,1661,1210],{"class":1106},[1076,1663,1214],{"class":1213},[1076,1665,1667],{"class":1078,"line":1666},29,[1076,1668,1220],{"emptyLinePlaceholder":1219},[1076,1670,1672,1675,1677,1679,1681,1683,1686,1688,1690,1692,1694,1696,1698],{"class":1078,"line":1671},30,[1076,1673,1674],{"class":1106},"req",[1076,1676,921],{"class":1213},[1076,1678,1535],{"class":1196},[1076,1680,1200],{"class":1106},[1076,1682,1110],{"class":1099},[1076,1684,1685],{"class":1085},"error",[1076,1687,1110],{"class":1099},[1076,1689,1495],{"class":1213},[1076,1691,930],{"class":1213},[1076,1693,1685],{"class":1500},[1076,1695,1210],{"class":1213},[1076,1697,1506],{"class":1184},[1076,1699,1323],{"class":1213},[1076,1701,1703,1706,1708,1710,1712,1714,1716],{"class":1078,"line":1702},31,[1076,1704,1705],{"class":1106},"  console",[1076,1707,921],{"class":1213},[1076,1709,1685],{"class":1196},[1076,1711,1200],{"class":1329},[1076,1713,1685],{"class":1106},[1076,1715,1210],{"class":1329},[1076,1717,1214],{"class":1213},[1076,1719,1721,1723,1725],{"class":1078,"line":1720},32,[1076,1722,1303],{"class":1213},[1076,1724,1210],{"class":1106},[1076,1726,1214],{"class":1213},[1076,1728,1730],{"class":1078,"line":1729},33,[1076,1731,1220],{"emptyLinePlaceholder":1219},[1076,1733,1735,1737,1739,1742,1745],{"class":1078,"line":1734},34,[1076,1736,1674],{"class":1106},[1076,1738,921],{"class":1213},[1076,1740,1741],{"class":1196},"write",[1076,1743,1744],{"class":1106},"(params)",[1076,1746,1214],{"class":1213},[1076,1748,1750,1752,1754,1756,1759],{"class":1078,"line":1749},35,[1076,1751,1674],{"class":1106},[1076,1753,921],{"class":1213},[1076,1755,1596],{"class":1196},[1076,1757,1758],{"class":1106},"()",[1076,1760,1214],{"class":1213},[1064,1762,1763],{"v-slot:php":1066},[1068,1764,1768],{"className":1765,"code":1766,"language":1767,"meta":1066,"style":1066},"language-php shiki shiki-themes material-theme-lighter github-light github-dark-dimmed","\u003C?php\n$fields = [\n  \"email\" => \"ada.obi@example.com\",\n  \"amount\" => 2000000,\n  \"split_code\" => \"SPL_RcScyW5jp2\",\n];\n\n$curl = curl_init();\ncurl_setopt_array($curl, array(\n  CURLOPT_URL => \"https:\u002F\u002Fapi.paystack.co\u002Ftransaction\u002Finitialize\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => json_encode($fields),\n  CURLOPT_HTTPHEADER => array(\n    \"Authorization: Bearer \" . getenv(\"PAYSTACK_SECRET_KEY\"),\n    \"Content-Type: application\u002Fjson\",\n    \"Cache-Control: no-cache\",\n  ),\n));\n$response = curl_exec($curl);\necho curl_getinfo($curl, CURLINFO_HTTP_CODE) . \" \" . $response;\n?>\n","php",[808,1769,1770,1778,1792,1810,1824,1842,1847,1851,1867,1885,1901,1914,1925,1937,1949,1961,1976,1994,2005,2029,2039,2050,2055,2060,2079,2114],{"__ignoreMap":1066},[1076,1771,1772,1775],{"class":1078,"line":63},[1076,1773,1774],{"class":1192},"\u003C?",[1076,1776,1777],{"class":1188},"php\n",[1076,1779,1780,1783,1786,1789],{"class":1078,"line":66},[1076,1781,1782],{"class":1213},"$",[1076,1784,1785],{"class":1106},"fields ",[1076,1787,1788],{"class":1192},"=",[1076,1790,1791],{"class":1213}," [\n",[1076,1793,1794,1796,1798,1800,1802,1804,1806,1808],{"class":1078,"line":84},[1076,1795,1246],{"class":1099},[1076,1797,1250],{"class":1085},[1076,1799,1110],{"class":1099},[1076,1801,1506],{"class":1192},[1076,1803,1100],{"class":1099},[1076,1805,1259],{"class":1085},[1076,1807,1110],{"class":1099},[1076,1809,1264],{"class":1213},[1076,1811,1812,1814,1816,1818,1820,1822],{"class":1078,"line":75},[1076,1813,1246],{"class":1099},[1076,1815,1271],{"class":1085},[1076,1817,1110],{"class":1099},[1076,1819,1506],{"class":1192},[1076,1821,1279],{"class":1278},[1076,1823,1264],{"class":1213},[1076,1825,1826,1828,1830,1832,1834,1836,1838,1840],{"class":1078,"line":107},[1076,1827,1246],{"class":1099},[1076,1829,810],{"class":1085},[1076,1831,1110],{"class":1099},[1076,1833,1506],{"class":1192},[1076,1835,1100],{"class":1099},[1076,1837,933],{"class":1085},[1076,1839,1110],{"class":1099},[1076,1841,1264],{"class":1213},[1076,1843,1844],{"class":1078,"line":134},[1076,1845,1846],{"class":1213},"];\n",[1076,1848,1849],{"class":1078,"line":153},[1076,1850,1220],{"emptyLinePlaceholder":1219},[1076,1852,1853,1855,1858,1860,1864],{"class":1078,"line":422},[1076,1854,1782],{"class":1213},[1076,1856,1857],{"class":1106},"curl ",[1076,1859,1788],{"class":1192},[1076,1861,1863],{"class":1862},"slzs_"," curl_init",[1076,1865,1866],{"class":1213},"();\n",[1076,1868,1869,1872,1875,1877,1879,1882],{"class":1078,"line":1164},[1076,1870,1871],{"class":1862},"curl_setopt_array",[1076,1873,1874],{"class":1213},"($",[1076,1876,1082],{"class":1106},[1076,1878,1495],{"class":1213},[1076,1880,1881],{"class":1862}," array",[1076,1883,1884],{"class":1213},"(\n",[1076,1886,1887,1890,1892,1894,1897,1899],{"class":1078,"line":1326},[1076,1888,1889],{"class":1188},"  CURLOPT_URL",[1076,1891,1506],{"class":1192},[1076,1893,1100],{"class":1099},[1076,1895,1896],{"class":1085},"https:\u002F\u002Fapi.paystack.co\u002Ftransaction\u002Finitialize",[1076,1898,1110],{"class":1099},[1076,1900,1264],{"class":1213},[1076,1902,1903,1906,1908,1912],{"class":1078,"line":1344},[1076,1904,1905],{"class":1188},"  CURLOPT_RETURNTRANSFER",[1076,1907,1506],{"class":1192},[1076,1909,1911],{"class":1910},"sNG8c"," true",[1076,1913,1264],{"class":1213},[1076,1915,1916,1919,1921,1923],{"class":1078,"line":1357},[1076,1917,1918],{"class":1188},"  CURLOPT_ENCODING",[1076,1920,1506],{"class":1192},[1076,1922,1522],{"class":1099},[1076,1924,1264],{"class":1213},[1076,1926,1927,1930,1932,1935],{"class":1078,"line":1374},[1076,1928,1929],{"class":1188},"  CURLOPT_MAXREDIRS",[1076,1931,1506],{"class":1192},[1076,1933,1934],{"class":1278}," 10",[1076,1936,1264],{"class":1213},[1076,1938,1939,1942,1944,1947],{"class":1078,"line":1391},[1076,1940,1941],{"class":1188},"  CURLOPT_TIMEOUT",[1076,1943,1506],{"class":1192},[1076,1945,1946],{"class":1278}," 30",[1076,1948,1264],{"class":1213},[1076,1950,1951,1954,1956,1959],{"class":1078,"line":1401},[1076,1952,1953],{"class":1188},"  CURLOPT_HTTP_VERSION",[1076,1955,1506],{"class":1192},[1076,1957,1958],{"class":1188}," CURL_HTTP_VERSION_1_1",[1076,1960,1264],{"class":1213},[1076,1962,1963,1966,1968,1970,1972,1974],{"class":1078,"line":1436},[1076,1964,1965],{"class":1188},"  CURLOPT_CUSTOMREQUEST",[1076,1967,1506],{"class":1192},[1076,1969,1100],{"class":1099},[1076,1971,1384],{"class":1085},[1076,1973,1110],{"class":1099},[1076,1975,1264],{"class":1213},[1076,1977,1978,1981,1983,1986,1988,1991],{"class":1078,"line":1458},[1076,1979,1980],{"class":1188},"  CURLOPT_POSTFIELDS",[1076,1982,1506],{"class":1192},[1076,1984,1985],{"class":1862}," json_encode",[1076,1987,1874],{"class":1213},[1076,1989,1990],{"class":1106},"fields",[1076,1992,1993],{"class":1213},"),\n",[1076,1995,1996,1999,2001,2003],{"class":1078,"line":1464},[1076,1997,1998],{"class":1188},"  CURLOPT_HTTPHEADER",[1076,2000,1506],{"class":1192},[1076,2002,1881],{"class":1862},[1076,2004,1884],{"class":1213},[1076,2006,2007,2009,2011,2013,2016,2019,2021,2023,2025,2027],{"class":1078,"line":1470},[1076,2008,1439],{"class":1099},[1076,2010,1103],{"class":1085},[1076,2012,1110],{"class":1099},[1076,2014,2015],{"class":1192}," .",[1076,2017,2018],{"class":1862}," getenv",[1076,2020,1200],{"class":1213},[1076,2022,1110],{"class":1099},[1076,2024,1428],{"class":1085},[1076,2026,1110],{"class":1099},[1076,2028,1993],{"class":1213},[1076,2030,2031,2033,2035,2037],{"class":1078,"line":1475},[1076,2032,1439],{"class":1099},[1076,2034,1121],{"class":1085},[1076,2036,1110],{"class":1099},[1076,2038,1264],{"class":1213},[1076,2040,2041,2043,2046,2048],{"class":1078,"line":1511},[1076,2042,1439],{"class":1099},[1076,2044,2045],{"class":1085},"Cache-Control: no-cache",[1076,2047,1110],{"class":1099},[1076,2049,1264],{"class":1213},[1076,2051,2052],{"class":1078,"line":1527},[1076,2053,2054],{"class":1213},"  ),\n",[1076,2056,2057],{"class":1078,"line":1560},[1076,2058,2059],{"class":1213},"));\n",[1076,2061,2062,2064,2067,2069,2072,2074,2076],{"class":1078,"line":1574},[1076,2063,1782],{"class":1213},[1076,2065,2066],{"class":1106},"response ",[1076,2068,1788],{"class":1192},[1076,2070,2071],{"class":1862}," curl_exec",[1076,2073,1874],{"class":1213},[1076,2075,1082],{"class":1106},[1076,2077,2078],{"class":1213},");\n",[1076,2080,2081,2084,2087,2089,2091,2093,2096,2098,2100,2102,2104,2106,2109,2112],{"class":1078,"line":1583},[1076,2082,2083],{"class":1862},"echo",[1076,2085,2086],{"class":1862}," curl_getinfo",[1076,2088,1874],{"class":1213},[1076,2090,1082],{"class":1106},[1076,2092,1495],{"class":1213},[1076,2094,2095],{"class":1188}," CURLINFO_HTTP_CODE",[1076,2097,1210],{"class":1213},[1076,2099,2015],{"class":1192},[1076,2101,1100],{"class":1099},[1076,2103,1100],{"class":1099},[1076,2105,2015],{"class":1192},[1076,2107,2108],{"class":1213}," $",[1076,2110,2111],{"class":1106},"response",[1076,2113,1214],{"class":1213},[1076,2115,2116],{"class":1078,"line":1610},[1076,2117,2118],{"class":1192},"?>\n",[1064,2120,2121],{"v-slot:response":1066},[1068,2122,2126],{"className":2123,"code":2124,"language":2125,"meta":1066,"style":1066},"language-json shiki shiki-themes material-theme-lighter github-light github-dark-dimmed","{\n  \"status\": true,\n  \"message\": \"Authorization URL created\",\n  \"data\": {\n    \"authorization_url\": \"https:\u002F\u002Fcheckout.paystack.com\u002Fnkdks46nymizns7\",\n    \"access_code\": \"nkdks46nymizns7\",\n    \"reference\": \"nms6uvr1pl\"\n  }\n}\n","json",[808,2127,2128,2132,2149,2169,2181,2202,2222,2240,2245],{"__ignoreMap":1066},[1076,2129,2130],{"class":1078,"line":63},[1076,2131,1136],{"class":1213},[1076,2133,2134,2137,2141,2143,2145,2147],{"class":1078,"line":66},[1076,2135,1246],{"class":2136},"sLsO-",[1076,2138,2140],{"class":2139},"sO5ea","status",[1076,2142,1110],{"class":2136},[1076,2144,1059],{"class":1213},[1076,2146,1911],{"class":1910},[1076,2148,1264],{"class":1213},[1076,2150,2151,2153,2156,2158,2160,2162,2165,2167],{"class":1078,"line":84},[1076,2152,1246],{"class":2136},[1076,2154,2155],{"class":2139},"message",[1076,2157,1110],{"class":2136},[1076,2159,1059],{"class":1213},[1076,2161,1100],{"class":1099},[1076,2163,2164],{"class":1085},"Authorization URL created",[1076,2166,1110],{"class":1099},[1076,2168,1264],{"class":1213},[1076,2170,2171,2173,2175,2177,2179],{"class":1078,"line":75},[1076,2172,1246],{"class":2136},[1076,2174,1542],{"class":2139},[1076,2176,1110],{"class":2136},[1076,2178,1059],{"class":1213},[1076,2180,1323],{"class":1213},[1076,2182,2183,2185,2189,2191,2193,2195,2198,2200],{"class":1078,"line":107},[1076,2184,1439],{"class":2136},[1076,2186,2188],{"class":2187},"s2aQn","authorization_url",[1076,2190,1110],{"class":2136},[1076,2192,1059],{"class":1213},[1076,2194,1100],{"class":1099},[1076,2196,2197],{"class":1085},"https:\u002F\u002Fcheckout.paystack.com\u002Fnkdks46nymizns7",[1076,2199,1110],{"class":1099},[1076,2201,1264],{"class":1213},[1076,2203,2204,2206,2209,2211,2213,2215,2218,2220],{"class":1078,"line":134},[1076,2205,1439],{"class":2136},[1076,2207,2208],{"class":2187},"access_code",[1076,2210,1110],{"class":2136},[1076,2212,1059],{"class":1213},[1076,2214,1100],{"class":1099},[1076,2216,2217],{"class":1085},"nkdks46nymizns7",[1076,2219,1110],{"class":1099},[1076,2221,1264],{"class":1213},[1076,2223,2224,2226,2229,2231,2233,2235,2238],{"class":1078,"line":153},[1076,2225,1439],{"class":2136},[1076,2227,2228],{"class":2187},"reference",[1076,2230,1110],{"class":2136},[1076,2232,1059],{"class":1213},[1076,2234,1100],{"class":1099},[1076,2236,2237],{"class":1085},"nms6uvr1pl",[1076,2239,1298],{"class":1099},[1076,2241,2242],{"class":1078,"line":422},[1076,2243,2244],{"class":1213},"  }\n",[1076,2246,2247],{"class":1078,"line":1164},[1076,2248,2249],{"class":1213},"}\n",[793,2251,2252,2253,857,2255,1059],{},"To split a repeat payment from a saved card, pass the same ",[808,2254,810],{},[822,2256,2258],{"href":2257},"\u002Fapi\u002Ftransaction#chargeAuthorization","Charge Authorization",[848,2260],{"src":2261},"payments\u002Fsplit-payments\u002Fcharge-authorization",[835,2263,2265],{"id":2264},"use-a-dynamic-split","Use a dynamic split",[793,2267,2268],{},"A saved split divides every payment the same way. Use a dynamic split when the division depends on the payment itself.",[793,2270,2271],{},"For example, a customer's 2000000 order includes 1200000 of food from Oasis Foods and 500000 of pastries from Lekki Bakes. The next order has different amounts, so a saved split can't describe it. Instead, you send the shares for this order with the payment.",[793,2273,2274,2275,2277,2278,2280,2281,2283,2284,2286,2287,2291,2292,972],{},"To do this, pass a ",[808,2276,971],{}," object instead of a ",[808,2279,810],{},". You don't need to create the split first. ",[822,2282,1058],{"href":1057},", ",[822,2285,2258],{"href":2257},", and ",[822,2288,2290],{"href":2289},"\u002Fdeveloper-tools\u002Finline-js#multi-split-transaction","Paystack Popup"," all accept a ",[808,2293,971],{},[871,2295,2296,2309],{},[874,2297,2298],{},[877,2299,2300,2303,2306],{},[880,2301,2302],{},"Field",[880,2304,2305],{},"Required",[880,2307,2308],{},"Description",[894,2310,2311,2324,2338,2350,2367,2382],{},[877,2312,2313,2318,2321],{},[899,2314,2315],{},[808,2316,2317],{},"name",[899,2319,2320],{},"Yes",[899,2322,2323],{},"Name of the split, for example the order number.",[877,2325,2326,2330,2332],{},[899,2327,2328],{},[808,2329,856],{},[899,2331,2320],{},[899,2333,2334,861,2336,921],{},[808,2335,860],{},[808,2337,864],{},[877,2339,2340,2345,2347],{},[899,2341,2342],{},[808,2343,2344],{},"currency",[899,2346,2320],{},[899,2348,2349],{},"Currency of the split. Use the payment's currency.",[877,2351,2352,2357,2359],{},[899,2353,2354],{},[808,2355,2356],{},"subaccounts",[899,2358,2320],{},[899,2360,2361,2362,2364,2365,921],{},"Array of objects, each with a ",[808,2363,1024],{}," code and its ",[808,2366,868],{},[877,2368,2369,2373,2376],{},[899,2370,2371],{},[808,2372,967],{},[899,2374,2375],{},"No",[899,2377,2378,2379,921],{},"Who pays the Paystack fee. See ",[822,2380,962],{"href":2381},"#choose-who-pays-the-paystack-fee",[877,2383,2384,2388,2396],{},[899,2385,2386],{},[808,2387,1030],{},[899,2389,2390,2391,2393,2394],{},"When ",[808,2392,967],{}," is ",[808,2395,1024],{},[899,2397,2398],{},"Code of the subaccount that pays the fee.",[793,2400,2401,2402,2406],{},"The shares follow the same ",[822,2403,2405],{"href":2404},"#create-a-split","limits"," as a saved split.",[793,2408,2409,2410,2412,2413,2415,2416,2421,2422,1059],{},"This request splits that order. It uses a ",[808,2411,864],{}," split, so each ",[808,2414,868],{}," is an amount in the currency's subunit (",[2417,2418],"localized-value",{"page-key":2419,"path":2420},"markets","subunit","), and 2000000 is ",[2417,2423],{"page-key":2419,"path":2424},"example_amount",[848,2426],{"src":2427},"payments\u002Fsplit-payments\u002Finitialize-dynamic-split",[793,2429,2430,2431,2393,2433,921],{},"Oasis Foods gets 1200000 and Lekki Bakes gets 500000. Your main account gets the remaining 300000 and pays the Paystack fee from it, because ",[808,2432,967],{},[808,2434,1014],{},[835,2436,2438],{"id":2437},"change-a-split","Change a split",[793,2440,2441,2442,2444],{},"Pass the split's ",[808,2443,937],{}," to these endpoints:",[797,2446,2447,2459,2470,2481],{},[800,2448,2449,2450,2454,2455,2364,2457,921],{},"To add a subaccount, or change the share of a subaccount already in the split, call ",[822,2451,2453],{"href":2452},"\u002Fapi\u002Fsplit#addSubaccount","Add Subaccount to Split"," with the ",[808,2456,1024],{},[808,2458,868],{},[800,2460,2461,2462,2466,2467,2469],{},"To remove a subaccount, call ",[822,2463,2465],{"href":2464},"\u002Fapi\u002Fsplit#removeSubaccount","Remove Subaccount from Split"," with its ",[808,2468,1024],{}," code.",[800,2471,2472,2473,2475,2476,2480],{},"If the subaccount you're removing is the ",[808,2474,1030],{},", call ",[822,2477,2479],{"href":2478},"\u002Fapi\u002Fsplit#update","Update Split"," first to change it.",[800,2482,2483,2484,861,2486,2488,2489,857,2492,2495],{},"To rename the split, change ",[808,2485,967],{},[808,2487,1030],{},", or deactivate the split, call Update Split. Set ",[808,2490,2491],{},"active",[808,2493,2494],{},"false"," to deactivate it.",[1036,2497,2499],{"title":2498,"type":1039},"You can't change a split's type",[793,2500,2501],{},"To change the type, deactivate the split and create one with the new type.",[835,2503,2505],{"id":2504},"confirm-the-split","Confirm the split",[793,2507,2508,2509,2512,2513,2515],{},"When a payment with a split succeeds, the ",[808,2510,2511],{},"charge.success"," event includes a ",[808,2514,971],{}," object:",[797,2517,2518,2524,2530],{},[800,2519,2520,2523],{},[808,2521,2522],{},"formula",": the split configuration Paystack applied.",[800,2525,2526,2529],{},[808,2527,2528],{},"shares",": the amount each party received, in the currency's subunit.",[800,2531,2532,2535],{},[808,2533,2534],{},"integration",": your main account, in both objects.",[793,2537,2538,2539,2541,2542,1059],{},"This event is for payment ",[808,2540,2237],{},", initialized with ",[808,2543,933],{},[2545,2546],"localized-snippet",{"src":2547},"payments\u002Fsplit-payments\u002Fcharge-success-split",[793,2549,2550,2551,2554,2555,2558],{},"Because the split uses ",[808,2552,2553],{},"bearer_type: \"account\"",", your main account pays the Paystack fee (",[808,2556,2557],{},"shares.paystack",") from its 20% share. Each subaccount receives its full share.",[793,2560,2561,2562,2565],{},"The fee in this example uses standard pricing for ",[2417,2563],{"page-key":2419,"path":2564},"currency_code"," local card payments. Your fee depends on your pricing and the payment channel.",[793,2567,2568,2569,2571],{},"Use the ",[808,2570,2511],{}," webhook as your primary signal to fulfill orders, grant access, or update your database. The customer can close the page before your callback runs, but the webhook still arrives.",[793,2573,2574,2575,2286,2580,2584],{},"Add your webhook URL on the ",[822,2576,2579],{"href":2577,"rel":2578,"target":956},"https:\u002F\u002Fdashboard.paystack.com\u002Fv2\u002Fdevelopers\u002Fapi-configuration",[955],"Paystack Dashboard",[822,2581,2583],{"href":2582},"\u002Fdeveloper-tools\u002Fintegration\u002Fwebhooks#verify-webhook-signatures","verify the signature"," on every event with your webhook signing secret.",[2586,2587,2588],"style",{},"html pre.shiki code .s0zq4, html code.shiki .s0zq4{--shiki-light:#E2931D;--shiki-default:#6F42C1;--shiki-dark:#F69D50}html pre.shiki code .sOv1k, html code.shiki .sOv1k{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#96D0FF}html pre.shiki code .s8jVp, html code.shiki .s8jVp{--shiki-light:#90A4AE;--shiki-default:#005CC5;--shiki-dark:#F47067}html pre.shiki code .scI3H, html code.shiki .scI3H{--shiki-light:#91B859;--shiki-default:#005CC5;--shiki-dark:#6CB6FF}html pre.shiki code .sO3A-, html code.shiki .sO3A-{--shiki-light:#39ADB5;--shiki-default:#032F62;--shiki-dark:#96D0FF}html pre.shiki code .swCDk, html code.shiki .swCDk{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#ADBAC7}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sAeZB, html code.shiki .sAeZB{--shiki-light:#9C3EDA;--shiki-default:#D73A49;--shiki-dark:#F47067}html pre.shiki code .s1fxI, html code.shiki .s1fxI{--shiki-light:#90A4AE;--shiki-default:#005CC5;--shiki-dark:#6CB6FF}html pre.shiki code .s6LNo, html code.shiki .s6LNo{--shiki-light:#39ADB5;--shiki-default:#D73A49;--shiki-dark:#F47067}html pre.shiki code .sENpr, html code.shiki .sENpr{--shiki-light:#6182B8;--shiki-default:#6F42C1;--shiki-dark:#DCBDFB}html pre.shiki code .s7Vxm, html code.shiki .s7Vxm{--shiki-light:#39ADB5;--shiki-default:#24292E;--shiki-dark:#ADBAC7}html pre.shiki code .sTNDG, html code.shiki .sTNDG{--shiki-light:#E53935;--shiki-default:#032F62;--shiki-dark:#96D0FF}html pre.shiki code .sCI7e, html code.shiki .sCI7e{--shiki-light:#F76D47;--shiki-default:#005CC5;--shiki-dark:#6CB6FF}html pre.shiki code .sOnBC, html code.shiki .sOnBC{--shiki-light:#E53935;--shiki-default:#24292E;--shiki-dark:#ADBAC7}html pre.shiki code .semhU, html code.shiki .semhU{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#E36209;--shiki-default-font-style:inherit;--shiki-dark:#F69D50;--shiki-dark-font-style:inherit}html pre.shiki code .slzs_, html code.shiki .slzs_{--shiki-light:#6182B8;--shiki-default:#005CC5;--shiki-dark:#6CB6FF}html pre.shiki code .sNG8c, html code.shiki .sNG8c{--shiki-light:#39ADB5;--shiki-default:#005CC5;--shiki-dark:#6CB6FF}html pre.shiki code .sLsO-, html code.shiki .sLsO-{--shiki-light:#39ADB5;--shiki-default:#005CC5;--shiki-dark:#8DDB8C}html pre.shiki code .sO5ea, html code.shiki .sO5ea{--shiki-light:#9C3EDA;--shiki-default:#005CC5;--shiki-dark:#8DDB8C}html pre.shiki code .s2aQn, html code.shiki .s2aQn{--shiki-light:#E2931D;--shiki-default:#005CC5;--shiki-dark:#8DDB8C}",{"title":1066,"searchDepth":66,"depth":66,"links":2590},[2591,2592,2593,2594,2595,2596],{"id":837,"depth":66,"text":838},{"id":961,"depth":66,"text":962},{"id":1048,"depth":66,"text":1049},{"id":2264,"depth":66,"text":2265},{"id":2437,"depth":66,"text":2438},{"id":2504,"depth":66,"text":2505},"Divide a payment between your main account and several subaccounts with a saved split or a dynamic split.","md",{},{"order":84},{"title":622,"description":2597},"how-to","WQrT1DE5Ay5FYPaRhJIh7dd8YcHc23zRjQcFDrrRoyw",1794998083359]