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

# Send Card Payment Request

> Sends a payment request via VISA or MasterCard



## OpenAPI

````yaml POST /api/v2/pay
openapi: 3.0.1
info:
  title: OpenAPI Plant Store
  description: >-
    A sample API that uses a plant store as an example to demonstrate features
    in the OpenAPI specification
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://test.digitaltermination.com
  - url: https://business-sandbox.instntmny.com
security: []
paths:
  /api/v2/pay:
    post:
      description: Sends a payment request via VISA or MasterCard
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                channel:
                  type: number
                  example: 1
                first_name:
                  type: string
                  example: ''
                last_name:
                  type: string
                  example: ''
                email:
                  type: string
                  example: ''
                phone_number:
                  type: number
                  example: '+233245519485'
                card_number:
                  type: number
                  example: '4411223344556'
                card_cvv:
                  type: number
                  example: '123'
                expiry_month:
                  type: string
                  example: ''
                expiry_year:
                  type: string
                  example: ''
                amount:
                  type: number
                  example: '1'
                callback_url:
                  type: string
                  example: https://webhook.site/3b3b3b3b-3b3b-3b3b-3b3b-3b3b3b3b3b3b
                return_url:
                  type: string
                  example: https://webhook.site/3b3b3b3b-3b3b-3b3b-3b3b-3b3b3b3b3b3b
      responses:
        '200':
          description: The status of the transaction.
          content:
            application/json:
              schema:
                type: object
                properties:
                  transaction:
                    type: object
                    properties:
                      id:
                        type: number
                        example: 88
                      merchant_id:
                        type: string
                        example: '1'
                      type:
                        type: string
                        example: Cr
                      medium:
                        type: string
                        example: Card
                      reference:
                        type: string
                        example: 1-2438378-0998
                      zeepay_id:
                        type: number
                        example: 22389
                      amount:
                        type: number
                        example: 1.01
                      amount_details:
                        type: object
                        properties:
                          cc:
                            type: number
                            example: 0.02
                          rate:
                            type: string
                            example: '1.00'
                          send:
                            type: number
                            example: 1.01
                          receive:
                            type: number
                            example: 0.99
                          send_local:
                            type: number
                            example: 1.01
                          send_currency:
                            type: string
                            example: GHS
                          receive_currency:
                            type: string
                            example: GHS
                      medium_details:
                        type: object
                        properties:
                          threeds_url:
                            type: string
                            example: >-
                              https://webhook.site/3b3b3b3b-3b3b-3b3b-3b3b-3b3b3b3b3b3b
                      status:
                        type: string
                        example: '2'
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````