Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 76 additions & 0 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 56 additions & 0 deletions openapi/components/schemas/config/EmbeddedWalletConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
type: object
description: |
Per-platform embedded-wallet configuration. Controls branding and OTP
behavior for the email sent when a customer authenticates with an
EMAIL_OTP credential. Fields omitted from a request are left unchanged.
properties:
appName:
type: string
maxLength: 255
description: App name displayed in the default OTP email template.
example: Acme Wallet
otpLength:
type: integer
minimum: 4
maximum: 12
description: |
Number of digits / characters in the OTP code. Defaults to 6 when
not set.
example: 6
Comment thread
greptile-apps[bot] marked this conversation as resolved.
alphanumeric:
type: boolean
description: |
If true, OTP includes letters in addition to digits. Defaults to
numeric-only when not set.
example: false
expirationSeconds:
type: integer
minimum: 1
maximum: 86400
description: |
OTP validity window in seconds. Defaults to 300 when not set.
example: 300
Comment thread
greptile-apps[bot] marked this conversation as resolved.
sendFromEmailAddress:
type: string
format: email
maxLength: 255
description: Custom sender email address for OTP emails.
example: noreply@acme.com
sendFromEmailSenderName:
type: string
maxLength: 255
description: |
Custom sender display name. Defaults to "Notifications" when not set.
example: Acme Notifications
replyToEmailAddress:
type: string
format: email
maxLength: 255
description: Custom reply-to email address for OTP emails.
example: support@acme.com
Comment thread
greptile-apps[bot] marked this conversation as resolved.
logoUrl:
type: string
format: uri
maxLength: 512
description: URL to a PNG logo for the OTP email. Resized to 340x124px.
example: https://acme.com/logo.png
Comment thread
greptile-apps[bot] marked this conversation as resolved.
6 changes: 6 additions & 0 deletions openapi/components/schemas/config/PlatformConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ properties:
the KYC link flow. This can only be set by Lightspark during platform
creation.
example: false
embeddedWalletConfig:
$ref: ./EmbeddedWalletConfig.yaml
description: |
Embedded-wallet branding and OTP settings for this platform. Present
only when the platform has configured embedded-wallet support;
omitted otherwise.
createdAt:
type: string
format: date-time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ properties:
type: array
items:
$ref: ./PlatformCurrencyConfig.yaml
embeddedWalletConfig:
$ref: ./EmbeddedWalletConfig.yaml
description: |
Update or create the embedded-wallet configuration for this platform.
Fields omitted from the nested object are left unchanged. Omit this
field at the top level to leave the embedded-wallet configuration
unchanged entirely.
Comment thread
greptile-apps[bot] marked this conversation as resolved.
6 changes: 6 additions & 0 deletions openapi/paths/platform/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ patch:
mandatory: true
- name: BIRTH_DATE
mandatory: true
embeddedWalletConfig:
appName: Acme Wallet
sendFromEmailAddress: noreply@acme.com
sendFromEmailSenderName: Acme Notifications
replyToEmailAddress: support@acme.com
logoUrl: https://acme.com/logo.png
responses:
'200':
description: Configuration updated successfully
Expand Down
Loading