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

# Prepare exact policy and Nexus owner digest for review



## OpenAPI

````yaml /openapi/platform.json post /v1/yield/onboarding/mandate/prepare
openapi: 3.1.0
info:
  title: GOL Platform API
  description: >-
    Versioned GOL developer and consumer API. Consumer routes are mounted when
    their runtime integrations are configured.
  version: 0.8.0-rc.1
servers:
  - url: http://localhost:4100
    description: Local development
security: []
tags:
  - name: system
  - name: authentication
  - name: projects
  - name: api-keys
  - name: audit
  - name: gas-executions
  - name: gas-policies
  - name: webhooks
paths:
  /v1/yield/onboarding/mandate/prepare:
    post:
      tags:
        - Yield
      summary: Prepare exact policy and Nexus owner digest for review
      operationId: prepareYieldMandate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - account
                - profileId
              properties:
                account:
                  pattern: ^0x[0-9a-fA-F]{40}$
                  type: string
                profileId:
                  pattern: ^0x[0-9a-fA-F]{64}$
                  type: string
      responses:
        '201':
          description: Sealed mandate draft to check before owner signing
          content:
            application/json:
              schema:
                type: object
                required:
                  - draftId
                  - mandateId
                  - policy
                  - ownerDigest
                  - ownerDomain
                  - terms
                properties:
                  draftId:
                    format: uuid
                    type: string
                  mandateId:
                    pattern: ^0x[0-9a-fA-F]{64}$
                    type: string
                  policy:
                    type: string
                    pattern: ^0x(?:[0-9a-fA-F]{2})*$
                  ownerDigest:
                    pattern: ^0x[0-9a-fA-F]{64}$
                    type: string
                  ownerDomain:
                    type: object
                    required:
                      - name
                      - version
                      - chainId
                      - verifyingContract
                    properties:
                      name:
                        type: string
                      version:
                        type: string
                      chainId:
                        type: string
                        enum:
                          - '8453'
                      verifyingContract:
                        pattern: ^0x[0-9a-fA-F]{40}$
                        type: string
                  terms:
                    type: object
                    additionalProperties:
                      type: string
        '400':
          description: Malformed or incompatible owner request
        '503':
          description: Yield onboarding adapters are unavailable

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.