### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-from-inlinejs-v1-to-v2 Information on getting started with the terminal for Pilot Direct Debit operations. ```APIDOC Terminal: Getting Started: - Overview of terminal functionalities - Setup and configuration steps - Basic usage examples ``` -------------------------------- ### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-to-paystack-ui-android Information on getting started with the terminal for Pilot Direct Debit operations. ```APIDOC Terminal: Getting Started: - Overview of terminal functionalities - Setup and configuration steps - Basic usage examples ``` -------------------------------- ### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/webhooks Information on getting started with the terminal for Pilot Direct Debit operations. ```APIDOC Terminal: Getting Started: - Overview of terminal functionalities - Setup and configuration steps - Basic usage examples ``` -------------------------------- ### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/terminal/invoice-payments Information on getting started with the terminal for Pilot Direct Debit operations. ```APIDOC Terminal: Getting Started: - Overview of terminal functionalities - Setup and configuration steps - Basic usage examples ``` -------------------------------- ### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/developer-tools/ios-sdk Information on getting started with the terminal for Pilot Direct Debit operations. ```APIDOC Terminal: Getting Started: - Overview of terminal functionalities - Setup and configuration steps - Basic usage examples ``` -------------------------------- ### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/developer-tools/flutter-sdk Information on getting started with the terminal for Pilot Direct Debit operations. ```APIDOC Terminal: Getting Started: - Overview of terminal functionalities - Setup and configuration steps - Basic usage examples ``` -------------------------------- ### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept_payments_on_your_android_app Information on getting started with the terminal for Pilot Direct Debit operations. ```APIDOC Terminal: Getting Started: - Overview of terminal functionalities - Setup and configuration steps - Basic usage examples ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/errors Getting started guide for the payments functionality in Pilot Direct Debit. ```APIDOC Payments Getting Started: URL: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/#getting-started ``` -------------------------------- ### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/test-payments Information on getting started with the terminal for Pilot Direct Debit operations. ```APIDOC Terminal: Getting Started: - Overview of terminal functionalities - Setup and configuration steps - Basic usage examples ``` -------------------------------- ### Terminal - Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/terminal Guide to getting started with Paystack Terminal for in-person payments. ```terminal Learn how to build delightful in-person payment experiences with Paystack Terminal. Paystack Terminal enables a developer to build custom applications that create unique branded in-person payment experiences. We provide the following integration flows that cater to different use cases: #### Invoice Payments Allow customers make payment for items on order fulfillment #### Push Payment Requests Accept in-person payment on your point of sales system #### Custom apps Build apps on the Terminal by leveraging our payment intents #### Virtual Terminal Accept in-person payments without a POS device ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-from-inlinejs-v1-to-v2 An overview of the payment functionalities within Pilot Direct Debit. ```APIDOC Payments: Getting Started: - Core payment processing features - Setting up payment methods - Direct Debit setup - Card integration - Initiating and managing payments ``` -------------------------------- ### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/bulk-charge Information on getting started with the terminal for Pilot Direct Debit operations. ```APIDOC Terminal: Getting Started: - Overview of terminal functionalities - Setup and configuration steps - Basic usage examples ``` -------------------------------- ### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/recurring-charges Information on getting started with the terminal for Pilot Direct Debit operations. ```APIDOC Terminal: Getting Started: - Overview of terminal functionalities - Setup and configuration steps - Basic usage examples ``` -------------------------------- ### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/split-payments Information on getting started with the terminal for Pilot Direct Debit operations. ```APIDOC Terminal: Getting Started: - Overview of terminal functionalities - Setup and configuration steps - Basic usage examples ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-to-paystack-ui-android An overview of the payment functionalities within Pilot Direct Debit. ```APIDOC Payments: Getting Started: - Core payment processing features - Setting up payment methods - Direct Debit setup - Card integration - Initiating and managing payments ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept_payments_on_your_android_app An overview of the payment functionalities within Pilot Direct Debit. ```APIDOC Payments: Getting Started: - Core payment processing features - Setting up payment methods - Direct Debit setup - Card integration - Initiating and managing payments ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/webhooks An overview of the payment functionalities within Pilot Direct Debit. ```APIDOC Payments: Getting Started: - Core payment processing features - Setting up payment methods - Direct Debit setup - Card integration - Initiating and managing payments ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/terminal/invoice-payments An overview of the payment functionalities within Pilot Direct Debit. ```APIDOC Payments: Getting Started: - Core payment processing features - Setting up payment methods - Direct Debit setup - Card integration - Initiating and managing payments ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/test-payments An overview of the payment functionalities within Pilot Direct Debit. ```APIDOC Payments: Getting Started: - Core payment processing features - Setting up payment methods - Direct Debit setup - Card integration - Initiating and managing payments ``` -------------------------------- ### Terminal Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/errors Information on how to get started with the terminal functionality for Pilot Direct Debit. ```APIDOC Terminal Getting Started: URL: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/terminal/#getting-started ``` -------------------------------- ### Transfers: Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/transfers Introduction to sending money with Pilot Direct Debit, explaining the transfer process. ```APIDOC https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/transfers/#getting-started ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/split-payments An overview of the payment functionalities within Pilot Direct Debit. ```APIDOC Payments: Getting Started: - Core payment processing features - Setting up payment methods - Direct Debit setup - Card integration - Initiating and managing payments ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/developer-tools/ios-sdk An overview of the payment functionalities within Pilot Direct Debit. ```APIDOC Payments: Getting Started: - Core payment processing features - Setting up payment methods - Direct Debit setup - Card integration - Initiating and managing payments ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/bulk-charge An overview of the payment functionalities within Pilot Direct Debit. ```APIDOC Payments: Getting Started: - Core payment processing features - Setting up payment methods - Direct Debit setup - Card integration - Initiating and managing payments ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/recurring-charges An overview of the payment functionalities within Pilot Direct Debit. ```APIDOC Payments: Getting Started: - Core payment processing features - Setting up payment methods - Direct Debit setup - Card integration - Initiating and managing payments ``` -------------------------------- ### Payments Getting Started Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/developer-tools/flutter-sdk An overview of the payment functionalities within Pilot Direct Debit. ```APIDOC Payments: Getting Started: - Core payment processing features - Setting up payment methods - Direct Debit setup - Card integration - Initiating and managing payments ``` -------------------------------- ### Create and Start React App Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept_payments_on_your_react_app Initializes a new React application using Yarn and starts the development server. This is the first step in setting up the project environment. ```bash yarn create react-app react-paystack-checkout cd react-paystack-checkout yarn start ``` -------------------------------- ### Pilot Direct Debit SDKs and Guides Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/using_the_paystack_checkout_in_a_mobile_webview Links to the iOS SDK, Flutter SDK, and various guides for integrating Pilot Direct Debit payments. This includes guides for web frameworks like Vue and React, as well as mobile platforms like Android, iOS, and Flutter. ```markdown * [iOS SDK](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/developer-tools/ios-sdk/) * [Flutter SDK](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/developer-tools/flutter-sdk/) * [Guides](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/) * [Overview](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/) * [Accept Payments on your Vue App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept_payments_on_your_vue_app/) * [Accept Payments on your React App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept_payments_on_your_react_app/) * [Accept Payments on your Android App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept-payments-on-your-android-app/) * [Accept Payments in your Flutter App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept-payments-in-your-flutter-app/) * [Building Terminal Apps with React Native](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/building_terminal_apps_react_native/) * [Building Terminal Apps with Flutter](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/building_terminal_apps_flutter/) * [Using the Paystack Checkout in a Mobile WebView](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/using_the_paystack_checkout_in_a_mobile_webview/) * [Migrating from InlineJS V1 to V2](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-from-inlinejs-v1-to-v2/) * [Migrating to Paystack UI - Android](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-to-paystack-ui-android/) * [Migrating to Paystack UI - iOS](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-to-paystack-ui-ios/) [API Changelog](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/changelog/api/) [See API Reference](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/) ``` -------------------------------- ### Install Vue CLI Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept_payments_on_your_vue_app Installs the Vue.js command-line interface globally using npm or yarn. This tool is used for creating and managing Vue.js projects. ```bash npm install -g @vue/cli # OR yarn global add @vue/cli ``` -------------------------------- ### Guides for Payment Integration Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/developer-tools Guides to help you integrate payments into your applications across various platforms and technologies. ```APIDOC Guides: - Overview - Accept Payments on your Vue App - Accept Payments on your React App - Accept Payments on your Android App - Accept Payments in your Flutter App - Building Terminal Apps with React Native - Building Terminal Apps with Flutter - Using the Paystack Checkout in a Mobile WebView - Migrating from InlineJS V1 to V2 - Migrating to Paystack UI - Android - Migrating to Paystack UI - iOS ``` -------------------------------- ### Initiate Bulk Charge cURL Example Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/bulk-charge Example cURL command to initiate a bulk charge with specified authorization, amount, and reference for multiple charges. ```sh #!/bin/sh url="https://api.paystack.co/bulkcharge" authorization="Authorization: Bearer YOUR_SECRET_KEY" content_type="Content-Type: application/json" data='{ [ {"authorization": "AUTH_ncx8hews93", "amount": 2500, "reference": "dam1266638dhhd"}, {"authorization": "AUTH_xfuz7dy4b9", "amount": 1500, "reference": "dam1266638dhhe"} ] }' curl"$url"-H"$authorization"-H"$content_type"-d"$data"-X POST ``` -------------------------------- ### cURL Example: Get Upload URL Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/dispute Example of how to use cURL to request an upload URL for dispute evidence. ```curl #!/bin/sh url="https://api.paystack.co/dispute/:id/upload_url?upload_filename=filename.ext" authorization="Authorization: Bearer YOUR_SECRET_KEY" curl"$url"-H"$authorization"-X GET ``` -------------------------------- ### Check Slug Availability (cURL Example) Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/page Example of checking slug availability using cURL. It shows the GET request to the specific endpoint with the slug parameter. ```sh #!/bin/sh url="https://api.paystack.co/page/check_slug_availability/:slug" authorization="Authorization: Bearer YOUR_SECRET_KEY" curl "$url" -H "$authorization" -X GET ``` -------------------------------- ### cURL Example: List Transfer Recipients Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/transfer-recipient Example cURL command to list transfer recipients. This demonstrates how to make a GET request to the transfer recipient endpoint with the required authorization header. ```shell #!/bin/sh url="https://api.paystack.co/transferrecipient" authorization="Authorization: Bearer YOUR_SECRET_KEY" curl"$url"-H"$authorization"-X GET ``` -------------------------------- ### Popup V1 Initialization Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-from-inlinejs-v1-to-v2 Example of initializing a transaction with Popup V1 using the PaystackPop.setup() method and opening the iframe. ```javascript let paystack = PaystackPop.setup({ key:'pk_domain_xxxxxxxxxx', email:'example@email.com', amount:10000 }); paystack.openIframe(); ``` -------------------------------- ### Paystack Builder Initialization (Kotlin/Java) Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/developer-tools/android-sdk Demonstrates how to initialize the Paystack builder in Kotlin and Java to set the public key and enable logging. ```kotlin import com.paystack.android.core.Paystack Paystack.builder() .setPublicKey("pk_domain_xxxxxxxx") .setLoggingEnabled(true) .build() ``` ```java import com.paystack.android.core.Paystack; Paystack.builder() .setPublicKey("pk_domain_xxxxxxxx") .setLoggingEnabled(true) .build(); ``` -------------------------------- ### Partial Debits Introduction Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-from-inlinejs-v1-to-v2 Introduction to the concept and implementation of partial debits in Pilot Direct Debit. ```APIDOC Payments: Partial Debits: Introduction: - Explanation of partial debit functionality - Use cases and benefits - Initial setup for partial debits ``` -------------------------------- ### List Transfers cURL Request Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/transfer Example of how to list transfers using cURL. This demonstrates the necessary headers and the GET request to the transfers endpoint. ```sh #!/bin/sh url="https://api.paystack.co/transfer" authorization="Authorization: Bearer YOUR_SECRET_KEY" curl"$url"-H"$authorization"-X GET ``` -------------------------------- ### Initialize Paystack SDK (Kotlin) Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept-payments-on-your-android-app This Kotlin code demonstrates how to initialize the Paystack SDK using a builder pattern. It involves setting the public key and enabling logging before building the SDK instance. ```Kotlin Paystack.builder() .setPublicKey("pk_domain_xxxxxxxx") .setLoggingEnabled(true) .build() ``` -------------------------------- ### cURL Request to List Settlements Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/settlement Example of how to list settlements using cURL. This command sends a GET request to the settlements endpoint with the necessary authorization header. ```shell #!/bin/sh url="https://api.paystack.co/settlement" authorization="Authorization: Bearer YOUR_SECRET_KEY" curl"$url"-H"$authorization"-X GET ``` -------------------------------- ### Node.js Example for Transaction Verification Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/transaction Demonstrates how to verify a transaction using Node.js. This snippet shows how to make an HTTP GET request to the Paystack API with the necessary authorization headers. ```Node.js const https = require('https'); const reference = 'YOUR_TRANSACTION_REFERENCE'; const secretKey = 'YOUR_SECRET_KEY'; const options = { hostname: 'api.paystack.co', port: 443, path: `/transaction/verify/${reference}`, method: 'GET', headers: { 'Authorization': `Bearer ${secretKey}` } }; const req = https.request(options, (res) => { let data = ''; res.on('data', (chunk) => { data += chunk; }); res.on('end', () => { console.log(JSON.parse(data)); }); }); req.on('error', (error) => { console.error(error); }); req.end(); ``` -------------------------------- ### Integration Guides Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/transfers/how-transfers-work Guides for integrating Pilot Direct Debit payments into various web and mobile applications, including Vue, React, Android, Flutter, and React Native. ```markdown * [Overview](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/) * [Accept Payments on your Vue App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept_payments_on_your_vue_app/) * [Accept Payments on your React App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept_payments_on_your_react_app/) * [Accept Payments on your Android App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept-payments-on-your-android-app/) * [Accept Payments in your Flutter App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept-payments-in-your-flutter-app/) * [Building Terminal Apps with React Native](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/building_terminal_apps_react_native/) * [Building Terminal Apps with Flutter](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/building_terminal_apps_flutter/) ``` -------------------------------- ### Pilot Direct Debit SDKs and Guides Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/dedicated-virtual-accounts Links to the iOS and Flutter SDKs, as well as various guides for integrating Pilot Direct Debit into different applications and platforms. ```markdown * [iOS SDK](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/developer-tools/ios-sdk/) * [Flutter SDK](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/developer-tools/flutter-sdk/) * [Guides](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/) * [Overview](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/) * [Accept Payments on your Vue App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept_payments_on_your_vue_app/) * [Accept Payments on your React App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept_payments_on_your_react_app/) * [Accept Payments on your Android App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept-payments-on-your-android-app/) * [Accept Payments in your Flutter App](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept-payments-in-your-flutter-app/) * [Building Terminal Apps with React Native](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/building_terminal_apps_react_native/) * [Building Terminal Apps with Flutter](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/building_terminal_apps_flutter/) * [Using the Paystack Checkout in a Mobile WebView](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/using_the_paystack_checkout_in_a_mobile_webview/) * [Migrating from InlineJS V1 to V2](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-from-inlinejs-v1-to-v2/) * [Migrating to Paystack UI - Android](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-to-paystack-ui-android/) * [Migrating to Paystack UI - iOS](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-to-paystack-ui-ios/) ``` -------------------------------- ### cURL Example for Transaction Verification Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/transaction Provides a cURL command to verify a transaction. It includes setting the authorization header with your secret key and making a GET request to the transaction verification endpoint. ```cURL #!/bin/sh url="https://api.paystack.co/transaction/verify/{reference}" authorization="Authorization: Bearer YOUR_SECRET_KEY" curl"$url"-H"$authorization"-X GET ``` -------------------------------- ### Initialize Paystack SDK (Java) Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept-payments-on-your-android-app This Java code demonstrates how to initialize the Paystack SDK using a builder pattern. It involves setting the public key and enabling logging before building the SDK instance. ```Java Paystack.builder() .setPublicKey("pk_domain_xxxxxxxx") .setLoggingEnabled(true) .build() ``` -------------------------------- ### PHP Example for Transaction Verification Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/transaction Illustrates how to verify a transaction using PHP. This code snippet utilizes cURL to send a GET request to the Paystack API, including the authorization header. ```PHP ``` -------------------------------- ### cURL Example for Fetching Settlement Transactions Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/settlement This snippet demonstrates how to use cURL to call the Paystack API for retrieving settlement transactions. It includes setting the authorization header and the GET request method. ```cURL #!/bin/sh url="https://api.paystack.co/settlement/:id/transactions" authorization="Authorization: Bearer YOUR_SECRET_KEY" curl"$url"-H"$authorization"-X GET ``` -------------------------------- ### Migration Guides Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/transfers/how-transfers-work Guides for migrating existing implementations to newer versions or different integration methods, such as Paystack Checkout in a Mobile WebView or Paystack UI for Android and iOS. ```markdown * [Using the Paystack Checkout in a Mobile WebView](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/using_the_paystack_checkout_in_a_mobile_webview/) * [Migrating from InlineJS V1 to V2](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-from-inlinejs-v1-to-v2/) * [Migrating to Paystack UI - Android](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-to-paystack-ui-android/) * [Migrating to Paystack UI - iOS](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-to-paystack-ui-ios/) ``` -------------------------------- ### Fetch Transaction cURL Example Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/transaction A cURL command to demonstrate how to make a GET request to the Paystack API to fetch transaction details. It shows how to set the authorization header and include the transaction ID in the URL. ```sh #!/bin/sh url="https://api.paystack.co/transaction/{id}" authorization="Authorization: Bearer YOUR_SECRET_KEY" curl"$url"-H"$authorization"-X GET ``` -------------------------------- ### Create Plan cURL Example Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/plan Example using cURL to create a plan via the API. Demonstrates setting the URL, authorization, content type, and the JSON payload for the request. ```sh #!/bin/sh url="https://api.paystack.co/plan" authorization="Authorization: Bearer YOUR_SECRET_KEY" content_type="Content-Type: application/json" data='{ "name": "Monthly retainer", "interval": "monthly", "amount": "500000" }' curl"$url"-H"$authorization"-H"$content_type"-d"$data"-X POST ``` -------------------------------- ### Paystack Popup JS Integration Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/payments/accept-payments This snippet shows how to integrate the Paystack Popup Javascript library into a web application. It covers installation via CDN, NPM, or Yarn, and provides an example of importing the library. ```javascript // NPM or Yarn import PaystackPop from'@paystack/inline-js' ``` -------------------------------- ### API Documentation Links Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/transfers/how-transfers-work Provides links to the API Changelog and the main API Reference for detailed information on available endpoints and their usage. ```markdown [API Changelog](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/changelog/api/) [See API Reference](https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/) ``` -------------------------------- ### Create Vue Project Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept_payments_on_your_vue_app Creates a new Vue.js project with the specified name. It's recommended to choose the default preset for beginners. ```bash vue create project_name ``` -------------------------------- ### Accept Payments on Android App Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/accept-payments-on-your-android-app Guide to integrating Paystack Android SDK for accepting payments. Covers project setup, transaction initiation on the server, and completion on the SDK. Assumes basic Android development knowledge. ```java This guide was written using `Android Studio 2023.2.1`, `Android Gradle plugin 7.4.2`, and `Gradle 7.5`. Earlier versions might behave differently but the end result should be the same. You should also ensure you have a stable internet connection to install the project dependencies. The app code is available in Java and Kotlin. ``` ```kotlin This guide was written using `Android Studio 2023.2.1`, `Android Gradle plugin 7.4.2`, and `Gradle 7.5`. Earlier versions might behave differently but the end result should be the same. You should also ensure you have a stable internet connection to install the project dependencies. The app code is available in Java and Kotlin. ``` -------------------------------- ### Create Product cURL Example Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/product This cURL command demonstrates how to create a product using the Pilot Direct Debit API. It includes the necessary headers and a JSON payload with product details. ```shell #!/bin/sh url="https://api.paystack.co/product" authorization="Authorization: Bearer YOUR_SECRET_KEY" content_type="Content-Type: application/json" data='{ "name": "Puff Puff", "description": "Crispy flour ball with fluffy interior", "price": "5000", "currency": "NGN", "unlimited": false, "quantity": 100 }' curl"$url"-H"$authorization"-H"$content_type"-d"$data"-X POST ``` -------------------------------- ### Building Terminal Apps with React Native Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/building_terminal_apps_react_native Guide on using React Native Modules to interact with the Paystack app for payment processing in custom Terminal apps. It covers project setup and assumes an existing React Native app. ```react-native This guide assumes you have an existing React Native app, hence, our focus is on building the payment flow. We’ll be using [React Native Modules](https://reactnative.dev/docs/native-modules-android) to allow JS/TS to communicate with Java. This guide was guide using the following setup: * Android Studio * VSCode * React (18.2.0) * React Native (0.72.6) While, it’s not compulsory to use all as-is, it would make it easier to follow along with little to no errors. Android Studio is particularly used to write and manage all Java code. ``` -------------------------------- ### Building Terminal Apps with Flutter Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/building_terminal_apps_flutter This guide explains how to use Flutter's Method Channel to interact with the Paystack app for accepting payments in custom Terminal applications. It covers project setup and assumes an existing Flutter app. ```flutter This guide assumes you have an existing Flutter app, hence, our focus is on building the payment flow. We’ll be using [Flutter’s Method Channel](https://docs.flutter.dev/platform-integration/platform-channels?tab=type-mappings-kotlin-tab) to allow a communication between Dart and Kotlin. This guide was guide using the following setup: * Android Studio * VSCode * Flutter (3.13.9) * Dart (3.1.5) ``` -------------------------------- ### Partial Debits Introduction Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-to-paystack-ui-android Introduction to the concept and implementation of partial debits in Pilot Direct Debit. ```APIDOC Payments: Partial Debits: Introduction: - Explanation of partial debit functionality - Use cases and benefits - Initial setup for partial debits ``` -------------------------------- ### Check Balance cURL Example Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/transfers/managing-transfers Example of how to check the Paystack account balance using cURL. ```shell curl https://api.paystack.co/balance -H"Authorization: Bearer YOUR_SECRET_KEY" -X GET ``` -------------------------------- ### Check Pending Charge cURL Example Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/api/charge Example of how to check a pending charge status using cURL. ```cURL #!/bin/sh url="https://api.paystack.co/charge/{reference}" authorization="Authorization: Bearer YOUR_SECRET_KEY" curl"$url"-H"$authorization"-X GET ``` -------------------------------- ### Developer Tools - Web SDK Source: https://pilot-direct-debit.d111ulzzlm5kvf.amplifyapp.com/docs/guides/migrating-from-inlinejs-v1-to-v2 Information and usage guide for the Pilot Direct Debit Web SDK. ```APIDOC Developer Tools: Web SDK: - Introduction to the Web SDK - Installation and setup - Core functionalities and methods - Payment initiation - Event handling - Configuration options - Code examples for common use cases ```