Client Libraries (SDKs)

Collection of IntaSend SDKs and API tools and how to use

IntaSend team have developed various client libraries to easy your integration. We have tried to simplify the authentication and the digital signatures processes for you to get started and get done in minutes. We recommend using our plugins where applicable instead of re-inventing the wheel.

How to install

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

How to authenticate

from intasend import APIService

private_key = """-----BEGIN PRIVATE KEY-----
    MIIEvgIBADANBgkqhkiG9w0....8laHwYTQdDbAlCGZB992YoHl
    -----END PRIVATE KEY-----"""

token = "YOUR-API-TOKEN"
publishable_key = "YOUR-PUBLISHABLE-KEY"
service = APIService(token="token",publishable_key=publishable_key, private_key=private_key)
// Example instantiating and authenticating a checkout process
use IntaSend\IntaSendPHP\Checkout;

$credentials = [
    'token'=>'<YOUR-TOKEN-HERE>',
    'publishable_key'=>'<YOUR-PUBLISHABLE_KEY-HERE>',
    'private_key'=> "",
    'test'=>true,
];
$checkout = new Checkout();
$checkout->init($credentials);
const IntaSend = require('intasend-node');

let intasend = new IntaSend(
  '<PUBLIC_KEY>',
  '<SECRET_KEY>',
  true|false, // Test ? Set true for test environment
  '<PRIVATE_KEY>' // Needed for send money only
);