Create Wallet
Connect your website/mobile application to 1app wallet system
Create 1app Wallet
POST https://api.oneappgo.com/v1/business/createwallet
To create wallet on 1app, you need to have 1app Business account. On your dashboard go to the create app section to create app and generate App ID/Token
Request Body
Name
Type
Description
apptoken*
String
Your generate App ID on 1app business account
email*
String
phoneno*
String
Phone number
fname*
String
Account Firstname
sname*
String
Account Surname
auth*
String
Create a secure account password of at least 6 characters long (special character, number, letter) to authenticate your account
referby
String
Take a look at how you might do this:
curl --location --request POST 'https://api.oneappgo.com/v1/business/createwallet' \
--header 'Authorization: Bearer SECRET_KEY' \
--form 'apptoken="APPID"' \
--form 'fname="testname"' \
--form 'sname="testsurname"' \
--form 'email="[email protected]"' \
--form 'phoneno="08000000000"' \
--form 'auth="D@tqj8265!"' \
--form 'referby=""'var request = require('request');
var options = {
'method': 'POST',
'url': 'https://api.oneappgo.com/v1/business/createwallet',
'headers': {
'Authorization': 'Bearer SECRET_KEY'
},
formData: {
'apptoken': 'APPID',
'fname': 'testname',
'sname': 'testsurname',
'email': '[email protected]',
'phoneno': '08000000000',
'auth': 'D@tqj8265',
'referby': ''
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
Sample Response
Last updated
Was this helpful?