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

# Grant Journey

> CRM-agent-initiated journey grant — payment-gated activation.

Creates a journey in `pending_payment` state plus an inactive trading
account and a PENDING CHALLENGE_FEE transaction prefilled with the
template fee. When the agent (or webhook) APPROVES the transaction,
`activate_prop_account` funds the account and flips the journey to
`active`. The grant flow itself moves no money.



## OpenAPI

````yaml /openapi.json post /prop/journeys/grant
openapi: 3.1.0
info:
  title: Slate API
  version: 1.0.0
  description: Trading infrastructure API.
servers:
  - url: https://api.{your-broker}.slate-labs.com
    variables:
      your-broker:
        default: broker
security: []
tags:
  - name: Authentication
  - name: API Tokens
  - name: Customers
  - name: Accounts
  - name: Orders
  - name: Instruments & Groups
  - name: Transactions
  - name: Payments
  - name: Transfers
  - name: Risk
  - name: Workflow & CRM
  - name: Messaging
  - name: Integrations
  - name: Webhooks
  - name: Compliance
  - name: Promo codes
  - name: Reporting
  - name: Audit
  - name: Fraud & moderation
  - name: Broker settings
  - name: Users
  - name: Roles & Teams
  - name: Streams (SSE)
  - name: Simulator
  - name: Observability
  - name: Prop trading
paths:
  /prop/journeys/grant:
    post:
      tags:
        - Prop trading
      summary: Grant Journey
      description: |-
        CRM-agent-initiated journey grant — payment-gated activation.

        Creates a journey in `pending_payment` state plus an inactive trading
        account and a PENDING CHALLENGE_FEE transaction prefilled with the
        template fee. When the agent (or webhook) APPROVES the transaction,
        `activate_prop_account` funds the account and flips the journey to
        `active`. The grant flow itself moves no money.
      operationId: grant_journey_prop_journeys_grant_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GrantJourneyRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GrantJourneyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - bearerAuth: []
components:
  schemas:
    GrantJourneyRequest:
      properties:
        customer_id:
          type: string
          format: uuid
          title: Customer Id
        template_id:
          type: string
          format: uuid
          title: Template Id
        selected_addon_codes:
          items:
            type: string
          type: array
          title: Selected Addon Codes
        reason:
          type: string
          maxLength: 500
          minLength: 1
          title: Reason
      type: object
      required:
        - customer_id
        - template_id
        - reason
      title: GrantJourneyRequest
    GrantJourneyResponse:
      properties:
        journey_id:
          type: string
          format: uuid
          title: Journey Id
        account_id:
          type: string
          format: uuid
          title: Account Id
        login:
          type: string
          title: Login
        phase:
          type: string
          title: Phase
        pending_payment_tx_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Pending Payment Tx Id
      type: object
      required:
        - journey_id
        - account_id
        - login
        - phase
        - pending_payment_tx_id
      title: GrantJourneyResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````