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

# Post 3dschallenges decision challenge



## OpenAPI

````yaml https://core.prod.gnosispay.com/user-api/openapi.json post /3ds/challenges/{challengeId}/decision-challenge
openapi: 3.1.0
info:
  title: User Service
  version: 0.0.0
servers:
  - url: https://core.prod.gnosispay.com/user-api
    description: Production
    variables: {}
  - url: https://core.sandbox.gnosispay.in/user-api
    description: Sandbox
    variables: {}
security: []
tags:
  - name: Auth
  - name: User
  - name: Terms
  - name: Source of Funds
  - name: Phone
  - name: User Account
  - name: Cards
  - name: User Movements
  - name: KYC
  - name: PCI
  - name: 3DS
  - name: Health
paths:
  /3ds/challenges/{challengeId}/decision-challenge:
    post:
      tags:
        - 3DS
      operationId: ThreeDS_createDecisionChallenge
      parameters:
        - name: challengeId
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/uuid'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ThreeDSDecisionRequest'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PciChallengeResponse'
        '401':
          description: Access is unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unauthorized'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFound'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - BearerAuth: []
components:
  schemas:
    uuid:
      type: string
      format: uuid
    ThreeDSDecisionRequest:
      type: object
      required:
        - decision
      properties:
        decision:
          $ref: '#/components/schemas/ThreeDSDecision'
    PciChallengeResponse:
      type: object
      required:
        - domain
        - primaryType
        - types
        - message
      properties:
        domain:
          $ref: '#/components/schemas/PciChallengeDomain'
          description: EIP-712 domain separator.
        primaryType:
          type: string
          enum:
            - Message
          description: EIP-712 primary type.
        types:
          $ref: '#/components/schemas/PciChallengeTypes'
          description: EIP-712 type definitions.
        message:
          $ref: '#/components/schemas/PciChallengeMessage'
          description: EIP-712 message payload.
      description: >-
        Complete EIP-712 typed data. Pass this object directly to signTypedData
        —

        convert message.nonce to BigInt before signing.
    Unauthorized:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    NotFound:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    Error:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    ThreeDSDecision:
      type: string
      enum:
        - approve
        - decline
    PciChallengeDomain:
      type: object
      required:
        - name
        - version
        - chainId
      properties:
        name:
          type: string
        version:
          type: string
        chainId:
          type: integer
          format: int64
    PciChallengeTypes:
      type: object
      required:
        - Message
      properties:
        Message:
          type: array
          items:
            $ref: '#/components/schemas/PciEip712Field'
    PciChallengeMessage:
      type: object
      required:
        - authorization
        - nonce
      properties:
        authorization:
          type: string
          description: >-
            Human-readable action string, e.g. "Display VISA Card Details". This
            is

            what the user will see in their wallet.
        nonce:
          type: string
          description: |-
            Random uint256 as a decimal string. Must be passed back as the
            x-eip712-nonce header alongside the signature.
    PciEip712Field:
      type: object
      required:
        - name
        - type
      properties:
        name:
          type: string
        type:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````