Team
The team API allows you create and manage team on your integration.
Create team
Create team on your integration. Below is an example
const myHeaders = new Headers();
myHeaders.append("token", "eyJhbGciOiJIUz
I1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlaWQiOiI2ND
EiLCJ1c2VySWQiOiI4MzRkNDVmZS
0xZjVkLTQ1YTItYmRiZi05ZmQ3NTFkNTliMTYiLC
JpYXQiOjE3MTAyMzYwNjEsImV4cCI6MTcxMDMyM
jQ2MX0.RIajQj_Zis6G5cyDeeBiHY2FSLU-_yEi
5xKkuTFl_50");
myHeaders.append("Content-Type",
"application/json");
const raw = JSON.stringify({
"first_name": "Kola",
"last_name": "Toyyibah",
"email": "oum@gmail.com",
"role": "Developer"
});
const requestOptions = {
method: "POST",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://api.switch.tulupay.com/team", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
Request details
Response details
A successful response will contain a JSON array. Here's a simplified example:
{
"statusCode": "00",
"status": "success",
"message": "Registration successful! Please check
your email for the verification code.",
"confirm_code": "4PxVLkyc7gW3BQnWn3vtZfbhWZpNdc4nauqPLB1QHTwL
sfNOQw8VVWKW10mtRFgBBFiMwwq7uuyfcKsvkMuXHH4PpyCu7kg
AOVywOJriSqG6ocEOVur865smBkQSM39G"
}
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 Blog 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!