-
-
Notifications
You must be signed in to change notification settings - Fork 85
13. Onboarding Api
Vincent Kok edited this page Dec 4, 2023
·
1 revision
Get the status of onboarding of the authenticated organization.
using IOnboardingClient onboardingClient = new OnboardingClient({yourApiKey});
OnboardingStatusResponse onboardingResponse = await onboardingClient.GetOnboardingStatusAsync();
Submit data that will be prefilled in the merchant’s onboarding. Please note that the data you submit will only be processed when the onboarding status is needs-data.
SubmitOnboardingDataRequest submitOnboardingDataRequest = new SubmitOnboardingDataRequest() {
Organization = new OnboardingOrganizationRequest() {
Name = {name},
Address = new AddressObject() {
StreetAndNumber = {streetAndNumber}
}
},
Profile = new OnboardingProfileRequest() {
Name = {name}
}
};
using IOnboardingClient onboardingClient = new OnboardingClient({yourApiKey});
await onboardingClient.SubmitOnboardingDataAsync(submitOnboardingDataRequest);