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

# Get all Payment Plans

> Fetch the details of all previously created payment plans



## OpenAPI

````yaml get /payment-plans
openapi: 3.0.0
info:
  title: Flutterwave v3
  description: >-
    The Flutterwave for Business(F4B) APIs collection for all v3 endpoints with
    pre-formatted requests and response examples.
  contact: {}
  version: '1.0'
servers:
  - url: https://api.flutterwave.com/v3
    variables: {}
security:
  - bearer: []
tags:
  - name: Charges
    description: >-
      The charge APIs includes several payment collection methods to help you
      collect payments.
  - name: Tokenized Charges
    description: Tokenize your customers' cards with Flutterwave for faster payments
  - name: Preauthorization
    description: Manage preauth attemps on card transactions
  - name: Transactions
    description: Manage transactions, query statuses, logs and fees
  - name: Transfers
    description: Transfers to local and international customers
  - name: Beneficiaries
    description: Manage transfer beneficiaries
  - name: Virtual Cards
    description: Manage Flutterwave virtual cards
  - name: Virtual Account Numbers
    description: Manage virtual accounts
  - name: Collection Subaccounts
    description: Manage Collection Subaccounts
  - name: Payout Subaccounts
    description: Manage Payout Subaccounts
  - name: Subscriptions
    description: Manage user subscriptions
  - name: Payment Plans
    description: Manage Payment Plans
  - name: Bill Payments
    description: Manage Bill Payments
  - name: Banks
    description: Fetch Bank Information
  - name: Misc
    description: >-
      Verify user information like bank verification numbers, card bins, account
      information
  - name: Settlements
    description: Manage your settlements
  - name: Otps
    description: Create and manage one time passwords (OTPs) for your applications
  - name: Chargebacks
    description: Manage Chargebacks
paths:
  /payment-plans:
    get:
      tags:
        - Payment Plans
      summary: Get all Payment Plans
      description: Fetch the details of all previously created payment plans
      operationId: GetallPaymentPlans
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: true
          style: simple
          schema:
            enum:
              - application/json
            type: string
            example: application/json
      responses:
        '200':
          description: OK
          headers:
            X-Powered-By:
              content:
                text/plain:
                  schema:
                    type: string
                  example: Express
            Access-Control-Allow-Origin:
              content:
                text/plain:
                  schema:
                    type: string
                  example: '*'
            Access-Control-Allow-Headers:
              content:
                text/plain:
                  schema:
                    type: string
                  example: >-
                    Origin, X-Requested-With, Content-Type, Accept,
                    Authorization, v3-xapp-id, flw-auth-token, mra-auth-token,
                    alt_mode_auth
            Access-Control-Allow-Methods:
              content:
                text/plain:
                  schema:
                    type: string
                  example: PUT, POST, GET, DELETE, OPTIONS
            Content-Length:
              content:
                text/plain:
                  schema:
                    type: string
                  example: '2134'
            ETag:
              content:
                text/plain:
                  schema:
                    type: string
                  example: W/"856-X3tSPY2usSv3MDhGZOprZw"
            Date:
              content:
                text/plain:
                  schema:
                    type: string
                  example: Thu, 23 Jan 2020 17:21:23 GMT
            Connection:
              content:
                text/plain:
                  schema:
                    type: string
                  example: keep-alive
          content:
            application/json; charset=utf-8:
              schema:
                allOf:
                  - $ref: '#/components/schemas/SampleSuccessResponse33'
                  - example:
                      status: success
                      message: Payment plans fetched
                      meta:
                        page_info:
                          total: 11
                          current_page: 1
                          total_pages: 2
                      data:
                        - id: 3809
                          name: akhlm postman updated
                          amount: 0
                          interval: daily
                          duration: 0
                          status: active
                          currency: NGN
                          plan_token: rpp_59072efa415936a5cfbf
                          created_at: '2020-01-16T18:10:32.000Z'
                        - id: 3808
                          name: N/A
                          amount: 5000
                          interval: daily
                          duration: 0
                          status: active
                          currency: NGN
                          plan_token: rpp_e8b0c18d665d849f033b
                          created_at: '2020-01-16T18:10:22.000Z'
                        - id: 3807
                          name: akhlm postman update
                          amount: 5000
                          interval: monthly
                          duration: 48
                          status: active
                          currency: NGN
                          plan_token: rpp_12d2ef3d5ac1c13b9d30
                          created_at: '2020-01-16T18:08:19.000Z'
                        - id: 3806
                          name: the akhlm postman plan
                          amount: 5000
                          interval: weekly
                          duration: 52
                          status: active
                          currency: NGN
                          plan_token: rpp_25f3bbeae9333211dd35
                          created_at: '2020-01-16T18:05:01.000Z'
                        - id: 3772
                          name: The selma Postman Plan 2
                          amount: 5000
                          interval: weekly
                          duration: 52
                          status: cancelled
                          currency: NGN
                          plan_token: rpp_d2f295acd1970438f822
                          created_at: '2020-01-14T05:43:48.000Z'
                        - id: 3771
                          name: The selma Postman Plan
                          amount: 5000
                          interval: monthly
                          duration: 12
                          status: active
                          currency: NGN
                          plan_token: rpp_3e0968c64209b7a0f25c
                          created_at: '2020-01-14T05:42:57.000Z'
                        - id: 3700
                          name: The selma Plan
                          amount: 2000
                          interval: monthly
                          duration: 12
                          status: active
                          currency: NGN
                          plan_token: rpp_93fef9f31f7b6abb5882
                          created_at: '2020-01-10T13:29:46.000Z'
                        - id: 3699
                          name: N/A
                          amount: 0
                          interval: daily
                          duration: 0
                          status: cancelled
                          currency: NGN
                          plan_token: rpp_93d443ad355b5efb4fe3
                          created_at: '2020-01-10T13:28:47.000Z'
                        - id: 3698
                          name: The selma Editted
                          amount: 0
                          interval: daily
                          duration: 0
                          status: cancelled
                          currency: NGN
                          plan_token: rpp_f1ef76170b1a7bc1110b
                          created_at: '2020-01-10T13:28:13.000Z'
                        - id: 3657
                          name: akhlm-stag
                          amount: 2000
                          interval: hourly
                          duration: 4
                          status: active
                          currency: NGN
                          plan_token: rpp_fed796f8be1f5469a41f
                          created_at: '2019-12-31T16:51:28.000Z'
              example:
                status: success
                message: Payment plans fetched
                meta:
                  page_info:
                    total: 11
                    current_page: 1
                    total_pages: 2
                data:
                  - id: 3809
                    name: akhlm postman updated
                    amount: 0
                    interval: daily
                    duration: 0
                    status: active
                    currency: NGN
                    plan_token: rpp_59072efa415936a5cfbf
                    created_at: '2020-01-16T18:10:32.000Z'
                  - id: 3808
                    name: N/A
                    amount: 5000
                    interval: daily
                    duration: 0
                    status: active
                    currency: NGN
                    plan_token: rpp_e8b0c18d665d849f033b
                    created_at: '2020-01-16T18:10:22.000Z'
                  - id: 3807
                    name: akhlm postman update
                    amount: 5000
                    interval: monthly
                    duration: 48
                    status: active
                    currency: NGN
                    plan_token: rpp_12d2ef3d5ac1c13b9d30
                    created_at: '2020-01-16T18:08:19.000Z'
                  - id: 3806
                    name: the akhlm postman plan
                    amount: 5000
                    interval: weekly
                    duration: 52
                    status: active
                    currency: NGN
                    plan_token: rpp_25f3bbeae9333211dd35
                    created_at: '2020-01-16T18:05:01.000Z'
                  - id: 3772
                    name: The selma Postman Plan 2
                    amount: 5000
                    interval: weekly
                    duration: 52
                    status: cancelled
                    currency: NGN
                    plan_token: rpp_d2f295acd1970438f822
                    created_at: '2020-01-14T05:43:48.000Z'
                  - id: 3771
                    name: The selma Postman Plan
                    amount: 5000
                    interval: monthly
                    duration: 12
                    status: active
                    currency: NGN
                    plan_token: rpp_3e0968c64209b7a0f25c
                    created_at: '2020-01-14T05:42:57.000Z'
                  - id: 3700
                    name: The selma Plan
                    amount: 2000
                    interval: monthly
                    duration: 12
                    status: active
                    currency: NGN
                    plan_token: rpp_93fef9f31f7b6abb5882
                    created_at: '2020-01-10T13:29:46.000Z'
                  - id: 3699
                    name: N/A
                    amount: 0
                    interval: daily
                    duration: 0
                    status: cancelled
                    currency: NGN
                    plan_token: rpp_93d443ad355b5efb4fe3
                    created_at: '2020-01-10T13:28:47.000Z'
                  - id: 3698
                    name: The selma Editted
                    amount: 0
                    interval: daily
                    duration: 0
                    status: cancelled
                    currency: NGN
                    plan_token: rpp_f1ef76170b1a7bc1110b
                    created_at: '2020-01-10T13:28:13.000Z'
                  - id: 3657
                    name: akhlm-stag
                    amount: 2000
                    interval: hourly
                    duration: 4
                    status: active
                    currency: NGN
                    plan_token: rpp_fed796f8be1f5469a41f
                    created_at: '2019-12-31T16:51:28.000Z'
      deprecated: false
components:
  schemas:
    SampleSuccessResponse33:
      title: SampleSuccessResponse33
      required:
        - status
        - message
        - meta
        - data
      type: object
      properties:
        status:
          type: string
        message:
          type: string
        meta:
          $ref: '#/components/schemas/Meta22'
        data:
          type: array
          items:
            $ref: '#/components/schemas/Data65'
          description: ''
      example:
        status: success
        message: Payment plans fetched
        meta:
          page_info:
            total: 11
            current_page: 1
            total_pages: 2
        data:
          - id: 3809
            name: akhlm postman updated
            amount: 0
            interval: daily
            duration: 0
            status: active
            currency: NGN
            plan_token: rpp_59072efa415936a5cfbf
            created_at: '2020-01-16T18:10:32.000Z'
          - id: 3808
            name: N/A
            amount: 5000
            interval: daily
            duration: 0
            status: active
            currency: NGN
            plan_token: rpp_e8b0c18d665d849f033b
            created_at: '2020-01-16T18:10:22.000Z'
          - id: 3807
            name: akhlm postman update
            amount: 5000
            interval: monthly
            duration: 48
            status: active
            currency: NGN
            plan_token: rpp_12d2ef3d5ac1c13b9d30
            created_at: '2020-01-16T18:08:19.000Z'
          - id: 3806
            name: the akhlm postman plan
            amount: 5000
            interval: weekly
            duration: 52
            status: active
            currency: NGN
            plan_token: rpp_25f3bbeae9333211dd35
            created_at: '2020-01-16T18:05:01.000Z'
          - id: 3772
            name: The selma Postman Plan 2
            amount: 5000
            interval: weekly
            duration: 52
            status: cancelled
            currency: NGN
            plan_token: rpp_d2f295acd1970438f822
            created_at: '2020-01-14T05:43:48.000Z'
          - id: 3771
            name: The selma Postman Plan
            amount: 5000
            interval: monthly
            duration: 12
            status: active
            currency: NGN
            plan_token: rpp_3e0968c64209b7a0f25c
            created_at: '2020-01-14T05:42:57.000Z'
          - id: 3700
            name: The selma Plan
            amount: 2000
            interval: monthly
            duration: 12
            status: active
            currency: NGN
            plan_token: rpp_93fef9f31f7b6abb5882
            created_at: '2020-01-10T13:29:46.000Z'
          - id: 3699
            name: N/A
            amount: 0
            interval: daily
            duration: 0
            status: cancelled
            currency: NGN
            plan_token: rpp_93d443ad355b5efb4fe3
            created_at: '2020-01-10T13:28:47.000Z'
          - id: 3698
            name: The selma Editted
            amount: 0
            interval: daily
            duration: 0
            status: cancelled
            currency: NGN
            plan_token: rpp_f1ef76170b1a7bc1110b
            created_at: '2020-01-10T13:28:13.000Z'
          - id: 3657
            name: akhlm-stag
            amount: 2000
            interval: hourly
            duration: 4
            status: active
            currency: NGN
            plan_token: rpp_fed796f8be1f5469a41f
            created_at: '2019-12-31T16:51:28.000Z'
    Meta22:
      title: Meta22
      required:
        - page_info
      type: object
      properties:
        page_info:
          $ref: '#/components/schemas/PageInfo'
      example:
        page_info:
          total: 158
          current_page: 1
          total_pages: 16
    Data65:
      title: Data65
      required:
        - id
        - name
        - amount
        - interval
        - duration
        - status
        - currency
        - plan_token
        - created_at
      type: object
      properties:
        id:
          type: integer
          format: int32
        name:
          type: string
        amount:
          type: integer
          format: int32
        interval:
          type: string
        duration:
          type: integer
          format: int32
        status:
          type: string
        currency:
          type: string
        plan_token:
          type: string
        created_at:
          type: string
      example:
        id: 3807
        name: the akhlm postman plan 2
        amount: 5000
        interval: monthly
        duration: 48
        status: active
        currency: NGN
        plan_token: rpp_12d2ef3d5ac1c13b9d30
        created_at: '2020-01-16T18:08:19.000Z'
    PageInfo:
      title: PageInfo
      required:
        - total
        - current_page
        - total_pages
      type: object
      properties:
        total:
          type: integer
          format: int32
        current_page:
          type: integer
          format: int32
        total_pages:
          type: integer
          format: int32
      example:
        total: 158
        current_page: 1
        total_pages: 16
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````