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

# Checkout Details



## OpenAPI

````yaml openapi.json get /checkout/info
openapi: 3.0.0
info:
  title: Monieswitch API Reference
  version: 1.0.0
  description: ''
servers: []
security:
  - bearerAuth: []
paths:
  /checkout/info:
    parameters: []
    get:
      tags:
        - Checkout
      summary: Checkout Details
      parameters:
        - name: checkoutId
          in: query
          required: false
          example: 8a8476a9-cb4b-43a5-9c2f-ea0a31cf7d55
          schema:
            type: integer
      responses:
        '200':
          headers:
            Content-Security-Policy:
              schema:
                type: string
              example: >-
                default-src 'self';base-uri 'self';font-src 'self' https:
                data:;form-action 'self';frame-ancestors 'self';img-src 'self'
                data:;object-src 'none';script-src 'self';script-src-attr
                'none';style-src 'self' https:
                'unsafe-inline';upgrade-insecure-requests
            Cross-Origin-Opener-Policy:
              schema:
                type: string
              example: same-origin
            Cross-Origin-Resource-Policy:
              schema:
                type: string
              example: same-origin
            Origin-Agent-Cluster:
              schema:
                type: string
              example: '?1'
            Referrer-Policy:
              schema:
                type: string
              example: no-referrer
            Strict-Transport-Security:
              schema:
                type: string
              example: max-age=15552000; includeSubDomains
            X-Content-Type-Options:
              schema:
                type: string
              example: nosniff
            X-DNS-Prefetch-Control:
              schema:
                type: string
              example: 'off'
            X-Download-Options:
              schema:
                type: string
              example: noopen
            X-Frame-Options:
              schema:
                type: string
              example: SAMEORIGIN
            X-Permitted-Cross-Domain-Policies:
              schema:
                type: string
              example: none
            X-XSS-Protection:
              schema:
                type: integer
              example: '0'
            Access-Control-Allow-Origin:
              schema:
                type: string
              example: '*'
            Access-Control-Allow-Credentials:
              schema:
                type: boolean
              example: 'true'
            Access-Control-Expose-Headers:
              schema:
                type: string
              example: >-
                Pragma,Expires,x-pub-key,Content-Type,Authorization,Cache-Control,X-Login-Token,X-Access-Token,Content-Language,ngrok-skip-browser-warning
            Content-Type:
              schema:
                type: string
              example: application/json; charset=utf-8
            ETag:
              schema:
                type: string
              example: W/"77a-wGth+3tUTF/WD/rcogbYVip2PZA"
            Vary:
              schema:
                type: string
              example: Accept-Encoding
            Content-Encoding:
              schema:
                type: string
              example: gzip
            Date:
              schema:
                type: string
              example: Wed, 31 Jul 2024 12:56:18 GMT
            Connection:
              schema:
                type: string
              example: keep-alive
            Keep-Alive:
              schema:
                type: string
              example: timeout=5
            Transfer-Encoding:
              schema:
                type: string
              example: chunked
          description: Checkout Details - PAID
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: boolean
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      info:
                        type: object
                        properties:
                          id:
                            type: string
                          email:
                            type: string
                            format: email
                          amount:
                            type: integer
                          status:
                            type: string
                          reference:
                            type: string
                          hasPaid:
                            type: boolean
                          createdAt:
                            type: string
                            format: date-time
                          charges:
                            type: integer
                          subaccountId:
                            type: string
                          payableAmount:
                            type: integer
                          subaccountShare:
                            type: integer
                          subaccountSettlement:
                            type: integer
                          transaction:
                            type: object
                            properties:
                              narration:
                                type: string
                              reference:
                                type: string
                              amountPaid:
                                type: integer
                              checkoutId:
                                type: string
                              paymentMethod:
                                type: string
                              subaccountShare:
                                type: integer
                              customerMetadata:
                                type: object
                                properties:
                                  hello:
                                    type: string
                              mainAccountShare:
                                type: integer
                              isCheckoutAccount:
                                type: boolean
                              originatorBankCode:
                                type: string
                                format: color
                              originatorBankName:
                                type: string
                              beneficiaryBankCode:
                                type: string
                                format: color
                              beneficiaryBankName:
                                type: string
                              subaccountSettlement:
                                type: integer
                              mainAccountSettlement:
                                type: integer
                              originatorAccountName:
                                type: string
                              beneficiaryAccountName:
                                type: string
                              originatorAccountNumber:
                                type: string
                                format: utc-millisec
                              beneficiaryAccountNumber:
                                type: string
                                format: utc-millisec
                              originatorBankVerificationNumber:
                                type: string
                              beneficiaryBankVerificationNumber:
                                type: string
                              id:
                                type: string
                              vat:
                                type: integer
                              mode:
                                type: string
                              type:
                                type: string
                              amount:
                                type: integer
                              paidAt:
                                type: string
                                format: date-time
                              status:
                                type: string
                              charges:
                                type: integer
                              category:
                                type: string
                              walletId:
                                type: string
                              createdAt:
                                type: string
                                format: date-time
                              deletedAt:
                                nullable: true
                              sessionId:
                                type: string
                                format: utc-millisec
                              updatedAt:
                                type: string
                                format: date-time
                              merchantId:
                                type: string
                              walletType:
                                type: string
                              description:
                                type: string
                              settledAmount:
                                type: integer
                              isServiceAccount:
                                type: boolean
                              externalReference:
                                type: string
                              isMerchantAccount:
                                type: boolean
                              externalTransactionId:
                                nullable: true
                          mainAccountShare:
                            type: integer
                          mainAccountSettlement:
                            type: integer
                          paymentMethod:
                            type: string
                          customerName:
                            type: string
              example:
                status: true
                message: Operation is successful
                data:
                  info:
                    id: d15003df-e6fc-4c18-9d30-44821c8173ae
                    email: emma@mailinator.com
                    amount: 2000
                    status: COMPLETED
                    reference: 9jHRduHKPNnVMBuOsDrmRvOpr4prQN1PHgnM
                    hasPaid: true
                    createdAt: '2024-07-31T12:29:15.975Z'
                    charges: 130
                    subaccountId: f16aee43-f1d5-43d7-8f0f-29acf85202bd
                    payableAmount: 2000
                    subaccountShare: 1950
                    subaccountSettlement: 1820
                    transaction:
                      narration: Testing
                      reference: t78Tl5WIePPS3XQ8PqK0z9ZpxE1CQwUTVhzy
                      amountPaid: 2000
                      checkoutId: d15003df-e6fc-4c18-9d30-44821c8173ae
                      paymentMethod: Bank Transfer
                      subaccountShare: 0
                      customerMetadata:
                        hello: World
                      mainAccountShare: 1870
                      isCheckoutAccount: true
                      originatorBankCode: '999270'
                      originatorBankName: JUJU Test Bank
                      beneficiaryBankCode: '999270'
                      beneficiaryBankName: XpressWallet
                      subaccountSettlement: 0
                      mainAccountSettlement: 1870
                      originatorAccountName: Emmanuel
                      beneficiaryAccountName: Neyosoft
                      originatorAccountNumber: '0167421242'
                      beneficiaryAccountNumber: '4491005627'
                      originatorBankVerificationNumber: ''
                      beneficiaryBankVerificationNumber: ''
                      id: 7785a761-ebe0-48a0-9415-75e38e6c9a06
                      vat: 0
                      mode: SANDBOX
                      type: CREDIT
                      amount: 2000
                      paidAt: '2024-07-31T12:52:27.879Z'
                      status: SUCCESS
                      charges: 130
                      category: BANK_FUNDING
                      walletId: 04457034-ecfa-4a45-9043-e604744e2643
                      createdAt: '2024-07-31T12:52:28.746Z'
                      deletedAt: null
                      sessionId: '999270240731135227374687071748'
                      updatedAt: '2024-07-31T12:53:29.079Z'
                      merchantId: 1f18305f-851a-4266-bdc6-6fc1525928cf
                      walletType: DYNAMIC
                      description: ₦2,000.00 received from Emmanuel
                      settledAmount: 1870
                      isServiceAccount: false
                      externalReference: t78Tl5WIePPS3XQ8PqK0z9ZpxE1CQwUTVhzy
                      isMerchantAccount: false
                      externalTransactionId: null
                    mainAccountShare: 50
                    mainAccountSettlement: 50
                    paymentMethod: Bank Transfer
                    customerName: Emmanuel
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````