openapi: 3.0.3
info:
  title: 'আত-তাক্বওয়া মাসজিদ এন্ড ইসলামিক সেন্টার API'
  description: ''
  version: 1.0.0
servers:
  -
    url: 'https://donatebackend.attaqwamasjidsylhet.com'
paths:
  /api/v1/donate/amount-options:
    post:
      summary: 'Amount Options'
      operationId: amountOptions
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Donation
      security: []
  /api/v1/donate/currency-options:
    post:
      summary: 'Currency Options'
      operationId: currencyOptions
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Donation
      security: []
  /api/v1/donate/type-options:
    post:
      summary: 'Type Options'
      operationId: typeOptions
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Donation
      security: []
  /api/v1/donate/organization-options:
    post:
      summary: 'Organization Options'
      operationId: organizationOptions
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Donation
      security: []
  /api/v1/donate/fund-options:
    post:
      summary: 'Fund Options'
      operationId: fundOptions
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Donation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type_id:
                  type: integer
                  description: ''
                  example: 15
                org_id:
                  type: integer
                  description: ''
                  example: 6
              required:
                - type_id
                - org_id
      security: []
  /api/v1/donate/mobile-country-code-options:
    post:
      summary: 'Mobile Country Code Options'
      operationId: mobileCountryCodeOptions
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Donation
      security: []
  /api/v1/donate/make-payment:
    post:
      summary: 'Make Payment'
      operationId: makePayment
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Donation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: ''
                  example: ullam
                phone:
                  type: string
                  description: ''
                  example: ad
                email:
                  type: string
                  description: ''
                  example: sherwood.green@example.com
                currency:
                  type: string
                  description: ''
                  example: ullam
                amount:
                  type: numeric
                  description: ''
                  example: cumque
                amount_id:
                  type: integer
                  description: ''
                  example: 12
                org_id:
                  type: integer
                  description: ''
                  example: 7
                type_id:
                  type: integer
                  description: ''
                  example: 14
                fund_id:
                  type: integer
                  description: ''
                  example: 16
                callback:
                  type: string
                  description: ''
                  example: nemo
                gateway:
                  type: string
                  description: ''
                  example: distinctio
                mobile_country_code_id:
                  type: integer
                  description: ''
                  example: 2
              required:
                - gateway
                - mobile_country_code_id
      security: []
  /api/v1/donate/resume-payment:
    post:
      summary: 'Resume Payment'
      operationId: resumePayment
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Donation
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                trx:
                  type: string
                  description: ''
                  example: similique
      security: []
  '/api/v1/donate/payment-response/{trx}':
    post:
      summary: 'Payment Response'
      operationId: paymentResponse
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Donation
      security: []
    parameters:
      -
        in: path
        name: trx
        description: ''
        example: assumenda
        required: true
        schema:
          type: string
  /api/v1/admin/login:
    post:
      summary: 'Login With Username'
      operationId: loginWithUsername
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[Admin] - Authorize'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                username:
                  type: string
                  description: ''
                  example: magni
                password:
                  type: string
                  description: ''
                  example: 'i"Kcnm5?C_YZ.s0r'
              required:
                - username
                - password
      security: []
  /api/v1/admin/refresh:
    post:
      summary: 'Refresh Token'
      operationId: refreshToken
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[Admin] - Authorize'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                refresh_token:
                  type: string
                  description: ''
                  example: voluptatum
              required:
                - refresh_token
      security: []
  /api/v1/admin/logout:
    post:
      summary: Logout
      operationId: logout
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[Admin] - Authorize'
      security: []
  /api/v1/admin/profile:
    post:
      summary: Profile
      operationId: profile
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[Admin] - MY Account'
      security: []
  /api/v1/send-otp-for-login:
    post:
      summary: 'Send OTP for Login'
      operationId: sendOTPForLogin
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - Authorize'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                username:
                  type: string
                  description: ''
                  example: aut
              required:
                - username
      security: []
  /api/v1/resend-otp-for-login:
    post:
      summary: 'Re Send OTP for Login'
      operationId: reSendOTPForLogin
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - Authorize'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                username:
                  type: string
                  description: ''
                  example: vel
              required:
                - username
      security: []
  /api/v1/login-with-otp:
    post:
      summary: 'Login With OTP'
      operationId: loginWithOTP
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - Authorize'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                username:
                  type: string
                  description: ''
                  example: quae
                code:
                  type: string
                  description: ''
                  example: ea
      security: []
  /api/v1/login:
    post:
      summary: 'Login With Username'
      operationId: loginWithUsername
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - Authorize'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                username:
                  type: string
                  description: ''
                  example: ea
                password:
                  type: string
                  description: ''
                  example: //!g;~7WY6TnL|<%
              required:
                - username
                - password
      security: []
  /api/v1/refresh:
    post:
      summary: 'Refresh Token'
      operationId: refreshToken
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - Authorize'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                refresh_token:
                  type: string
                  description: ''
                  example: blanditiis
              required:
                - refresh_token
      security: []
  /api/v1/logout:
    post:
      summary: Logout
      operationId: logout
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - Authorize'
      security: []
  /api/v1/profile:
    post:
      summary: Profile
      operationId: profile
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - MY Account'
      security: []
  /api/v1/change-password:
    post:
      summary: 'Change Password'
      operationId: changePassword
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - MY Account'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                password:
                  type: string
                  description: ''
                  example: Xe(_plZt6
                password_confirmation:
                  type: string
                  description: ''
                  example: magni
      security: []
  /api/v1/donation/all:
    post:
      summary: 'Get Donations'
      operationId: getDonations
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - MY Account'
      security: []
  /api/v1/donation/view:
    post:
      summary: 'View Donations'
      operationId: viewDonations
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - MY Account'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  description: ''
                  example: 14
      security: []
  /api/v1/donation/download:
    post:
      summary: 'Download Donations'
      operationId: downloadDonations
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - MY Account'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  description: ''
                  example: 16
      security: []
  /api/v1/donation/make-payment:
    post:
      summary: 'Make Payment'
      operationId: makePayment
      description: ''
      parameters: []
      responses: {  }
      tags:
        - '[User] - MY Account'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  description: ''
                  example: 5
      security: []
tags:
  -
    name: Donation
    description: "\n\nAPIs for Donation"
  -
    name: '[Admin] - Authorize'
    description: "\n\nAPIs for Authorize"
  -
    name: '[Admin] - MY Account'
    description: "\n\nAPIs for MY Account"
  -
    name: '[User] - Authorize'
    description: "\n\nAPIs for Authorize"
  -
    name: '[User] - MY Account'
    description: "\n\nAPIs for MY Account"
