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

# Get payin

> Retrieve a payin by ID.

Poll this endpoint or process webhooks to reconcile final status.


## OpenAPI

````yaml GET /payins/{payin_id}
openapi: 3.0.3
info:
  title: Bumxpress Business Merchant API
  version: 1.0.0
  description: >
    Merchant API for customers, KYC, quotes, payins, payouts, transfers, and
    webhooks.

    All merchant resources are scoped to the merchant attached to the API key.
  license:
    name: Proprietary
    url: https://business.bumxpress.com
servers:
  - url: https://api.business.bumxpress.com
    description: Production
security:
  - ApiKeyAuth: []
    ApiSecretAuth: []
tags:
  - name: Customers
    description: Create and retrieve merchant-scoped customer records.
  - name: Customer KYC
    description: Submit and retrieve customer identity document status.
  - name: Quotes
    description: Create and retrieve pricing and routing quotes.
  - name: Payins
    description: Create and retrieve payment collection resources.
  - name: Payouts
    description: Create and retrieve disbursement resources.
  - name: Transfers
    description: Create, retrieve, and relaunch two-leg transfer resources.
paths:
  /payins/{payin_id}:
    get:
      tags:
        - Payins
      summary: Get payin
      operationId: getPayin
      parameters:
        - $ref: '#/components/parameters/PayinId'
      responses:
        '200':
          description: Payin object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Payin'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    PayinId:
      name: payin_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    Payin:
      allOf:
        - $ref: '#/components/schemas/PaymentBase'
        - type: object
          properties:
            status:
              type: string
              enum:
                - created
                - pending
                - completed
                - failed
            source:
              $ref: '#/components/schemas/RailParty'
    PaymentBase:
      type: object
      properties:
        id:
          type: string
          format: uuid
        merchant_id:
          type: string
          format: uuid
        customer_id:
          type: string
          format: uuid
        quote_id:
          type: string
          format: uuid
        send_amount:
          $ref: '#/components/schemas/DecimalString'
        send_currency:
          $ref: '#/components/schemas/CurrencyCode'
        receive_amount:
          $ref: '#/components/schemas/DecimalString'
        receive_currency:
          $ref: '#/components/schemas/CurrencyCode'
        country_code:
          $ref: '#/components/schemas/CountryCode'
        rail_type:
          $ref: '#/components/schemas/RailType'
        operator_code:
          type: string
        provider_reference:
          type: string
          nullable: true
        wallet_impact:
          type: object
          additionalProperties: true
        pricing:
          type: object
          additionalProperties: true
        history:
          type: array
          items:
            $ref: '#/components/schemas/StatusHistory'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    RailParty:
      type: object
      required:
        - country_code
        - rail_type
      properties:
        country_code:
          $ref: '#/components/schemas/CountryCode'
        rail_type:
          $ref: '#/components/schemas/RailType'
        phone:
          type: string
          example: '+237670000000'
        operator_code:
          type: string
          example: CM_MTN_MOMO
        bank_name:
          type: string
        bank_code:
          type: string
        account_name:
          type: string
        account_number:
          type: string
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              example: bad_request
            message:
              type: string
              example: quote_id is required
    DecimalString:
      type: string
      pattern: ^[0-9]+(\.[0-9]+)?$
      example: '10000'
    CurrencyCode:
      type: string
      minLength: 3
      maxLength: 3
      example: XAF
    CountryCode:
      type: string
      minLength: 2
      maxLength: 2
      example: CM
    RailType:
      type: string
      enum:
        - mobile_money
        - bank_transfer
    StatusHistory:
      type: object
      properties:
        status:
          type: string
        reason:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
  responses:
    Unauthorized:
      description: Missing, invalid, expired, or inactive API credentials.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Resource not found for the authenticated merchant.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Public API key from the merchant dashboard.
    ApiSecretAuth:
      type: apiKey
      in: header
      name: X-Api-Secret
      description: Secret shown once when the API key is created.

````