Skip to content

DevelopersPage API key creation does not POST to the backend #352

Description

@therealjhay

File: app/(merchant)/developers/page.tsx, lines 100-119

The handleCreateKey function creates a key object in local state but never calls the backend. Implement apiClient.post('/api/keys', { name, type }) and display the full API key (with a "copy now" prompt) in a success dialog. The full key should be shown only once and then masked. The dialog should tell the user to copy the key now because it won't be shown again.


Labels: Pages

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions