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

# Get the terms-of-service acceptance URL

> The banking partner requires the customer to accept its terms of service; this is the only step that involves a provider-issued URL. Display it inside your own UI (embedded/in-app) and pass the resulting acceptance id as `signedAgreementId` on submit. Everything else is API-only.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/customers/{customerId}/onboarding-requests/{caseId}/terms
openapi: 3.0.3
info:
  title: XentFi API
  version: 1.0.0
  description: >-
    API documentation for XentFi.The XentFi API gives you access to pretty much
    all the features you can use on our dashboard and lets you extend them for
    use in your application. It strives to be RESTful and is organized around
    the main resources you would be interacting with - with a few notable
    exceptions.
servers:
  - url: https://api.xentfi.com
    description: Production server
security: []
tags: []
paths:
  /v1/customers/{customerId}/onboarding-requests/{caseId}/terms:
    get:
      tags:
        - Customer Onboarding
      summary: Get the terms-of-service acceptance URL
      description: >-
        The banking partner requires the customer to accept its terms of
        service; this is the only step that involves a provider-issued URL.
        Display it inside your own UI (embedded/in-app) and pass the resulting
        acceptance id as `signedAgreementId` on submit. Everything else is
        API-only.
      operationId: getOnboardingTerms
      parameters:
        - name: customerId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: caseId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Acceptance URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      url:
                        type: string
                        format: uri
        '400':
          description: Case no longer collecting information
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        example: NOT_FOUND
                      message:
                        type: string
                        example: Wallet not found
                      timestamp:
                        type: string
                        format: date-time
                      requestId:
                        type: string
      security:
        - ApiKeyAuth: []
          OrgIdAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apiKey
    OrgIdAuth:
      type: apiKey
      in: header
      name: orgId

````

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