/ Developers API v1Open workspace

Get started

Authentication & access

Server API keys, host-bound sessions and company permissions.

Server API keys

Send your company token in Authorization: Bearer <token>. Keys are scoped to the company where they were created. A supplied identifier never grants access to another company.

Only an owner or administrator can create a key, from an authenticated company session. Choose a name, one of the supported roles and an expiry between 1 and 365 days. The secret is returned once. List responses contain metadata only.

Revoke a key with DELETE /api-keys/{id}. Revoking the originating team membership also removes its API access. Role changes cannot grant a previously issued key more authority than its current membership.

bash
curl --fail-with-body 'https://api.digitalcard.technology/api/v1/wallets' \
  -H "Authorization: Bearer $DIGITALCARD_API_KEY"

Choose the appropriate role

Company sessions support owner, admin, finance, operator and analyst roles. API keys support finance, operator and analyst. Platform administration and beneficiary access use separate portal realms.

RoleMain permissions
Owner / admin sessionCompany verification, team and access configuration, funding, issuing, controls and branding.
Finance keyFunding, card loads and unloads, card controls and reads.
Operator keyBeneficiary registration and invitations, card issuance, controls and reads.
Analyst keyRead company-scoped programs, cards, balances, transactions and reports.

Portal sessions and origins

The portals use six-digit email codes. Codes expire after ten minutes and allow at most five verification attempts. The resulting secure, HttpOnly, SameSite=Strict session lasts eight hours and is bound to the exact hostname.

Company users sign in on app.digitalcard.technology. Platform operators use admin.digitalcard.technology. Beneficiaries use the verified program domain or the supplied card.digitalcard.technology/?program=… link.

Call beneficiary and administrator routes on their own portal origin. A company API key cannot obtain a beneficiary session or display full card details. Browser writes must come from the same origin; the company API is intended for server integrations.

Keep secrets on your server

Store API tokens and webhook signing secrets in your deployment secret manager. Do not embed them in client JavaScript, URLs, support messages or application logs. Create a new key before revoking a key you are rotating, then update your server configuration.

After an API-key or webhook creation response is lost, do not expect a replay to disclose the secret. Idempotent replays intentionally omit secret tokens. Revoke or disable the inaccessible record, then create its replacement with a new key.

Continue building

Digital onboarding & verification ↗

Company applications, ownership, identity, evidence and independent program approvals.

Search documentation

Use ↑ ↓ to navigate · Enter to open