Skip to content

Instantly share code, notes, and snippets.

@phpmaps
Last active December 8, 2022 15:50
Show Gist options
  • Save phpmaps/a4fa342617264e88ee50108ba16e965f to your computer and use it in GitHub Desktop.
Save phpmaps/a4fa342617264e88ee50108ba16e965f to your computer and use it in GitHub Desktop.
Optimized Launcher App - Incode

Implementation Options

Use the new API parameters to create an optimized onborading application

Include clientId, componenets and tag in the omni/onboarding-url options, as follows.

GET /omni/onboarding-url?clientId={{client-id}}&components=qr&tag=payments

Will fetch onboarding URL

Request parameters (query string):

  • clientId: String, mandatory. Client's id.
  • components: URL encode String Array of accepted string values, optional.
    • accepted values in the query string array are ['qr']
  • tag: String , optional. Sets a subheading on QR page.
    • accepted string values are 'payments', 'verification'

Response:

  • url: String. Actual url.
{

    "url": "https://demo-welcome-launchpad.incode.com/flow/abcdefgh/uuid/abcdefghi/tag/payments?client=xyz&components=qr"
    
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment