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

# Retrieve Safe Configuration

> Returns the configuration of the Safe account associated with the authenticated user, including deployment status, approvals, and account status and allowance details from the chain.



## OpenAPI

````yaml https://api.gnosispay.com/api-docs/spec.json get /api/v1/safe/config
openapi: 3.0.0
info:
  title: GnosisPay API
  version: 1.0.0
  description: OpenAPI documentation for GnosisPay
servers:
  - url: https://api.gnosispay.com
security: []
tags:
  - name: Account Management
    description: Information about your Account
  - name: Authentication
    description: Authenticate to our API using SIWE
  - name: Card Management
    description: Manage all your Cards
  - name: IBAN
    description: Integrate with Monerium to issue IBANs
  - name: KYC
    description: KYC using Sumsub SDK
  - name: Physical Card Order
    description: Order a Physical Card and manage the process
  - name: Rewards
    description: Cashback Rewards
  - name: Safe Management
    description: Manage your Safe
  - name: Transactions
    description: Manage Card Transactions
  - name: User
    description: Manage User Information
  - name: Webhooks
    description: Manage Webhooks
paths:
  /api/v1/safe/config:
    get:
      tags:
        - Safe Management
      summary: Retrieve Safe Configuration
      description: >-
        Returns the configuration of the Safe account associated with the
        authenticated user, including deployment status, approvals, and account
        status and allowance details from the chain.
      responses:
        '200':
          description: Successfully retrieved Safe configuration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafeConfig'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          description: Internal server error.
      security:
        - bearerAuth: []
components:
  schemas:
    SafeConfig:
      type: object
      properties:
        hasNoApprovals:
          type: boolean
          description: Indicates whether the safe has no approvals.
          example: false
        isDeployed:
          type: boolean
          description: Indicates whether the safe is deployed.
          example: true
        address:
          type: string
          nullable: true
          description: The address of the safe, if available.
          example: '0xabcdef1234567890abcdef1234567890abcdef12'
        tokenSymbol:
          type: string
          nullable: true
          description: The token symbol associated with the safe.
          example: EURe
        fiatSymbol:
          type: string
          nullable: true
          description: The fiat symbol derived from the token symbol.
          example: EUR
        accountStatus:
          $ref: '#/components/schemas/AccountIntegrityStatus'
          nullable: true
          description: >
            The integrity status of the account.


            Possible values:

            - **Ok (0)**: The account is in good standing with no issues

            - **SafeNotDeployed (1)**: The Safe account has not been deployed
            yet

            - **SafeMisconfigured (2)**: The Safe account has configuration
            issues

            - **RolesNotDeployed (3)**: The Roles module has not been deployed

            - **RolesMisconfigured (4)**: The Roles module has configuration
            issues

            - **DelayNotDeployed (5)**: The Delay module has not been deployed

            - **DelayMisconfigured (6)**: The Delay module has configuration
            issues

            - **DelayQueueNotEmpty (7)**: The Delay queue contains pending
            transactions

            - **UnexpectedError (8)**: An unexpected error occurred during
            validation
        accountAllowance:
          $ref: '#/components/schemas/AccountAllowance'
          nullable: true
          description: The allowance details for the account.
    AccountIntegrityStatus:
      type: integer
      description: Enum representing the integrity status of the account
      enum:
        - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
      x-enum-descriptions:
        - 'Ok (0): The account is in good standing with no issues'
        - 'SafeNotDeployed (1): The Safe account has not been deployed yet'
        - 'SafeMisconfigured (2): The Safe account has configuration issues'
        - 'RolesNotDeployed (3): The Roles module has not been deployed'
        - 'RolesMisconfigured (4): The Roles module has configuration issues'
        - 'DelayNotDeployed (5): The Delay module has not been deployed'
        - 'DelayMisconfigured (6): The Delay module has configuration issues'
        - 'DelayQueueNotEmpty (7): The Delay queue contains pending transactions'
        - 'UnexpectedError (8): An unexpected error occurred during validation'
      example: 0
    AccountAllowance:
      type: object
      properties:
        balance:
          type: string
          description: The current balance of the account's allowance.
          example: '1000000000000000000'
        refill:
          type: string
          description: The refill amount for the account's allowance.
          example: '2000000000000000000'
        period:
          type: string
          description: The period for allowance refills.
          example: '86400'
        nextRefill:
          type: string
          nullable: true
          description: The timestamp for the next refill, if available.
          example: '1633046400'
  responses:
    UnauthorizedError:
      description: Unauthorized Error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````