> ## 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.

# Card to Bank Account



## OpenAPI

````yaml post /transactions/create/card-to-bank
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:
  /transactions/create/card-to-bank:
    post:
      tags:
        - Transactions
      summary: Card to Bank Account
      parameters:
        - name: Accept
          in: header
          schema:
            type: string
          example: application/json
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: integer
                  example: 2000
                card_reference:
                  type: string
                  example: 6516484d-0059-4f53-b2cf-31f3ae884d3a
                bank_id:
                  type: string
                  example: XX08XX0100163110648500003035
                bank_name:
                  enum:
                    - BICICI
                    - NSIA_BANQUE_CI
                    - SIB
                    - SOCIETE_GENERALE_CI
                    - CITIBANK_CI
                    - BOA_CI
                    - BACI
                    - ECOBANK_CI
                    - BHCI
                    - BNI
                    - STANDARD_CHARTERED_BANK_CI
                    - AFRILAND_FIRST_BANK_CI
                    - VERSUS_BANK_CI
                    - ORABANK_CI
                    - BBG_CI
                    - UBA_CI
                    - BSIC_CI
                    - BGFIBANK_CI
                    - BANQUE_POPULAIRE
                    - GTBANK_CI
                    - CBI_CI
                    - BDU_CI
                    - STANBIC_BANK_CI
                    - BDA
                    - MANSA_BANK_CI
                    - ORANGE_BANK_CI
                    - AFG_BANK_CI
                  example: YOUR_BANK_NAME
                account_name:
                  type: string
                  example: YOU_BANK_ACCOUNT_NAME
                description:
                  type: string
                  example: paiement de biens et services
              example:
                amount: 2000
                card_reference: 6516484d-0059-4f53-b2cf-31f3ae884d3a
                reference: b60f54d5b1-922a-40ty6a-8417-fasjhdfdfdi231i
                bank_id: XX08XX0100163110648500003035
                bank_name: YOUR_BANK_NAME
                description: paiement de biens et services
      responses:
        '200':
          description: OK
          headers:
            Host:
              schema:
                type: string
                example: localhost:8090
            Date:
              schema:
                type: string
                example: Thu, 22 Jun 2023 10:40:18 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
                    example: OK
                  statusCode:
                    type: integer
                    example: 200
                  transaction:
                    properties:
                      slug:
                        type: string
                        example: 792c6cf2-f5cf-46c8-bf8c-699a9028010e
                      card_reference:
                        type: string
                        example: 9c54515e-7890-44f9-8cc2-a85b80322b98
                      reference:
                        type: string
                        example: b60f55b1-922a-406a-8417-g54atb0849ttb22c
                      status:
                        type: string
                        example: pending
                      kind:
                        type: string
                        example: card_to_bank
                      merchant:
                        type: string
                        example: Any
                      amount:
                        type: integer
                        example: 2000
                      bank_name:
                        type: string
                        example: YOUR_BANK_NAME
                      bank_id:
                        type: string
                        example: XX08XX0100163110648500003035
                      bank_account_name:
                        type: string
                        example: YOUR_BANK_ACCOUNT_NAME
                      created_at:
                        type: string
                        example: '2023-06-22T10:40:17.000000Z'
              example:
                message: OK
                statusCode: 200
                data:
                  transaction:
                    slug: e1d30877-0353-45b3-82fb-92780238ecb4
                    card_reference: 9c54515e-7890-44f9-8cc2-a85b80322b98
                    reference: b60f55b1-922a-406a-8417-g54atb0849ttb22c
                    status: pending
                    kind: card_to_bank
                    merchant: ALAL
                    amount: 2000
                    bank_name: YOUR_BANK_NAME
                    bank_id: XX08XX0100163110648500003035
                    bank_account_name: YOUR_BANK_ACCOUNT_NAME
                    created_at: '2023-06-22T10:40:17.000000Z'
        '400':
          description: Bad Request
          headers:
            Host:
              schema:
                type: string
                example: localhost:8090
            Date:
              schema:
                type: string
                example: Thu, 22 Jun 2023 10:38:11 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
                    example: La valeur du champ reference est déjà utilisée.
                  errors:
                    type: object
                    properties:
                      id_no:
                        type: string
                        example: La valeur du champ reference est déjà utilisée.
              example:
                message: Bad Request
                statusCode: 400
                errors:
                  reference:
                    - La valeur du champ reference est déjà utilisée.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````