> ## Documentation Index
> Fetch the complete documentation index at: https://docs.remitflex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Public embed theme for a payment link

> No authentication. Returns resolved embed theme (checkout sessions inherit parent link theme).



## OpenAPI

````yaml /openapi.yaml get /pay/{id}/embed-config
openapi: 3.1.0
info:
  title: Remitflex API
  version: 1.0.0
  description: >
    Programmatic access to Remitflex payment routes, fiat rates, customers, and
    transactions.


    **Dashboard:** Create API keys at https://dashboard.remitflex.io


    **Authentication:** Send your API key as `Authorization: Bearer
    rmf_live_...` or `rmf_test_...`.


    **Idempotency:** Mutating requests (`POST`, `PUT`, `PATCH`, `DELETE`)
    require an `Idempotency-Key` header when authenticated with an API key.
servers:
  - url: http://localhost:4000/v1
    description: Local development
  - url: https://api.remitflex.io/v1
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /pay/{id}/embed-config:
    get:
      tags:
        - Payment links
      summary: Public embed theme for a payment link
      description: >-
        No authentication. Returns resolved embed theme (checkout sessions
        inherit parent link theme).
      operationId: getPayEmbedConfig
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          $ref: '#/components/responses/PayEmbedConfig'
      security: []
components:
  responses:
    PayEmbedConfig:
      description: Embed theme for a payment link
      content:
        application/json:
          schema:
            allOf:
              - $ref: '#/components/schemas/SuccessEnvelope'
              - type: object
                properties:
                  data:
                    $ref: '#/components/schemas/PayEmbedConfig'
          examples:
            success:
              $ref: '#/components/examples/PayEmbedConfigResponse'
  schemas:
    SuccessEnvelope:
      type: object
      properties:
        status:
          type: string
          example: success
        message:
          type: string
        data:
          nullable: true
    PayEmbedConfig:
      type: object
      properties:
        linkId:
          type: string
          format: uuid
        embedConfig:
          $ref: '#/components/schemas/EmbedConfig'
    EmbedConfig:
      type: object
      properties:
        layout:
          type: string
          enum:
            - default
            - minimal
            - compact
          default: default
        accentColor:
          type: string
          pattern: ^#[0-9a-fA-F]{6}$
        backgroundColor:
          type: string
          pattern: ^#[0-9a-fA-F]{6}$
        textColor:
          type: string
          pattern: ^#[0-9a-fA-F]{6}$
        mutedTextColor:
          type: string
          pattern: ^#[0-9a-fA-F]{6}$
        borderColor:
          type: string
          pattern: ^#[0-9a-fA-F]{6}$
        borderRadius:
          type: integer
          minimum: 0
          maximum: 32
        fontFamily:
          type: string
        hideBrandFooter:
          type: boolean
        hideStepIndicator:
          type: boolean
        hideMerchantBanner:
          type: boolean
        labels:
          $ref: '#/components/schemas/EmbedLabels'
    EmbedLabels:
      type: object
      properties:
        continueButton:
          type: string
        sentButton:
          type: string
        checkAgainButton:
          type: string
        modalTitle:
          type: string
  examples:
    PayEmbedConfigResponse:
      value:
        status: success
        message: Embed configuration fetched
        data:
          linkId: b2c3d4e5-f6a7-8901-bcde-f12345678902
          embedConfig:
            layout: minimal
            accentColor: '#0F766E'
            hideBrandFooter: false
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: >
        API key created in the Remitflex Dashboard at dashboard.remitflex.io
        (`rmf_live_...` or `rmf_test_...`).

        Key management endpoints require a dashboard JWT and are not part of
        this reference.

````