App Registration Endpoint
This endpoint is to register an app.
POST https://fuspay-kyc-prod-e9eb4fd3aa33.herokuapp.com/api/v1/app/register
| Name | Type | Description |
|---|---|---|
Content-Type* | String | application/json |
Request Body
| Name | Type | Description |
|---|---|---|
name | String | The name of your app |
email | String | The email of the company |
origin | Array | The domains you are calling from (whitelisted). e.g. http://localhost:5179 |
kyc_token | String | A token manually issued to you to start integrating |
Response Body
{
"message": "Verification token sent successfully",
"value": "123456",
"app": {
"email": "[email protected]",
"name": "Flutterwave",
"origin": ["http://localhost:5179"],
"verified": false,
"status": "Active",
"_id": "66053d262d3f43787be1e1a6",
"created_at": "2024-03-28T09:49:26.674Z",
"updated_at": "2024-03-28T09:49:26.752Z",
"__v": 0
}
}Response Body Description
| Key | Type | Description | Value |
|---|---|---|---|
| `message` | String | This message says there is a verification token (6 digits) which has be sent to the email used on the register endpoint | e.g. `123456` |
| `value` | String | This is the verification token this has also been sent to your email. | e.g. `123456` |
| `app` | Object | This is an object describing the opp that just registered on the app register endpoint | { "email": "[email protected]", "name": "Flutterwave", "origin": [ "http://localhost:5179", "https://include-stage-89c7b78dfc34.herokuapp.com/" ], "verified": false, "status": "Active", "_id": "66053d262d3f43787be1e1a6", "created_at": "2024-03-28T09:49:26.674Z", "updated_at": "2024-03-28T09:49:26.752Z", "__v": 0 } |
| `verified` | Boolean | Verified means if the app has verified on the app verify endpoint using the verification Token | `true` / `false` |
| `status` | String | This is your app's status on our endpoint | `Active` / `Inactive` |
| `_id` | String | This is your app's ID on our system. App ID' s | |
| `created_at` | Datetime | this is the time your app was registered on the KYC system | |
| `updated_at` | Datetime | This is the last time a value was updated on your app's data |
Example request code.
const fetch = require('node-fetch');
fetch("https://exchanger-api.fuspay.finance/api/v1/no-auth/PartnerP2P/OnboardPartner", {
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"body": {
"name": "Binance",
"email": "[email protected]",
"origin": ["", ""]
}
})
.then(response => console.log(response))
.catch(err => console.error(err));Updated 1 day ago
Did this page help you?