Skip to main content

Introduction

This is the rentcard B2B partner documentation

Getting Started

To start implementation, you first need rentcard partner credentials. You can request credentials for our test environments by sending an email to info@rentcard.id or using the form on our website.

Technical Implementation

Our application's oAuth2 implementation represents the safest and most user-friendly method for engaging with rentcard. The dual-layer security inherent in oAuth2 ensures that, even if credentials are compromised or user access tokens fall into the wrong hands, user data remains secure and protected.

The implementation requires you to take the following steps:

  1. Providing applicant data: The partner can optionally provide data on the applicant already collected to prefill the data for the applicant

  2. Authenticating applicants: The key steps of redirecting the applicant to rentcard for validation and retrieving access tokens to securely retrieve the applicant data

  3. Notification by webhook: To simplify the timing of pulling applicant data, you can use the notification via webhooks

  4. Getting applicant data and files: Retrieving data after applicants successfully validated themselves

  5. Updating the applicant state: Updating the state of the applicant to get additional data (e.g. after viewing)

The implementation has been tested with simple-oauth2 and passport-oauth2 libraries for JavaScript and example code is provided through a public repository

oAuth2 image