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

# Create batch payment intents (V1 Legacy)

> V1-compatible endpoint to create draft (unscheduled) batch payment intents.



## OpenAPI

````yaml openapi/openapi-v1.yaml POST /v1/payments/batch-pay/intents
openapi: 3.0.3
info:
  title: B2B API V1 (Legacy)
  description: >-
    Rise is a blockchain first platform where by all actions are secured and
    executed on-chain. Rise has blockchain smart-contracts on the Arbitrum
    optimistic rollup chain that control the flow of funds. That means that
    executing a change within the Rise platform requires a wallet with
    permissions on the user or company's RiseID.
  version: 1.0.0
servers:
  - url: https://b2b-api.dev-riseworks.io
    description: Development
  - url: https://b2b-api.staging-riseworks.io
    description: Staging
  - url: https://b2b-api.riseworks.io
    description: Production
security: []
paths:
  /v1/payments/batch-pay/intents:
    post:
      tags:
        - Payments
      summary: Create batch payment intents (V1 Legacy)
      description: >-
        V1-compatible endpoint to create draft (unscheduled) batch payment
        intents.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                company_id:
                  anyOf:
                    - type: string
                    - type: number
                  description: >-
                    Numeric id, RiseID address, or team nanoid of the paying
                    company/team.
                pay_intents:
                  type: array
                  items:
                    type: object
                    properties:
                      payee_riseid:
                        anyOf:
                          - type: string
                          - type: number
                        description: RiseID, address, or user nanoid of the payee.
                      amount:
                        anyOf:
                          - type: string
                          - type: number
                        description: Payment amount in micro-USD (1,000,000 = $1.00).
                      salt:
                        anyOf:
                          - type: string
                          - type: number
                        description: Unique salt for this payment.
                      timestamp:
                        anyOf:
                          - type: string
                          - type: number
                        description: Unix timestamp the intent is scheduled/approved for.
                      title:
                        description: Optional payment title (max 60 chars).
                        type: string
                      description:
                        description: Optional payment description (max 1000 chars).
                        type: string
                      external_id:
                        description: Optional caller-supplied external reference id.
                        type: string
                    required:
                      - payee_riseid
                      - amount
                      - salt
                      - timestamp
              required:
                - company_id
                - pay_intents
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        payHash:
                          type: string
                        amountUSD:
                          type: string
                        paySchedule:
                          type: string
                        approvedPayDate:
                          type: string
                        saltWeekOrSchedule:
                          type: string
                        company:
                          anyOf:
                            - type: string
                            - type: number
                        payee:
                          anyOf:
                            - type: string
                            - type: number
                        status:
                          type: string
                          enum:
                            - ready
                        created_at:
                          type: string
                        updated_at:
                          type: string
                        uid:
                          type: string
                      required:
                        - id
                        - payHash
                        - amountUSD
                        - paySchedule
                        - approvedPayDate
                        - saltWeekOrSchedule
                        - company
                        - payee
                        - status
                        - created_at
                        - updated_at
                        - uid
                      additionalProperties: false
                required:
                  - data
                additionalProperties: false
        '400':
          description: Bad Request - Invalid parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                      - Bad Request
                  message:
                    type: object
                    properties:
                      type:
                        type: string
                        enum:
                          - invalid_parameters
                      errors:
                        type: object
                        additionalProperties:
                          type: array
                          items:
                            type: string
                    required:
                      - type
                      - errors
                    additionalProperties: false
                required:
                  - error
                  - message
                additionalProperties: false
                description: Bad Request - Invalid parameters
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  data:
                    type: string
                  error_code:
                    type: string
                required:
                  - success
                  - data
                additionalProperties: false
                description: Unauthorized
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  data:
                    type: string
                  error_code:
                    type: string
                required:
                  - success
                  - data
                additionalProperties: false
                description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  data:
                    type: string
                  error_code:
                    type: string
                required:
                  - success
                  - data
                additionalProperties: false
                description: Not Found
        '409':
          description: >-
            Conflict - a payment group or payment with the same salt already
            exists
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  data:
                    type: string
                  error_code:
                    type: string
                required:
                  - success
                  - data
                additionalProperties: false
                description: >-
                  Conflict - a payment group or payment with the same salt
                  already exists
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  data:
                    type: string
                  error_code:
                    type: string
                required:
                  - success
                  - data
                additionalProperties: false
                description: Internal Server Error

````