Transfer

Seamless Transfer

Our transfer process easily integrates with your payment system, guiding you through with the POST method.

Request payload

Name

Type

Description

transaction_id

string

Unique identifier for the transaction.

amount

number

The amount to send.

sender_id

string

Unique ID of the sender.

receiver_email

string

Email address of the recipient.

receiver_name

string

Full name of the recipient.

description

string

Purpose of the transaction (e.g., school, fees).

Channel

string

Payment method used (e.g., fiat).

currency

string

Supported currencies:{ngn, usd, kes, cad}


    let headersList = {
         const myHeaders = new Headers();
myHeaders.append("Authorization",Bearer token", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX
VCJ9.eyJyb2xlaWQiOiI2NDEiLCJ1c2VySWQiOiI4Y2Q3NjQ0ZC1mYzNmLT

       let bodyContent = JSON.stringify( {
         "transaction_id":"9a468616-4cd7-4ce7-9fcb-5f4090442891",
           "amount": 2000,
           "sender_id":"9a468616-4cd7-4ce7-9fcb-5f4090442891",
           "receiver_email_mobileno":"lade@gmail.com",
           "receiver_name":"Omolade",
           "description":"school",
           "Channel":"fiat",
           "currency":"NGN"
       }   );

       let response = await
       fetch("https://api.switch.tulupay.com/v1/purse/transfer", {
         method: "POST",
         body: bodyContent,
         headers: headersList
       });

       let data = await response.text();
       console.log(data);

   

Request details

  • Endpoint:`https://api.switch.tulupay.com/v1/purse/transfer`
  • Method:`POST`
  • Headers:
  • Content-Type:`application/json`
  • Authorization:`Bearer token`
  • Response details

    A successful response will contain a JSON object with detailed transfer information. Here's a simplified example:

    
        {
            "statusCode": "00",
            "status": "success",
            "datetime": "2024-03-05T08:46:30.000Z",
            "data": {
                "customer_id": "9a468616-4cd7-4ce7-9fcb-5f4090442891",
                "last_balance": 189100,
                "balance": 187100
            }
        }
       

    Contact Us for Developer Support

    Contact our dedicated developer support team for assistance, guidance, or any questions you have regarding Tuluswitch API integration. We're here to ensure your development experience is smooth and successful.

    Read Our Developer FAQ for Insights

    Master the Tuluswitch API with our Developer Blog! Get expert insights, advanced tips, and industry trends beyond the documentation. Stay connected with the developer community to build exceptional payment platforms. Visit the blog now and unlock your full potential!