Quickstart
The shortest honest path from nothing to a published application that people can sign into and launch.
This is the whole journey in one page. Each step links to the page that explains it properly, with the failure modes.
- 1
Get an admin session
Catalog changes go through
/appcenter/v3/adminwith a bearer token for someone holding Manage applications. In practice that is an App Center operator at/vsa/apps. - 2
Create the application record
POST /appswith a name, a stableshortCode, a category and a tagline. It starts asdraft, which means only admins can see it. - 3
Register an OAuth client
POST /apps/:appId/oauth-clients. Pickconfidential_web,public_pkceorconfidential_service. The secret is returned exactly once. - 4
Integrate sign-in
Authorization Code with PKCE against the issuer. Discover the endpoints at boot, never hard-code them.
- 5
Call the API with your own token
Prove the credential with
GET /appcenter/v3/app/me, then read users, businesses and subscriptions. - 6
Add a plan
POST /apps/:appId/plans. Prices are integers in minor units. A published app with no active plan cannot be bought. - 7
Receive webhooks
Register a receiver, verify the delivery token against the JWKS over the raw body, deduplicate on
X-AppCenter-Delivery, and acknowledge before doing work. - 8
Publish
PATCH /apps/:appIdwithstatus: published, then walk the launch flow end to end with a real account.
An afternoon, not a week
If your framework already speaks OpenID Connect, steps 3 to 5 are configuration. The parts that usually take time are redirect URI mismatches and webhook signature verification against the raw body.
The smallest working example
const issuer = "https://apps-api.versified.com.gh/oidc";
const config = await fetch(
`${issuer}/.well-known/openid-configuration`,
).then((res) => res.json());
// Then redirect to config.authorization_endpoint with:
// response_type=code
// client_id=your-client-id
// redirect_uri=the exact URI you registered
// scope=openid profile email offline_access
// code_challenge=base64url(sha256(verifier))
// code_challenge_method=S256
// state=<random, stored in the session>What to read next
Something here out of date or unclear?
The platform team answers integration questions directly.
