├── .gitignore ├── .idea ├── composerJson.xml ├── inspectionProfiles │ └── Project_Default.xml ├── misc.xml ├── modules.xml ├── paystack-mirror.iml ├── php.xml ├── symfony2.xml ├── vcs.xml └── workspace.xml ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── docs ├── logo.png └── pages │ ├── bulk-charges.md │ └── charges.md ├── phpunit.xml └── src ├── Actions ├── Action.php ├── BulkCharges │ ├── FetchBulkChargeBatch.php │ ├── FetchChargesBatch.php │ ├── InitializeBulkCharge.php │ ├── ListBulkChargeBatches.php │ ├── PauseBulkChargeBatch.php │ └── ResumeBulkChargeBatch.php ├── Charges │ ├── CheckPendingCharge.php │ ├── InitializeCharge.php │ ├── SubmitBirthdayToCharge.php │ ├── SubmitOtpToCharge.php │ ├── SubmitPhoneToCharge.php │ ├── SubmitPinToCharge.php │ └── TokenizePaymentInstrument.php ├── ControlPanel │ ├── FetchPaymentSessionTimeout.php │ └── UpdatePaymentSessionTimeout.php ├── Customers │ ├── CreateCustomer.php │ ├── DeactivateCustomerAuthorization.php │ ├── FetchCustomer.php │ ├── ListCustomers.php │ ├── UpdateCustomer.php │ └── WhiteOrBlackListCustomer.php ├── Invoices │ ├── ArchiveInvoice.php │ ├── CreateInvoice.php │ ├── FinalizeInvoiceDraft.php │ ├── InvoiceTotals.php │ ├── ListInvoices.php │ ├── MarkAsPaidInvoice.php │ ├── SendInvoiceNotification.php │ ├── UpdateInvoice.php │ ├── VerifyInvoice.php │ └── ViewInvoice.php ├── Miscellaneous │ ├── CheckBalance.php │ └── ListBanks.php ├── Pages │ ├── CheckAvailablePageSlug.php │ ├── CreatePage.php │ ├── FetchPage.php │ ├── ListPages.php │ └── UpdatePage.php ├── Plans │ ├── CreatePlan.php │ ├── FetchPlan.php │ ├── ListPlans.php │ └── UpdatePlan.php ├── Refunds │ ├── CreateRefund.php │ ├── FetchRefund.php │ └── ListRefunds.php ├── Settlements │ └── FetchSettlements.php ├── SubAccounts │ ├── CreateSubAccount.php │ ├── FetchSubAccount.php │ ├── ListSubAccounts.php │ └── UpdateSubAccount.php ├── Subscriptions │ ├── CreateSubscription.php │ ├── DisableSubscription.php │ ├── EnableSubscription.php │ ├── FetchSubscription.php │ └── ListSubscriptions.php ├── Transactions │ ├── ChargeAuthorization.php │ ├── CheckAuthorization.php │ ├── DeactivateAuthorization.php │ ├── ExportTransactions.php │ ├── FetchTransaction.php │ ├── InitializeTransaction.php │ ├── ListTransactions.php │ ├── TransactionTotals.php │ ├── VerifyTransaction.php │ └── ViewTransactionTimeline.php ├── TransferRecipients │ ├── CreateTransferRecipient.php │ ├── DeleteTransferRecipient.php │ ├── ListTransferRecipients.php │ └── UpdateTransferRecipient.php ├── Transfers │ ├── FetchTransfer.php │ ├── FinalizeTransfer.php │ ├── InitializeTransfer.php │ └── InitiateBulkTransfer.php ├── TransfersControl │ ├── DisableTransferOtp.php │ ├── EnableTransferOtp.php │ ├── FinalizeDisableTransferOtp.php │ └── ResendTransferOtp.php └── Verifications │ ├── ResolveAccountNumber.php │ ├── ResolveBvn.php │ ├── ResolveCardBin.php │ └── ResolvePhoneNumber.php ├── Events ├── ActionEvent.php ├── Event.php ├── EventInterface.php └── SubscriptionCreated.php ├── Exceptions └── PaystackMirrorException.php ├── PaystackMirror.php ├── Services ├── CurlCacheService.php ├── CurlHttpResponseService.php ├── CurlService.php ├── ParamsBuilder.php └── RequestHandlerService.php ├── Traits ├── HasBulkChargeBatchIdOrCode.php ├── HasBvn.php ├── HasCardBin.php ├── HasIdOrCustomerCode.php ├── HasIdOrPlanCode.php ├── HasIdOrReference.php ├── HasIdOrSlug.php ├── HasIdOrSubscriptionCode.php ├── HasInvoiceIdOrCode.php └── HasRecipientCodeOrId.php └── helpers.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | -------------------------------------------------------------------------------- /.idea/composerJson.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 163 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/paystack-mirror.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /.idea/php.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /.idea/symfony2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | $PROJECT_DIR$/composer.json 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | $data 35 | ActionContract 36 | $param 37 | 38 | 39 | $param 40 | Action 41 | $pqueryParams 42 | 43 | 44 | 45 | 50 | 52 | 53 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 |