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

# Post onrampnoahsetup



## OpenAPI

````yaml https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /onramp/noah/setup
openapi: 3.1.0
info:
  title: Deposit Service API
  version: 1.0.0
  description: >-
    Cross-chain deposit processing service with automatic token bridging and gas
    sponsorship
servers:
  - url: https://v1.orchestrator.rhinestone.dev/deposit-processor
security: []
paths:
  /onramp/noah/setup:
    post:
      tags:
        - onramp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OnrampSessionRequest'
      responses:
        '200':
          description: The account this setup configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnrampSetup'
        '400':
          description: Invalid customer intent
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '401':
          description: Invalid or expired browser bearer
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '403':
          description: Customer scope mismatch
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '404':
          description: Resource not found in customer scope
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '409':
          description: >-
            Customer has no bound smart account, the project is not configured
            for deposits, or the delivery route is rejected by the project
            whitelist or account session coverage
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '500':
          description: Internal failure serving the request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '502':
          description: The onramp provider rejected or failed the request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '503':
          description: Onramp is not configured
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - complianceSessionBearer: []
components:
  schemas:
    OnrampSessionRequest:
      type: object
      properties:
        country:
          type: string
          pattern: ^[A-Z]{2}$
        currency:
          type: string
          enum:
            - EUR
            - USD
          description: Supported ISO 4217 fiat currency
        paymentMethod:
          type: string
          enum:
            - bank_transfer
        optionId:
          type: string
          format: uuid
          description: Opaque Rhinestone selection scoped to customer and intent
        purpose:
          type: string
          enum:
            - account_setup
      required:
        - country
        - currency
        - paymentMethod
        - purpose
      additionalProperties: false
    OnrampSetup:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Audit record of this configuration
        account:
          $ref: '#/components/schemas/OnrampAccount'
      required:
        - id
        - account
      additionalProperties: false
    OnrampAccount:
      type: object
      properties:
        id:
          type: string
          format: uuid
        currency:
          type: string
          enum:
            - EUR
            - USD
          description: Supported ISO 4217 fiat currency
        paymentMethod:
          type: string
          enum:
            - bank_transfer
        status:
          type: string
          enum:
            - pending
            - active
            - disabled
      required:
        - id
        - currency
        - paymentMethod
        - status
      additionalProperties: false
  securitySchemes:
    complianceSessionBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Required 15-minute customer-scoped browser session from POST
        /compliance/sessions. Application keys are not accepted.

````