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

# Get payment

> Returns a single developer payment. Session-backed gateways can include `checkout_url` and `session_id` when Shoppex created the provider session.



## OpenAPI

````yaml /openapi.json get /dev/v1/payments/{uniqid}
openapi: 3.0.3
info:
  title: Shoppex Developer API
  description: Mintlify-compatible Developer API reference for Shoppex.
  version: 1.0.0
  contact:
    name: Shoppex Support
    email: support@shoppex.io
    url: https://shoppex.io
servers:
  - url: https://api.shoppex.io
security:
  - bearerAuth: []
paths:
  /dev/v1/payments/{uniqid}:
    get:
      tags:
        - Payments
      summary: Get payment
      description: >-
        Returns a single developer payment. Session-backed gateways can include
        `checkout_url` and `session_id` when Shoppex created the provider
        session.
      operationId: getDevV1PaymentsByUniqid
      parameters:
        - name: uniqid
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    additionalProperties: true
                example:
                  data:
                    id: inv_db_1
                    uniqid: 33333333-3333-4333-8333-333333333333
                    type: PAYMENT
                    shop_id: shop_1
                    customer_id: cus_1
                    currency: USD
                    gateway: PANDABASE
                    flow_type: PROVIDER_SESSION
                    provider_reference: pb_session_3
                    provider_reference_type: SESSION
                    blockchain: null
                    apm_method: CARD
                    total: 24.99
                    total_display: 24.99
                    balance_paid_amount: 0
                    customer_email: buyer@example.com
                    crypto_payment_txid: null
                    status: PENDING
                    checkout_url: >-
                      https://secure.pandabase.io/pay/stores/store_1/sids/pb_session_3
                    session_id: pb_session_3
                    items:
                      - product_id: null
                        product_title: Pandabase Payment
                        product_type: CUSTOM
                        variant_title: null
                        quantity: 1
                        unit_price: 24.99
                        total: 24.99
                    created_at: 1711510800
                    updated_at: 1711510860
      deprecated: false
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Use your Shoppex API key in the Authorization header.

````