nametypeDescription
NOTE: The userDetailsUrl must accept a query parameter of “tag”
The response data from the userDetailsUrl must follow this user format
typescript
Copy
{
id: string;
fullname: string;
tag: string;
avatar: string;
email: string;
emailVerified: boolean;
phone: string;
dateOfBirth: Date;
countryCode: string;
gender: string;
isAdult: boolean;
bvn: string;
accountNumber: string;
kyc: {
id: string;
bvn: string;
streetAddress: string;
city: string;
state: string;
postalCode: string;
country: string;
proofOfAddress: string;
governmentId: string;
userPhoto: string;
bvnProvided: boolean;
bvnValidated: boolean;
addressProvided: boolean;
addressValidated: boolean;
idProvided: boolean;
idValidated: boolean;
isCompleted: boolean;
verificationStatus: string;
phone: string;
phoneVerified: boolean;
phoneCodeExpiresAt: Date;
}
}
cURL
Copy
curl --request POST
'https://test-api.bvndle.com/api/v1/ufel/partners' \
--header 'Content-Type: application/json' \
{
"applicationName": "Anchoria",
"redirectUrl": "webdemoredirect.com",
"webRedirectUrl": "webdemoredirect.com",
"mobileRedirectUrl": "mobiledemoredirect.com"
"email": "[email protected]",
"partnerName": "test partner",
"password": "testPartner@1",
"confirmPassword": "testPartner@1",
"userDetailsUrl": "https://example.anchoria.com/api/v1/users/nesta"
}
Copy
{
"status": "success",
"message": "Partner details saved successfully",
"data": {
"id": "64d8ecb0-60d2-46f8-b56a-f85e640fd655",
"applicationName": "Anchoria",
"clientId": "f11722107d8425b1e7dd87aeb17e36da7c593ab98114345544cd52267829cae964428fcf61c1072e8c46cd391b4df3bacf6687737d79a79d457cab4bc7231664",
"webRedirectUrl": "webdemoredirect.com",
"mobileRedirectUrl": "mobiledemoredirect.com",
"partnerId": "dd832b19-8ffe-4b27-9bc0-4d9794a86893",
"redirectUrl": "webdemoredirect.com",
"email": "[email protected]",
"partnerName": "test partner",
"userDetailsUrl": "http://example.anchoria.com/api/v1/users/nesta"
}
}
