IntaSend team have developed various client libraries to easy your integration. We have tried to simplify the authentication for you to get started and get done in minutes. We recommend using our plugins where applicable instead of re-inventing the wheel.
All IntaSend client libraries can be easily installed from the respective code repository. Use the commands below to add it to your application for easy integration of the API.
pip install intasend-python
composer require intasend/intasend-php
npm install intasend-node
flutter pub add intasend_flutter
from intasend import APIService token = "YOUR-API-TOKEN" publishable_key = "YOUR-PUBLISHABLE-KEY" service = APIService(token=token, publishable_key=publishable_key, test=True)
// Example instantiating and authenticating a checkout process use IntaSend\IntaSendPHP\Checkout; $credentials = [ 'token'=>'<YOUR-TOKEN-HERE>', 'publishable_key'=>'<YOUR-PUBLISHABLE_KEY-HERE>', 'test'=>true, ]; $checkout = new Checkout(); $checkout->init($credentials);
const IntaSend = require('intasend-node'); let intasend = new IntaSend( '<PUBLISHABLE_KEY>', '<SECRET_KEY>', true|false, // Test ? Set true for test environment );
Updated 9 months ago