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

# Create a payment



## OpenAPI

````yaml post /payments/create
openapi: 3.1.0
info:
  title: ALAL APIs
  version: 1.0.0
servers:
  - url: https://api.sandbox.saalal.com/v1
security: []
tags:
  - name: Cards
  - name: Transactions
  - name: CardUsers
  - name: Disputes
paths:
  /payments/create:
    post:
      tags:
        - Payment
      summary: Create a payment
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: integer
                partner_reference:
                  type: string
                network:
                  type: string
                  enum:
                    - orange-money-sn
                    - wave-sn
                    - orange-money-ci
                    - wave-ci
                    - mtn-ci
                    - moov-ci
                    - mtn-bj
                    - moov-bj
                    - moov-tg
                    - t-money-togo
                customer:
                  type: object
                  properties:
                    full_name:
                      type: string
                    email:
                      type: string
                    phone:
                      type: string
              example:
                amount: 500
                network: orange-money-sn
                customer:
                  full_name: Johny Doe
                  email: john@doe.com
                  phone: 77XXXXXXX
      responses:
        '200':
          description: OK
          headers:
            Host:
              schema:
                type: string
                example: localhost:8090
            Date:
              schema:
                type: string
                example: Thu, 22 Jun 2023 10:34:03 GMT
            Connection:
              schema:
                type: string
                example: close
            X-Powered-By:
              schema:
                type: string
                example: PHP/8.2.4
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            Content-Type:
              schema:
                type: string
                example: application/json
            X-RateLimit-Limit:
              schema:
                type: integer
                example: '60'
            X-RateLimit-Remaining:
              schema:
                type: integer
                example: '59'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: integer
                  payment:
                    type: object
                    properties:
                      business:
                        type: string
                      customer:
                        type: object
                        properties:
                          full_name:
                            type: string
                          email:
                            type: string
                          phone:
                            type: string
                      slug:
                        type: string
                      partner_reference:
                        type: string
                      reference:
                        type: string
                      kind:
                        type: string
                      network:
                        type: string
                      amount:
                        type: integer
                      status:
                        type: string
                      expired_at:
                        type: string
                      meta:
                        type: string
              example:
                message: Payment initiated!
                statusCode: 200
                data:
                  payment:
                    business: BUSINESS_NAME
                    customer:
                      full_name: Johny Doe
                      email: john@doe.com
                      phone: 77XXXXXXX
                    slug: d282e4a6-1fb6-4827-a6ae-a780263287d7
                    reference: d282e4a6-1fb6-4827-a6ae-a780263287d7
                    partner_reference: XXX-XXXXXX-XXXX
                    kind: disburse
                    network: bank | orange-money-sn | wave-sn
                    amount: 500
                    status: pending
                    expired_at: '2024-01-11T00:00:00.000Z'
                    meta:
                      wallet_url: https://extra.url.com
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````