Page cover

Endpoints

Get user subscription details

post

Retrieves subscription details and transaction history for a user

Authorizations
AuthorizationstringRequired

JWT token signed with the Flash secret key

Body
flash_idstringRequired

The Flash ID for the platform

emailstringOptional

User's email address (one of email, npub, or external_uuid required)

npubstringOptional

User's Nostr public key in npub format (one of email, npub, or external_uuid required)

external_uuidstringOptional

External UUID for the user (one of email, npub, or external_uuid required)

Responses
200

Successful response

application/json
post
/get_user_subscription_details

Cancel user subscription

post

Cancels a user's active subscription

Authorizations
AuthorizationstringRequired

JWT token signed with the Flash secret key

Body
flash_idstringRequired

The Flash ID for the platform

emailstringOptional

User's email address (one of email, npub, or external_uuid required)

npubstringOptional

User's Nostr public key in npub format (one of email, npub, or external_uuid required)

external_uuidstringOptional

External UUID for the user (one of email, npub, or external_uuid required)

Responses
200

Successful cancellation

application/json
post
/cancel_user_subscription

Last updated